...

Package dif

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetAutoTieringEnumStringValues() []string
func GetClusterTypeEnumStringValues() []string
func GetDbWorkloadEnumStringValues() []string
func GetListStacksSortByEnumStringValues() []string
func GetListStacksSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetObjectVersioningEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetServiceEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetStackLifecycleStateEnumStringValues() []string
func GetStackTemplateEnumStringValues() []string
func GetStorageTierEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
func GetWorkflowActionEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AdbArtifactsDetail
    func (m AdbArtifactsDetail) String() string
    func (m AdbArtifactsDetail) ValidateEnumValue() (bool, error)
type AdbDetail
    func (m AdbDetail) String() string
    func (m AdbDetail) ValidateEnumValue() (bool, error)
type AdbUpdateDetail
    func (m AdbUpdateDetail) String() string
    func (m AdbUpdateDetail) ValidateEnumValue() (bool, error)
type AddServiceDetails
    func (m AddServiceDetails) String() string
    func (m AddServiceDetails) ValidateEnumValue() (bool, error)
type AddServiceRequest
    func (request AddServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request AddServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request AddServiceRequest) RetryPolicy() *common.RetryPolicy
    func (request AddServiceRequest) String() string
    func (request AddServiceRequest) ValidateEnumValue() (bool, error)
type AddServiceResponse
    func (response AddServiceResponse) HTTPResponse() *http.Response
    func (response AddServiceResponse) String() string
type AdditionalDetails
    func (m AdditionalDetails) String() string
    func (m AdditionalDetails) ValidateEnumValue() (bool, error)
type AssignedConnectionDetails
    func (m AssignedConnectionDetails) String() string
    func (m AssignedConnectionDetails) ValidateEnumValue() (bool, error)
type AutoTieringEnum
    func GetAutoTieringEnumValues() []AutoTieringEnum
    func GetMappingAutoTieringEnum(val string) (AutoTieringEnum, 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 ChangeStackCompartmentDetails
    func (m ChangeStackCompartmentDetails) String() string
    func (m ChangeStackCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeStackCompartmentRequest
    func (request ChangeStackCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeStackCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeStackCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeStackCompartmentRequest) String() string
    func (request ChangeStackCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeStackCompartmentResponse
    func (response ChangeStackCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeStackCompartmentResponse) String() string
type ClusterTypeEnum
    func GetClusterTypeEnumValues() []ClusterTypeEnum
    func GetMappingClusterTypeEnum(val string) (ClusterTypeEnum, bool)
type CreateStackDetails
    func (m CreateStackDetails) String() string
    func (m CreateStackDetails) ValidateEnumValue() (bool, error)
type CreateStackRequest
    func (request CreateStackRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateStackRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateStackRequest) String() string
    func (request CreateStackRequest) ValidateEnumValue() (bool, error)
type CreateStackResponse
    func (response CreateStackResponse) HTTPResponse() *http.Response
    func (response CreateStackResponse) String() string
type DataflowArtifactsDetail
    func (m DataflowArtifactsDetail) String() string
    func (m DataflowArtifactsDetail) ValidateEnumValue() (bool, error)
type DataflowConnectionDetails
    func (m DataflowConnectionDetails) String() string
    func (m DataflowConnectionDetails) ValidateEnumValue() (bool, error)
type DataflowConnections
    func (m DataflowConnections) String() string
    func (m DataflowConnections) ValidateEnumValue() (bool, error)
type DataflowDetail
    func (m DataflowDetail) String() string
    func (m DataflowDetail) ValidateEnumValue() (bool, error)
type DataflowUpdateDetail
    func (m DataflowUpdateDetail) String() string
    func (m DataflowUpdateDetail) ValidateEnumValue() (bool, error)
type DbCredentialsDetail
    func (m DbCredentialsDetail) String() string
    func (m DbCredentialsDetail) ValidateEnumValue() (bool, error)
type DbWorkloadEnum
    func GetDbWorkloadEnumValues() []DbWorkloadEnum
    func GetMappingDbWorkloadEnum(val string) (DbWorkloadEnum, bool)
type DeleteStackRequest
    func (request DeleteStackRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteStackRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteStackRequest) String() string
    func (request DeleteStackRequest) ValidateEnumValue() (bool, error)
type DeleteStackResponse
    func (response DeleteStackResponse) HTTPResponse() *http.Response
    func (response DeleteStackResponse) String() string
type DeployArtifactsDetails
    func (m DeployArtifactsDetails) String() string
    func (m DeployArtifactsDetails) ValidateEnumValue() (bool, error)
type DeployArtifactsRequest
    func (request DeployArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeployArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeployArtifactsRequest) RetryPolicy() *common.RetryPolicy
    func (request DeployArtifactsRequest) String() string
    func (request DeployArtifactsRequest) ValidateEnumValue() (bool, error)
type DeployArtifactsResponse
    func (response DeployArtifactsResponse) HTTPResponse() *http.Response
    func (response DeployArtifactsResponse) String() string
type DifDependencyDetails
    func (m DifDependencyDetails) String() string
    func (m DifDependencyDetails) ValidateEnumValue() (bool, error)
type EndpointAdditional
    func (m EndpointAdditional) String() string
    func (m EndpointAdditional) ValidateEnumValue() (bool, error)
type EndpointDetails
    func (m EndpointDetails) String() string
    func (m EndpointDetails) ValidateEnumValue() (bool, error)
type GenAiDetail
    func (m GenAiDetail) String() string
    func (m GenAiDetail) ValidateEnumValue() (bool, error)
type GenAiUpdateDetail
    func (m GenAiUpdateDetail) String() string
    func (m GenAiUpdateDetail) ValidateEnumValue() (bool, error)
type GetStackRequest
    func (request GetStackRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetStackRequest) RetryPolicy() *common.RetryPolicy
    func (request GetStackRequest) String() string
    func (request GetStackRequest) ValidateEnumValue() (bool, error)
type GetStackResponse
    func (response GetStackResponse) HTTPResponse() *http.Response
    func (response GetStackResponse) 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 GgcsArtifactsDetail
    func (m GgcsArtifactsDetail) String() string
    func (m GgcsArtifactsDetail) ValidateEnumValue() (bool, error)
type GgcsConnectionDetails
    func (m GgcsConnectionDetails) String() string
    func (m GgcsConnectionDetails) ValidateEnumValue() (bool, error)
type GgcsDetail
    func (m GgcsDetail) String() string
    func (m GgcsDetail) ValidateEnumValue() (bool, error)
type GgcsSourceDetail
    func (m GgcsSourceDetail) String() string
    func (m GgcsSourceDetail) ValidateEnumValue() (bool, error)
type GgcsTargetDetail
    func (m GgcsTargetDetail) String() string
    func (m GgcsTargetDetail) ValidateEnumValue() (bool, error)
type GgcsUpdateDetail
    func (m GgcsUpdateDetail) String() string
    func (m GgcsUpdateDetail) ValidateEnumValue() (bool, error)
type GgcsUserDetail
    func (m GgcsUserDetail) String() string
    func (m GgcsUserDetail) ValidateEnumValue() (bool, error)
type ListStacksRequest
    func (request ListStacksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListStacksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListStacksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListStacksRequest) String() string
    func (request ListStacksRequest) ValidateEnumValue() (bool, error)
type ListStacksResponse
    func (response ListStacksResponse) HTTPResponse() *http.Response
    func (response ListStacksResponse) String() string
type ListStacksSortByEnum
    func GetListStacksSortByEnumValues() []ListStacksSortByEnum
    func GetMappingListStacksSortByEnum(val string) (ListStacksSortByEnum, bool)
type ListStacksSortOrderEnum
    func GetListStacksSortOrderEnumValues() []ListStacksSortOrderEnum
    func GetMappingListStacksSortOrderEnum(val string) (ListStacksSortOrderEnum, 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 ObjectStorageDetail
    func (m ObjectStorageDetail) String() string
    func (m ObjectStorageDetail) ValidateEnumValue() (bool, error)
type ObjectStorageUpdateDetail
    func (m ObjectStorageUpdateDetail) String() string
    func (m ObjectStorageUpdateDetail) ValidateEnumValue() (bool, error)
type ObjectVersioningEnum
    func GetMappingObjectVersioningEnum(val string) (ObjectVersioningEnum, bool)
    func GetObjectVersioningEnumValues() []ObjectVersioningEnum
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type ServiceDetailResponse
    func (m ServiceDetailResponse) String() string
    func (m ServiceDetailResponse) ValidateEnumValue() (bool, error)
type ServiceEnum
    func GetMappingServiceEnum(val string) (ServiceEnum, bool)
    func GetServiceEnumValues() []ServiceEnum
type ShapeConfig
    func (m ShapeConfig) String() string
    func (m ShapeConfig) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type Stack
    func (m Stack) String() string
    func (m Stack) ValidateEnumValue() (bool, error)
type StackClient
    func NewStackClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client StackClient, err error)
    func NewStackClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client StackClient, err error)
    func (client StackClient) AddService(ctx context.Context, request AddServiceRequest) (response AddServiceResponse, err error)
    func (client StackClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client StackClient) ChangeStackCompartment(ctx context.Context, request ChangeStackCompartmentRequest) (response ChangeStackCompartmentResponse, err error)
    func (client *StackClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client StackClient) CreateStack(ctx context.Context, request CreateStackRequest) (response CreateStackResponse, err error)
    func (client StackClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)
    func (client StackClient) DeployArtifacts(ctx context.Context, request DeployArtifactsRequest) (response DeployArtifactsResponse, err error)
    func (client StackClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)
    func (client StackClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client StackClient) ListStacks(ctx context.Context, request ListStacksRequest) (response ListStacksResponse, err error)
    func (client StackClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client StackClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client StackClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *StackClient) SetRegion(region string)
    func (client StackClient) UpdateStack(ctx context.Context, request UpdateStackRequest) (response UpdateStackResponse, err error)
type StackCollection
    func (m StackCollection) String() string
    func (m StackCollection) ValidateEnumValue() (bool, error)
type StackLifecycleStateEnum
    func GetMappingStackLifecycleStateEnum(val string) (StackLifecycleStateEnum, bool)
    func GetStackLifecycleStateEnumValues() []StackLifecycleStateEnum
type StackSummary
    func (m StackSummary) String() string
    func (m StackSummary) ValidateEnumValue() (bool, error)
type StackTemplateEnum
    func GetMappingStackTemplateEnum(val string) (StackTemplateEnum, bool)
    func GetStackTemplateEnumValues() []StackTemplateEnum
type StorageTierEnum
    func GetMappingStorageTierEnum(val string) (StorageTierEnum, bool)
    func GetStorageTierEnumValues() []StorageTierEnum
type UpdateDataflowConnections
    func (m UpdateDataflowConnections) String() string
    func (m UpdateDataflowConnections) ValidateEnumValue() (bool, error)
type UpdateStackDetails
    func (m UpdateStackDetails) String() string
    func (m UpdateStackDetails) ValidateEnumValue() (bool, error)
type UpdateStackRequest
    func (request UpdateStackRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateStackRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateStackRequest) String() string
    func (request UpdateStackRequest) ValidateEnumValue() (bool, error)
type UpdateStackResponse
    func (response UpdateStackResponse) HTTPResponse() *http.Response
    func (response UpdateStackResponse) 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)
type WorkflowActionEnum
    func GetMappingWorkflowActionEnum(val string) (WorkflowActionEnum, bool)
    func GetWorkflowActionEnumValues() []WorkflowActionEnum

Package files

action_type.go adb_artifacts_detail.go adb_detail.go adb_update_detail.go add_service_details.go add_service_request_response.go additional_details.go assigned_connection_details.go auto_tiering.go cancel_work_request_request_response.go change_stack_compartment_details.go change_stack_compartment_request_response.go cluster_type.go create_stack_details.go create_stack_request_response.go dataflow_artifacts_detail.go dataflow_connection_details.go dataflow_connections.go dataflow_detail.go dataflow_update_detail.go db_credentials_detail.go db_workload.go delete_stack_request_response.go deploy_artifacts_details.go deploy_artifacts_request_response.go dif_dependency_details.go dif_stack_client.go endpoint_additional.go endpoint_details.go gen_ai_detail.go gen_ai_update_detail.go get_stack_request_response.go get_work_request_request_response.go ggcs_artifacts_detail.go ggcs_connection_details.go ggcs_detail.go ggcs_source_detail.go ggcs_target_detail.go ggcs_update_detail.go ggcs_user_detail.go list_stacks_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go object_storage_detail.go object_storage_update_detail.go object_versioning.go operation_status.go operation_type.go service.go service_detail_response.go shape_config.go sort_order.go stack.go stack_collection.go stack_summary.go stack_template.go storage_tier.go update_dataflow_connections.go update_stack_details.go update_stack_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 workflow_action.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAutoTieringEnumStringValues

func GetAutoTieringEnumStringValues() []string

GetAutoTieringEnumStringValues Enumerates the set of values in String for AutoTieringEnum

func GetClusterTypeEnumStringValues

func GetClusterTypeEnumStringValues() []string

GetClusterTypeEnumStringValues Enumerates the set of values in String for ClusterTypeEnum

func GetDbWorkloadEnumStringValues

func GetDbWorkloadEnumStringValues() []string

GetDbWorkloadEnumStringValues Enumerates the set of values in String for DbWorkloadEnum

func GetListStacksSortByEnumStringValues

func GetListStacksSortByEnumStringValues() []string

GetListStacksSortByEnumStringValues Enumerates the set of values in String for ListStacksSortByEnum

func GetListStacksSortOrderEnumStringValues

func GetListStacksSortOrderEnumStringValues() []string

GetListStacksSortOrderEnumStringValues Enumerates the set of values in String for ListStacksSortOrderEnum

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 GetObjectVersioningEnumStringValues

func GetObjectVersioningEnumStringValues() []string

GetObjectVersioningEnumStringValues Enumerates the set of values in String for ObjectVersioningEnum

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 GetServiceEnumStringValues

func GetServiceEnumStringValues() []string

GetServiceEnumStringValues Enumerates the set of values in String for ServiceEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetStackLifecycleStateEnumStringValues

func GetStackLifecycleStateEnumStringValues() []string

GetStackLifecycleStateEnumStringValues Enumerates the set of values in String for StackLifecycleStateEnum

func GetStackTemplateEnumStringValues

func GetStackTemplateEnumStringValues() []string

GetStackTemplateEnumStringValues Enumerates the set of values in String for StackTemplateEnum

func GetStorageTierEnumStringValues

func GetStorageTierEnumStringValues() []string

GetStorageTierEnumStringValues Enumerates the set of values in String for StorageTierEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

func GetWorkflowActionEnumStringValues

func GetWorkflowActionEnumStringValues() []string

GetWorkflowActionEnumStringValues Enumerates the set of values in String for WorkflowActionEnum

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 AdbArtifactsDetail

AdbArtifactsDetail ADW details to upload artifacts.

type AdbArtifactsDetail struct {

    // Instance id of the existing ADB instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Object storage path for the artifacts.
    ArtifactObjectStoragePath *string `mandatory:"true" json:"artifactObjectStoragePath"`

    // DB credential details.
    DbCredentials []DbCredentialsDetail `mandatory:"false" json:"dbCredentials"`
}

func (AdbArtifactsDetail) String

func (m AdbArtifactsDetail) String() string

func (AdbArtifactsDetail) ValidateEnumValue

func (m AdbArtifactsDetail) 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 AdbDetail

AdbDetail Details to create an Oracle Autonomous Database.

type AdbDetail struct {

    // Id for the adw instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // DB Workload to be used with ADB. Accepted values are OLTP, DW.
    DbWorkload DbWorkloadEnum `mandatory:"true" json:"dbWorkload"`

    // The compute amount (ECPUs) available to the database.
    Ecpu *int `mandatory:"true" json:"ecpu"`

    // The size, in terabytes, of the data volume that will be created and attached to the database.
    DataStorageSizeInTBs *int `mandatory:"true" json:"dataStorageSizeInTBs"`

    // The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID for admin password.
    AdminPasswordId *string `mandatory:"true" json:"adminPasswordId"`

    // A valid Oracle Database version for Autonomous Database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // Specifies if the Autonomous Database requires mTLS connections.
    IsMtlsConnectionRequired *bool `mandatory:"false" json:"isMtlsConnectionRequired"`

    // The OCID of the subnet the Autonomous Database is associated with.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // This is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Allowed only when subnetId is provided (private ADB).
    ToolsPublicAccess *string `mandatory:"false" json:"toolsPublicAccess"`

    // If true then subnetId should not be provided.
    IsPublic *bool `mandatory:"false" json:"isPublic"`
}

func (AdbDetail) String

func (m AdbDetail) String() string

func (AdbDetail) ValidateEnumValue

func (m AdbDetail) 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 AdbUpdateDetail

AdbUpdateDetail Details to update an Oracle Autonomous Database.

type AdbUpdateDetail struct {

    // Id of the existing ADB instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The compute amount (ECPUs) available to the database.
    Ecpu *int `mandatory:"false" json:"ecpu"`

    // The size, in terabytes, of the data volume that will be created and attached to the database.
    DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

    // Specifies if the Autonomous Database requires mTLS connections.
    IsMtlsConnectionRequired *bool `mandatory:"false" json:"isMtlsConnectionRequired"`
}

func (AdbUpdateDetail) String

func (m AdbUpdateDetail) String() string

func (AdbUpdateDetail) ValidateEnumValue

func (m AdbUpdateDetail) 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 AddServiceDetails

AddServiceDetails The configuration details for adding new services to the existing Stack.

type AddServiceDetails struct {

    // List of templates to be added for the stack.
    StackTemplates []StackTemplateEnum `mandatory:"true" json:"stackTemplates"`

    // List of services to be added for the stack.
    Services []ServiceEnum `mandatory:"true" json:"services"`

    // ADB details if adb is included in the services to be added.
    Adb []AdbDetail `mandatory:"false" json:"adb"`

    // GGCS details if ggcs is included in the services to be added.
    Ggcs []GgcsDetail `mandatory:"false" json:"ggcs"`

    // DATAFLOW details if dataflow is included in the services to be added.
    Dataflow []DataflowDetail `mandatory:"false" json:"dataflow"`

    // Object Storage Details if object storage is included in services to be added.
    Objectstorage []ObjectStorageDetail `mandatory:"false" json:"objectstorage"`

    // GenAI Details if genai is included in services to be added.
    Genai []GenAiDetail `mandatory:"false" json:"genai"`
}

func (AddServiceDetails) String

func (m AddServiceDetails) String() string

func (AddServiceDetails) ValidateEnumValue

func (m AddServiceDetails) 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 AddServiceRequest

AddServiceRequest wrapper for the AddService operation

See also

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

type AddServiceRequest struct {

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

    // The information to be updated.
    AddServiceDetails `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 (AddServiceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AddServiceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AddServiceRequest) RetryPolicy

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

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

func (AddServiceRequest) String

func (request AddServiceRequest) String() string

func (AddServiceRequest) ValidateEnumValue

func (request AddServiceRequest) 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 AddServiceResponse

AddServiceResponse wrapper for the AddService operation

type AddServiceResponse 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 (AddServiceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AddServiceResponse) String

func (response AddServiceResponse) String() string

type AdditionalDetails

AdditionalDetails Additional details about the provisioned services

type AdditionalDetails struct {

    // connections assigned to Golden Gate deployment
    AssignedConnections []AssignedConnectionDetails `mandatory:"false" json:"assignedConnections"`

    // OCID of model
    ModelId *string `mandatory:"false" json:"modelId"`

    // version of model
    ModelVersion *string `mandatory:"false" json:"modelVersion"`

    // region of cluster
    OciRegion *string `mandatory:"false" json:"ociRegion"`

    // details of all endpoints assigned to cluster
    EndpointDetails []EndpointAdditional `mandatory:"false" json:"endpointDetails"`

    // OCID of model
    PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`
}

func (AdditionalDetails) String

func (m AdditionalDetails) String() string

func (AdditionalDetails) ValidateEnumValue

func (m AdditionalDetails) 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 AssignedConnectionDetails

AssignedConnectionDetails Details to about assigned connections.

type AssignedConnectionDetails struct {

    // Name of the connection.
    ConnectionName *string `mandatory:"false" json:"connectionName"`

    // OCID of the connection.
    ConnectionId *string `mandatory:"false" json:"connectionId"`

    // Specifies who has made this connection.
    RequestedBy *string `mandatory:"false" json:"requestedBy"`
}

func (AssignedConnectionDetails) String

func (m AssignedConnectionDetails) String() string

func (AssignedConnectionDetails) ValidateEnumValue

func (m AssignedConnectionDetails) 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 AutoTieringEnum

AutoTieringEnum Enum with underlying type: string

type AutoTieringEnum string

Set of constants representing the allowable values for AutoTieringEnum

const (
    AutoTieringDisabled         AutoTieringEnum = "DISABLED"
    AutoTieringInfrequentaccess AutoTieringEnum = "INFREQUENTACCESS"
)

func GetAutoTieringEnumValues

func GetAutoTieringEnumValues() []AutoTieringEnum

GetAutoTieringEnumValues Enumerates the set of values for AutoTieringEnum

func GetMappingAutoTieringEnum

func GetMappingAutoTieringEnum(val string) (AutoTieringEnum, bool)

GetMappingAutoTieringEnum 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/dif/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 ChangeStackCompartmentDetails

ChangeStackCompartmentDetails The configuration details for moving stack and associated services in stack to a different compartment.

type ChangeStackCompartmentDetails struct {

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

func (ChangeStackCompartmentDetails) String

func (m ChangeStackCompartmentDetails) String() string

func (ChangeStackCompartmentDetails) ValidateEnumValue

func (m ChangeStackCompartmentDetails) 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 ChangeStackCompartmentRequest

ChangeStackCompartmentRequest wrapper for the ChangeStackCompartment operation

See also

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

type ChangeStackCompartmentRequest struct {

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

    // The information to be updated.
    ChangeStackCompartmentDetails `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 (ChangeStackCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeStackCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeStackCompartmentRequest) RetryPolicy

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

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

func (ChangeStackCompartmentRequest) String

func (request ChangeStackCompartmentRequest) String() string

func (ChangeStackCompartmentRequest) ValidateEnumValue

func (request ChangeStackCompartmentRequest) 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 ChangeStackCompartmentResponse

ChangeStackCompartmentResponse wrapper for the ChangeStackCompartment operation

type ChangeStackCompartmentResponse 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 (ChangeStackCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeStackCompartmentResponse) String

func (response ChangeStackCompartmentResponse) String() string

type ClusterTypeEnum

ClusterTypeEnum Enum with underlying type: string

type ClusterTypeEnum string

Set of constants representing the allowable values for ClusterTypeEnum

const (
    ClusterTypeHosting ClusterTypeEnum = "HOSTING"
)

func GetClusterTypeEnumValues

func GetClusterTypeEnumValues() []ClusterTypeEnum

GetClusterTypeEnumValues Enumerates the set of values for ClusterTypeEnum

func GetMappingClusterTypeEnum

func GetMappingClusterTypeEnum(val string) (ClusterTypeEnum, bool)

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

type CreateStackDetails

CreateStackDetails Details to create a Stack.

type CreateStackDetails struct {

    // A user-friendly name. Should be unique per compartment. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // List of templates to be onboarded for the stack.
    StackTemplates []StackTemplateEnum `mandatory:"true" json:"stackTemplates"`

    // List of services to be onboarded for the stack.
    Services []ServiceEnum `mandatory:"true" json:"services"`

    // email id to which the stack notifications would be sent.
    NotificationEmail *string `mandatory:"false" json:"notificationEmail"`

    // ADB details if adb is included in the services.
    Adb []AdbDetail `mandatory:"false" json:"adb"`

    // GGCS details if ggcs is included in the services.
    Ggcs []GgcsDetail `mandatory:"false" json:"ggcs"`

    // DATAFLOW details if dataflow is included in the services.
    Dataflow []DataflowDetail `mandatory:"false" json:"dataflow"`

    // Object Storage Details if object storage is included in services.
    Objectstorage []ObjectStorageDetail `mandatory:"false" json:"objectstorage"`

    // GenAi Details if genai is included in services.
    Genai []GenAiDetail `mandatory:"false" json:"genai"`

    // 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 (CreateStackDetails) String

func (m CreateStackDetails) String() string

func (CreateStackDetails) ValidateEnumValue

func (m CreateStackDetails) 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 CreateStackRequest

CreateStackRequest wrapper for the CreateStack operation

See also

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

type CreateStackRequest struct {

    // Details for the new Stack.
    CreateStackDetails `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 (CreateStackRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateStackRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateStackRequest) RetryPolicy

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

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

func (CreateStackRequest) String

func (request CreateStackRequest) String() string

func (CreateStackRequest) ValidateEnumValue

func (request CreateStackRequest) 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 CreateStackResponse

CreateStackResponse wrapper for the CreateStack operation

type CreateStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // URL for the created Stack. The Stack 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 (CreateStackResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateStackResponse) String

func (response CreateStackResponse) String() string

type DataflowArtifactsDetail

DataflowArtifactsDetail Detail to deploy Artifacts for Dataflow service.

type DataflowArtifactsDetail struct {

    // Instance id of the existing Dataflow Instance for artifact deployment.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Contains the main file (py/jar) along with parameters & configuration to be passed to the DataFlow run.
    Execute *string `mandatory:"true" json:"execute"`

    // Contains the archive from object storage bucket which can be added as dependency to data flow application.
    ArchiveUri *string `mandatory:"false" json:"archiveUri"`
}

func (DataflowArtifactsDetail) String

func (m DataflowArtifactsDetail) String() string

func (DataflowArtifactsDetail) ValidateEnumValue

func (m DataflowArtifactsDetail) 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 DataflowConnectionDetails

DataflowConnectionDetails Details of services to create private endpoint.

type DataflowConnectionDetails struct {

    // List of DIF Service Dependency Details to create private endpoint.
    DifDependencies []DifDependencyDetails `mandatory:"false" json:"difDependencies"`

    // An array of DNS zone names.
    DomainNames []string `mandatory:"false" json:"domainNames"`
}

func (DataflowConnectionDetails) String

func (m DataflowConnectionDetails) String() string

func (DataflowConnectionDetails) ValidateEnumValue

func (m DataflowConnectionDetails) 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 DataflowConnections

DataflowConnections Details for connections to other services from Dataflow.

type DataflowConnections struct {

    // OCID of the private subnet
    SubnetId *string `mandatory:"true" json:"subnetId"`

    ConnectionDetails *DataflowConnectionDetails `mandatory:"true" json:"connectionDetails"`
}

func (DataflowConnections) String

func (m DataflowConnections) String() string

func (DataflowConnections) ValidateEnumValue

func (m DataflowConnections) 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 DataflowDetail

DataflowDetail Details to create an OCI Dataflow resources.

type DataflowDetail struct {

    // Id for dataflow instance
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The Spark version utilized to run the application.
    SparkVersion *string `mandatory:"true" json:"sparkVersion"`

    // The VM shape for the driver. Sets the driver cores and memory.
    DriverShape *string `mandatory:"true" json:"driverShape"`

    // The VM shape for the executors. Sets the executor cores and memory.
    ExecutorShape *string `mandatory:"true" json:"executorShape"`

    // The number of executor VMs requested.
    NumExecutors *int `mandatory:"true" json:"numExecutors"`

    // InstanceId of log bucket created as part of objectstorage service in stack. Used for storing application run logs.
    LogBucketInstanceId *string `mandatory:"true" json:"logBucketInstanceId"`

    DriverShapeConfig *ShapeConfig `mandatory:"false" json:"driverShapeConfig"`

    ExecutorShapeConfig *ShapeConfig `mandatory:"false" json:"executorShapeConfig"`

    // OCID of the already provisioned dataflow private endpoint.
    PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`

    Connections *DataflowConnections `mandatory:"false" json:"connections"`

    // InstanceId of warehouse bucket created as part of objectstorage service in stack. Mandatory for SQL applications.
    WarehouseBucketInstanceId *string `mandatory:"false" json:"warehouseBucketInstanceId"`
}

func (DataflowDetail) String

func (m DataflowDetail) String() string

func (DataflowDetail) ValidateEnumValue

func (m DataflowDetail) 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 DataflowUpdateDetail

DataflowUpdateDetail Details of the existing dataflow instance to be updated.

type DataflowUpdateDetail struct {

    // Instance id of the existing dataflow instance to be updated.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The Spark version utilized to run the application.
    SparkVersion *string `mandatory:"false" json:"sparkVersion"`

    // The VM shape for the driver. Sets the driver cores and memory.
    DriverShape *string `mandatory:"false" json:"driverShape"`

    // The VM shape for the executors. Sets the executor cores and memory.
    ExecutorShape *string `mandatory:"false" json:"executorShape"`

    DriverShapeConfig *ShapeConfig `mandatory:"false" json:"driverShapeConfig"`

    ExecutorShapeConfig *ShapeConfig `mandatory:"false" json:"executorShapeConfig"`

    // The number of executor VMs requested.
    NumExecutors *int `mandatory:"false" json:"numExecutors"`

    // OCID of the already provisioned dataflow private endpoint.
    PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"`

    Connections *UpdateDataflowConnections `mandatory:"false" json:"connections"`

    // InstanceId of log bucket created as part of objectstorage service in stack. Used for storing application run logs.
    LogBucketInstanceId *string `mandatory:"false" json:"logBucketInstanceId"`

    // InstanceId of warehouse bucket created as part of objectstorage service in stack. Mandatory for SQL applications.
    WarehouseBucketInstanceId *string `mandatory:"false" json:"warehouseBucketInstanceId"`
}

func (DataflowUpdateDetail) String

func (m DataflowUpdateDetail) String() string

func (DataflowUpdateDetail) ValidateEnumValue

func (m DataflowUpdateDetail) 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 DbCredentialsDetail

DbCredentialsDetail DB credentials for ADB connection.

type DbCredentialsDetail struct {

    // Username for ADB to be created or updated.
    UserName *string `mandatory:"true" json:"userName"`

    // Vault secret OCID containing the corresponding user password.
    SecretId *string `mandatory:"true" json:"secretId"`

    // Type of the user. Allowed values are "ADMIN" or "CUSTOM" or "GGCS".
    UserType *string `mandatory:"true" json:"userType"`
}

func (DbCredentialsDetail) String

func (m DbCredentialsDetail) String() string

func (DbCredentialsDetail) ValidateEnumValue

func (m DbCredentialsDetail) 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 DbWorkloadEnum

DbWorkloadEnum Enum with underlying type: string

type DbWorkloadEnum string

Set of constants representing the allowable values for DbWorkloadEnum

const (
    DbWorkloadOltp DbWorkloadEnum = "OLTP"
    DbWorkloadDw   DbWorkloadEnum = "DW"
)

func GetDbWorkloadEnumValues

func GetDbWorkloadEnumValues() []DbWorkloadEnum

GetDbWorkloadEnumValues Enumerates the set of values for DbWorkloadEnum

func GetMappingDbWorkloadEnum

func GetMappingDbWorkloadEnum(val string) (DbWorkloadEnum, bool)

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

type DeleteStackRequest

DeleteStackRequest wrapper for the DeleteStack operation

See also

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

type DeleteStackRequest struct {

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

    // 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 (DeleteStackRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteStackRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteStackRequest) RetryPolicy

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

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

func (DeleteStackRequest) String

func (request DeleteStackRequest) String() string

func (DeleteStackRequest) ValidateEnumValue

func (request DeleteStackRequest) 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 DeleteStackResponse

DeleteStackResponse wrapper for the DeleteStack operation

type DeleteStackResponse 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 (DeleteStackResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteStackResponse) String

func (response DeleteStackResponse) String() string

type DeployArtifactsDetails

DeployArtifactsDetails The data to create a DataIntelligence.

type DeployArtifactsDetails struct {

    // List of templates to be onboarded for the stack.
    StackTemplates []StackTemplateEnum `mandatory:"true" json:"stackTemplates"`

    // List of services to be onboarded for the stack.
    Services []ServiceEnum `mandatory:"true" json:"services"`

    // Subnet id for the Private Endpoint creation for artifact deployment.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // ADB artifact details if adb is included in the services.
    Adb []AdbArtifactsDetail `mandatory:"false" json:"adb"`

    // GGCS artifact details if ggcs is included in the services.
    Ggcs []GgcsArtifactsDetail `mandatory:"false" json:"ggcs"`

    // Dataflow artifact details if dataflow is included in the services.
    Dataflow []DataflowArtifactsDetail `mandatory:"false" json:"dataflow"`
}

func (DeployArtifactsDetails) String

func (m DeployArtifactsDetails) String() string

func (DeployArtifactsDetails) ValidateEnumValue

func (m DeployArtifactsDetails) 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 DeployArtifactsRequest

DeployArtifactsRequest wrapper for the DeployArtifacts operation

See also

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

type DeployArtifactsRequest struct {

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

    // The artifact information to be deployed.
    DeployArtifactsDetails `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"`

    // 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"`

    // 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 (DeployArtifactsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeployArtifactsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeployArtifactsRequest) RetryPolicy

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

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

func (DeployArtifactsRequest) String

func (request DeployArtifactsRequest) String() string

func (DeployArtifactsRequest) ValidateEnumValue

func (request DeployArtifactsRequest) 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 DeployArtifactsResponse

DeployArtifactsResponse wrapper for the DeployArtifacts operation

type DeployArtifactsResponse 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 (DeployArtifactsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeployArtifactsResponse) String

func (response DeployArtifactsResponse) String() string

type DifDependencyDetails

DifDependencyDetails DIF Service Dependency Details.

type DifDependencyDetails struct {

    // Supported service name.
    ServiceType *string `mandatory:"true" json:"serviceType"`

    // InstanceId of service which is part of the Stack.
    ServiceInstanceId *string `mandatory:"true" json:"serviceInstanceId"`
}

func (DifDependencyDetails) String

func (m DifDependencyDetails) String() string

func (DifDependencyDetails) ValidateEnumValue

func (m DifDependencyDetails) 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 EndpointAdditional

EndpointAdditional Details of provisioned endpoint.

type EndpointAdditional struct {

    // Identifier for each endpoint.
    EndpointName *string `mandatory:"false" json:"endpointName"`

    // OCID of the endpoint.
    EndpointId *string `mandatory:"false" json:"endpointId"`
}

func (EndpointAdditional) String

func (m EndpointAdditional) String() string

func (EndpointAdditional) ValidateEnumValue

func (m EndpointAdditional) 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 EndpointDetails

EndpointDetails Details to provision Endpoint for the GenAi dedicated cluster.

type EndpointDetails struct {

    // Identifier for each endpoint.
    EndpointName *string `mandatory:"true" json:"endpointName"`

    // Helps remove toxic and biased content from responses.
    IsContentModerationEnabled *bool `mandatory:"true" json:"isContentModerationEnabled"`
}

func (EndpointDetails) String

func (m EndpointDetails) String() string

func (EndpointDetails) ValidateEnumValue

func (m EndpointDetails) 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 GenAiDetail

GenAiDetail GenAI details required to provision dedicated clusters.

type GenAiDetail struct {

    // Id for the GGCS instance to be provisioned.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The dedicated AI cluster type.
    ClusterType ClusterTypeEnum `mandatory:"true" json:"clusterType"`

    // Name of the base model.
    BaseModel *string `mandatory:"true" json:"baseModel"`

    // Region on which the cluster end endpoint will be provisioned.
    OciRegion *string `mandatory:"true" json:"ociRegion"`

    // No of replicas of base model to be used for hosting.
    UnitCount *int `mandatory:"true" json:"unitCount"`

    // List of endpoints to provision for the GENAI cluster.
    Endpoints []EndpointDetails `mandatory:"false" json:"endpoints"`
}

func (GenAiDetail) String

func (m GenAiDetail) String() string

func (GenAiDetail) ValidateEnumValue

func (m GenAiDetail) 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 GenAiUpdateDetail

GenAiUpdateDetail Details required for existing GenAi instance to be updated.

type GenAiUpdateDetail struct {

    // Instance id of the exisitng GenAi instance to be updated.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // No of replicas of base model to be used for hosting.
    UnitCount *int `mandatory:"false" json:"unitCount"`

    // List of endpoints to be provisioned new or updated if existing for the GenAi dedicated cluster.
    Endpoints []EndpointDetails `mandatory:"false" json:"endpoints"`
}

func (GenAiUpdateDetail) String

func (m GenAiUpdateDetail) String() string

func (GenAiUpdateDetail) ValidateEnumValue

func (m GenAiUpdateDetail) 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 GetStackRequest

GetStackRequest wrapper for the GetStack operation

See also

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

type GetStackRequest struct {

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

    // 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 (GetStackRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetStackRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetStackRequest) RetryPolicy

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

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

func (GetStackRequest) String

func (request GetStackRequest) String() string

func (GetStackRequest) ValidateEnumValue

func (request GetStackRequest) 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 GetStackResponse

GetStackResponse wrapper for the GetStack operation

type GetStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Stack instance
    Stack `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 (GetStackResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetStackResponse) String

func (response GetStackResponse) 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/dif/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 GgcsArtifactsDetail

GgcsArtifactsDetail Details required to deploy artifacts in the GGCS deployment.

type GgcsArtifactsDetail struct {

    // Instance id of the exisitng GGCS instance.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Object storage root path containing GGCS artifacts.
    ArtifactObjectStoragePath *string `mandatory:"false" json:"artifactObjectStoragePath"`

    // Ggcs user details to be created or updated.
    Users []GgcsUserDetail `mandatory:"false" json:"users"`

    // Source Detail to configure existing or new datasource.
    Sources []GgcsSourceDetail `mandatory:"false" json:"sources"`

    // Target Detail to configure existing or new datasource.
    Targets []GgcsTargetDetail `mandatory:"false" json:"targets"`
}

func (GgcsArtifactsDetail) String

func (m GgcsArtifactsDetail) String() string

func (GgcsArtifactsDetail) ValidateEnumValue

func (m GgcsArtifactsDetail) 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 GgcsConnectionDetails

GgcsConnectionDetails Details of GGCS connections to be created.

type GgcsConnectionDetails struct {

    // Name of the connection to be created.
    ConnectionName *string `mandatory:"true" json:"connectionName"`

    // List of Service Dependency Details for connection creation.
    DifDependencies []DifDependencyDetails `mandatory:"false" json:"difDependencies"`

    // Vault secret OCID containing password that Oracle GoldenGate uses to connect the associated system of the given technology.
    GgAdminSecretId *string `mandatory:"false" json:"ggAdminSecretId"`

    // OCID of pre-created Oracle GoldenGate connection.
    ConnectionId *string `mandatory:"false" json:"connectionId"`
}

func (GgcsConnectionDetails) String

func (m GgcsConnectionDetails) String() string

func (GgcsConnectionDetails) ValidateEnumValue

func (m GgcsConnectionDetails) 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 GgcsDetail

GgcsDetail GGCS details required to provision deployments and connections.

type GgcsDetail struct {

    // Id for the GGCS instance to provision.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The Minimum number of OCPUs to be made available for this Deployment.
    Ocpu *int `mandatory:"true" json:"ocpu"`

    // The OCID of the subnet of the GGCS deployment's private endpoint.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // The OCID of the Secret where the deployment password is stored.
    PasswordSecretId *string `mandatory:"true" json:"passwordSecretId"`

    // The OCID of a public subnet in the customer tenancy. Can be provided only for public GGCS deployments.
    PublicSubnetId *string `mandatory:"false" json:"publicSubnetId"`

    // Version of OGG.
    OggVersion *string `mandatory:"false" json:"oggVersion"`

    // Connection details to be associated with the Goldengate deployment.
    Connections []GgcsConnectionDetails `mandatory:"false" json:"connections"`
}

func (GgcsDetail) String

func (m GgcsDetail) String() string

func (GgcsDetail) ValidateEnumValue

func (m GgcsDetail) 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 GgcsSourceDetail

GgcsSourceDetail GGCS source configuration for creating or updating existing extracts.

type GgcsSourceDetail struct {

    // Ggcs source artifact id.
    SourceId *string `mandatory:"true" json:"sourceId"`

    // Action to be done over the user. Allowed values are "CREATE" or "UPDATE".
    Action WorkflowActionEnum `mandatory:"true" json:"action"`

    // Boolean value that determines source operations should start or not.
    ShouldStartSourceOperations *bool `mandatory:"true" json:"shouldStartSourceOperations"`

    // Target uri for the GoldenGate deployment where distribution path needs to be configured.
    TargetUri *string `mandatory:"false" json:"targetUri"`

    // Name of assigned connection for the source.
    TargetConnectionName *string `mandatory:"false" json:"targetConnectionName"`
}

func (GgcsSourceDetail) String

func (m GgcsSourceDetail) String() string

func (GgcsSourceDetail) ValidateEnumValue

func (m GgcsSourceDetail) 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 GgcsTargetDetail

GgcsTargetDetail GGCS target configuration for creating or updating existing replicats.

type GgcsTargetDetail struct {

    // GGCS target artifact id.
    TargetId *string `mandatory:"true" json:"targetId"`

    // Action to be done over the user. Allowed values are "CREATE" or "UPDATE".
    Action WorkflowActionEnum `mandatory:"true" json:"action"`

    // Boolean value that determines target operations should start or not.
    ShouldStartTargetOperations *bool `mandatory:"true" json:"shouldStartTargetOperations"`

    // Source uri for the GoldenGate deployment from where the collector path needs to be configured.
    SourceUri *string `mandatory:"false" json:"sourceUri"`

    // Name of assigned connection for the target.
    SourceConnectionName *string `mandatory:"false" json:"sourceConnectionName"`
}

func (GgcsTargetDetail) String

func (m GgcsTargetDetail) String() string

func (GgcsTargetDetail) ValidateEnumValue

func (m GgcsTargetDetail) 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 GgcsUpdateDetail

GgcsUpdateDetail Details required to update the existing GGCS instance.

type GgcsUpdateDetail struct {

    // Instance id of the existing GGCS instance to be updated.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // The Minimum number of OCPUs to be made available for this Deployment.
    Ocpu *int `mandatory:"false" json:"ocpu"`

    // The OCID of a public subnet in the customer tenancy. Can be provided only for public GGCS deployments.
    PublicSubnetId *string `mandatory:"false" json:"publicSubnetId"`

    // Connection details to be associated with the Goldengate deployment.
    Connections []GgcsConnectionDetails `mandatory:"false" json:"connections"`
}

func (GgcsUpdateDetail) String

func (m GgcsUpdateDetail) String() string

func (GgcsUpdateDetail) ValidateEnumValue

func (m GgcsUpdateDetail) 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 GgcsUserDetail

GgcsUserDetail Ggcs user credentials to be created or updated.

type GgcsUserDetail struct {

    // username for the user.
    UserName *string `mandatory:"true" json:"userName"`

    // Vault OCID containing password for existing or new user.
    SecretId *string `mandatory:"true" json:"secretId"`

    // Type of GoldenGate user. Allowed values are "OPERATOR".
    UserType *string `mandatory:"true" json:"userType"`

    // Action to be done over the user. Allowed values are "CREATE" or "UPDATE".
    Action WorkflowActionEnum `mandatory:"true" json:"action"`
}

func (GgcsUserDetail) String

func (m GgcsUserDetail) String() string

func (GgcsUserDetail) ValidateEnumValue

func (m GgcsUserDetail) 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 ListStacksRequest

ListStacksRequest wrapper for the ListStacks operation

See also

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

type ListStacksRequest 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 StackLifecycleStateEnum `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 Stack.
    Id *string `mandatory:"false" contributesTo:"query" name:"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"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListStacksSortOrderEnum `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 ListStacksSortByEnum `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 (ListStacksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListStacksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListStacksRequest) RetryPolicy

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

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

func (ListStacksRequest) String

func (request ListStacksRequest) String() string

func (ListStacksRequest) ValidateEnumValue

func (request ListStacksRequest) 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 ListStacksResponse

ListStacksResponse wrapper for the ListStacks operation

type ListStacksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of StackCollection instances
    StackCollection `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 (ListStacksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListStacksResponse) String

func (response ListStacksResponse) String() string

type ListStacksSortByEnum

ListStacksSortByEnum Enum with underlying type: string

type ListStacksSortByEnum string

Set of constants representing the allowable values for ListStacksSortByEnum

const (
    ListStacksSortByTimecreated ListStacksSortByEnum = "timeCreated"
    ListStacksSortByDisplayname ListStacksSortByEnum = "displayName"
)

func GetListStacksSortByEnumValues

func GetListStacksSortByEnumValues() []ListStacksSortByEnum

GetListStacksSortByEnumValues Enumerates the set of values for ListStacksSortByEnum

func GetMappingListStacksSortByEnum

func GetMappingListStacksSortByEnum(val string) (ListStacksSortByEnum, bool)

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

type ListStacksSortOrderEnum

ListStacksSortOrderEnum Enum with underlying type: string

type ListStacksSortOrderEnum string

Set of constants representing the allowable values for ListStacksSortOrderEnum

const (
    ListStacksSortOrderAsc  ListStacksSortOrderEnum = "ASC"
    ListStacksSortOrderDesc ListStacksSortOrderEnum = "DESC"
)

func GetListStacksSortOrderEnumValues

func GetListStacksSortOrderEnumValues() []ListStacksSortOrderEnum

GetListStacksSortOrderEnumValues Enumerates the set of values for ListStacksSortOrderEnum

func GetMappingListStacksSortOrderEnum

func GetMappingListStacksSortOrderEnum(val string) (ListStacksSortOrderEnum, bool)

GetMappingListStacksSortOrderEnum 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/dif/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 `timeCreated` 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 (
    ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

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/dif/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 `timeCreated` 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 (
    ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

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/dif/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"
    ListWorkRequestsStatusCancelling     ListWorkRequestsStatusEnum = "CANCELLING"
    ListWorkRequestsStatusCancelled      ListWorkRequestsStatusEnum = "CANCELLED"
)

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 ObjectStorageDetail

ObjectStorageDetail Object Storage Details required to provision buckets.

type ObjectStorageDetail struct {

    // Id for Object Storage instance to be provisioned.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Mentions whether the object versioning to be enabled or not,Allowed values are "ENABLED" / "DISABLED"/"SUSPENDED"
    ObjectVersioning ObjectVersioningEnum `mandatory:"true" json:"objectVersioning"`

    // Mentions which storage tier to use for the bucket,Allowed values are "STANDARD" / "ARCHIVE"
    StorageTier StorageTierEnum `mandatory:"true" json:"storageTier"`

    // It sets the auto-tiering status on the bucket.Allowed values are "DISABLED" / "INFREQUENTACCESS"
    AutoTiering AutoTieringEnum `mandatory:"false" json:"autoTiering,omitempty"`
}

func (ObjectStorageDetail) String

func (m ObjectStorageDetail) String() string

func (ObjectStorageDetail) ValidateEnumValue

func (m ObjectStorageDetail) 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 ObjectStorageUpdateDetail

ObjectStorageUpdateDetail Details of Object Storage instance to be updated.

type ObjectStorageUpdateDetail struct {

    // Instance id of the existing Object Storage instance to be updated.
    InstanceId *string `mandatory:"true" json:"instanceId"`

    // Mentions which storage tier to use for the bucket,Allowed values are "STANDARD" / "ARCHIVE"
    ObjectVersioning ObjectVersioningEnum `mandatory:"false" json:"objectVersioning,omitempty"`

    // It sets the auto-tiering status on the bucket.Allowed values are "DISABLED" / "INFREQUENTACCESS"
    AutoTiering AutoTieringEnum `mandatory:"false" json:"autoTiering,omitempty"`
}

func (ObjectStorageUpdateDetail) String

func (m ObjectStorageUpdateDetail) String() string

func (ObjectStorageUpdateDetail) ValidateEnumValue

func (m ObjectStorageUpdateDetail) 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 ObjectVersioningEnum

ObjectVersioningEnum Enum with underlying type: string

type ObjectVersioningEnum string

Set of constants representing the allowable values for ObjectVersioningEnum

const (
    ObjectVersioningEnabled   ObjectVersioningEnum = "ENABLED"
    ObjectVersioningSuspended ObjectVersioningEnum = "SUSPENDED"
    ObjectVersioningDisabled  ObjectVersioningEnum = "DISABLED"
)

func GetMappingObjectVersioningEnum

func GetMappingObjectVersioningEnum(val string) (ObjectVersioningEnum, bool)

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

func GetObjectVersioningEnumValues

func GetObjectVersioningEnumValues() []ObjectVersioningEnum

GetObjectVersioningEnumValues Enumerates the set of values for ObjectVersioningEnum

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"
    OperationStatusCancelling     OperationStatusEnum = "CANCELLING"
    OperationStatusCancelled      OperationStatusEnum = "CANCELLED"
)

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 (
    OperationTypeCreateStack       OperationTypeEnum = "CREATE_STACK"
    OperationTypeUpdateStack       OperationTypeEnum = "UPDATE_STACK"
    OperationTypeDeleteStack       OperationTypeEnum = "DELETE_STACK"
    OperationTypeMoveStack         OperationTypeEnum = "MOVE_STACK"
    OperationTypeDeployArtifacts   OperationTypeEnum = "DEPLOY_ARTIFACTS"
    OperationTypeAddServiceInStack OperationTypeEnum = "ADD_SERVICE_IN_STACK"
)

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 ServiceDetailResponse

ServiceDetailResponse Details of the cloud service.

type ServiceDetailResponse struct {

    // ID for the service instance.
    InstanceId *string `mandatory:"false" json:"instanceId"`

    // ID for the service
    ServiceId *string `mandatory:"false" json:"serviceId"`

    // name of the service
    DisplayName *string `mandatory:"false" json:"displayName"`

    // name of the service
    CurrentArtifactPath *string `mandatory:"false" json:"currentArtifactPath"`

    // name of the cloud service
    ServiceType *string `mandatory:"false" json:"serviceType"`

    // url for the service
    ServiceUrl *string `mandatory:"false" json:"serviceUrl"`

    // state of the service
    Status *string `mandatory:"false" json:"status"`

    AdditionalDetails *AdditionalDetails `mandatory:"false" json:"additionalDetails"`
}

func (ServiceDetailResponse) String

func (m ServiceDetailResponse) String() string

func (ServiceDetailResponse) ValidateEnumValue

func (m ServiceDetailResponse) 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 ServiceEnum

ServiceEnum Enum with underlying type: string

type ServiceEnum string

Set of constants representing the allowable values for ServiceEnum

const (
    ServiceAdb           ServiceEnum = "ADB"
    ServiceGgcs          ServiceEnum = "GGCS"
    ServiceObjectstorage ServiceEnum = "OBJECTSTORAGE"
    ServiceGenai         ServiceEnum = "GENAI"
    ServiceDataflow      ServiceEnum = "DATAFLOW"
)

func GetMappingServiceEnum

func GetMappingServiceEnum(val string) (ServiceEnum, bool)

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

func GetServiceEnumValues

func GetServiceEnumValues() []ServiceEnum

GetServiceEnumValues Enumerates the set of values for ServiceEnum

type ShapeConfig

ShapeConfig This is used to configure the shape of the driver or executor if a flexible shape is used.

type ShapeConfig struct {

    // The amount of memory used for the driver or executors.
    MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"`

    // The total number of OCPUs used for the driver or executors. See here for details.
    Ocpus *int `mandatory:"true" json:"ocpus"`
}

func (ShapeConfig) String

func (m ShapeConfig) String() string

func (ShapeConfig) ValidateEnumValue

func (m ShapeConfig) 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 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 Stack

Stack A Stack is a collection of a templates and services. 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 Stack struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack.
    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"`

    // List of templates to be onboarded for the stack.
    StackTemplates []StackTemplateEnum `mandatory:"true" json:"stackTemplates"`

    // List of services to be onboarded for the stack.
    Services []ServiceEnum `mandatory:"true" json:"services"`

    // The date and time the Stack 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 current state of the Stack.
    LifecycleState StackLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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"`

    // email id to which the stack notifications would be sent.
    NotificationEmail *string `mandatory:"false" json:"notificationEmail"`

    // ADB details if adb is included in the services.
    Adb []AdbDetail `mandatory:"false" json:"adb"`

    // GGCS details if ggcs is included in the services.
    Ggcs []GgcsDetail `mandatory:"false" json:"ggcs"`

    // DATAFLOW details if dataflow is included in the services.
    Dataflow []DataflowDetail `mandatory:"false" json:"dataflow"`

    // Object Storage Details if object storage is included in services.
    Objectstorage []ObjectStorageDetail `mandatory:"false" json:"objectstorage"`

    // GenAI Details if genai is included in services.
    Genai []GenAiDetail `mandatory:"false" json:"genai"`

    // Details of the service onboarded for the data intelligence stack.
    ServiceDetails []ServiceDetailResponse `mandatory:"false" json:"serviceDetails"`

    // The date and time the Stack 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:"false" json:"timeUpdated"`

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

    // 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:"false" json:"systemTags"`
}

func (Stack) String

func (m Stack) String() string

func (Stack) ValidateEnumValue

func (m Stack) 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 StackClient

StackClient a client for Stack

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

func NewStackClientWithConfigurationProvider

func NewStackClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client StackClient, err error)

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

func NewStackClientWithOboToken

func NewStackClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client StackClient, err error)

NewStackClientWithOboToken Creates a new default Stack 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 (StackClient) AddService

func (client StackClient) AddService(ctx context.Context, request AddServiceRequest) (response AddServiceResponse, err error)

AddService Add new service or update existing service.

See also

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

func (StackClient) CancelWorkRequest

func (client StackClient) 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/dif/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (StackClient) ChangeStackCompartment

func (client StackClient) ChangeStackCompartment(ctx context.Context, request ChangeStackCompartmentRequest) (response ChangeStackCompartmentResponse, err error)

ChangeStackCompartment Moves a Stack 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/dif/ChangeStackCompartment.go.html to see an example of how to use ChangeStackCompartment API. A default retry strategy applies to this operation ChangeStackCompartment()

func (*StackClient) ConfigurationProvider

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

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

func (StackClient) CreateStack

func (client StackClient) CreateStack(ctx context.Context, request CreateStackRequest) (response CreateStackResponse, err error)

CreateStack Creates a Stack.

See also

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

func (StackClient) DeleteStack

func (client StackClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)

DeleteStack Deletes a Stack.

See also

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

func (StackClient) DeployArtifacts

func (client StackClient) DeployArtifacts(ctx context.Context, request DeployArtifactsRequest) (response DeployArtifactsResponse, err error)

DeployArtifacts DeployArtifacts

See also

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

func (StackClient) GetStack

func (client StackClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)

GetStack Gets information about a Stack.

See also

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

func (StackClient) GetWorkRequest

func (client StackClient) 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/dif/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (StackClient) ListStacks

func (client StackClient) ListStacks(ctx context.Context, request ListStacksRequest) (response ListStacksResponse, err error)

ListStacks Gets a list of Stacks.

See also

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

func (StackClient) ListWorkRequestErrors

func (client StackClient) 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/dif/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (StackClient) ListWorkRequestLogs

func (client StackClient) 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/dif/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (StackClient) ListWorkRequests

func (client StackClient) 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/dif/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*StackClient) SetRegion

func (client *StackClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (StackClient) UpdateStack

func (client StackClient) UpdateStack(ctx context.Context, request UpdateStackRequest) (response UpdateStackResponse, err error)

UpdateStack Updates a Stack.

See also

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

type StackCollection

StackCollection Results of a Stack search. Contains both StackSummary items and other information, such as metadata.

type StackCollection struct {

    // List of Stacks.
    Items []StackSummary `mandatory:"true" json:"items"`
}

func (StackCollection) String

func (m StackCollection) String() string

func (StackCollection) ValidateEnumValue

func (m StackCollection) 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 StackLifecycleStateEnum

StackLifecycleStateEnum Enum with underlying type: string

type StackLifecycleStateEnum string

Set of constants representing the allowable values for StackLifecycleStateEnum

const (
    StackLifecycleStateCreating       StackLifecycleStateEnum = "CREATING"
    StackLifecycleStateUpdating       StackLifecycleStateEnum = "UPDATING"
    StackLifecycleStateActive         StackLifecycleStateEnum = "ACTIVE"
    StackLifecycleStateDeleting       StackLifecycleStateEnum = "DELETING"
    StackLifecycleStateDeleted        StackLifecycleStateEnum = "DELETED"
    StackLifecycleStateFailed         StackLifecycleStateEnum = "FAILED"
    StackLifecycleStateNeedsAttention StackLifecycleStateEnum = "NEEDS_ATTENTION"
)

func GetMappingStackLifecycleStateEnum

func GetMappingStackLifecycleStateEnum(val string) (StackLifecycleStateEnum, bool)

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

func GetStackLifecycleStateEnumValues

func GetStackLifecycleStateEnumValues() []StackLifecycleStateEnum

GetStackLifecycleStateEnumValues Enumerates the set of values for StackLifecycleStateEnum

type StackSummary

StackSummary Summary information about a Stack.

type StackSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack.
    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 date and time the Stack 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 current state of the Stack.
    LifecycleState StackLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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"`

    // The date and time the Stack 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:"false" json:"timeUpdated"`

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

    // 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:"false" json:"systemTags"`
}

func (StackSummary) String

func (m StackSummary) String() string

func (StackSummary) ValidateEnumValue

func (m StackSummary) 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 StackTemplateEnum

StackTemplateEnum Enum with underlying type: string

type StackTemplateEnum string

Set of constants representing the allowable values for StackTemplateEnum

const (
    StackTemplateDatalake           StackTemplateEnum = "DATALAKE"
    StackTemplateDatapipeline       StackTemplateEnum = "DATAPIPELINE"
    StackTemplateAiservices         StackTemplateEnum = "AISERVICES"
    StackTemplateDatatransformation StackTemplateEnum = "DATATRANSFORMATION"
)

func GetMappingStackTemplateEnum

func GetMappingStackTemplateEnum(val string) (StackTemplateEnum, bool)

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

func GetStackTemplateEnumValues

func GetStackTemplateEnumValues() []StackTemplateEnum

GetStackTemplateEnumValues Enumerates the set of values for StackTemplateEnum

type StorageTierEnum

StorageTierEnum Enum with underlying type: string

type StorageTierEnum string

Set of constants representing the allowable values for StorageTierEnum

const (
    StorageTierStandard StorageTierEnum = "STANDARD"
    StorageTierArchive  StorageTierEnum = "ARCHIVE"
)

func GetMappingStorageTierEnum

func GetMappingStorageTierEnum(val string) (StorageTierEnum, bool)

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

func GetStorageTierEnumValues

func GetStorageTierEnumValues() []StorageTierEnum

GetStorageTierEnumValues Enumerates the set of values for StorageTierEnum

type UpdateDataflowConnections

UpdateDataflowConnections Details for connections to other services from Dataflow.

type UpdateDataflowConnections struct {
    ConnectionDetails *DataflowConnectionDetails `mandatory:"true" json:"connectionDetails"`
}

func (UpdateDataflowConnections) String

func (m UpdateDataflowConnections) String() string

func (UpdateDataflowConnections) ValidateEnumValue

func (m UpdateDataflowConnections) 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 UpdateStackDetails

UpdateStackDetails Details to update a Stack.

type UpdateStackDetails struct {

    // email id to which the stack notifications would be sent.
    NotificationEmail *string `mandatory:"false" json:"notificationEmail"`

    // List of templates to be updated for the stack.
    StackTemplates []StackTemplateEnum `mandatory:"false" json:"stackTemplates,omitempty"`

    // List of services to be updated for the stack.
    Services []ServiceEnum `mandatory:"false" json:"services,omitempty"`

    // ADB details if adb is included in the services to be updated.
    Adb []AdbUpdateDetail `mandatory:"false" json:"adb"`

    // GGCS details if ggcs is included in the services to be updated.
    Ggcs []GgcsUpdateDetail `mandatory:"false" json:"ggcs"`

    // DATAFLOW details if dataflow is included in the services to be updated.
    Dataflow []DataflowUpdateDetail `mandatory:"false" json:"dataflow"`

    // Object Storage Details if object storage is included in services to be updated.
    Objectstorage []ObjectStorageUpdateDetail `mandatory:"false" json:"objectstorage"`

    // GenAI Details if genai is included in services to be updated.
    Genai []GenAiUpdateDetail `mandatory:"false" json:"genai"`

    // 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 (UpdateStackDetails) String

func (m UpdateStackDetails) String() string

func (UpdateStackDetails) ValidateEnumValue

func (m UpdateStackDetails) 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 UpdateStackRequest

UpdateStackRequest wrapper for the UpdateStack operation

See also

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

type UpdateStackRequest struct {

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

    // The information to be updated.
    UpdateStackDetails `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 (UpdateStackRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateStackRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateStackRequest) RetryPolicy

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

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

func (UpdateStackRequest) String

func (request UpdateStackRequest) String() string

func (UpdateStackRequest) ValidateEnumValue

func (request UpdateStackRequest) 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 UpdateStackResponse

UpdateStackResponse wrapper for the UpdateStack operation

type UpdateStackResponse 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 (UpdateStackResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateStackResponse) String

func (response UpdateStackResponse) 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

type WorkflowActionEnum

WorkflowActionEnum Enum with underlying type: string

type WorkflowActionEnum string

Set of constants representing the allowable values for WorkflowActionEnum

const (
    WorkflowActionCreate WorkflowActionEnum = "CREATE"
    WorkflowActionUpdate WorkflowActionEnum = "UPDATE"
)

func GetMappingWorkflowActionEnum

func GetMappingWorkflowActionEnum(val string) (WorkflowActionEnum, bool)

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

func GetWorkflowActionEnumValues

func GetWorkflowActionEnumValues() []WorkflowActionEnum

GetWorkflowActionEnumValues Enumerates the set of values for WorkflowActionEnum