...

Package clusterhealth

import "github.com/oracle/oci-go-sdk/clusterhealth"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetDiagnosisStoreLifecycleStateEnumStringValues() []string
func GetDiagnosisSummaryHealthEnumStringValues() []string
func GetDiagnosisSummaryTestTypeEnumStringValues() []string
func GetListDiagnosisStoresSortByEnumStringValues() []string
func GetListDiagnosisStoresSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetMetadataTestTypeEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetQueryDiagnosisSummaryDetailsTestTypeEnumStringValues() []string
func GetRecommendationTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeDiagnosisStoreCompartmentDetails
    func (m ChangeDiagnosisStoreCompartmentDetails) String() string
    func (m ChangeDiagnosisStoreCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeDiagnosisStoreCompartmentRequest
    func (request ChangeDiagnosisStoreCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeDiagnosisStoreCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeDiagnosisStoreCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeDiagnosisStoreCompartmentRequest) String() string
    func (request ChangeDiagnosisStoreCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeDiagnosisStoreCompartmentResponse
    func (response ChangeDiagnosisStoreCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeDiagnosisStoreCompartmentResponse) String() string
type CreateDiagnosisStoreDetails
    func (m CreateDiagnosisStoreDetails) String() string
    func (m CreateDiagnosisStoreDetails) ValidateEnumValue() (bool, error)
type CreateDiagnosisStoreRequest
    func (request CreateDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDiagnosisStoreRequest) String() string
    func (request CreateDiagnosisStoreRequest) ValidateEnumValue() (bool, error)
type CreateDiagnosisStoreResponse
    func (response CreateDiagnosisStoreResponse) HTTPResponse() *http.Response
    func (response CreateDiagnosisStoreResponse) String() string
type DeleteDiagnosisStoreRequest
    func (request DeleteDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDiagnosisStoreRequest) String() string
    func (request DeleteDiagnosisStoreRequest) ValidateEnumValue() (bool, error)
type DeleteDiagnosisStoreResponse
    func (response DeleteDiagnosisStoreResponse) HTTPResponse() *http.Response
    func (response DeleteDiagnosisStoreResponse) String() string
type DiagnosisClient
    func NewDiagnosisClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DiagnosisClient, err error)
    func NewDiagnosisClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DiagnosisClient, err error)
    func (client DiagnosisClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client DiagnosisClient) ChangeDiagnosisStoreCompartment(ctx context.Context, request ChangeDiagnosisStoreCompartmentRequest) (response ChangeDiagnosisStoreCompartmentResponse, err error)
    func (client *DiagnosisClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client DiagnosisClient) CreateDiagnosisStore(ctx context.Context, request CreateDiagnosisStoreRequest) (response CreateDiagnosisStoreResponse, err error)
    func (client DiagnosisClient) DeleteDiagnosisStore(ctx context.Context, request DeleteDiagnosisStoreRequest) (response DeleteDiagnosisStoreResponse, err error)
    func (client DiagnosisClient) GetDiagnosisStore(ctx context.Context, request GetDiagnosisStoreRequest) (response GetDiagnosisStoreResponse, err error)
    func (client DiagnosisClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client DiagnosisClient) ListDiagnosisStores(ctx context.Context, request ListDiagnosisStoresRequest) (response ListDiagnosisStoresResponse, err error)
    func (client DiagnosisClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client DiagnosisClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client DiagnosisClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client DiagnosisClient) QueryDiagnosisByHealthCheckKey(ctx context.Context, request QueryDiagnosisByHealthCheckKeyRequest) (response QueryDiagnosisByHealthCheckKeyResponse, err error)
    func (client DiagnosisClient) QueryDiagnosisSummary(ctx context.Context, request QueryDiagnosisSummaryRequest) (response QueryDiagnosisSummaryResponse, err error)
    func (client DiagnosisClient) RequestDiagnosis(ctx context.Context, request RequestDiagnosisRequest) (response RequestDiagnosisResponse, err error)
    func (client *DiagnosisClient) SetRegion(region string)
    func (client DiagnosisClient) UpdateDiagnosisStore(ctx context.Context, request UpdateDiagnosisStoreRequest) (response UpdateDiagnosisStoreResponse, err error)
type DiagnosisResults
    func (m DiagnosisResults) String() string
    func (m DiagnosisResults) ValidateEnumValue() (bool, error)
type DiagnosisStore
    func (m DiagnosisStore) String() string
    func (m DiagnosisStore) ValidateEnumValue() (bool, error)
type DiagnosisStoreCollection
    func (m DiagnosisStoreCollection) String() string
    func (m DiagnosisStoreCollection) ValidateEnumValue() (bool, error)
type DiagnosisStoreLifecycleStateEnum
    func GetDiagnosisStoreLifecycleStateEnumValues() []DiagnosisStoreLifecycleStateEnum
    func GetMappingDiagnosisStoreLifecycleStateEnum(val string) (DiagnosisStoreLifecycleStateEnum, bool)
type DiagnosisStoreSummary
    func (m DiagnosisStoreSummary) String() string
    func (m DiagnosisStoreSummary) ValidateEnumValue() (bool, error)
type DiagnosisSummary
    func (m DiagnosisSummary) String() string
    func (m DiagnosisSummary) ValidateEnumValue() (bool, error)
type DiagnosisSummaryCollection
    func (m DiagnosisSummaryCollection) String() string
    func (m DiagnosisSummaryCollection) ValidateEnumValue() (bool, error)
type DiagnosisSummaryHealthEnum
    func GetDiagnosisSummaryHealthEnumValues() []DiagnosisSummaryHealthEnum
    func GetMappingDiagnosisSummaryHealthEnum(val string) (DiagnosisSummaryHealthEnum, bool)
type DiagnosisSummaryTestTypeEnum
    func GetDiagnosisSummaryTestTypeEnumValues() []DiagnosisSummaryTestTypeEnum
    func GetMappingDiagnosisSummaryTestTypeEnum(val string) (DiagnosisSummaryTestTypeEnum, bool)
type FailedTest
    func (m FailedTest) String() string
    func (m FailedTest) ValidateEnumValue() (bool, error)
type GetDiagnosisStoreRequest
    func (request GetDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDiagnosisStoreRequest) String() string
    func (request GetDiagnosisStoreRequest) ValidateEnumValue() (bool, error)
type GetDiagnosisStoreResponse
    func (response GetDiagnosisStoreResponse) HTTPResponse() *http.Response
    func (response GetDiagnosisStoreResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ListDiagnosisStoresRequest
    func (request ListDiagnosisStoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDiagnosisStoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDiagnosisStoresRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDiagnosisStoresRequest) String() string
    func (request ListDiagnosisStoresRequest) ValidateEnumValue() (bool, error)
type ListDiagnosisStoresResponse
    func (response ListDiagnosisStoresResponse) HTTPResponse() *http.Response
    func (response ListDiagnosisStoresResponse) String() string
type ListDiagnosisStoresSortByEnum
    func GetListDiagnosisStoresSortByEnumValues() []ListDiagnosisStoresSortByEnum
    func GetMappingListDiagnosisStoresSortByEnum(val string) (ListDiagnosisStoresSortByEnum, bool)
type ListDiagnosisStoresSortOrderEnum
    func GetListDiagnosisStoresSortOrderEnumValues() []ListDiagnosisStoresSortOrderEnum
    func GetMappingListDiagnosisStoresSortOrderEnum(val string) (ListDiagnosisStoresSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type Metadata
    func (m Metadata) String() string
    func (m Metadata) ValidateEnumValue() (bool, error)
type MetadataTestTypeEnum
    func GetMappingMetadataTestTypeEnum(val string) (MetadataTestTypeEnum, bool)
    func GetMetadataTestTypeEnumValues() []MetadataTestTypeEnum
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type QueryDiagnosisByHealthCheckKeyDetails
    func (m QueryDiagnosisByHealthCheckKeyDetails) String() string
    func (m QueryDiagnosisByHealthCheckKeyDetails) ValidateEnumValue() (bool, error)
type QueryDiagnosisByHealthCheckKeyRequest
    func (request QueryDiagnosisByHealthCheckKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request QueryDiagnosisByHealthCheckKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request QueryDiagnosisByHealthCheckKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request QueryDiagnosisByHealthCheckKeyRequest) String() string
    func (request QueryDiagnosisByHealthCheckKeyRequest) ValidateEnumValue() (bool, error)
type QueryDiagnosisByHealthCheckKeyResponse
    func (response QueryDiagnosisByHealthCheckKeyResponse) HTTPResponse() *http.Response
    func (response QueryDiagnosisByHealthCheckKeyResponse) String() string
type QueryDiagnosisSummaryDetails
    func (m QueryDiagnosisSummaryDetails) String() string
    func (m QueryDiagnosisSummaryDetails) ValidateEnumValue() (bool, error)
type QueryDiagnosisSummaryDetailsTestTypeEnum
    func GetMappingQueryDiagnosisSummaryDetailsTestTypeEnum(val string) (QueryDiagnosisSummaryDetailsTestTypeEnum, bool)
    func GetQueryDiagnosisSummaryDetailsTestTypeEnumValues() []QueryDiagnosisSummaryDetailsTestTypeEnum
type QueryDiagnosisSummaryRequest
    func (request QueryDiagnosisSummaryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request QueryDiagnosisSummaryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request QueryDiagnosisSummaryRequest) RetryPolicy() *common.RetryPolicy
    func (request QueryDiagnosisSummaryRequest) String() string
    func (request QueryDiagnosisSummaryRequest) ValidateEnumValue() (bool, error)
type QueryDiagnosisSummaryResponse
    func (response QueryDiagnosisSummaryResponse) HTTPResponse() *http.Response
    func (response QueryDiagnosisSummaryResponse) String() string
type Recommendation
    func (m Recommendation) String() string
    func (m Recommendation) ValidateEnumValue() (bool, error)
type RecommendationReport
    func (m RecommendationReport) String() string
    func (m RecommendationReport) ValidateEnumValue() (bool, error)
type RecommendationTypeEnum
    func GetMappingRecommendationTypeEnum(val string) (RecommendationTypeEnum, bool)
    func GetRecommendationTypeEnumValues() []RecommendationTypeEnum
type RequestDiagnosisDetails
    func (m RequestDiagnosisDetails) String() string
    func (m RequestDiagnosisDetails) ValidateEnumValue() (bool, error)
type RequestDiagnosisRequest
    func (request RequestDiagnosisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RequestDiagnosisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RequestDiagnosisRequest) RetryPolicy() *common.RetryPolicy
    func (request RequestDiagnosisRequest) String() string
    func (request RequestDiagnosisRequest) ValidateEnumValue() (bool, error)
type RequestDiagnosisResponse
    func (response RequestDiagnosisResponse) HTTPResponse() *http.Response
    func (response RequestDiagnosisResponse) String() string
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateDiagnosisStoreDetails
    func (m UpdateDiagnosisStoreDetails) String() string
    func (m UpdateDiagnosisStoreDetails) ValidateEnumValue() (bool, error)
type UpdateDiagnosisStoreRequest
    func (request UpdateDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDiagnosisStoreRequest) String() string
    func (request UpdateDiagnosisStoreRequest) ValidateEnumValue() (bool, error)
type UpdateDiagnosisStoreResponse
    func (response UpdateDiagnosisStoreResponse) HTTPResponse() *http.Response
    func (response UpdateDiagnosisStoreResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go cancel_work_request_request_response.go change_diagnosis_store_compartment_details.go change_diagnosis_store_compartment_request_response.go clusterhealth_diagnosis_client.go create_diagnosis_store_details.go create_diagnosis_store_request_response.go delete_diagnosis_store_request_response.go diagnosis_results.go diagnosis_store.go diagnosis_store_collection.go diagnosis_store_summary.go diagnosis_summary.go diagnosis_summary_collection.go failed_test_model.go get_diagnosis_store_request_response.go get_work_request_request_response.go list_diagnosis_stores_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go metadata.go operation_status.go operation_type.go query_diagnosis_by_health_check_key_details.go query_diagnosis_by_health_check_key_request_response.go query_diagnosis_summary_details.go query_diagnosis_summary_request_response.go recommendation.go recommendation_report.go request_diagnosis_details.go request_diagnosis_request_response.go sort_order.go update_diagnosis_store_details.go update_diagnosis_store_request_response.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetDiagnosisStoreLifecycleStateEnumStringValues

func GetDiagnosisStoreLifecycleStateEnumStringValues() []string

GetDiagnosisStoreLifecycleStateEnumStringValues Enumerates the set of values in String for DiagnosisStoreLifecycleStateEnum

func GetDiagnosisSummaryHealthEnumStringValues

func GetDiagnosisSummaryHealthEnumStringValues() []string

GetDiagnosisSummaryHealthEnumStringValues Enumerates the set of values in String for DiagnosisSummaryHealthEnum

func GetDiagnosisSummaryTestTypeEnumStringValues

func GetDiagnosisSummaryTestTypeEnumStringValues() []string

GetDiagnosisSummaryTestTypeEnumStringValues Enumerates the set of values in String for DiagnosisSummaryTestTypeEnum

func GetListDiagnosisStoresSortByEnumStringValues

func GetListDiagnosisStoresSortByEnumStringValues() []string

GetListDiagnosisStoresSortByEnumStringValues Enumerates the set of values in String for ListDiagnosisStoresSortByEnum

func GetListDiagnosisStoresSortOrderEnumStringValues

func GetListDiagnosisStoresSortOrderEnumStringValues() []string

GetListDiagnosisStoresSortOrderEnumStringValues Enumerates the set of values in String for ListDiagnosisStoresSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMetadataTestTypeEnumStringValues

func GetMetadataTestTypeEnumStringValues() []string

GetMetadataTestTypeEnumStringValues Enumerates the set of values in String for MetadataTestTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetQueryDiagnosisSummaryDetailsTestTypeEnumStringValues

func GetQueryDiagnosisSummaryDetailsTestTypeEnumStringValues() []string

GetQueryDiagnosisSummaryDetailsTestTypeEnumStringValues Enumerates the set of values in String for QueryDiagnosisSummaryDetailsTestTypeEnum

func GetRecommendationTypeEnumStringValues

func GetRecommendationTypeEnumStringValues() []string

GetRecommendationTypeEnumStringValues Enumerates the set of values in String for RecommendationTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

type CancelWorkRequestRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
    // `if-match` parameter to the value of the etag from a previous GET or POST response for
    // that resource. The resource will be updated or deleted only if the etag you provide
    // matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CancelWorkRequestRequest) BinaryRequestBody

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

type CancelWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CancelWorkRequestResponse) HTTPResponse

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeDiagnosisStoreCompartmentDetails

ChangeDiagnosisStoreCompartmentDetails The configuration details for the move operation.

type ChangeDiagnosisStoreCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Diagnosis to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeDiagnosisStoreCompartmentDetails) String

func (m ChangeDiagnosisStoreCompartmentDetails) String() string

func (ChangeDiagnosisStoreCompartmentDetails) ValidateEnumValue

func (m ChangeDiagnosisStoreCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDiagnosisStoreCompartmentRequest

ChangeDiagnosisStoreCompartmentRequest wrapper for the ChangeDiagnosisStoreCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ChangeDiagnosisStoreCompartment.go.html to see an example of how to use ChangeDiagnosisStoreCompartmentRequest.

type ChangeDiagnosisStoreCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // The information to be updated.
    ChangeDiagnosisStoreCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
    // `if-match` parameter to the value of the etag from a previous GET or POST response for
    // that resource. The resource will be updated or deleted only if the etag you provide
    // matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeDiagnosisStoreCompartmentRequest) BinaryRequestBody

func (request ChangeDiagnosisStoreCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeDiagnosisStoreCompartmentRequest) HTTPRequest

func (request ChangeDiagnosisStoreCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDiagnosisStoreCompartmentRequest) RetryPolicy

func (request ChangeDiagnosisStoreCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDiagnosisStoreCompartmentRequest) String

func (request ChangeDiagnosisStoreCompartmentRequest) String() string

func (ChangeDiagnosisStoreCompartmentRequest) ValidateEnumValue

func (request ChangeDiagnosisStoreCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDiagnosisStoreCompartmentResponse

ChangeDiagnosisStoreCompartmentResponse wrapper for the ChangeDiagnosisStoreCompartment operation

type ChangeDiagnosisStoreCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeDiagnosisStoreCompartmentResponse) HTTPResponse

func (response ChangeDiagnosisStoreCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeDiagnosisStoreCompartmentResponse) String

func (response ChangeDiagnosisStoreCompartmentResponse) String() string

type CreateDiagnosisStoreDetails

CreateDiagnosisStoreDetails The data to create a Diagnosis.

type CreateDiagnosisStoreDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the Diagnosis in.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace *string `mandatory:"false" json:"objectStoreNamespace"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreBucket *string `mandatory:"false" json:"objectStoreBucket"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateDiagnosisStoreDetails) String

func (m CreateDiagnosisStoreDetails) String() string

func (CreateDiagnosisStoreDetails) ValidateEnumValue

func (m CreateDiagnosisStoreDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDiagnosisStoreRequest

CreateDiagnosisStoreRequest wrapper for the CreateDiagnosisStore operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/CreateDiagnosisStore.go.html to see an example of how to use CreateDiagnosisStoreRequest.

type CreateDiagnosisStoreRequest struct {

    // Details for the new Diagnosis Store.
    CreateDiagnosisStoreDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateDiagnosisStoreRequest) BinaryRequestBody

func (request CreateDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDiagnosisStoreRequest) HTTPRequest

func (request CreateDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDiagnosisStoreRequest) RetryPolicy

func (request CreateDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDiagnosisStoreRequest) String

func (request CreateDiagnosisStoreRequest) String() string

func (CreateDiagnosisStoreRequest) ValidateEnumValue

func (request CreateDiagnosisStoreRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDiagnosisStoreResponse

CreateDiagnosisStoreResponse wrapper for the CreateDiagnosisStore operation

type CreateDiagnosisStoreResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DiagnosisStore instance
    DiagnosisStore `presentIn:"body"`

    // URL for the created diagnosis. The diagnosis OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateDiagnosisStoreResponse) HTTPResponse

func (response CreateDiagnosisStoreResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDiagnosisStoreResponse) String

func (response CreateDiagnosisStoreResponse) String() string

type DeleteDiagnosisStoreRequest

DeleteDiagnosisStoreRequest wrapper for the DeleteDiagnosisStore operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/DeleteDiagnosisStore.go.html to see an example of how to use DeleteDiagnosisStoreRequest.

type DeleteDiagnosisStoreRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
    // `if-match` parameter to the value of the etag from a previous GET or POST response for
    // that resource. The resource will be updated or deleted only if the etag you provide
    // matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteDiagnosisStoreRequest) BinaryRequestBody

func (request DeleteDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDiagnosisStoreRequest) HTTPRequest

func (request DeleteDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDiagnosisStoreRequest) RetryPolicy

func (request DeleteDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDiagnosisStoreRequest) String

func (request DeleteDiagnosisStoreRequest) String() string

func (DeleteDiagnosisStoreRequest) ValidateEnumValue

func (request DeleteDiagnosisStoreRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDiagnosisStoreResponse

DeleteDiagnosisStoreResponse wrapper for the DeleteDiagnosisStore operation

type DeleteDiagnosisStoreResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteDiagnosisStoreResponse) HTTPResponse

func (response DeleteDiagnosisStoreResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDiagnosisStoreResponse) String

func (response DeleteDiagnosisStoreResponse) String() string

type DiagnosisClient

DiagnosisClient a client for Diagnosis

type DiagnosisClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewDiagnosisClientWithConfigurationProvider

func NewDiagnosisClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DiagnosisClient, err error)

NewDiagnosisClientWithConfigurationProvider Creates a new default Diagnosis client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewDiagnosisClientWithOboToken

func NewDiagnosisClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DiagnosisClient, err error)

NewDiagnosisClientWithOboToken Creates a new default Diagnosis client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (DiagnosisClient) CancelWorkRequest

func (client DiagnosisClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (DiagnosisClient) ChangeDiagnosisStoreCompartment

func (client DiagnosisClient) ChangeDiagnosisStoreCompartment(ctx context.Context, request ChangeDiagnosisStoreCompartmentRequest) (response ChangeDiagnosisStoreCompartmentResponse, err error)

ChangeDiagnosisStoreCompartment Moves a Diagnosis into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ChangeDiagnosisStoreCompartment.go.html to see an example of how to use ChangeDiagnosisStoreCompartment API. A default retry strategy applies to this operation ChangeDiagnosisStoreCompartment()

func (*DiagnosisClient) ConfigurationProvider

func (client *DiagnosisClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DiagnosisClient) CreateDiagnosisStore

func (client DiagnosisClient) CreateDiagnosisStore(ctx context.Context, request CreateDiagnosisStoreRequest) (response CreateDiagnosisStoreResponse, err error)

CreateDiagnosisStore Creates a Diagnosis Store.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/CreateDiagnosisStore.go.html to see an example of how to use CreateDiagnosisStore API. A default retry strategy applies to this operation CreateDiagnosisStore()

func (DiagnosisClient) DeleteDiagnosisStore

func (client DiagnosisClient) DeleteDiagnosisStore(ctx context.Context, request DeleteDiagnosisStoreRequest) (response DeleteDiagnosisStoreResponse, err error)

DeleteDiagnosisStore Deletes a Diagnosis Store.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/DeleteDiagnosisStore.go.html to see an example of how to use DeleteDiagnosisStore API. A default retry strategy applies to this operation DeleteDiagnosisStore()

func (DiagnosisClient) GetDiagnosisStore

func (client DiagnosisClient) GetDiagnosisStore(ctx context.Context, request GetDiagnosisStoreRequest) (response GetDiagnosisStoreResponse, err error)

GetDiagnosisStore Gets information about a Diagnosis Store.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/GetDiagnosisStore.go.html to see an example of how to use GetDiagnosisStore API. A default retry strategy applies to this operation GetDiagnosisStore()

func (DiagnosisClient) GetWorkRequest

func (client DiagnosisClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (DiagnosisClient) ListDiagnosisStores

func (client DiagnosisClient) ListDiagnosisStores(ctx context.Context, request ListDiagnosisStoresRequest) (response ListDiagnosisStoresResponse, err error)

ListDiagnosisStores Gets a list of Diagnosis Stores.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListDiagnosisStores.go.html to see an example of how to use ListDiagnosisStores API. A default retry strategy applies to this operation ListDiagnosisStores()

func (DiagnosisClient) ListWorkRequestErrors

func (client DiagnosisClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Lists the errors for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (DiagnosisClient) ListWorkRequestLogs

func (client DiagnosisClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Lists the logs for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (DiagnosisClient) ListWorkRequests

func (client DiagnosisClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (DiagnosisClient) QueryDiagnosisByHealthCheckKey

func (client DiagnosisClient) QueryDiagnosisByHealthCheckKey(ctx context.Context, request QueryDiagnosisByHealthCheckKeyRequest) (response QueryDiagnosisByHealthCheckKeyResponse, err error)

QueryDiagnosisByHealthCheckKey Query latest diagnosis result summaries.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/QueryDiagnosisByHealthCheckKey.go.html to see an example of how to use QueryDiagnosisByHealthCheckKey API. A default retry strategy applies to this operation QueryDiagnosisByHealthCheckKey()

func (DiagnosisClient) QueryDiagnosisSummary

func (client DiagnosisClient) QueryDiagnosisSummary(ctx context.Context, request QueryDiagnosisSummaryRequest) (response QueryDiagnosisSummaryResponse, err error)

QueryDiagnosisSummary Query latest diagnosis result summaries.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/QueryDiagnosisSummary.go.html to see an example of how to use QueryDiagnosisSummary API. A default retry strategy applies to this operation QueryDiagnosisSummary()

func (DiagnosisClient) RequestDiagnosis

func (client DiagnosisClient) RequestDiagnosis(ctx context.Context, request RequestDiagnosisRequest) (response RequestDiagnosisResponse, err error)

RequestDiagnosis Request a diagnosis to be analyzed.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/RequestDiagnosis.go.html to see an example of how to use RequestDiagnosis API. A default retry strategy applies to this operation RequestDiagnosis()

func (*DiagnosisClient) SetRegion

func (client *DiagnosisClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DiagnosisClient) UpdateDiagnosisStore

func (client DiagnosisClient) UpdateDiagnosisStore(ctx context.Context, request UpdateDiagnosisStoreRequest) (response UpdateDiagnosisStoreResponse, err error)

UpdateDiagnosisStore Updates a Diagnosis Store.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/UpdateDiagnosisStore.go.html to see an example of how to use UpdateDiagnosisStore API. A default retry strategy applies to this operation UpdateDiagnosisStore()

type DiagnosisResults

DiagnosisResults the results of requestDiagnosis

type DiagnosisResults struct {

    // collection of recommendation reports generated for each requested test
    RecommendationReports []RecommendationReport `mandatory:"true" json:"recommendationReports"`
}

func (DiagnosisResults) String

func (m DiagnosisResults) String() string

func (DiagnosisResults) ValidateEnumValue

func (m DiagnosisResults) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisStore

DiagnosisStore A DiagnosisStore is a description of a DiagnosisStore. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type DiagnosisStore struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DiagnosisStore.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The current state of the Diagnosis.
    LifecycleState DiagnosisStoreLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A message that describes the current state of the Diagnosis in more detail. For example,
    // can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The namespace of the object store.
    ObjectStoreNamespace *string `mandatory:"true" json:"objectStoreNamespace"`

    // The name of the object store bucket.
    ObjectStoreBucket *string `mandatory:"true" json:"objectStoreBucket"`

    // The date and time the Diagnosis Store was created, in the format defined by RFC 3339 (https://tools.ietf
    // .org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the Diagnosis Store was updated, in the format defined by RFC 3339 (https://tools.ietf
    // .org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The last accepted request token.
    LastAcceptedRequestToken *string `mandatory:"true" json:"lastAcceptedRequestToken"`

    // The last completed request token.
    LastCompletedRequestToken *string `mandatory:"true" json:"lastCompletedRequestToken"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
}

func (DiagnosisStore) String

func (m DiagnosisStore) String() string

func (DiagnosisStore) ValidateEnumValue

func (m DiagnosisStore) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisStoreCollection

DiagnosisStoreCollection Results of a diagnosis search. Contains both DiagnosisSummary items and other information, such as metadata.

type DiagnosisStoreCollection struct {

    // List of diagnosiss.
    Items []DiagnosisStoreSummary `mandatory:"true" json:"items"`
}

func (DiagnosisStoreCollection) String

func (m DiagnosisStoreCollection) String() string

func (DiagnosisStoreCollection) ValidateEnumValue

func (m DiagnosisStoreCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisStoreLifecycleStateEnum

DiagnosisStoreLifecycleStateEnum Enum with underlying type: string

type DiagnosisStoreLifecycleStateEnum string

Set of constants representing the allowable values for DiagnosisStoreLifecycleStateEnum

const (
    DiagnosisStoreLifecycleStateCreating DiagnosisStoreLifecycleStateEnum = "CREATING"
    DiagnosisStoreLifecycleStateUpdating DiagnosisStoreLifecycleStateEnum = "UPDATING"
    DiagnosisStoreLifecycleStateActive   DiagnosisStoreLifecycleStateEnum = "ACTIVE"
    DiagnosisStoreLifecycleStateDeleting DiagnosisStoreLifecycleStateEnum = "DELETING"
    DiagnosisStoreLifecycleStateDeleted  DiagnosisStoreLifecycleStateEnum = "DELETED"
    DiagnosisStoreLifecycleStateFailed   DiagnosisStoreLifecycleStateEnum = "FAILED"
)

func GetDiagnosisStoreLifecycleStateEnumValues

func GetDiagnosisStoreLifecycleStateEnumValues() []DiagnosisStoreLifecycleStateEnum

GetDiagnosisStoreLifecycleStateEnumValues Enumerates the set of values for DiagnosisStoreLifecycleStateEnum

func GetMappingDiagnosisStoreLifecycleStateEnum

func GetMappingDiagnosisStoreLifecycleStateEnum(val string) (DiagnosisStoreLifecycleStateEnum, bool)

GetMappingDiagnosisStoreLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DiagnosisStoreSummary

DiagnosisStoreSummary Summary information about a Diagnosis Store.

type DiagnosisStoreSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DiagnosisStore.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The current state of the Diagnosis.
    LifecycleState DiagnosisStoreLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The namespace of the object store.
    ObjectStoreNamespace *string `mandatory:"true" json:"objectStoreNamespace"`

    // The name of the object store bucket.
    ObjectStoreBucket *string `mandatory:"true" json:"objectStoreBucket"`

    // The date and time the Diagnosis Store was created, in the format defined by RFC 3339 (https://tools.ietf
    // .org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the Diagnosis Store was updated, in the format defined by RFC 3339 (https://tools.ietf
    // .org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
}

func (DiagnosisStoreSummary) String

func (m DiagnosisStoreSummary) String() string

func (DiagnosisStoreSummary) ValidateEnumValue

func (m DiagnosisStoreSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisSummary

DiagnosisSummary Diagnosis summary of a host and tenancy.

type DiagnosisSummary struct {

    // Type of the diagnosis test recorded in this summary (e.g., PASSIVE or ACTIVE).
    TestType DiagnosisSummaryTestTypeEnum `mandatory:"true" json:"testType"`

    // id of the host
    HostId *string `mandatory:"false" json:"hostId"`

    // OCID of the instance associated with this summary.
    InstanceId *string `mandatory:"false" json:"instanceId"`

    // Identifier of the health check that produced this diagnosis summary.
    HealthCheckKey *string `mandatory:"false" json:"healthCheckKey"`

    // time the test was run
    TimeTestRan *common.SDKTime `mandatory:"false" json:"timeTestRan"`

    // time the recommendation report was generated
    TimeGenerated *common.SDKTime `mandatory:"false" json:"timeGenerated"`

    // Each summary contains no more than 50 failed tests
    FailedTests []FailedTest `mandatory:"false" json:"failedTests"`

    // if the host is healthy
    Health DiagnosisSummaryHealthEnum `mandatory:"false" json:"health,omitempty"`
}

func (DiagnosisSummary) String

func (m DiagnosisSummary) String() string

func (DiagnosisSummary) ValidateEnumValue

func (m DiagnosisSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisSummaryCollection

DiagnosisSummaryCollection a list of Diagnosis Summaries.

type DiagnosisSummaryCollection struct {

    // List of diagnosis summaries.
    Items []DiagnosisSummary `mandatory:"true" json:"items"`
}

func (DiagnosisSummaryCollection) String

func (m DiagnosisSummaryCollection) String() string

func (DiagnosisSummaryCollection) ValidateEnumValue

func (m DiagnosisSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiagnosisSummaryHealthEnum

DiagnosisSummaryHealthEnum Enum with underlying type: string

type DiagnosisSummaryHealthEnum string

Set of constants representing the allowable values for DiagnosisSummaryHealthEnum

const (
    DiagnosisSummaryHealthHealthy   DiagnosisSummaryHealthEnum = "HEALTHY"
    DiagnosisSummaryHealthUnhealthy DiagnosisSummaryHealthEnum = "UNHEALTHY"
)

func GetDiagnosisSummaryHealthEnumValues

func GetDiagnosisSummaryHealthEnumValues() []DiagnosisSummaryHealthEnum

GetDiagnosisSummaryHealthEnumValues Enumerates the set of values for DiagnosisSummaryHealthEnum

func GetMappingDiagnosisSummaryHealthEnum

func GetMappingDiagnosisSummaryHealthEnum(val string) (DiagnosisSummaryHealthEnum, bool)

GetMappingDiagnosisSummaryHealthEnum performs case Insensitive comparison on enum value and return the desired enum

type DiagnosisSummaryTestTypeEnum

DiagnosisSummaryTestTypeEnum Enum with underlying type: string

type DiagnosisSummaryTestTypeEnum string

Set of constants representing the allowable values for DiagnosisSummaryTestTypeEnum

const (
    DiagnosisSummaryTestTypePassive DiagnosisSummaryTestTypeEnum = "PASSIVE"
    DiagnosisSummaryTestTypeActive  DiagnosisSummaryTestTypeEnum = "ACTIVE"
)

func GetDiagnosisSummaryTestTypeEnumValues

func GetDiagnosisSummaryTestTypeEnumValues() []DiagnosisSummaryTestTypeEnum

GetDiagnosisSummaryTestTypeEnumValues Enumerates the set of values for DiagnosisSummaryTestTypeEnum

func GetMappingDiagnosisSummaryTestTypeEnum

func GetMappingDiagnosisSummaryTestTypeEnum(val string) (DiagnosisSummaryTestTypeEnum, bool)

GetMappingDiagnosisSummaryTestTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FailedTest

FailedTest summary of a failed test

type FailedTest struct {

    // name of the test
    TestName *string `mandatory:"false" json:"testName"`

    // recommended action
    RecommendedAction *string `mandatory:"false" json:"recommendedAction"`
}

func (FailedTest) String

func (m FailedTest) String() string

func (FailedTest) ValidateEnumValue

func (m FailedTest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDiagnosisStoreRequest

GetDiagnosisStoreRequest wrapper for the GetDiagnosisStore operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/GetDiagnosisStore.go.html to see an example of how to use GetDiagnosisStoreRequest.

type GetDiagnosisStoreRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetDiagnosisStoreRequest) BinaryRequestBody

func (request GetDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDiagnosisStoreRequest) HTTPRequest

func (request GetDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDiagnosisStoreRequest) RetryPolicy

func (request GetDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDiagnosisStoreRequest) String

func (request GetDiagnosisStoreRequest) String() string

func (GetDiagnosisStoreRequest) ValidateEnumValue

func (request GetDiagnosisStoreRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDiagnosisStoreResponse

GetDiagnosisStoreResponse wrapper for the GetDiagnosisStore operation

type GetDiagnosisStoreResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DiagnosisStore instance
    DiagnosisStore `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetDiagnosisStoreResponse) HTTPResponse

func (response GetDiagnosisStoreResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDiagnosisStoreResponse) String

func (response GetDiagnosisStoreResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *int `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ListDiagnosisStoresRequest

ListDiagnosisStoresRequest wrapper for the ListDiagnosisStores operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListDiagnosisStores.go.html to see an example of how to use ListDiagnosisStoresRequest.

type ListDiagnosisStoresRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState DiagnosisStoreLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"false" contributesTo:"query" name:"diagnosisStoreId"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListDiagnosisStoresSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListDiagnosisStoresSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListDiagnosisStoresRequest) BinaryRequestBody

func (request ListDiagnosisStoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDiagnosisStoresRequest) HTTPRequest

func (request ListDiagnosisStoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDiagnosisStoresRequest) RetryPolicy

func (request ListDiagnosisStoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDiagnosisStoresRequest) String

func (request ListDiagnosisStoresRequest) String() string

func (ListDiagnosisStoresRequest) ValidateEnumValue

func (request ListDiagnosisStoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDiagnosisStoresResponse

ListDiagnosisStoresResponse wrapper for the ListDiagnosisStores operation

type ListDiagnosisStoresResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of DiagnosisStoreCollection instances
    DiagnosisStoreCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListDiagnosisStoresResponse) HTTPResponse

func (response ListDiagnosisStoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDiagnosisStoresResponse) String

func (response ListDiagnosisStoresResponse) String() string

type ListDiagnosisStoresSortByEnum

ListDiagnosisStoresSortByEnum Enum with underlying type: string

type ListDiagnosisStoresSortByEnum string

Set of constants representing the allowable values for ListDiagnosisStoresSortByEnum

const (
    ListDiagnosisStoresSortByTimecreated ListDiagnosisStoresSortByEnum = "timeCreated"
    ListDiagnosisStoresSortByDisplayname ListDiagnosisStoresSortByEnum = "displayName"
)

func GetListDiagnosisStoresSortByEnumValues

func GetListDiagnosisStoresSortByEnumValues() []ListDiagnosisStoresSortByEnum

GetListDiagnosisStoresSortByEnumValues Enumerates the set of values for ListDiagnosisStoresSortByEnum

func GetMappingListDiagnosisStoresSortByEnum

func GetMappingListDiagnosisStoresSortByEnum(val string) (ListDiagnosisStoresSortByEnum, bool)

GetMappingListDiagnosisStoresSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiagnosisStoresSortOrderEnum

ListDiagnosisStoresSortOrderEnum Enum with underlying type: string

type ListDiagnosisStoresSortOrderEnum string

Set of constants representing the allowable values for ListDiagnosisStoresSortOrderEnum

const (
    ListDiagnosisStoresSortOrderAsc  ListDiagnosisStoresSortOrderEnum = "ASC"
    ListDiagnosisStoresSortOrderDesc ListDiagnosisStoresSortOrderEnum = "DESC"
)

func GetListDiagnosisStoresSortOrderEnumValues

func GetListDiagnosisStoresSortOrderEnumValues() []ListDiagnosisStoresSortOrderEnum

GetListDiagnosisStoresSortOrderEnumValues Enumerates the set of values for ListDiagnosisStoresSortOrderEnum

func GetMappingListDiagnosisStoresSortOrderEnum

func GetMappingListDiagnosisStoresSortOrderEnum(val string) (ListDiagnosisStoresSortOrderEnum, bool)

GetMappingListDiagnosisStoresSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only the resources that match the given lifecycle state.
    Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestSummaryCollection instances
    WorkRequestSummaryCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
    ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
)

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type Metadata

Metadata Metadata associated with the diagnosis recommendation report.

type Metadata struct {

    // OCID of the host that ran the test.
    HostId *string `mandatory:"false" json:"hostId"`

    // Identifier of the health check run.
    HealthCheckKey *string `mandatory:"false" json:"healthCheckKey"`

    // OCID of the instance related to the test.
    InstanceId *string `mandatory:"false" json:"instanceId"`

    // Shape of the instance under test.
    Shape *string `mandatory:"false" json:"shape"`

    // Test type provided by the diagnosis payload.
    TestType MetadataTestTypeEnum `mandatory:"false" json:"testType,omitempty"`
}

func (Metadata) String

func (m Metadata) String() string

func (Metadata) ValidateEnumValue

func (m Metadata) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MetadataTestTypeEnum

MetadataTestTypeEnum Enum with underlying type: string

type MetadataTestTypeEnum string

Set of constants representing the allowable values for MetadataTestTypeEnum

const (
    MetadataTestTypePassive MetadataTestTypeEnum = "PASSIVE"
    MetadataTestTypeActive  MetadataTestTypeEnum = "ACTIVE"
)

func GetMappingMetadataTestTypeEnum

func GetMappingMetadataTestTypeEnum(val string) (MetadataTestTypeEnum, bool)

GetMappingMetadataTestTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetadataTestTypeEnumValues

func GetMetadataTestTypeEnumValues() []MetadataTestTypeEnum

GetMetadataTestTypeEnumValues Enumerates the set of values for MetadataTestTypeEnum

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
    OperationStatusWaiting        OperationStatusEnum = "WAITING"
    OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
    OperationStatusFailed         OperationStatusEnum = "FAILED"
    OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling      OperationStatusEnum = "CANCELING"
    OperationStatusCanceled       OperationStatusEnum = "CANCELED"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateDiagnosisStore OperationTypeEnum = "CREATE_DIAGNOSIS_STORE"
    OperationTypeUpdateDiagnosisStore OperationTypeEnum = "UPDATE_DIAGNOSIS_STORE"
    OperationTypeDeleteDiagnosisStore OperationTypeEnum = "DELETE_DIAGNOSIS_STORE"
    OperationTypeMoveDiagnosisStore   OperationTypeEnum = "MOVE_DIAGNOSIS_STORE"
    OperationTypeRequestDiagnosis     OperationTypeEnum = "REQUEST_DIAGNOSIS"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type QueryDiagnosisByHealthCheckKeyDetails

QueryDiagnosisByHealthCheckKeyDetails the query parameters for recommendations

type QueryDiagnosisByHealthCheckKeyDetails struct {

    // Identifier of the health check
    HealthCheckKey *string `mandatory:"true" json:"healthCheckKey"`
}

func (QueryDiagnosisByHealthCheckKeyDetails) String

func (m QueryDiagnosisByHealthCheckKeyDetails) String() string

func (QueryDiagnosisByHealthCheckKeyDetails) ValidateEnumValue

func (m QueryDiagnosisByHealthCheckKeyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryDiagnosisByHealthCheckKeyRequest

QueryDiagnosisByHealthCheckKeyRequest wrapper for the QueryDiagnosisByHealthCheckKey operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/QueryDiagnosisByHealthCheckKey.go.html to see an example of how to use QueryDiagnosisByHealthCheckKeyRequest.

type QueryDiagnosisByHealthCheckKeyRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // Parameters for filtering diagnosis summaries.
    QueryDiagnosisByHealthCheckKeyDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (QueryDiagnosisByHealthCheckKeyRequest) BinaryRequestBody

func (request QueryDiagnosisByHealthCheckKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (QueryDiagnosisByHealthCheckKeyRequest) HTTPRequest

func (request QueryDiagnosisByHealthCheckKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (QueryDiagnosisByHealthCheckKeyRequest) RetryPolicy

func (request QueryDiagnosisByHealthCheckKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (QueryDiagnosisByHealthCheckKeyRequest) String

func (request QueryDiagnosisByHealthCheckKeyRequest) String() string

func (QueryDiagnosisByHealthCheckKeyRequest) ValidateEnumValue

func (request QueryDiagnosisByHealthCheckKeyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryDiagnosisByHealthCheckKeyResponse

QueryDiagnosisByHealthCheckKeyResponse wrapper for the QueryDiagnosisByHealthCheckKey operation

type QueryDiagnosisByHealthCheckKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecommendationReport instance
    RecommendationReport `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (QueryDiagnosisByHealthCheckKeyResponse) HTTPResponse

func (response QueryDiagnosisByHealthCheckKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (QueryDiagnosisByHealthCheckKeyResponse) String

func (response QueryDiagnosisByHealthCheckKeyResponse) String() string

type QueryDiagnosisSummaryDetails

QueryDiagnosisSummaryDetails Query filters for retrieving diagnosis summaries.

type QueryDiagnosisSummaryDetails struct {

    // A list of instance OCIDs to match.
    InstanceIds []string `mandatory:"true" json:"instanceIds"`

    // The test type, PASSIVE or ACTIVE
    TestType QueryDiagnosisSummaryDetailsTestTypeEnum `mandatory:"false" json:"testType,omitempty"`

    // Start of the time range for tests run, in RFC 3339 format.
    TimeTestRunIntervalStart *common.SDKTime `mandatory:"false" json:"timeTestRunIntervalStart"`

    // End of the time range for tests run, in RFC 3339 format.
    TimeTestRunIntervalEnd *common.SDKTime `mandatory:"false" json:"timeTestRunIntervalEnd"`
}

func (QueryDiagnosisSummaryDetails) String

func (m QueryDiagnosisSummaryDetails) String() string

func (QueryDiagnosisSummaryDetails) ValidateEnumValue

func (m QueryDiagnosisSummaryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryDiagnosisSummaryDetailsTestTypeEnum

QueryDiagnosisSummaryDetailsTestTypeEnum Enum with underlying type: string

type QueryDiagnosisSummaryDetailsTestTypeEnum string

Set of constants representing the allowable values for QueryDiagnosisSummaryDetailsTestTypeEnum

const (
    QueryDiagnosisSummaryDetailsTestTypePassive QueryDiagnosisSummaryDetailsTestTypeEnum = "PASSIVE"
    QueryDiagnosisSummaryDetailsTestTypeActive  QueryDiagnosisSummaryDetailsTestTypeEnum = "ACTIVE"
)

func GetMappingQueryDiagnosisSummaryDetailsTestTypeEnum

func GetMappingQueryDiagnosisSummaryDetailsTestTypeEnum(val string) (QueryDiagnosisSummaryDetailsTestTypeEnum, bool)

GetMappingQueryDiagnosisSummaryDetailsTestTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQueryDiagnosisSummaryDetailsTestTypeEnumValues

func GetQueryDiagnosisSummaryDetailsTestTypeEnumValues() []QueryDiagnosisSummaryDetailsTestTypeEnum

GetQueryDiagnosisSummaryDetailsTestTypeEnumValues Enumerates the set of values for QueryDiagnosisSummaryDetailsTestTypeEnum

type QueryDiagnosisSummaryRequest

QueryDiagnosisSummaryRequest wrapper for the QueryDiagnosisSummary operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/QueryDiagnosisSummary.go.html to see an example of how to use QueryDiagnosisSummaryRequest.

type QueryDiagnosisSummaryRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // Parameters for filtering diagnosis summaries.
    QueryDiagnosisSummaryDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (QueryDiagnosisSummaryRequest) BinaryRequestBody

func (request QueryDiagnosisSummaryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (QueryDiagnosisSummaryRequest) HTTPRequest

func (request QueryDiagnosisSummaryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (QueryDiagnosisSummaryRequest) RetryPolicy

func (request QueryDiagnosisSummaryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (QueryDiagnosisSummaryRequest) String

func (request QueryDiagnosisSummaryRequest) String() string

func (QueryDiagnosisSummaryRequest) ValidateEnumValue

func (request QueryDiagnosisSummaryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryDiagnosisSummaryResponse

QueryDiagnosisSummaryResponse wrapper for the QueryDiagnosisSummary operation

type QueryDiagnosisSummaryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of DiagnosisSummaryCollection instances
    DiagnosisSummaryCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (QueryDiagnosisSummaryResponse) HTTPResponse

func (response QueryDiagnosisSummaryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (QueryDiagnosisSummaryResponse) String

func (response QueryDiagnosisSummaryResponse) String() string

type Recommendation

Recommendation recommendation

type Recommendation struct {

    // Severity of the recommendation.
    Type RecommendationTypeEnum `mandatory:"true" json:"type"`

    // name of the test
    TestName *string `mandatory:"true" json:"testName"`

    // description of the issue
    Issue *string `mandatory:"true" json:"issue"`

    // suggested actions
    Suggestion *string `mandatory:"true" json:"suggestion"`

    // Optional action to take (empty string when no action is required).
    Action *string `mandatory:"true" json:"action"`

    // Optional fault code identifier.
    FaultCode *string `mandatory:"false" json:"faultCode"`
}

func (Recommendation) String

func (m Recommendation) String() string

func (Recommendation) ValidateEnumValue

func (m Recommendation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationReport

RecommendationReport A recommendation report

type RecommendationReport struct {

    // summary
    Summary *string `mandatory:"true" json:"summary"`

    // total issue count
    TotalIssues *int `mandatory:"true" json:"totalIssues"`

    // critical issue count
    CriticalIssues *int `mandatory:"true" json:"criticalIssues"`

    // warning issue count
    WarningIssues *int `mandatory:"true" json:"warningIssues"`

    // info issue count
    InfoIssues *int `mandatory:"true" json:"infoIssues"`

    // recommendations
    Recommendations []Recommendation `mandatory:"true" json:"recommendations"`

    // time generated
    TimeGenerated *common.SDKTime `mandatory:"true" json:"timeGenerated"`

    Metadata *Metadata `mandatory:"false" json:"metadata"`
}

func (RecommendationReport) String

func (m RecommendationReport) String() string

func (RecommendationReport) ValidateEnumValue

func (m RecommendationReport) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationTypeEnum

RecommendationTypeEnum Enum with underlying type: string

type RecommendationTypeEnum string

Set of constants representing the allowable values for RecommendationTypeEnum

const (
    RecommendationTypeCritical RecommendationTypeEnum = "CRITICAL"
    RecommendationTypeWarning  RecommendationTypeEnum = "WARNING"
    RecommendationTypeInfo     RecommendationTypeEnum = "INFO"
)

func GetMappingRecommendationTypeEnum

func GetMappingRecommendationTypeEnum(val string) (RecommendationTypeEnum, bool)

GetMappingRecommendationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecommendationTypeEnumValues

func GetRecommendationTypeEnumValues() []RecommendationTypeEnum

GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum

type RequestDiagnosisDetails

RequestDiagnosisDetails The details of the diagnosis analysis request operation.

type RequestDiagnosisDetails struct {

    // A list of health check IDs.
    HealthCheckKeys []string `mandatory:"true" json:"healthCheckKeys"`
}

func (RequestDiagnosisDetails) String

func (m RequestDiagnosisDetails) String() string

func (RequestDiagnosisDetails) ValidateEnumValue

func (m RequestDiagnosisDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestDiagnosisRequest

RequestDiagnosisRequest wrapper for the RequestDiagnosis operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/RequestDiagnosis.go.html to see an example of how to use RequestDiagnosisRequest.

type RequestDiagnosisRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // At least one healthCheck ID.
    RequestDiagnosisDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (RequestDiagnosisRequest) BinaryRequestBody

func (request RequestDiagnosisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestDiagnosisRequest) HTTPRequest

func (request RequestDiagnosisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestDiagnosisRequest) RetryPolicy

func (request RequestDiagnosisRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestDiagnosisRequest) String

func (request RequestDiagnosisRequest) String() string

func (RequestDiagnosisRequest) ValidateEnumValue

func (request RequestDiagnosisRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestDiagnosisResponse

RequestDiagnosisResponse wrapper for the RequestDiagnosis operation

type RequestDiagnosisResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DiagnosisResults instance
    DiagnosisResults `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (RequestDiagnosisResponse) HTTPResponse

func (response RequestDiagnosisResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestDiagnosisResponse) String

func (response RequestDiagnosisResponse) String() string

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateDiagnosisStoreDetails

UpdateDiagnosisStoreDetails The data to update a Diagnosis.

type UpdateDiagnosisStoreDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace *string `mandatory:"false" json:"objectStoreNamespace"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreBucket *string `mandatory:"false" json:"objectStoreBucket"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateDiagnosisStoreDetails) String

func (m UpdateDiagnosisStoreDetails) String() string

func (UpdateDiagnosisStoreDetails) ValidateEnumValue

func (m UpdateDiagnosisStoreDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDiagnosisStoreRequest

UpdateDiagnosisStoreRequest wrapper for the UpdateDiagnosisStore operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/clusterhealth/UpdateDiagnosisStore.go.html to see an example of how to use UpdateDiagnosisStoreRequest.

type UpdateDiagnosisStoreRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Diagnosis.
    DiagnosisStoreId *string `mandatory:"true" contributesTo:"path" name:"diagnosisStoreId"`

    // The information to be updated.
    UpdateDiagnosisStoreDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
    // `if-match` parameter to the value of the etag from a previous GET or POST response for
    // that resource. The resource will be updated or deleted only if the etag you provide
    // matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateDiagnosisStoreRequest) BinaryRequestBody

func (request UpdateDiagnosisStoreRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDiagnosisStoreRequest) HTTPRequest

func (request UpdateDiagnosisStoreRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDiagnosisStoreRequest) RetryPolicy

func (request UpdateDiagnosisStoreRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDiagnosisStoreRequest) String

func (request UpdateDiagnosisStoreRequest) String() string

func (UpdateDiagnosisStoreRequest) ValidateEnumValue

func (request UpdateDiagnosisStoreRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDiagnosisStoreResponse

UpdateDiagnosisStoreResponse wrapper for the UpdateDiagnosisStore operation

type UpdateDiagnosisStoreResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateDiagnosisStoreResponse) HTTPResponse

func (response UpdateDiagnosisStoreResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDiagnosisStoreResponse) String

func (response UpdateDiagnosisStoreResponse) String() string

type WorkRequest

WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.

type WorkRequest struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // The status of the work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources that are affected by the work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while performing an operation that is tracked by a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. For a list of error codes, see
    // API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error message.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the error occurred, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // A list of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.

type WorkRequestLogEntry struct {

    // A human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the log message was written, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // A list of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

    // The resource type that the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the operation tracked in the work request.
    // A resource being created, updated, or deleted remains in the IN_PROGRESS state until
    // work is complete for that resource, at which point it transitions to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that you can use for a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // Additional information that helps to explain the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

WorkRequestSummary Summary information about an asynchronous work request.

type WorkRequestSummary struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // The status of the work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources that are affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // A list of work requests.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly