func GetArtifactSourceTypeEnumStringValues() []string
GetArtifactSourceTypeEnumStringValues Enumerates the set of values in String for ArtifactSourceTypeEnum
func GetAutoScalingPolicyDetailsAutoScalingPolicyTypeEnumStringValues() []string
GetAutoScalingPolicyDetailsAutoScalingPolicyTypeEnumStringValues Enumerates the set of values in String for AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum
func GetDataSciencePrivateEndpointLifecycleStateEnumStringValues() []string
GetDataSciencePrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for DataSciencePrivateEndpointLifecycleStateEnum
func GetDataScienceResourceTypeEnumStringValues() []string
GetDataScienceResourceTypeEnumStringValues Enumerates the set of values in String for DataScienceResourceTypeEnum
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues() []string
GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues Enumerates the set of values in String for FastLaunchJobConfigSummaryManagedEgressSupportEnum
func GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues() []string
GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues Enumerates the set of values in String for FastLaunchJobConfigSummaryShapeSeriesEnum
func GetJobConfigurationDetailsJobTypeEnumStringValues() []string
GetJobConfigurationDetailsJobTypeEnumStringValues Enumerates the set of values in String for JobConfigurationDetailsJobTypeEnum
func GetJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnumStringValues() []string
GetJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnumStringValues Enumerates the set of values in String for JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues() []string
GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues Enumerates the set of values in String for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
func GetJobLifecycleStateEnumStringValues() []string
GetJobLifecycleStateEnumStringValues Enumerates the set of values in String for JobLifecycleStateEnum
func GetJobRunLifecycleStateEnumStringValues() []string
GetJobRunLifecycleStateEnumStringValues Enumerates the set of values in String for JobRunLifecycleStateEnum
func GetJobShapeSummaryShapeSeriesEnumStringValues() []string
GetJobShapeSummaryShapeSeriesEnumStringValues Enumerates the set of values in String for JobShapeSummaryShapeSeriesEnum
func GetListDataSciencePrivateEndpointsDataScienceResourceTypeEnumStringValues() []string
GetListDataSciencePrivateEndpointsDataScienceResourceTypeEnumStringValues Enumerates the set of values in String for ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum
func GetListDataSciencePrivateEndpointsLifecycleStateEnumStringValues() []string
GetListDataSciencePrivateEndpointsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataSciencePrivateEndpointsLifecycleStateEnum
func GetListDataSciencePrivateEndpointsSortByEnumStringValues() []string
GetListDataSciencePrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListDataSciencePrivateEndpointsSortByEnum
func GetListDataSciencePrivateEndpointsSortOrderEnumStringValues() []string
GetListDataSciencePrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListDataSciencePrivateEndpointsSortOrderEnum
func GetListJobRunsLifecycleStateEnumStringValues() []string
GetListJobRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobRunsLifecycleStateEnum
func GetListJobRunsSortByEnumStringValues() []string
GetListJobRunsSortByEnumStringValues Enumerates the set of values in String for ListJobRunsSortByEnum
func GetListJobRunsSortOrderEnumStringValues() []string
GetListJobRunsSortOrderEnumStringValues Enumerates the set of values in String for ListJobRunsSortOrderEnum
func GetListJobsLifecycleStateEnumStringValues() []string
GetListJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobsLifecycleStateEnum
func GetListJobsSortByEnumStringValues() []string
GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum
func GetListJobsSortOrderEnumStringValues() []string
GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum
func GetListModelDeploymentsLifecycleStateEnumStringValues() []string
GetListModelDeploymentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListModelDeploymentsLifecycleStateEnum
func GetListModelDeploymentsSortByEnumStringValues() []string
GetListModelDeploymentsSortByEnumStringValues Enumerates the set of values in String for ListModelDeploymentsSortByEnum
func GetListModelDeploymentsSortOrderEnumStringValues() []string
GetListModelDeploymentsSortOrderEnumStringValues Enumerates the set of values in String for ListModelDeploymentsSortOrderEnum
func GetListModelVersionSetsLifecycleStateEnumStringValues() []string
GetListModelVersionSetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListModelVersionSetsLifecycleStateEnum
func GetListModelVersionSetsSortByEnumStringValues() []string
GetListModelVersionSetsSortByEnumStringValues Enumerates the set of values in String for ListModelVersionSetsSortByEnum
func GetListModelVersionSetsSortOrderEnumStringValues() []string
GetListModelVersionSetsSortOrderEnumStringValues Enumerates the set of values in String for ListModelVersionSetsSortOrderEnum
func GetListModelsLifecycleStateEnumStringValues() []string
GetListModelsLifecycleStateEnumStringValues Enumerates the set of values in String for ListModelsLifecycleStateEnum
func GetListModelsSortByEnumStringValues() []string
GetListModelsSortByEnumStringValues Enumerates the set of values in String for ListModelsSortByEnum
func GetListModelsSortOrderEnumStringValues() []string
GetListModelsSortOrderEnumStringValues Enumerates the set of values in String for ListModelsSortOrderEnum
func GetListNotebookSessionsLifecycleStateEnumStringValues() []string
GetListNotebookSessionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListNotebookSessionsLifecycleStateEnum
func GetListNotebookSessionsSortByEnumStringValues() []string
GetListNotebookSessionsSortByEnumStringValues Enumerates the set of values in String for ListNotebookSessionsSortByEnum
func GetListNotebookSessionsSortOrderEnumStringValues() []string
GetListNotebookSessionsSortOrderEnumStringValues Enumerates the set of values in String for ListNotebookSessionsSortOrderEnum
func GetListPipelineRunsLifecycleStateEnumStringValues() []string
GetListPipelineRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListPipelineRunsLifecycleStateEnum
func GetListPipelineRunsSortByEnumStringValues() []string
GetListPipelineRunsSortByEnumStringValues Enumerates the set of values in String for ListPipelineRunsSortByEnum
func GetListPipelineRunsSortOrderEnumStringValues() []string
GetListPipelineRunsSortOrderEnumStringValues Enumerates the set of values in String for ListPipelineRunsSortOrderEnum
func GetListPipelinesLifecycleStateEnumStringValues() []string
GetListPipelinesLifecycleStateEnumStringValues Enumerates the set of values in String for ListPipelinesLifecycleStateEnum
func GetListPipelinesSortByEnumStringValues() []string
GetListPipelinesSortByEnumStringValues Enumerates the set of values in String for ListPipelinesSortByEnum
func GetListPipelinesSortOrderEnumStringValues() []string
GetListPipelinesSortOrderEnumStringValues Enumerates the set of values in String for ListPipelinesSortOrderEnum
func GetListProjectsLifecycleStateEnumStringValues() []string
GetListProjectsLifecycleStateEnumStringValues Enumerates the set of values in String for ListProjectsLifecycleStateEnum
func GetListProjectsSortByEnumStringValues() []string
GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum
func GetListProjectsSortOrderEnumStringValues() []string
GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum
func GetListWorkRequestsOperationTypeEnumStringValues() []string
GetListWorkRequestsOperationTypeEnumStringValues Enumerates the set of values in String for ListWorkRequestsOperationTypeEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMetricExpressionRuleMetricExpressionRuleTypeEnumStringValues() []string
GetMetricExpressionRuleMetricExpressionRuleTypeEnumStringValues Enumerates the set of values in String for MetricExpressionRuleMetricExpressionRuleTypeEnum
func GetModelDeploymentEnvironmentConfigurationTypeEnumStringValues() []string
GetModelDeploymentEnvironmentConfigurationTypeEnumStringValues Enumerates the set of values in String for ModelDeploymentEnvironmentConfigurationTypeEnum
func GetModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnumStringValues() []string
GetModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnumStringValues Enumerates the set of values in String for ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum
func GetModelDeploymentLifecycleStateEnumStringValues() []string
GetModelDeploymentLifecycleStateEnumStringValues Enumerates the set of values in String for ModelDeploymentLifecycleStateEnum
func GetModelDeploymentShapeSeriesEnumStringValues() []string
GetModelDeploymentShapeSeriesEnumStringValues Enumerates the set of values in String for ModelDeploymentShapeSeriesEnum
func GetModelDeploymentSystemDataSystemInfraTypeEnumStringValues() []string
GetModelDeploymentSystemDataSystemInfraTypeEnumStringValues Enumerates the set of values in String for ModelDeploymentSystemDataSystemInfraTypeEnum
func GetModelDeploymentTypeEnumStringValues() []string
GetModelDeploymentTypeEnumStringValues Enumerates the set of values in String for ModelDeploymentTypeEnum
func GetModelLifecycleStateEnumStringValues() []string
GetModelLifecycleStateEnumStringValues Enumerates the set of values in String for ModelLifecycleStateEnum
func GetModelVersionSetLifecycleStateEnumStringValues() []string
GetModelVersionSetLifecycleStateEnumStringValues Enumerates the set of values in String for ModelVersionSetLifecycleStateEnum
func GetNotebookSessionLifecycleStateEnumStringValues() []string
GetNotebookSessionLifecycleStateEnumStringValues Enumerates the set of values in String for NotebookSessionLifecycleStateEnum
func GetNotebookSessionShapeSeriesEnumStringValues() []string
GetNotebookSessionShapeSeriesEnumStringValues Enumerates the set of values in String for NotebookSessionShapeSeriesEnum
func GetPipelineConfigurationDetailsTypeEnumStringValues() []string
GetPipelineConfigurationDetailsTypeEnumStringValues Enumerates the set of values in String for PipelineConfigurationDetailsTypeEnum
func GetPipelineContainerConfigurationDetailsContainerTypeEnumStringValues() []string
GetPipelineContainerConfigurationDetailsContainerTypeEnumStringValues Enumerates the set of values in String for PipelineContainerConfigurationDetailsContainerTypeEnum
func GetPipelineLifecycleStateEnumStringValues() []string
GetPipelineLifecycleStateEnumStringValues Enumerates the set of values in String for PipelineLifecycleStateEnum
func GetPipelineRunLifecycleStateEnumStringValues() []string
GetPipelineRunLifecycleStateEnumStringValues Enumerates the set of values in String for PipelineRunLifecycleStateEnum
func GetPipelineStepDetailsStepTypeEnumStringValues() []string
GetPipelineStepDetailsStepTypeEnumStringValues Enumerates the set of values in String for PipelineStepDetailsStepTypeEnum
func GetPipelineStepRunLifecycleStateEnumStringValues() []string
GetPipelineStepRunLifecycleStateEnumStringValues Enumerates the set of values in String for PipelineStepRunLifecycleStateEnum
func GetPipelineStepRunStepTypeEnumStringValues() []string
GetPipelineStepRunStepTypeEnumStringValues Enumerates the set of values in String for PipelineStepRunStepTypeEnum
func GetPipelineStepUpdateDetailsStepTypeEnumStringValues() []string
GetPipelineStepUpdateDetailsStepTypeEnumStringValues Enumerates the set of values in String for PipelineStepUpdateDetailsStepTypeEnum
func GetPredefinedMetricExpressionRuleMetricTypeEnumStringValues() []string
GetPredefinedMetricExpressionRuleMetricTypeEnumStringValues Enumerates the set of values in String for PredefinedMetricExpressionRuleMetricTypeEnum
func GetProjectLifecycleStateEnumStringValues() []string
GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum
func GetScalingConfigurationScalingConfigurationTypeEnumStringValues() []string
GetScalingConfigurationScalingConfigurationTypeEnumStringValues Enumerates the set of values in String for ScalingConfigurationScalingConfigurationTypeEnum
func GetScalingPolicyPolicyTypeEnumStringValues() []string
GetScalingPolicyPolicyTypeEnumStringValues Enumerates the set of values in String for ScalingPolicyPolicyTypeEnum
func GetStorageMountConfigurationDetailsStorageTypeEnumStringValues() []string
GetStorageMountConfigurationDetailsStorageTypeEnumStringValues Enumerates the set of values in String for StorageMountConfigurationDetailsStorageTypeEnum
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
ActivateModelDeploymentRequest wrapper for the ActivateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeploymentRequest.
type ActivateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // 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 is 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, then provide the request ID. 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 (request ActivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateModelDeploymentRequest) String() string
func (request ActivateModelDeploymentRequest) 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
ActivateModelDeploymentResponse wrapper for the ActivateModelDeployment operation
type ActivateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateModelDeploymentResponse) String() string
ActivateModelRequest wrapper for the ActivateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateModel.go.html to see an example of how to use ActivateModelRequest.
type ActivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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 is 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, then provide the request ID. 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 (request ActivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateModelRequest) String() string
func (request ActivateModelRequest) 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
ActivateModelResponse wrapper for the ActivateModel operation
type ActivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateModelResponse) String() string
ActivateNotebookSessionRequest wrapper for the ActivateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSessionRequest.
type ActivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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 is 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, then provide the request ID. 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 (request ActivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateNotebookSessionRequest) String() string
func (request ActivateNotebookSessionRequest) 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
ActivateNotebookSessionResponse wrapper for the ActivateNotebookSession operation
type ActivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateNotebookSessionResponse) String() string
ArtifactExportDetails Details of Artifact source
type ArtifactExportDetails interface { }
ArtifactExportDetailsObjectStorage Model artifact source details for exporting artifact to service bucket
type ArtifactExportDetailsObjectStorage struct { // The Object Storage namespace used for the request. Namespace *string `mandatory:"false" json:"namespace"` // The name of the bucket. Avoid entering confidential information. SourceBucket *string `mandatory:"false" json:"sourceBucket"` // The name of the object resulting from the copy operation. SourceObjectName *string `mandatory:"false" json:"sourceObjectName"` // Region in which OSS bucket is present SourceRegion *string `mandatory:"false" json:"sourceRegion"` }
func (m ArtifactExportDetailsObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ArtifactExportDetailsObjectStorage) String() string
func (m ArtifactExportDetailsObjectStorage) 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
ArtifactImportDetails Details of Artifact source
type ArtifactImportDetails interface { }
ArtifactImportDetailsObjectStorage Artifact destination details for importing to destination bucket
type ArtifactImportDetailsObjectStorage struct { // The Object Storage namespace used for the request. Namespace *string `mandatory:"false" json:"namespace"` // The name of the bucket. Avoid entering confidential information. DestinationBucket *string `mandatory:"false" json:"destinationBucket"` // The name of the object resulting from the copy operation. DestinationObjectName *string `mandatory:"false" json:"destinationObjectName"` // Region in which OSS bucket is present DestinationRegion *string `mandatory:"false" json:"destinationRegion"` }
func (m ArtifactImportDetailsObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ArtifactImportDetailsObjectStorage) String() string
func (m ArtifactImportDetailsObjectStorage) 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
ArtifactSourceTypeEnum Enum with underlying type: string
type ArtifactSourceTypeEnum string
Set of constants representing the allowable values for ArtifactSourceTypeEnum
const ( ArtifactSourceTypeOracleObjectStorage ArtifactSourceTypeEnum = "ORACLE_OBJECT_STORAGE" )
func GetArtifactSourceTypeEnumValues() []ArtifactSourceTypeEnum
GetArtifactSourceTypeEnumValues Enumerates the set of values for ArtifactSourceTypeEnum
func GetMappingArtifactSourceTypeEnum(val string) (ArtifactSourceTypeEnum, bool)
GetMappingArtifactSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AutoScalingPolicy The scaling policy to enable autoscaling on the model deployment.
type AutoScalingPolicy struct { // The list of autoscaling policy details. AutoScalingPolicies []AutoScalingPolicyDetails `mandatory:"true" json:"autoScalingPolicies"` // For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. // The cooldown period gives the system time to stabilize before rescaling. The minimum value is 600 seconds, which // is also the default. The cooldown period starts when the model deployment becomes ACTIVE after the scaling operation. CoolDownInSeconds *int `mandatory:"false" json:"coolDownInSeconds"` // Whether the autoscaling policy is enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` }
func (m AutoScalingPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutoScalingPolicy) String() string
func (m *AutoScalingPolicy) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutoScalingPolicy) 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
AutoScalingPolicyDetails Details for an autoscaling policy to enable on the model deployment. Each autoscaling configuration can have one autoscaling policy. In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold.
type AutoScalingPolicyDetails interface { }
AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum Enum with underlying type: string
type AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum string
Set of constants representing the allowable values for AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum
const ( AutoScalingPolicyDetailsAutoScalingPolicyTypeThreshold AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum = "THRESHOLD" )
func GetAutoScalingPolicyDetailsAutoScalingPolicyTypeEnumValues() []AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum
GetAutoScalingPolicyDetailsAutoScalingPolicyTypeEnumValues Enumerates the set of values for AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum
func GetMappingAutoScalingPolicyDetailsAutoScalingPolicyTypeEnum(val string) (AutoScalingPolicyDetailsAutoScalingPolicyTypeEnum, bool)
GetMappingAutoScalingPolicyDetailsAutoScalingPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CancelJobRunRequest wrapper for the CancelJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRunRequest.
type CancelJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request CancelJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelJobRunRequest) String() string
func (request CancelJobRunRequest) 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
CancelJobRunResponse wrapper for the CancelJobRun operation
type CancelJobRunResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelJobRunResponse) String() string
CancelPipelineRunRequest wrapper for the CancelPipelineRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelPipelineRun.go.html to see an example of how to use CancelPipelineRunRequest.
type CancelPipelineRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. PipelineRunId *string `mandatory:"true" contributesTo:"path" name:"pipelineRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 is 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"` // A boolean value to specify whether to terminate pipeline run gracefully. TerminateGracefully *bool `mandatory:"false" contributesTo:"query" name:"terminateGracefully"` // 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 (request CancelPipelineRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelPipelineRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelPipelineRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelPipelineRunRequest) String() string
func (request CancelPipelineRunRequest) 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
CancelPipelineRunResponse wrapper for the CancelPipelineRun operation
type CancelPipelineRunResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelPipelineRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelPipelineRunResponse) String() string
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the 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 is 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, then provide the request ID. 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 (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
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
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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
CategoryLogDetails The log details for each category.
type CategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
func (m CategoryLogDetails) String() string
func (m CategoryLogDetails) 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
ChangeDataSciencePrivateEndpointCompartmentDetails The details required to change a private endpoint compartment.
type ChangeDataSciencePrivateEndpointCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDataSciencePrivateEndpointCompartmentDetails) String() string
func (m ChangeDataSciencePrivateEndpointCompartmentDetails) 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
ChangeDataSciencePrivateEndpointCompartmentRequest wrapper for the ChangeDataSciencePrivateEndpointCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeDataSciencePrivateEndpointCompartment.go.html to see an example of how to use ChangeDataSciencePrivateEndpointCompartmentRequest.
type ChangeDataSciencePrivateEndpointCompartmentRequest struct { // The unique ID for a Data Science private endpoint. DataSciencePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSciencePrivateEndpointId"` // Details for changing a private endpoint's compartment. ChangeDataSciencePrivateEndpointCompartmentDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing 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 purged 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 (request ChangeDataSciencePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDataSciencePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDataSciencePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDataSciencePrivateEndpointCompartmentRequest) String() string
func (request ChangeDataSciencePrivateEndpointCompartmentRequest) 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
ChangeDataSciencePrivateEndpointCompartmentResponse wrapper for the ChangeDataSciencePrivateEndpointCompartment operation
type ChangeDataSciencePrivateEndpointCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ChangeDataSciencePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDataSciencePrivateEndpointCompartmentResponse) String() string
ChangeJobCompartmentDetails Details for changing the compartment of a job.
type ChangeJobCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobCompartmentDetails) String() string
func (m ChangeJobCompartmentDetails) 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
ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.
type ChangeJobCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Details for changing the compartment of a job. ChangeJobCompartmentDetails `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 is 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, then provide the request ID. 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 (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobCompartmentRequest) String() string
func (request ChangeJobCompartmentRequest) 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
ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation
type ChangeJobCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobCompartmentResponse) String() string
ChangeJobRunCompartmentDetails Details for changing the compartment of a job run.
type ChangeJobRunCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobRunCompartmentDetails) String() string
func (m ChangeJobRunCompartmentDetails) 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
ChangeJobRunCompartmentRequest wrapper for the ChangeJobRunCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartmentRequest.
type ChangeJobRunCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Details for changing the compartment of a job. ChangeJobRunCompartmentDetails `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 is 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, then provide the request ID. 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 (request ChangeJobRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobRunCompartmentRequest) String() string
func (request ChangeJobRunCompartmentRequest) 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
ChangeJobRunCompartmentResponse wrapper for the ChangeJobRunCompartment operation
type ChangeJobRunCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeJobRunCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobRunCompartmentResponse) String() string
ChangeModelCompartmentDetails Details for changing the compartment of a model.
type ChangeModelCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelCompartmentDetails) String() string
func (m ChangeModelCompartmentDetails) 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
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
type ChangeModelCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for changing the compartment of a model. ChangeModelCompartmentDetails `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 is 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, then provide the request ID. 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 executing 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 purged 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 (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelCompartmentRequest) String() string
func (request ChangeModelCompartmentRequest) 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
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
type ChangeModelCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelCompartmentResponse) String() string
ChangeModelDeploymentCompartmentDetails Details for changing the compartment of a model deployment.
type ChangeModelDeploymentCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelDeploymentCompartmentDetails) String() string
func (m ChangeModelDeploymentCompartmentDetails) 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
ChangeModelDeploymentCompartmentRequest wrapper for the ChangeModelDeploymentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartmentRequest.
type ChangeModelDeploymentCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Details for changing the compartment of a model deployment. ChangeModelDeploymentCompartmentDetails `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 is 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, then provide the request ID. 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 executing 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 purged 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 (request ChangeModelDeploymentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelDeploymentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelDeploymentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelDeploymentCompartmentRequest) String() string
func (request ChangeModelDeploymentCompartmentRequest) 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
ChangeModelDeploymentCompartmentResponse wrapper for the ChangeModelDeploymentCompartment operation
type ChangeModelDeploymentCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeModelDeploymentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelDeploymentCompartmentResponse) String() string
ChangeModelVersionSetCompartmentDetails Details for changing the compartment of a model version set.
type ChangeModelVersionSetCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // where the resource should be moved to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelVersionSetCompartmentDetails) String() string
func (m ChangeModelVersionSetCompartmentDetails) 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
ChangeModelVersionSetCompartmentRequest wrapper for the ChangeModelVersionSetCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelVersionSetCompartment.go.html to see an example of how to use ChangeModelVersionSetCompartmentRequest.
type ChangeModelVersionSetCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. ModelVersionSetId *string `mandatory:"true" contributesTo:"path" name:"modelVersionSetId"` // Details for changing the compartment of a model version set. ChangeModelVersionSetCompartmentDetails `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 is 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, then provide the request ID. 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 executing 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 purged 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 (request ChangeModelVersionSetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelVersionSetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelVersionSetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelVersionSetCompartmentRequest) String() string
func (request ChangeModelVersionSetCompartmentRequest) 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
ChangeModelVersionSetCompartmentResponse wrapper for the ChangeModelVersionSetCompartment operation
type ChangeModelVersionSetCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ChangeModelVersionSetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelVersionSetCompartmentResponse) String() string
ChangeNotebookSessionCompartmentDetails Details for changing the compartment of a notebook session.
type ChangeNotebookSessionCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeNotebookSessionCompartmentDetails) String() string
func (m ChangeNotebookSessionCompartmentDetails) 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
ChangeNotebookSessionCompartmentRequest wrapper for the ChangeNotebookSessionCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartmentRequest.
type ChangeNotebookSessionCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for changing the compartment of a notebook session. ChangeNotebookSessionCompartmentDetails `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 is 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, then provide the request ID. 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 executing 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 purged 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 (request ChangeNotebookSessionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeNotebookSessionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeNotebookSessionCompartmentRequest) String() string
func (request ChangeNotebookSessionCompartmentRequest) 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
ChangeNotebookSessionCompartmentResponse wrapper for the ChangeNotebookSessionCompartment operation
type ChangeNotebookSessionCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeNotebookSessionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeNotebookSessionCompartmentResponse) String() string
ChangePipelineCompartmentDetails Details for which compartment to move the resource to.
type ChangePipelineCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangePipelineCompartmentDetails) String() string
func (m ChangePipelineCompartmentDetails) 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
ChangePipelineCompartmentRequest wrapper for the ChangePipelineCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangePipelineCompartment.go.html to see an example of how to use ChangePipelineCompartmentRequest.
type ChangePipelineCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // Details for the compartment move. ChangePipelineCompartmentDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request ChangePipelineCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangePipelineCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangePipelineCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangePipelineCompartmentRequest) String() string
func (request ChangePipelineCompartmentRequest) 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
ChangePipelineCompartmentResponse wrapper for the ChangePipelineCompartment operation
type ChangePipelineCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangePipelineCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangePipelineCompartmentResponse) String() string
ChangePipelineRunCompartmentDetails Details for which compartment to move the resource to.
type ChangePipelineRunCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangePipelineRunCompartmentDetails) String() string
func (m ChangePipelineRunCompartmentDetails) 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
ChangePipelineRunCompartmentRequest wrapper for the ChangePipelineRunCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangePipelineRunCompartment.go.html to see an example of how to use ChangePipelineRunCompartmentRequest.
type ChangePipelineRunCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. PipelineRunId *string `mandatory:"true" contributesTo:"path" name:"pipelineRunId"` // Details for the compartment move. ChangePipelineRunCompartmentDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request ChangePipelineRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangePipelineRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangePipelineRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangePipelineRunCompartmentRequest) String() string
func (request ChangePipelineRunCompartmentRequest) 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
ChangePipelineRunCompartmentResponse wrapper for the ChangePipelineRunCompartment operation
type ChangePipelineRunCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangePipelineRunCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangePipelineRunCompartmentResponse) String() string
ChangeProjectCompartmentDetails Details for changing the compartment of a project.
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeProjectCompartmentDetails) String() string
func (m ChangeProjectCompartmentDetails) 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
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
type ChangeProjectCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for changing the compartment of a project. ChangeProjectCompartmentDetails `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 is 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, then provide the request ID. 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 executing 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 purged 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 (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProjectCompartmentRequest) String() string
func (request ChangeProjectCompartmentRequest) 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
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
type ChangeProjectCompartmentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeProjectCompartmentResponse) String() string
CreateDataSciencePrivateEndpointDetails The details required to create a Data Science private endpoint.
type CreateDataSciencePrivateEndpointDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // Data Science resource type. DataScienceResourceType DataScienceResourceTypeEnum `mandatory:"true" json:"dataScienceResourceType"` // A user friendly description. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` // Subdomain for a private endpoint FQDN. SubDomain *string `mandatory:"false" json:"subDomain"` }
func (m CreateDataSciencePrivateEndpointDetails) String() string
func (m CreateDataSciencePrivateEndpointDetails) 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
CreateDataSciencePrivateEndpointRequest wrapper for the CreateDataSciencePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateDataSciencePrivateEndpoint.go.html to see an example of how to use CreateDataSciencePrivateEndpointRequest.
type CreateDataSciencePrivateEndpointRequest struct { // The parameters required to create a private endpoint. CreateDataSciencePrivateEndpointDetails `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 executing 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 purged 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, then provide the request ID. 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 (request CreateDataSciencePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDataSciencePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDataSciencePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDataSciencePrivateEndpointRequest) String() string
func (request CreateDataSciencePrivateEndpointRequest) 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
CreateDataSciencePrivateEndpointResponse wrapper for the CreateDataSciencePrivateEndpoint operation
type CreateDataSciencePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DataSciencePrivateEndpoint instance DataSciencePrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` }
func (response CreateDataSciencePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDataSciencePrivateEndpointResponse) String() string
CreateJobArtifactRequest wrapper for the CreateJobArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifactRequest.
type CreateJobArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The content length of the body. ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"content-length"` // The job artifact to upload. JobArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // This header is for specifying a filename during upload. It is used to identify the file type and validate if the // file type is supported. Example: `--content-disposition "attachment; filename=hello-world.py"` ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // 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 (request CreateJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobArtifactRequest) String() string
func (request CreateJobArtifactRequest) 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
CreateJobArtifactResponse wrapper for the CreateJobArtifact operation
type CreateJobArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobArtifactResponse) String() string
CreateJobDetails Parameters needed to create a new job.
type CreateJobDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` JobConfigurationDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` JobEnvironmentConfigurationDetails JobEnvironmentConfigurationDetails `mandatory:"false" json:"jobEnvironmentConfigurationDetails"` JobLogConfigurationDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationDetails"` // Collection of JobStorageMountConfigurationDetails. JobStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"jobStorageMountConfigurationDetailsList"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateJobDetails) String() string
func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateJobDetails) 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
CreateJobRequest wrapper for the CreateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJob.go.html to see an example of how to use CreateJobRequest.
type CreateJobRequest struct { // Details for creating a new job. CreateJobDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRequest) String() string
func (request CreateJobRequest) 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
CreateJobResponse wrapper for the CreateJob operation
type CreateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobResponse) String() string
CreateJobRunDetails Parameters needed to create a new job run.
type CreateJobRunDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job to create a run for. JobId *string `mandatory:"true" json:"jobId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` JobConfigurationOverrideDetails JobConfigurationDetails `mandatory:"false" json:"jobConfigurationOverrideDetails"` JobLogConfigurationOverrideDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationOverrideDetails"` JobEnvironmentConfigurationOverrideDetails JobEnvironmentConfigurationDetails `mandatory:"false" json:"jobEnvironmentConfigurationOverrideDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateJobRunDetails) String() string
func (m *CreateJobRunDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateJobRunDetails) 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
CreateJobRunRequest wrapper for the CreateJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRunRequest.
type CreateJobRunRequest struct { // Details for creating a new job run. CreateJobRunDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // URL to fetch the Resource Principal Token from the parent resource. OpcParentRptUrl *string `mandatory:"false" contributesTo:"header" name:"opc-parent-rpt-url"` // 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 (request CreateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRunRequest) String() string
func (request CreateJobRunRequest) 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
CreateJobRunResponse wrapper for the CreateJobRun operation
type CreateJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobRunResponse) String() string
CreateModelArtifactRequest wrapper for the CreateModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifactRequest.
type CreateModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The content length of the body. ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"content-length"` // The model artifact to upload. ModelArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // This header allows you to specify a filename during upload. This file name is used to dispose of the file contents // while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file // name when downloading. // Example: `{"Content-Disposition": "attachment" // "filename"="model.tar.gz" // "Content-Length": "2347" // "Content-Type": "application/gzip"}` ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // 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 is 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"` // 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 (request CreateModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelArtifactRequest) String() string
func (request CreateModelArtifactRequest) 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
CreateModelArtifactResponse wrapper for the CreateModelArtifact operation
type CreateModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelArtifactResponse) String() string
CreateModelDeploymentDetails Parameters needed to create a new model deployment. Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.
type CreateModelDeploymentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the model deployment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"true" json:"modelDeploymentConfigurationDetails"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateModelDeploymentDetails) String() string
func (m *CreateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateModelDeploymentDetails) 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
CreateModelDeploymentRequest wrapper for the CreateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeploymentRequest.
type CreateModelDeploymentRequest struct { // Details for creating a new model deployment. CreateModelDeploymentDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // URL to fetch the Resource Principal Token from the parent resource. OpcParentRptUrl *string `mandatory:"false" contributesTo:"header" name:"opc-parent-rpt-url"` // 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 (request CreateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelDeploymentRequest) String() string
func (request CreateModelDeploymentRequest) 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
CreateModelDeploymentResponse wrapper for the CreateModelDeployment operation
type CreateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The ModelDeployment instance ModelDeployment `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelDeploymentResponse) String() string
CreateModelDetails Parameters needed to create a new model. Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifact.
type CreateModelDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` // Input schema file content in String format InputSchema *string `mandatory:"false" json:"inputSchema"` // Output schema file content in String format OutputSchema *string `mandatory:"false" json:"outputSchema"` // The OCID of the model version set that the model is associated to. ModelVersionSetId *string `mandatory:"false" json:"modelVersionSetId"` // The version label can add an additional description of the lifecycle state of the model or the application using/training the model. VersionLabel *string `mandatory:"false" json:"versionLabel"` }
func (m CreateModelDetails) String() string
func (m CreateModelDetails) 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
CreateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type CreateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m CreateModelProvenanceDetails) String() string
func (m CreateModelProvenanceDetails) 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
CreateModelProvenanceRequest wrapper for the CreateModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenanceRequest.
type CreateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for specified model. CreateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelProvenanceRequest) String() string
func (request CreateModelProvenanceRequest) 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
CreateModelProvenanceResponse wrapper for the CreateModelProvenance operation
type CreateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
func (response CreateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelProvenanceResponse) String() string
CreateModelRequest wrapper for the CreateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModel.go.html to see an example of how to use CreateModelRequest.
type CreateModelRequest struct { // Details for creating a new model. CreateModelDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelRequest) String() string
func (request CreateModelRequest) 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
CreateModelResponse wrapper for the CreateModel operation
type CreateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelResponse) String() string
CreateModelVersionSetDetails Parameters that are required to create a new model version set.
type CreateModelVersionSetDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model version set in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model version set. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly name for the resource. It must be unique and can't be modified. Avoid entering confidential information. // Example: `My model version set` Name *string `mandatory:"true" json:"name"` // A short description of the model version set. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateModelVersionSetDetails) String() string
func (m CreateModelVersionSetDetails) 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
CreateModelVersionSetRequest wrapper for the CreateModelVersionSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelVersionSet.go.html to see an example of how to use CreateModelVersionSetRequest.
type CreateModelVersionSetRequest struct { // Details for creating a new modelVersionSet. CreateModelVersionSetDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateModelVersionSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelVersionSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelVersionSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelVersionSetRequest) String() string
func (request CreateModelVersionSetRequest) 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
CreateModelVersionSetResponse wrapper for the CreateModelVersionSet operation
type CreateModelVersionSetResponse struct { // The underlying http response RawResponse *http.Response // The ModelVersionSet instance ModelVersionSet `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelVersionSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelVersionSetResponse) String() string
CreateNotebookSessionDetails Parameters needed to create a new notebook session. Notebook sessions are interactive coding environments for data scientists.
type CreateNotebookSessionDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the notebook session. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"false" json:"displayName"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` NotebookSessionConfigDetails *NotebookSessionConfigDetails `mandatory:"false" json:"notebookSessionConfigDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` NotebookSessionRuntimeConfigDetails *NotebookSessionRuntimeConfigDetails `mandatory:"false" json:"notebookSessionRuntimeConfigDetails"` // Collection of NotebookSessionStorageMountConfigurationDetails. NotebookSessionStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"notebookSessionStorageMountConfigurationDetailsList"` }
func (m CreateNotebookSessionDetails) String() string
func (m *CreateNotebookSessionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateNotebookSessionDetails) 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
CreateNotebookSessionRequest wrapper for the CreateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSessionRequest.
type CreateNotebookSessionRequest struct { // Details for creating a new notebook session. CreateNotebookSessionDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateNotebookSessionRequest) String() string
func (request CreateNotebookSessionRequest) 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
CreateNotebookSessionResponse wrapper for the CreateNotebookSession operation
type CreateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateNotebookSessionResponse) String() string
CreatePipelineDetails The information about new Pipeline.
type CreatePipelineDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Array of step details for each step. StepDetails []PipelineStepDetails `mandatory:"true" json:"stepDetails"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the pipeline. Description *string `mandatory:"false" json:"description"` ConfigurationDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationDetails"` LogConfigurationDetails *PipelineLogConfigurationDetails `mandatory:"false" json:"logConfigurationDetails"` InfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"infrastructureConfigurationDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreatePipelineDetails) String() string
func (m *CreatePipelineDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreatePipelineDetails) 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
CreatePipelineRequest wrapper for the CreatePipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreatePipeline.go.html to see an example of how to use CreatePipelineRequest.
type CreatePipelineRequest struct { // Details for the new Pipeline. CreatePipelineDetails `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 executing 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 purged 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, then provide the request ID. 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 (request CreatePipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreatePipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePipelineRequest) String() string
func (request CreatePipelineRequest) 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
CreatePipelineResponse wrapper for the CreatePipeline operation
type CreatePipelineResponse struct { // The underlying http response RawResponse *http.Response // The Pipeline instance Pipeline `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreatePipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePipelineResponse) String() string
CreatePipelineRunDetails The information about new PipelineRun.
type CreatePipelineRunDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline for which pipeline run is created. PipelineId *string `mandatory:"true" json:"pipelineId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. ProjectId *string `mandatory:"false" json:"projectId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` ConfigurationOverrideDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationOverrideDetails"` LogConfigurationOverrideDetails *PipelineLogConfigurationDetails `mandatory:"false" json:"logConfigurationOverrideDetails"` // Array of step override details. Only Step Configuration is allowed to be overridden. StepOverrideDetails []PipelineStepOverrideDetails `mandatory:"false" json:"stepOverrideDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m CreatePipelineRunDetails) String() string
func (m *CreatePipelineRunDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreatePipelineRunDetails) 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
CreatePipelineRunRequest wrapper for the CreatePipelineRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreatePipelineRun.go.html to see an example of how to use CreatePipelineRunRequest.
type CreatePipelineRunRequest struct { // Details for the new PipelineRun. CreatePipelineRunDetails `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 executing 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 purged 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, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // URL to fetch the Resource Principal Token from the parent resource. OpcParentRptUrl *string `mandatory:"false" contributesTo:"header" name:"opc-parent-rpt-url"` // 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 (request CreatePipelineRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreatePipelineRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePipelineRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePipelineRunRequest) String() string
func (request CreatePipelineRunRequest) 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
CreatePipelineRunResponse wrapper for the CreatePipelineRun operation
type CreatePipelineRunResponse struct { // The underlying http response RawResponse *http.Response // The PipelineRun instance PipelineRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreatePipelineRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePipelineRunResponse) String() string
CreateProjectDetails Parameters needed to create a new project. Projects enable users to organize their data science work.
type CreateProjectDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the project in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProjectDetails) String() string
func (m CreateProjectDetails) 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
CreateProjectRequest wrapper for the CreateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateProject.go.html to see an example of how to use CreateProjectRequest.
type CreateProjectRequest struct { // Details for creating a new project. CreateProjectDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged 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 (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProjectRequest) String() string
func (request CreateProjectRequest) 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
CreateProjectResponse wrapper for the CreateProject operation
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProjectResponse) String() string
CreateStepArtifactRequest wrapper for the CreateStepArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateStepArtifact.go.html to see an example of how to use CreateStepArtifactRequest.
type CreateStepArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // Unique Step identifier in a pipeline. StepName *string `mandatory:"true" contributesTo:"path" name:"stepName"` // The content length of the body. ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"content-length"` // The step artifact to upload. StepArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // This header allows you to specify a filename during upload. This file name is used to dispose of the file contents // while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file // name when downloading. // Example: `{"Content-Disposition": "attachment" // "filename"="model.tar.gz" // "Content-Length": "2347" // "Content-Type": "application/gzip"}` ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // 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 (request CreateStepArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateStepArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateStepArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateStepArtifactRequest) String() string
func (request CreateStepArtifactRequest) 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
CreateStepArtifactResponse wrapper for the CreateStepArtifact operation
type CreateStepArtifactResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateStepArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateStepArtifactResponse) String() string
CustomExpressionQueryScalingConfiguration The scaling configuration for the custom metric expression rule.
type CustomExpressionQueryScalingConfiguration struct { // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of // the Monitoring service interprets results for each returned time series as Boolean values, // where zero represents false and a non-zero value represents true. A true value means that the trigger // rule condition has been met. The query must specify a metric, statistic, interval, and trigger // rule (threshold or absence). Supported values for interval: `1m`-`60m` (also `1h`). You can optionally // specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`. // Example of threshold alarm: // ----- // CPUUtilization[1m]{resourceId = "MODEL_DEPLOYMENT_OCID"}.grouping().mean() < 25 // CPUUtilization[1m]{resourceId = "MODEL_DEPLOYMENT_OCID"}.grouping().mean() > 75 // ----- Query *string `mandatory:"true" json:"query"` // The period of time that the condition defined in the alarm must persist before the alarm state // changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the // alarm must persist in breaching the condition for five minutes before the alarm updates its // state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five // minutes before the alarm updates its state to "OK." // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M. PendingDuration *string `mandatory:"false" json:"pendingDuration"` // The value is used for adjusting the count of instances by. InstanceCountAdjustment *int `mandatory:"false" json:"instanceCountAdjustment"` }
func (m CustomExpressionQueryScalingConfiguration) GetInstanceCountAdjustment() *int
GetInstanceCountAdjustment returns InstanceCountAdjustment
func (m CustomExpressionQueryScalingConfiguration) GetPendingDuration() *string
GetPendingDuration returns PendingDuration
func (m CustomExpressionQueryScalingConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomExpressionQueryScalingConfiguration) String() string
func (m CustomExpressionQueryScalingConfiguration) 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
CustomMetricExpressionRule A custom Monitoring Query Language (MQL) expression for triggering an autoscaling action on the model deployment.
type CustomMetricExpressionRule struct { ScaleInConfiguration *CustomExpressionQueryScalingConfiguration `mandatory:"true" json:"scaleInConfiguration"` ScaleOutConfiguration *CustomExpressionQueryScalingConfiguration `mandatory:"true" json:"scaleOutConfiguration"` }
func (m CustomMetricExpressionRule) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomMetricExpressionRule) String() string
func (m CustomMetricExpressionRule) 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
DataScienceClient a client for DataScience
type DataScienceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDataScienceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataScienceClient, err error)
NewDataScienceClientWithConfigurationProvider Creates a new default DataScience client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDataScienceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataScienceClient, err error)
NewDataScienceClientWithOboToken Creates a new default DataScience 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 (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
ActivateModel Activates the model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateModel.go.html to see an example of how to use ActivateModel API. A default retry strategy applies to this operation ActivateModel()
func (client DataScienceClient) ActivateModelDeployment(ctx context.Context, request ActivateModelDeploymentRequest) (response ActivateModelDeploymentResponse, err error)
ActivateModelDeployment Activates the model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeployment API.
func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
ActivateNotebookSession Activates the notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSession API.
func (client DataScienceClient) CancelJobRun(ctx context.Context, request CancelJobRunRequest) (response CancelJobRunResponse, err error)
CancelJobRun Cancels an IN_PROGRESS job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRun API. A default retry strategy applies to this operation CancelJobRun()
func (client DataScienceClient) CancelPipelineRun(ctx context.Context, request CancelPipelineRunRequest) (response CancelPipelineRunResponse, err error)
CancelPipelineRun Cancel a PipelineRun.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelPipelineRun.go.html to see an example of how to use CancelPipelineRun API. A default retry strategy applies to this operation CancelPipelineRun()
func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request that has not started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (client DataScienceClient) ChangeDataSciencePrivateEndpointCompartment(ctx context.Context, request ChangeDataSciencePrivateEndpointCompartmentRequest) (response ChangeDataSciencePrivateEndpointCompartmentResponse, err error)
ChangeDataSciencePrivateEndpointCompartment Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeDataSciencePrivateEndpointCompartment.go.html to see an example of how to use ChangeDataSciencePrivateEndpointCompartment API. A default retry strategy applies to this operation ChangeDataSciencePrivateEndpointCompartment()
func (client DataScienceClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
ChangeJobCompartment Changes a job's compartment
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.
func (client DataScienceClient) ChangeJobRunCompartment(ctx context.Context, request ChangeJobRunCompartmentRequest) (response ChangeJobRunCompartmentResponse, err error)
ChangeJobRunCompartment Changes a job run's compartment
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartment API.
func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a model resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API.
func (client DataScienceClient) ChangeModelDeploymentCompartment(ctx context.Context, request ChangeModelDeploymentCompartmentRequest) (response ChangeModelDeploymentCompartmentResponse, err error)
ChangeModelDeploymentCompartment Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartment API.
func (client DataScienceClient) ChangeModelVersionSetCompartment(ctx context.Context, request ChangeModelVersionSetCompartmentRequest) (response ChangeModelVersionSetCompartmentResponse, err error)
ChangeModelVersionSetCompartment Moves a modelVersionSet resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeModelVersionSetCompartment.go.html to see an example of how to use ChangeModelVersionSetCompartment API.
func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
ChangeNotebookSessionCompartment Moves a notebook session resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartment API.
func (client DataScienceClient) ChangePipelineCompartment(ctx context.Context, request ChangePipelineCompartmentRequest) (response ChangePipelineCompartmentResponse, err error)
ChangePipelineCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangePipelineCompartment.go.html to see an example of how to use ChangePipelineCompartment API.
func (client DataScienceClient) ChangePipelineRunCompartment(ctx context.Context, request ChangePipelineRunCompartmentRequest) (response ChangePipelineRunCompartmentResponse, err error)
ChangePipelineRunCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangePipelineRunCompartment.go.html to see an example of how to use ChangePipelineRunCompartment API.
func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DataScienceClient) CreateDataSciencePrivateEndpoint(ctx context.Context, request CreateDataSciencePrivateEndpointRequest) (response CreateDataSciencePrivateEndpointResponse, err error)
CreateDataSciencePrivateEndpoint Creates a Data Science private endpoint to be used by a Data Science resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateDataSciencePrivateEndpoint.go.html to see an example of how to use CreateDataSciencePrivateEndpoint API. A default retry strategy applies to this operation CreateDataSciencePrivateEndpoint()
func (client DataScienceClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJob.go.html to see an example of how to use CreateJob API. A default retry strategy applies to this operation CreateJob()
func (client DataScienceClient) CreateJobArtifact(ctx context.Context, request CreateJobArtifactRequest) (response CreateJobArtifactResponse, err error)
CreateJobArtifact Uploads a job artifact.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifact API.
func (client DataScienceClient) CreateJobRun(ctx context.Context, request CreateJobRunRequest) (response CreateJobRunResponse, err error)
CreateJobRun Creates a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRun API. A default retry strategy applies to this operation CreateJobRun()
func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Creates a new model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModel.go.html to see an example of how to use CreateModel API. A default retry strategy applies to this operation CreateModel()
func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
CreateModelArtifact Creates model artifact for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifact API. A default retry strategy applies to this operation CreateModelArtifact()
func (client DataScienceClient) CreateModelDeployment(ctx context.Context, request CreateModelDeploymentRequest) (response CreateModelDeploymentResponse, err error)
CreateModelDeployment Creates a new model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeployment API. A default retry strategy applies to this operation CreateModelDeployment()
func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
CreateModelProvenance Creates provenance information for the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenance API. A default retry strategy applies to this operation CreateModelProvenance()
func (client DataScienceClient) CreateModelVersionSet(ctx context.Context, request CreateModelVersionSetRequest) (response CreateModelVersionSetResponse, err error)
CreateModelVersionSet Creates a new modelVersionSet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateModelVersionSet.go.html to see an example of how to use CreateModelVersionSet API. A default retry strategy applies to this operation CreateModelVersionSet()
func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
CreateNotebookSession Creates a new notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSession API. A default retry strategy applies to this operation CreateNotebookSession()
func (client DataScienceClient) CreatePipeline(ctx context.Context, request CreatePipelineRequest) (response CreatePipelineResponse, err error)
CreatePipeline Creates a new Pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreatePipeline.go.html to see an example of how to use CreatePipeline API. A default retry strategy applies to this operation CreatePipeline()
func (client DataScienceClient) CreatePipelineRun(ctx context.Context, request CreatePipelineRunRequest) (response CreatePipelineRunResponse, err error)
CreatePipelineRun Creates a new PipelineRun.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreatePipelineRun.go.html to see an example of how to use CreatePipelineRun API. A default retry strategy applies to this operation CreatePipelineRun()
func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateProject.go.html to see an example of how to use CreateProject API. A default retry strategy applies to this operation CreateProject()
func (client DataScienceClient) CreateStepArtifact(ctx context.Context, request CreateStepArtifactRequest) (response CreateStepArtifactResponse, err error)
CreateStepArtifact Upload the artifact for a step in the pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/CreateStepArtifact.go.html to see an example of how to use CreateStepArtifact API.
func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
DeactivateModel Deactivates the model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModel API. A default retry strategy applies to this operation DeactivateModel()
func (client DataScienceClient) DeactivateModelDeployment(ctx context.Context, request DeactivateModelDeploymentRequest) (response DeactivateModelDeploymentResponse, err error)
DeactivateModelDeployment Deactivates the model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeployment API.
func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
DeactivateNotebookSession Deactivates the notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSession API.
func (client DataScienceClient) DeleteDataSciencePrivateEndpoint(ctx context.Context, request DeleteDataSciencePrivateEndpointRequest) (response DeleteDataSciencePrivateEndpointResponse, err error)
DeleteDataSciencePrivateEndpoint Deletes a private endpoint using `privateEndpointId`.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteDataSciencePrivateEndpoint.go.html to see an example of how to use DeleteDataSciencePrivateEndpoint API.
func (client DataScienceClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteJob.go.html to see an example of how to use DeleteJob API. A default retry strategy applies to this operation DeleteJob()
func (client DataScienceClient) DeleteJobRun(ctx context.Context, request DeleteJobRunRequest) (response DeleteJobRunResponse, err error)
DeleteJobRun Deletes a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRun API. A default retry strategy applies to this operation DeleteJobRun()
func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Deletes the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModel.go.html to see an example of how to use DeleteModel API. A default retry strategy applies to this operation DeleteModel()
func (client DataScienceClient) DeleteModelDeployment(ctx context.Context, request DeleteModelDeploymentRequest) (response DeleteModelDeploymentResponse, err error)
DeleteModelDeployment Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeployment API. A default retry strategy applies to this operation DeleteModelDeployment()
func (client DataScienceClient) DeleteModelVersionSet(ctx context.Context, request DeleteModelVersionSetRequest) (response DeleteModelVersionSetResponse, err error)
DeleteModelVersionSet Deletes the specified modelVersionSet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModelVersionSet.go.html to see an example of how to use DeleteModelVersionSet API. A default retry strategy applies to this operation DeleteModelVersionSet()
func (client DataScienceClient) DeleteNotebookSession(ctx context.Context, request DeleteNotebookSessionRequest) (response DeleteNotebookSessionResponse, err error)
DeleteNotebookSession Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSession API. A default retry strategy applies to this operation DeleteNotebookSession()
func (client DataScienceClient) DeletePipeline(ctx context.Context, request DeletePipelineRequest) (response DeletePipelineResponse, err error)
DeletePipeline Deletes a Pipeline resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeletePipeline.go.html to see an example of how to use DeletePipeline API.
func (client DataScienceClient) DeletePipelineRun(ctx context.Context, request DeletePipelineRunRequest) (response DeletePipelineRunResponse, err error)
DeletePipelineRun Deletes a PipelineRun resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeletePipelineRun.go.html to see an example of how to use DeletePipelineRun API.
func (client DataScienceClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes the specified project. This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteProject.go.html to see an example of how to use DeleteProject API. A default retry strategy applies to this operation DeleteProject()
func (client DataScienceClient) ExportModelArtifact(ctx context.Context, request ExportModelArtifactRequest) (response ExportModelArtifactResponse, err error)
ExportModelArtifact Export model artifact from source to the service bucket
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ExportModelArtifact.go.html to see an example of how to use ExportModelArtifact API. A default retry strategy applies to this operation ExportModelArtifact()
func (client DataScienceClient) GetDataSciencePrivateEndpoint(ctx context.Context, request GetDataSciencePrivateEndpointRequest) (response GetDataSciencePrivateEndpointResponse, err error)
GetDataSciencePrivateEndpoint Retrieves an private endpoint using a `privateEndpointId`.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetDataSciencePrivateEndpoint.go.html to see an example of how to use GetDataSciencePrivateEndpoint API. A default retry strategy applies to this operation GetDataSciencePrivateEndpoint()
func (client DataScienceClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Gets a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJob.go.html to see an example of how to use GetJob API. A default retry strategy applies to this operation GetJob()
func (client DataScienceClient) GetJobArtifactContent(ctx context.Context, request GetJobArtifactContentRequest) (response GetJobArtifactContentResponse, err error)
GetJobArtifactContent Downloads job artifact content for specified job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContent API. A default retry strategy applies to this operation GetJobArtifactContent()
func (client DataScienceClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
GetJobRun Gets a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJobRun.go.html to see an example of how to use GetJobRun API. A default retry strategy applies to this operation GetJobRun()
func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Gets the specified model's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModel.go.html to see an example of how to use GetModel API. A default retry strategy applies to this operation GetModel()
func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
GetModelArtifactContent Downloads model artifact content for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContent API. A default retry strategy applies to this operation GetModelArtifactContent()
func (client DataScienceClient) GetModelDeployment(ctx context.Context, request GetModelDeploymentRequest) (response GetModelDeploymentResponse, err error)
GetModelDeployment Retrieves the model deployment for the specified `modelDeploymentId`.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeployment API. A default retry strategy applies to this operation GetModelDeployment()
func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
GetModelProvenance Gets provenance information for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenance API. A default retry strategy applies to this operation GetModelProvenance()
func (client DataScienceClient) GetModelVersionSet(ctx context.Context, request GetModelVersionSetRequest) (response GetModelVersionSetResponse, err error)
GetModelVersionSet Gets the specified model version set information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelVersionSet.go.html to see an example of how to use GetModelVersionSet API. A default retry strategy applies to this operation GetModelVersionSet()
func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
GetNotebookSession Gets the specified notebook session's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSession API. A default retry strategy applies to this operation GetNotebookSession()
func (client DataScienceClient) GetPipeline(ctx context.Context, request GetPipelineRequest) (response GetPipelineResponse, err error)
GetPipeline Gets a Pipeline by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetPipeline.go.html to see an example of how to use GetPipeline API. A default retry strategy applies to this operation GetPipeline()
func (client DataScienceClient) GetPipelineRun(ctx context.Context, request GetPipelineRunRequest) (response GetPipelineRunResponse, err error)
GetPipelineRun Gets a PipelineRun by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetPipelineRun.go.html to see an example of how to use GetPipelineRun API. A default retry strategy applies to this operation GetPipelineRun()
func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Gets the specified project's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetProject.go.html to see an example of how to use GetProject API. A default retry strategy applies to this operation GetProject()
func (client DataScienceClient) GetStepArtifactContent(ctx context.Context, request GetStepArtifactContentRequest) (response GetStepArtifactContentResponse, err error)
GetStepArtifactContent Download the artifact for a step in the pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetStepArtifactContent.go.html to see an example of how to use GetStepArtifactContent API. A default retry strategy applies to this operation GetStepArtifactContent()
func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the specified work request's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DataScienceClient) HeadJobArtifact(ctx context.Context, request HeadJobArtifactRequest) (response HeadJobArtifactResponse, err error)
HeadJobArtifact Gets job artifact metadata.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifact API. A default retry strategy applies to this operation HeadJobArtifact()
func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
HeadModelArtifact Gets model artifact metadata for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifact API. A default retry strategy applies to this operation HeadModelArtifact()
func (client DataScienceClient) HeadStepArtifact(ctx context.Context, request HeadStepArtifactRequest) (response HeadStepArtifactResponse, err error)
HeadStepArtifact Get the artifact metadata for a step in the pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadStepArtifact.go.html to see an example of how to use HeadStepArtifact API. A default retry strategy applies to this operation HeadStepArtifact()
func (client DataScienceClient) ImportModelArtifact(ctx context.Context, request ImportModelArtifactRequest) (response ImportModelArtifactResponse, err error)
ImportModelArtifact Import model artifact from service bucket
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ImportModelArtifact.go.html to see an example of how to use ImportModelArtifact API.
func (client DataScienceClient) ListDataSciencePrivateEndpoints(ctx context.Context, request ListDataSciencePrivateEndpointsRequest) (response ListDataSciencePrivateEndpointsResponse, err error)
ListDataSciencePrivateEndpoints Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListDataSciencePrivateEndpoints.go.html to see an example of how to use ListDataSciencePrivateEndpoints API. A default retry strategy applies to this operation ListDataSciencePrivateEndpoints()
func (client DataScienceClient) ListFastLaunchJobConfigs(ctx context.Context, request ListFastLaunchJobConfigsRequest) (response ListFastLaunchJobConfigsResponse, err error)
ListFastLaunchJobConfigs List fast launch capable job configs in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListFastLaunchJobConfigs.go.html to see an example of how to use ListFastLaunchJobConfigs API. A default retry strategy applies to this operation ListFastLaunchJobConfigs()
func (client DataScienceClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
ListJobRuns List out job runs.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobRuns.go.html to see an example of how to use ListJobRuns API. A default retry strategy applies to this operation ListJobRuns()
func (client DataScienceClient) ListJobShapes(ctx context.Context, request ListJobShapesRequest) (response ListJobShapesResponse, err error)
ListJobShapes List job shapes available in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapes API. A default retry strategy applies to this operation ListJobShapes()
func (client DataScienceClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
ListJobs List jobs in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobs.go.html to see an example of how to use ListJobs API. A default retry strategy applies to this operation ListJobs()
func (client DataScienceClient) ListModelDeploymentShapes(ctx context.Context, request ListModelDeploymentShapesRequest) (response ListModelDeploymentShapesResponse, err error)
ListModelDeploymentShapes Lists the valid model deployment shapes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapes API. A default retry strategy applies to this operation ListModelDeploymentShapes()
func (client DataScienceClient) ListModelDeployments(ctx context.Context, request ListModelDeploymentsRequest) (response ListModelDeploymentsResponse, err error)
ListModelDeployments Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeployments API. A default retry strategy applies to this operation ListModelDeployments()
func (client DataScienceClient) ListModelVersionSets(ctx context.Context, request ListModelVersionSetsRequest) (response ListModelVersionSetsResponse, err error)
ListModelVersionSets Lists model version sets in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelVersionSets.go.html to see an example of how to use ListModelVersionSets API. A default retry strategy applies to this operation ListModelVersionSets()
func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Lists models in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModels.go.html to see an example of how to use ListModels API. A default retry strategy applies to this operation ListModels()
func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
ListNotebookSessionShapes Lists the valid notebook session shapes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapes API. A default retry strategy applies to this operation ListNotebookSessionShapes()
func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
ListNotebookSessions Lists the notebook sessions in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessions API. A default retry strategy applies to this operation ListNotebookSessions()
func (client DataScienceClient) ListPipelineRuns(ctx context.Context, request ListPipelineRunsRequest) (response ListPipelineRunsResponse, err error)
ListPipelineRuns Returns a list of PipelineRuns.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListPipelineRuns.go.html to see an example of how to use ListPipelineRuns API. A default retry strategy applies to this operation ListPipelineRuns()
func (client DataScienceClient) ListPipelines(ctx context.Context, request ListPipelinesRequest) (response ListPipelinesResponse, err error)
ListPipelines Returns a list of Pipelines.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListPipelines.go.html to see an example of how to use ListPipelines API. A default retry strategy applies to this operation ListPipelines()
func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Lists projects in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListProjects.go.html to see an example of how to use ListProjects API. A default retry strategy applies to this operation ListProjects()
func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists work request errors for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists work request logs for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists work requests in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *DataScienceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DataScienceClient) UpdateDataSciencePrivateEndpoint(ctx context.Context, request UpdateDataSciencePrivateEndpointRequest) (response UpdateDataSciencePrivateEndpointResponse, err error)
UpdateDataSciencePrivateEndpoint Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint match a previously defined private endpoint, then a 409 status code is returned. This indicates that a conflict has been detected.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateDataSciencePrivateEndpoint.go.html to see an example of how to use UpdateDataSciencePrivateEndpoint API.
func (client DataScienceClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateJob.go.html to see an example of how to use UpdateJob API. A default retry strategy applies to this operation UpdateJob()
func (client DataScienceClient) UpdateJobRun(ctx context.Context, request UpdateJobRunRequest) (response UpdateJobRunResponse, err error)
UpdateJobRun Updates a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRun API. A default retry strategy applies to this operation UpdateJobRun()
func (client DataScienceClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
UpdateModel Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModel.go.html to see an example of how to use UpdateModel API. A default retry strategy applies to this operation UpdateModel()
func (client DataScienceClient) UpdateModelDeployment(ctx context.Context, request UpdateModelDeploymentRequest) (response UpdateModelDeploymentResponse, err error)
UpdateModelDeployment Updates the properties of a model deployment. Some of the properties of `modelDeploymentConfigurationDetails` or `CategoryLogDetails` can also be updated with zero down time when the model deployment's lifecycle state is ACTIVE or NEEDS_ATTENTION i.e `instanceShapeName`, `instanceCount` and `modelId`, separately `loadBalancerShape` or `CategoryLogDetails` can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the model deployment is activated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeployment API. A default retry strategy applies to this operation UpdateModelDeployment()
func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
UpdateModelProvenance Updates the provenance information for the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenance API. A default retry strategy applies to this operation UpdateModelProvenance()
func (client DataScienceClient) UpdateModelVersionSet(ctx context.Context, request UpdateModelVersionSetRequest) (response UpdateModelVersionSetResponse, err error)
UpdateModelVersionSet Updates the properties of a model version set. User can update the `description` property.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelVersionSet.go.html to see an example of how to use UpdateModelVersionSet API. A default retry strategy applies to this operation UpdateModelVersionSet()
func (client DataScienceClient) UpdateNotebookSession(ctx context.Context, request UpdateNotebookSessionRequest) (response UpdateNotebookSessionResponse, err error)
UpdateNotebookSession Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties. When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`. Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSession API. A default retry strategy applies to this operation UpdateNotebookSession()
func (client DataScienceClient) UpdatePipeline(ctx context.Context, request UpdatePipelineRequest) (response UpdatePipelineResponse, err error)
UpdatePipeline Updates the Pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdatePipeline.go.html to see an example of how to use UpdatePipeline API.
func (client DataScienceClient) UpdatePipelineRun(ctx context.Context, request UpdatePipelineRunRequest) (response UpdatePipelineRunResponse, err error)
UpdatePipelineRun Updates the PipelineRun.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdatePipelineRun.go.html to see an example of how to use UpdatePipelineRun API.
func (client DataScienceClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateProject.go.html to see an example of how to use UpdateProject API. A default retry strategy applies to this operation UpdateProject()
DataSciencePrivateEndpoint Data Science private endpoint.
type DataSciencePrivateEndpoint struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The OCID of a private endpoint. Id *string `mandatory:"true" json:"id"` // State of the Data Science private endpoint. LifecycleState DataSciencePrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID of a subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The date and time that the Data Science private endpoint was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2018-04-03T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time that the Data Science private endpoint was updated expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2018-04-03T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // A user friendly description. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Details of the state of Data Science private endpoint. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` // Accesing the Data Science resource using FQDN. Fqdn *string `mandatory:"false" json:"fqdn"` // Data Science resource type. DataScienceResourceType DataScienceResourceTypeEnum `mandatory:"false" json:"dataScienceResourceType,omitempty"` }
func (m DataSciencePrivateEndpoint) String() string
func (m DataSciencePrivateEndpoint) 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
DataSciencePrivateEndpointLifecycleStateEnum Enum with underlying type: string
type DataSciencePrivateEndpointLifecycleStateEnum string
Set of constants representing the allowable values for DataSciencePrivateEndpointLifecycleStateEnum
const ( DataSciencePrivateEndpointLifecycleStateCreating DataSciencePrivateEndpointLifecycleStateEnum = "CREATING" DataSciencePrivateEndpointLifecycleStateActive DataSciencePrivateEndpointLifecycleStateEnum = "ACTIVE" DataSciencePrivateEndpointLifecycleStateUpdating DataSciencePrivateEndpointLifecycleStateEnum = "UPDATING" DataSciencePrivateEndpointLifecycleStateDeleting DataSciencePrivateEndpointLifecycleStateEnum = "DELETING" DataSciencePrivateEndpointLifecycleStateDeleted DataSciencePrivateEndpointLifecycleStateEnum = "DELETED" DataSciencePrivateEndpointLifecycleStateFailed DataSciencePrivateEndpointLifecycleStateEnum = "FAILED" DataSciencePrivateEndpointLifecycleStateNeedsAttention DataSciencePrivateEndpointLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetDataSciencePrivateEndpointLifecycleStateEnumValues() []DataSciencePrivateEndpointLifecycleStateEnum
GetDataSciencePrivateEndpointLifecycleStateEnumValues Enumerates the set of values for DataSciencePrivateEndpointLifecycleStateEnum
func GetMappingDataSciencePrivateEndpointLifecycleStateEnum(val string) (DataSciencePrivateEndpointLifecycleStateEnum, bool)
GetMappingDataSciencePrivateEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DataSciencePrivateEndpointSummary List of Data Science private endpoints.
type DataSciencePrivateEndpointSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private Endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // The OCID of a private endpoint. Id *string `mandatory:"true" json:"id"` // State of a private endpoint. LifecycleState DataSciencePrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Details of the state of a private endpoint. LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"` // Data Science resource type. DataScienceResourceType DataScienceResourceTypeEnum `mandatory:"true" json:"dataScienceResourceType"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID of a subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // Accesing Data Science resource using FQDN. Fqdn *string `mandatory:"true" json:"fqdn"` // The date and time that the Data Science private endpoint was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2018-04-03T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time that the Data Science private endpoint was updated expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2018-04-03T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m DataSciencePrivateEndpointSummary) String() string
func (m DataSciencePrivateEndpointSummary) 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
DataScienceResourceTypeEnum Enum with underlying type: string
type DataScienceResourceTypeEnum string
Set of constants representing the allowable values for DataScienceResourceTypeEnum
const ( DataScienceResourceTypeNotebookSession DataScienceResourceTypeEnum = "NOTEBOOK_SESSION" )
func GetDataScienceResourceTypeEnumValues() []DataScienceResourceTypeEnum
GetDataScienceResourceTypeEnumValues Enumerates the set of values for DataScienceResourceTypeEnum
func GetMappingDataScienceResourceTypeEnum(val string) (DataScienceResourceTypeEnum, bool)
GetMappingDataScienceResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeactivateModelDeploymentRequest wrapper for the DeactivateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeploymentRequest.
type DeactivateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // 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 is 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, then provide the request ID. 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 (request DeactivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateModelDeploymentRequest) String() string
func (request DeactivateModelDeploymentRequest) 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
DeactivateModelDeploymentResponse wrapper for the DeactivateModelDeployment operation
type DeactivateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateModelDeploymentResponse) String() string
DeactivateModelRequest wrapper for the DeactivateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModelRequest.
type DeactivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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 is 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, then provide the request ID. 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 (request DeactivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateModelRequest) String() string
func (request DeactivateModelRequest) 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
DeactivateModelResponse wrapper for the DeactivateModel operation
type DeactivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateModelResponse) String() string
DeactivateNotebookSessionRequest wrapper for the DeactivateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSessionRequest.
type DeactivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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 is 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, then provide the request ID. 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 (request DeactivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateNotebookSessionRequest) String() string
func (request DeactivateNotebookSessionRequest) 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
DeactivateNotebookSessionResponse wrapper for the DeactivateNotebookSession operation
type DeactivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateNotebookSessionResponse) String() string
DefaultJobConfigurationDetails The default job configuration.
type DefaultJobConfigurationDetails struct { // Environment variables to set for the job. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` // The arguments to pass to the job. CommandLineArguments *string `mandatory:"false" json:"commandLineArguments"` // A time bound for the execution of the job. Timer starts when the job becomes active. MaximumRuntimeInMinutes *int64 `mandatory:"false" json:"maximumRuntimeInMinutes"` }
func (m DefaultJobConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultJobConfigurationDetails) String() string
func (m DefaultJobConfigurationDetails) 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
DefaultModelDeploymentEnvironmentConfigurationDetails The environment configuration details object for managed container
type DefaultModelDeploymentEnvironmentConfigurationDetails struct { // Environment variables to set for the web server container. // The size of envVars must be less than 2048 bytes. // Key should be under 32 characters. // Key should contain only letters, digits and underscore (_) // Key should start with a letter. // Key should have at least 2 characters. // Key should not end with underscore eg. `TEST_` // Key if added cannot be empty. Value can be empty. // No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. // Key can't be reserved Model Deployment environment variables. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` }
func (m DefaultModelDeploymentEnvironmentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultModelDeploymentEnvironmentConfigurationDetails) String() string
func (m DefaultModelDeploymentEnvironmentConfigurationDetails) 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
DeleteDataSciencePrivateEndpointRequest wrapper for the DeleteDataSciencePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteDataSciencePrivateEndpoint.go.html to see an example of how to use DeleteDataSciencePrivateEndpointRequest.
type DeleteDataSciencePrivateEndpointRequest struct { // The unique ID for a Data Science private endpoint. DataSciencePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSciencePrivateEndpointId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request DeleteDataSciencePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDataSciencePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDataSciencePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDataSciencePrivateEndpointRequest) String() string
func (request DeleteDataSciencePrivateEndpointRequest) 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
DeleteDataSciencePrivateEndpointResponse wrapper for the DeleteDataSciencePrivateEndpoint operation
type DeleteDataSciencePrivateEndpointResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response DeleteDataSciencePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDataSciencePrivateEndpointResponse) String() string
DeleteJobRequest wrapper for the DeleteJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
type DeleteJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // 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 is 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, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Delete all JobRuns associated with this job. DeleteRelatedJobRuns *bool `mandatory:"false" contributesTo:"query" name:"deleteRelatedJobRuns"` // 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 (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
func (request DeleteJobRequest) 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
DeleteJobResponse wrapper for the DeleteJob operation
type DeleteJobResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteJobRunRequest wrapper for the DeleteJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRunRequest.
type DeleteJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // 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 is 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, then provide the request ID. 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 (request DeleteJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRunRequest) String() string
func (request DeleteJobRunRequest) 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
DeleteJobRunResponse wrapper for the DeleteJobRun operation
type DeleteJobRunResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobRunResponse) String() string
DeleteModelDeploymentRequest wrapper for the DeleteModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeploymentRequest.
type DeleteModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // 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 is 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, then provide the request ID. 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 (request DeleteModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelDeploymentRequest) String() string
func (request DeleteModelDeploymentRequest) 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
DeleteModelDeploymentResponse wrapper for the DeleteModelDeployment operation
type DeleteModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelDeploymentResponse) String() string
DeleteModelRequest wrapper for the DeleteModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
type DeleteModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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 is 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, then provide the request ID. 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 (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelRequest) String() string
func (request DeleteModelRequest) 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
DeleteModelResponse wrapper for the DeleteModel operation
type DeleteModelResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelResponse) String() string
DeleteModelVersionSetRequest wrapper for the DeleteModelVersionSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteModelVersionSet.go.html to see an example of how to use DeleteModelVersionSetRequest.
type DeleteModelVersionSetRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. ModelVersionSetId *string `mandatory:"true" contributesTo:"path" name:"modelVersionSetId"` // By default, this parameter is false. A model version set can only be deleted if all the models associate with it are already in the DELETED state. // You can optionally specify the deleteRelatedModels boolean query parameters to true, which deletes all associated models for you. IsDeleteRelatedModels *bool `mandatory:"false" contributesTo:"query" name:"isDeleteRelatedModels"` // 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 is 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, then provide the request ID. 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 (request DeleteModelVersionSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelVersionSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelVersionSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelVersionSetRequest) String() string
func (request DeleteModelVersionSetRequest) 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
DeleteModelVersionSetResponse wrapper for the DeleteModelVersionSet operation
type DeleteModelVersionSetResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelVersionSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelVersionSetResponse) String() string
DeleteNotebookSessionRequest wrapper for the DeleteNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSessionRequest.
type DeleteNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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 is 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, then provide the request ID. 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 (request DeleteNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteNotebookSessionRequest) String() string
func (request DeleteNotebookSessionRequest) 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
DeleteNotebookSessionResponse wrapper for the DeleteNotebookSession operation
type DeleteNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteNotebookSessionResponse) String() string
DeletePipelineRequest wrapper for the DeletePipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeletePipeline.go.html to see an example of how to use DeletePipelineRequest.
type DeletePipelineRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // A boolean value to specify whether to delete related PipelineRuns or not. DeleteRelatedPipelineRuns *bool `mandatory:"false" contributesTo:"query" name:"deleteRelatedPipelineRuns"` // A boolean value to specify whether to delete related jobRuns or not. DeleteRelatedJobRuns *bool `mandatory:"false" contributesTo:"query" name:"deleteRelatedJobRuns"` // 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 is 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, then provide the request ID. 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 (request DeletePipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeletePipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeletePipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeletePipelineRequest) String() string
func (request DeletePipelineRequest) 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
DeletePipelineResponse wrapper for the DeletePipeline operation
type DeletePipelineResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeletePipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeletePipelineResponse) String() string
DeletePipelineRunRequest wrapper for the DeletePipelineRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeletePipelineRun.go.html to see an example of how to use DeletePipelineRunRequest.
type DeletePipelineRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. PipelineRunId *string `mandatory:"true" contributesTo:"path" name:"pipelineRunId"` // A boolean value to specify whether to delete related jobRuns or not. DeleteRelatedJobRuns *bool `mandatory:"false" contributesTo:"query" name:"deleteRelatedJobRuns"` // 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 is 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, then provide the request ID. 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 (request DeletePipelineRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeletePipelineRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeletePipelineRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeletePipelineRunRequest) String() string
func (request DeletePipelineRunRequest) 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
DeletePipelineRunResponse wrapper for the DeletePipelineRun operation
type DeletePipelineRunResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeletePipelineRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeletePipelineRunResponse) String() string
DeleteProjectRequest wrapper for the DeleteProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
type DeleteProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // 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 is 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, then provide the request ID. 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 (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProjectRequest) String() string
func (request DeleteProjectRequest) 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
DeleteProjectResponse wrapper for the DeleteProject operation
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProjectResponse) String() string
ExportModelArtifactDetails Details required for exporting the model artifact from source to service bucket
type ExportModelArtifactDetails struct { ArtifactExportDetails ArtifactExportDetails `mandatory:"true" json:"artifactExportDetails"` }
func (m ExportModelArtifactDetails) String() string
func (m *ExportModelArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExportModelArtifactDetails) 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
ExportModelArtifactRequest wrapper for the ExportModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ExportModelArtifact.go.html to see an example of how to use ExportModelArtifactRequest.
type ExportModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Model artifact source details for exporting. ExportModelArtifactDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 executing 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 purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 is 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"` // 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 (request ExportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExportModelArtifactRequest) String() string
func (request ExportModelArtifactRequest) 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
ExportModelArtifactResponse wrapper for the ExportModelArtifact operation
type ExportModelArtifactResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ExportModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExportModelArtifactResponse) String() string
FastLaunchJobConfigSummary The shape config to launch a fast launch capable job instance
type FastLaunchJobConfigSummary struct { // The name of the fast launch job config Name *string `mandatory:"true" json:"name"` // The name of the fast launch job shape. ShapeName *string `mandatory:"true" json:"shapeName"` // The number of cores associated with this fast launch job shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The number of cores associated with this fast launch job shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries FastLaunchJobConfigSummaryShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` // The managed egress support ManagedEgressSupport FastLaunchJobConfigSummaryManagedEgressSupportEnum `mandatory:"true" json:"managedEgressSupport"` }
func (m FastLaunchJobConfigSummary) String() string
func (m FastLaunchJobConfigSummary) 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
FastLaunchJobConfigSummaryManagedEgressSupportEnum Enum with underlying type: string
type FastLaunchJobConfigSummaryManagedEgressSupportEnum string
Set of constants representing the allowable values for FastLaunchJobConfigSummaryManagedEgressSupportEnum
const ( FastLaunchJobConfigSummaryManagedEgressSupportRequired FastLaunchJobConfigSummaryManagedEgressSupportEnum = "REQUIRED" FastLaunchJobConfigSummaryManagedEgressSupportSupported FastLaunchJobConfigSummaryManagedEgressSupportEnum = "SUPPORTED" FastLaunchJobConfigSummaryManagedEgressSupportUnsupported FastLaunchJobConfigSummaryManagedEgressSupportEnum = "UNSUPPORTED" )
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumValues() []FastLaunchJobConfigSummaryManagedEgressSupportEnum
GetFastLaunchJobConfigSummaryManagedEgressSupportEnumValues Enumerates the set of values for FastLaunchJobConfigSummaryManagedEgressSupportEnum
func GetMappingFastLaunchJobConfigSummaryManagedEgressSupportEnum(val string) (FastLaunchJobConfigSummaryManagedEgressSupportEnum, bool)
GetMappingFastLaunchJobConfigSummaryManagedEgressSupportEnum performs case Insensitive comparison on enum value and return the desired enum
FastLaunchJobConfigSummaryShapeSeriesEnum Enum with underlying type: string
type FastLaunchJobConfigSummaryShapeSeriesEnum string
Set of constants representing the allowable values for FastLaunchJobConfigSummaryShapeSeriesEnum
const ( FastLaunchJobConfigSummaryShapeSeriesAmdRome FastLaunchJobConfigSummaryShapeSeriesEnum = "AMD_ROME" FastLaunchJobConfigSummaryShapeSeriesIntelSkylake FastLaunchJobConfigSummaryShapeSeriesEnum = "INTEL_SKYLAKE" FastLaunchJobConfigSummaryShapeSeriesNvidiaGpu FastLaunchJobConfigSummaryShapeSeriesEnum = "NVIDIA_GPU" FastLaunchJobConfigSummaryShapeSeriesGeneric FastLaunchJobConfigSummaryShapeSeriesEnum = "GENERIC" FastLaunchJobConfigSummaryShapeSeriesLegacy FastLaunchJobConfigSummaryShapeSeriesEnum = "LEGACY" FastLaunchJobConfigSummaryShapeSeriesArm FastLaunchJobConfigSummaryShapeSeriesEnum = "ARM" )
func GetFastLaunchJobConfigSummaryShapeSeriesEnumValues() []FastLaunchJobConfigSummaryShapeSeriesEnum
GetFastLaunchJobConfigSummaryShapeSeriesEnumValues Enumerates the set of values for FastLaunchJobConfigSummaryShapeSeriesEnum
func GetMappingFastLaunchJobConfigSummaryShapeSeriesEnum(val string) (FastLaunchJobConfigSummaryShapeSeriesEnum, bool)
GetMappingFastLaunchJobConfigSummaryShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
FileStorageMountConfigurationDetails The File Storage Mount Configuration Details.
type FileStorageMountConfigurationDetails struct { // The local directory name to be mounted DestinationDirectoryName *string `mandatory:"true" json:"destinationDirectoryName"` // OCID of the mount target MountTargetId *string `mandatory:"true" json:"mountTargetId"` // OCID of the export ExportId *string `mandatory:"true" json:"exportId"` // The local path of the mounted directory, excluding directory name. DestinationPath *string `mandatory:"false" json:"destinationPath"` }
func (m FileStorageMountConfigurationDetails) GetDestinationDirectoryName() *string
GetDestinationDirectoryName returns DestinationDirectoryName
func (m FileStorageMountConfigurationDetails) GetDestinationPath() *string
GetDestinationPath returns DestinationPath
func (m FileStorageMountConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FileStorageMountConfigurationDetails) String() string
func (m FileStorageMountConfigurationDetails) 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
FixedSizeScalingPolicy The fixed size scaling policy.
type FixedSizeScalingPolicy struct { // The number of instances for the model deployment. InstanceCount *int `mandatory:"true" json:"instanceCount"` }
func (m FixedSizeScalingPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FixedSizeScalingPolicy) String() string
func (m FixedSizeScalingPolicy) 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
GetDataSciencePrivateEndpointRequest wrapper for the GetDataSciencePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetDataSciencePrivateEndpoint.go.html to see an example of how to use GetDataSciencePrivateEndpointRequest.
type GetDataSciencePrivateEndpointRequest struct { // The unique ID for a Data Science private endpoint. DataSciencePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSciencePrivateEndpointId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetDataSciencePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataSciencePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataSciencePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataSciencePrivateEndpointRequest) String() string
func (request GetDataSciencePrivateEndpointRequest) 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
GetDataSciencePrivateEndpointResponse wrapper for the GetDataSciencePrivateEndpoint operation
type GetDataSciencePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DataSciencePrivateEndpoint instance DataSciencePrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDataSciencePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataSciencePrivateEndpointResponse) String() string
GetJobArtifactContentRequest wrapper for the GetJobArtifactContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContentRequest.
type GetJobArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // 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 (request GetJobArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobArtifactContentRequest) String() string
func (request GetJobArtifactContentRequest) 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
GetJobArtifactContentResponse wrapper for the GetJobArtifactContent operation
type GetJobArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` }
func (response GetJobArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobArtifactContentResponse) String() string
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJob.go.html to see an example of how to use GetJobRequest.
type GetJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
func (request GetJobRequest) 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
GetJobResponse wrapper for the GetJob operation
type GetJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetJobRunRequest wrapper for the GetJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetJobRun.go.html to see an example of how to use GetJobRunRequest.
type GetJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRunRequest) String() string
func (request GetJobRunRequest) 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
GetJobRunResponse wrapper for the GetJobRun operation
type GetJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobRunResponse) String() string
GetModelArtifactContentRequest wrapper for the GetModelArtifactContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContentRequest.
type GetModelArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // 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 (request GetModelArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelArtifactContentRequest) String() string
func (request GetModelArtifactContentRequest) 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
GetModelArtifactContentResponse wrapper for the GetModelArtifactContent operation
type GetModelArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response GetModelArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelArtifactContentResponse) String() string
GetModelDeploymentRequest wrapper for the GetModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeploymentRequest.
type GetModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelDeploymentRequest) String() string
func (request GetModelDeploymentRequest) 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
GetModelDeploymentResponse wrapper for the GetModelDeployment operation
type GetModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The ModelDeployment instance ModelDeployment `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelDeploymentResponse) String() string
GetModelProvenanceRequest wrapper for the GetModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenanceRequest.
type GetModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelProvenanceRequest) String() string
func (request GetModelProvenanceRequest) 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
GetModelProvenanceResponse wrapper for the GetModelProvenance operation
type GetModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelProvenanceResponse) String() string
GetModelRequest wrapper for the GetModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModel.go.html to see an example of how to use GetModelRequest.
type GetModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelRequest) String() string
func (request GetModelRequest) 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
GetModelResponse wrapper for the GetModel operation
type GetModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelResponse) String() string
GetModelVersionSetRequest wrapper for the GetModelVersionSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetModelVersionSet.go.html to see an example of how to use GetModelVersionSetRequest.
type GetModelVersionSetRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. ModelVersionSetId *string `mandatory:"true" contributesTo:"path" name:"modelVersionSetId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetModelVersionSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelVersionSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelVersionSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelVersionSetRequest) String() string
func (request GetModelVersionSetRequest) 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
GetModelVersionSetResponse wrapper for the GetModelVersionSet operation
type GetModelVersionSetResponse struct { // The underlying http response RawResponse *http.Response // The ModelVersionSet instance ModelVersionSet `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelVersionSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelVersionSetResponse) String() string
GetNotebookSessionRequest wrapper for the GetNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSessionRequest.
type GetNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNotebookSessionRequest) String() string
func (request GetNotebookSessionRequest) 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
GetNotebookSessionResponse wrapper for the GetNotebookSession operation
type GetNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNotebookSessionResponse) String() string
GetPipelineRequest wrapper for the GetPipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetPipeline.go.html to see an example of how to use GetPipelineRequest.
type GetPipelineRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPipelineRequest) String() string
func (request GetPipelineRequest) 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
GetPipelineResponse wrapper for the GetPipeline operation
type GetPipelineResponse struct { // The underlying http response RawResponse *http.Response // The Pipeline instance Pipeline `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPipelineResponse) String() string
GetPipelineRunRequest wrapper for the GetPipelineRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetPipelineRun.go.html to see an example of how to use GetPipelineRunRequest.
type GetPipelineRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. PipelineRunId *string `mandatory:"true" contributesTo:"path" name:"pipelineRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetPipelineRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPipelineRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPipelineRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPipelineRunRequest) String() string
func (request GetPipelineRunRequest) 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
GetPipelineRunResponse wrapper for the GetPipelineRun operation
type GetPipelineRunResponse struct { // The underlying http response RawResponse *http.Response // The PipelineRun instance PipelineRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetPipelineRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPipelineRunResponse) String() string
GetProjectRequest wrapper for the GetProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetProject.go.html to see an example of how to use GetProjectRequest.
type GetProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProjectRequest) String() string
func (request GetProjectRequest) 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
GetProjectResponse wrapper for the GetProject operation
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProjectResponse) String() string
GetStepArtifactContentRequest wrapper for the GetStepArtifactContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetStepArtifactContent.go.html to see an example of how to use GetStepArtifactContentRequest.
type GetStepArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // Unique Step identifier in a pipeline. StepName *string `mandatory:"true" contributesTo:"path" name:"stepName"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // 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 (request GetStepArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStepArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStepArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStepArtifactContentRequest) String() string
func (request GetStepArtifactContentRequest) 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
GetStepArtifactContentResponse wrapper for the GetStepArtifactContent operation
type GetStepArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` }
func (response GetStepArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStepArtifactContentResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the 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, then provide the request ID. 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 (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
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 ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Indicates the number of seconds to wait before making a follow-up request. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HeadJobArtifactRequest wrapper for the HeadJobArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifactRequest.
type HeadJobArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request HeadJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadJobArtifactRequest) String() string
func (request HeadJobArtifactRequest) 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
HeadJobArtifactResponse wrapper for the HeadJobArtifact operation
type HeadJobArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response HeadJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadJobArtifactResponse) String() string
HeadModelArtifactRequest wrapper for the HeadModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifactRequest.
type HeadModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request HeadModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadModelArtifactRequest) String() string
func (request HeadModelArtifactRequest) 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
HeadModelArtifactResponse wrapper for the HeadModelArtifact operation
type HeadModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response HeadModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadModelArtifactResponse) String() string
HeadStepArtifactRequest wrapper for the HeadStepArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/HeadStepArtifact.go.html to see an example of how to use HeadStepArtifactRequest.
type HeadStepArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // Unique Step identifier in a pipeline. StepName *string `mandatory:"true" contributesTo:"path" name:"stepName"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. 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 (request HeadStepArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadStepArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadStepArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadStepArtifactRequest) String() string
func (request HeadStepArtifactRequest) 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
HeadStepArtifactResponse wrapper for the HeadStepArtifact operation
type HeadStepArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response HeadStepArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadStepArtifactResponse) String() string
ImportModelArtifactDetails Details required for importing the artifact from service bucket
type ImportModelArtifactDetails struct { ArtifactImportDetails ArtifactImportDetails `mandatory:"true" json:"artifactImportDetails"` }
func (m ImportModelArtifactDetails) String() string
func (m *ImportModelArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ImportModelArtifactDetails) 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
ImportModelArtifactRequest wrapper for the ImportModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ImportModelArtifact.go.html to see an example of how to use ImportModelArtifactRequest.
type ImportModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Model artifact source details for importing. ImportModelArtifactDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request ImportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ImportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ImportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ImportModelArtifactRequest) String() string
func (request ImportModelArtifactRequest) 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
ImportModelArtifactResponse wrapper for the ImportModelArtifact operation
type ImportModelArtifactResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ImportModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ImportModelArtifactResponse) String() string
InstanceConfiguration The model deployment instance configuration
type InstanceConfiguration struct { // The shape used to launch the model deployment instances. InstanceShapeName *string `mandatory:"true" json:"instanceShapeName"` ModelDeploymentInstanceShapeConfigDetails *ModelDeploymentInstanceShapeConfigDetails `mandatory:"false" json:"modelDeploymentInstanceShapeConfigDetails"` // A model deployment instance is provided with a VNIC for network access. This specifies the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress. SubnetId *string `mandatory:"false" json:"subnetId"` }
func (m InstanceConfiguration) String() string
func (m InstanceConfiguration) 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
InstancePoolModelDeploymentSystemData Instance pool based model deployment system data.
type InstancePoolModelDeploymentSystemData struct { // This value is the current count of the model deployment instances. CurrentInstanceCount *int `mandatory:"false" json:"currentInstanceCount"` }
func (m InstancePoolModelDeploymentSystemData) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InstancePoolModelDeploymentSystemData) String() string
func (m InstancePoolModelDeploymentSystemData) 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
Job A job for training models.
type Job struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` JobConfigurationDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // The state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` JobEnvironmentConfigurationDetails JobEnvironmentConfigurationDetails `mandatory:"false" json:"jobEnvironmentConfigurationDetails"` JobLogConfigurationDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationDetails"` // Collection of JobStorageMountConfigurationDetails. JobStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"jobStorageMountConfigurationDetailsList"` // The state of the job. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m Job) String() string
func (m *Job) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m Job) 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
JobConfigurationDetails The job configuration details
type JobConfigurationDetails interface { }
JobConfigurationDetailsJobTypeEnum Enum with underlying type: string
type JobConfigurationDetailsJobTypeEnum string
Set of constants representing the allowable values for JobConfigurationDetailsJobTypeEnum
const ( JobConfigurationDetailsJobTypeDefault JobConfigurationDetailsJobTypeEnum = "DEFAULT" )
func GetJobConfigurationDetailsJobTypeEnumValues() []JobConfigurationDetailsJobTypeEnum
GetJobConfigurationDetailsJobTypeEnumValues Enumerates the set of values for JobConfigurationDetailsJobTypeEnum
func GetMappingJobConfigurationDetailsJobTypeEnum(val string) (JobConfigurationDetailsJobTypeEnum, bool)
GetMappingJobConfigurationDetailsJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobEnvironmentConfigurationDetails Environment configuration to capture job runtime dependencies.
type JobEnvironmentConfigurationDetails interface { }
JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum Enum with underlying type: string
type JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum string
Set of constants representing the allowable values for JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum
const ( JobEnvironmentConfigurationDetailsJobEnvironmentTypeOcirContainer JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum = "OCIR_CONTAINER" )
func GetJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnumValues() []JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum
GetJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnumValues Enumerates the set of values for JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum
func GetMappingJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum(val string) (JobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum, bool)
GetMappingJobEnvironmentConfigurationDetailsJobEnvironmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobInfrastructureConfigurationDetails The job infrastructure configuration details (shape, block storage, etc.)
type JobInfrastructureConfigurationDetails interface { }
JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum Enum with underlying type: string
type JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum string
Set of constants representing the allowable values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
const ( JobInfrastructureConfigurationDetailsJobInfrastructureTypeStandalone JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum = "STANDALONE" JobInfrastructureConfigurationDetailsJobInfrastructureTypeMeStandalone JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum = "ME_STANDALONE" )
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues() []JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues Enumerates the set of values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
func GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum(val string) (JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum, bool)
GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobLifecycleStateEnum Enum with underlying type: string
type JobLifecycleStateEnum string
Set of constants representing the allowable values for JobLifecycleStateEnum
const ( JobLifecycleStateCreating JobLifecycleStateEnum = "CREATING" JobLifecycleStateActive JobLifecycleStateEnum = "ACTIVE" JobLifecycleStateDeleting JobLifecycleStateEnum = "DELETING" JobLifecycleStateFailed JobLifecycleStateEnum = "FAILED" JobLifecycleStateDeleted JobLifecycleStateEnum = "DELETED" )
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
func GetMappingJobLifecycleStateEnum(val string) (JobLifecycleStateEnum, bool)
GetMappingJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
JobLogConfigurationDetails Logging configuration for resource.
type JobLogConfigurationDetails struct { // If customer logging is enabled for job runs. EnableLogging *bool `mandatory:"false" json:"enableLogging"` // If automatic on-behalf-of log object creation is enabled for job runs. EnableAutoLogCreation *bool `mandatory:"false" json:"enableAutoLogCreation"` // The log group id for where log objects are for job runs. LogGroupId *string `mandatory:"false" json:"logGroupId"` // The log id the job run will push logs too. LogId *string `mandatory:"false" json:"logId"` }
func (m JobLogConfigurationDetails) String() string
func (m JobLogConfigurationDetails) 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
JobRun A job run.
type JobRun struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. Id *string `mandatory:"true" json:"id"` // The date and time the job run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobId *string `mandatory:"true" json:"jobId"` JobConfigurationOverrideDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationOverrideDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // The state of the job run. LifecycleState JobRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the job run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the job run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` JobEnvironmentConfigurationOverrideDetails JobEnvironmentConfigurationDetails `mandatory:"false" json:"jobEnvironmentConfigurationOverrideDetails"` JobLogConfigurationOverrideDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationOverrideDetails"` // Collection of JobStorageMountConfigurationDetails. JobStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"jobStorageMountConfigurationDetailsList"` LogDetails *JobRunLogDetails `mandatory:"false" json:"logDetails"` // Details of the state of the job run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m JobRun) String() string
func (m *JobRun) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m JobRun) 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
JobRunLifecycleStateEnum Enum with underlying type: string
type JobRunLifecycleStateEnum string
Set of constants representing the allowable values for JobRunLifecycleStateEnum
const ( JobRunLifecycleStateAccepted JobRunLifecycleStateEnum = "ACCEPTED" JobRunLifecycleStateInProgress JobRunLifecycleStateEnum = "IN_PROGRESS" JobRunLifecycleStateFailed JobRunLifecycleStateEnum = "FAILED" JobRunLifecycleStateSucceeded JobRunLifecycleStateEnum = "SUCCEEDED" JobRunLifecycleStateCanceling JobRunLifecycleStateEnum = "CANCELING" JobRunLifecycleStateCanceled JobRunLifecycleStateEnum = "CANCELED" JobRunLifecycleStateDeleted JobRunLifecycleStateEnum = "DELETED" JobRunLifecycleStateNeedsAttention JobRunLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetJobRunLifecycleStateEnumValues() []JobRunLifecycleStateEnum
GetJobRunLifecycleStateEnumValues Enumerates the set of values for JobRunLifecycleStateEnum
func GetMappingJobRunLifecycleStateEnum(val string) (JobRunLifecycleStateEnum, bool)
GetMappingJobRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
JobRunLogDetails Customer logging details for job run.
type JobRunLogDetails struct { // The log group id for where log objects will be for job runs. LogGroupId *string `mandatory:"true" json:"logGroupId"` // The log id of the log object the job run logs will be shipped to. LogId *string `mandatory:"true" json:"logId"` }
func (m JobRunLogDetails) String() string
func (m JobRunLogDetails) 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
JobRunSummary Summary information for a Job.
type JobRunSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. Id *string `mandatory:"true" json:"id"` // The date and time the job run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobId *string `mandatory:"true" json:"jobId"` // The state of the job. LifecycleState JobRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the job run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the job run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Details of the state of the job run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m JobRunSummary) String() string
func (m JobRunSummary) 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
JobShapeConfigDetails Details for the job run shape configuration. Specify only when a flex shape is selected.
type JobShapeConfigDetails struct { // The total number of OCPUs available to the job run instance. Ocpus *float32 `mandatory:"false" json:"ocpus"` // The total amount of memory available to the job run instance, in gigabytes. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` }
func (m JobShapeConfigDetails) String() string
func (m JobShapeConfigDetails) 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
JobShapeSummary The compute shape used to launch a job compute instance.
type JobShapeSummary struct { // The name of the job shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this job run shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The number of cores associated with this job shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries JobShapeSummaryShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` }
func (m JobShapeSummary) String() string
func (m JobShapeSummary) 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
JobShapeSummaryShapeSeriesEnum Enum with underlying type: string
type JobShapeSummaryShapeSeriesEnum string
Set of constants representing the allowable values for JobShapeSummaryShapeSeriesEnum
const ( JobShapeSummaryShapeSeriesAmdRome JobShapeSummaryShapeSeriesEnum = "AMD_ROME" JobShapeSummaryShapeSeriesIntelSkylake JobShapeSummaryShapeSeriesEnum = "INTEL_SKYLAKE" JobShapeSummaryShapeSeriesNvidiaGpu JobShapeSummaryShapeSeriesEnum = "NVIDIA_GPU" JobShapeSummaryShapeSeriesGeneric JobShapeSummaryShapeSeriesEnum = "GENERIC" JobShapeSummaryShapeSeriesLegacy JobShapeSummaryShapeSeriesEnum = "LEGACY" JobShapeSummaryShapeSeriesArm JobShapeSummaryShapeSeriesEnum = "ARM" )
func GetJobShapeSummaryShapeSeriesEnumValues() []JobShapeSummaryShapeSeriesEnum
GetJobShapeSummaryShapeSeriesEnumValues Enumerates the set of values for JobShapeSummaryShapeSeriesEnum
func GetMappingJobShapeSummaryShapeSeriesEnum(val string) (JobShapeSummaryShapeSeriesEnum, bool)
GetMappingJobShapeSummaryShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
JobSummary Summary information for a Job.
type JobSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m JobSummary) String() string
func (m JobSummary) 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
ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum Enum with underlying type: string
type ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum string
Set of constants representing the allowable values for ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum
const ( ListDataSciencePrivateEndpointsDataScienceResourceTypeNotebookSession ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum = "NOTEBOOK_SESSION" )
func GetListDataSciencePrivateEndpointsDataScienceResourceTypeEnumValues() []ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum
GetListDataSciencePrivateEndpointsDataScienceResourceTypeEnumValues Enumerates the set of values for ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum
func GetMappingListDataSciencePrivateEndpointsDataScienceResourceTypeEnum(val string) (ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum, bool)
GetMappingListDataSciencePrivateEndpointsDataScienceResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSciencePrivateEndpointsLifecycleStateEnum Enum with underlying type: string
type ListDataSciencePrivateEndpointsLifecycleStateEnum string
Set of constants representing the allowable values for ListDataSciencePrivateEndpointsLifecycleStateEnum
const ( ListDataSciencePrivateEndpointsLifecycleStateCreating ListDataSciencePrivateEndpointsLifecycleStateEnum = "CREATING" ListDataSciencePrivateEndpointsLifecycleStateActive ListDataSciencePrivateEndpointsLifecycleStateEnum = "ACTIVE" ListDataSciencePrivateEndpointsLifecycleStateUpdating ListDataSciencePrivateEndpointsLifecycleStateEnum = "UPDATING" ListDataSciencePrivateEndpointsLifecycleStateDeleting ListDataSciencePrivateEndpointsLifecycleStateEnum = "DELETING" ListDataSciencePrivateEndpointsLifecycleStateDeleted ListDataSciencePrivateEndpointsLifecycleStateEnum = "DELETED" ListDataSciencePrivateEndpointsLifecycleStateFailed ListDataSciencePrivateEndpointsLifecycleStateEnum = "FAILED" ListDataSciencePrivateEndpointsLifecycleStateNeedsAttention ListDataSciencePrivateEndpointsLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListDataSciencePrivateEndpointsLifecycleStateEnumValues() []ListDataSciencePrivateEndpointsLifecycleStateEnum
GetListDataSciencePrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDataSciencePrivateEndpointsLifecycleStateEnum
func GetMappingListDataSciencePrivateEndpointsLifecycleStateEnum(val string) (ListDataSciencePrivateEndpointsLifecycleStateEnum, bool)
GetMappingListDataSciencePrivateEndpointsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSciencePrivateEndpointsRequest wrapper for the ListDataSciencePrivateEndpoints operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListDataSciencePrivateEndpoints.go.html to see an example of how to use ListDataSciencePrivateEndpointsRequest.
type ListDataSciencePrivateEndpointsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The lifecycle state of the private endpoint. LifecycleState ListDataSciencePrivateEndpointsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The field used to sort the results. Multiple fields aren't supported. SortBy ListDataSciencePrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListDataSciencePrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // Resource types in the Data Science service such as notebooks. DataScienceResourceType ListDataSciencePrivateEndpointsDataScienceResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"dataScienceResourceType" 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 (request ListDataSciencePrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataSciencePrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataSciencePrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataSciencePrivateEndpointsRequest) String() string
func (request ListDataSciencePrivateEndpointsRequest) 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
ListDataSciencePrivateEndpointsResponse wrapper for the ListDataSciencePrivateEndpoints operation
type ListDataSciencePrivateEndpointsResponse struct { // The underlying http response RawResponse *http.Response // A list of []DataSciencePrivateEndpointSummary instances Items []DataSciencePrivateEndpointSummary `presentIn:"body"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListDataSciencePrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataSciencePrivateEndpointsResponse) String() string
ListDataSciencePrivateEndpointsSortByEnum Enum with underlying type: string
type ListDataSciencePrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListDataSciencePrivateEndpointsSortByEnum
const ( ListDataSciencePrivateEndpointsSortByTimecreated ListDataSciencePrivateEndpointsSortByEnum = "timeCreated" )
func GetListDataSciencePrivateEndpointsSortByEnumValues() []ListDataSciencePrivateEndpointsSortByEnum
GetListDataSciencePrivateEndpointsSortByEnumValues Enumerates the set of values for ListDataSciencePrivateEndpointsSortByEnum
func GetMappingListDataSciencePrivateEndpointsSortByEnum(val string) (ListDataSciencePrivateEndpointsSortByEnum, bool)
GetMappingListDataSciencePrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSciencePrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListDataSciencePrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListDataSciencePrivateEndpointsSortOrderEnum
const ( ListDataSciencePrivateEndpointsSortOrderAsc ListDataSciencePrivateEndpointsSortOrderEnum = "ASC" ListDataSciencePrivateEndpointsSortOrderDesc ListDataSciencePrivateEndpointsSortOrderEnum = "DESC" )
func GetListDataSciencePrivateEndpointsSortOrderEnumValues() []ListDataSciencePrivateEndpointsSortOrderEnum
GetListDataSciencePrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDataSciencePrivateEndpointsSortOrderEnum
func GetMappingListDataSciencePrivateEndpointsSortOrderEnum(val string) (ListDataSciencePrivateEndpointsSortOrderEnum, bool)
GetMappingListDataSciencePrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListFastLaunchJobConfigsRequest wrapper for the ListFastLaunchJobConfigs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListFastLaunchJobConfigs.go.html to see an example of how to use ListFastLaunchJobConfigsRequest.
type ListFastLaunchJobConfigsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListFastLaunchJobConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListFastLaunchJobConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListFastLaunchJobConfigsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListFastLaunchJobConfigsRequest) String() string
func (request ListFastLaunchJobConfigsRequest) 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
ListFastLaunchJobConfigsResponse wrapper for the ListFastLaunchJobConfigs operation
type ListFastLaunchJobConfigsResponse struct { // The underlying http response RawResponse *http.Response // A list of []FastLaunchJobConfigSummary instances Items []FastLaunchJobConfigSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListFastLaunchJobConfigsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListFastLaunchJobConfigsResponse) String() string
ListJobRunsLifecycleStateEnum Enum with underlying type: string
type ListJobRunsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobRunsLifecycleStateEnum
const ( ListJobRunsLifecycleStateAccepted ListJobRunsLifecycleStateEnum = "ACCEPTED" ListJobRunsLifecycleStateInProgress ListJobRunsLifecycleStateEnum = "IN_PROGRESS" ListJobRunsLifecycleStateFailed ListJobRunsLifecycleStateEnum = "FAILED" ListJobRunsLifecycleStateSucceeded ListJobRunsLifecycleStateEnum = "SUCCEEDED" ListJobRunsLifecycleStateCanceling ListJobRunsLifecycleStateEnum = "CANCELING" ListJobRunsLifecycleStateCanceled ListJobRunsLifecycleStateEnum = "CANCELED" ListJobRunsLifecycleStateDeleted ListJobRunsLifecycleStateEnum = "DELETED" ListJobRunsLifecycleStateNeedsAttention ListJobRunsLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListJobRunsLifecycleStateEnumValues() []ListJobRunsLifecycleStateEnum
GetListJobRunsLifecycleStateEnumValues Enumerates the set of values for ListJobRunsLifecycleStateEnum
func GetMappingListJobRunsLifecycleStateEnum(val string) (ListJobRunsLifecycleStateEnum, bool)
GetMappingListJobRunsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobRunsRequest wrapper for the ListJobRuns operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.
type ListJobRunsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListJobRunsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListJobRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListJobRunsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 (request ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobRunsRequest) String() string
func (request ListJobRunsRequest) 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
ListJobRunsResponse wrapper for the ListJobRuns operation
type ListJobRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobRunSummary instances Items []JobRunSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobRunsResponse) String() string
ListJobRunsSortByEnum Enum with underlying type: string
type ListJobRunsSortByEnum string
Set of constants representing the allowable values for ListJobRunsSortByEnum
const ( ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "timeCreated" ListJobRunsSortByDisplayname ListJobRunsSortByEnum = "displayName" )
func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum
GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum
func GetMappingListJobRunsSortByEnum(val string) (ListJobRunsSortByEnum, bool)
GetMappingListJobRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobRunsSortOrderEnum Enum with underlying type: string
type ListJobRunsSortOrderEnum string
Set of constants representing the allowable values for ListJobRunsSortOrderEnum
const ( ListJobRunsSortOrderAsc ListJobRunsSortOrderEnum = "ASC" ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC" )
func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum
GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum
func GetMappingListJobRunsSortOrderEnum(val string) (ListJobRunsSortOrderEnum, bool)
GetMappingListJobRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobShapesRequest wrapper for the ListJobShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapesRequest.
type ListJobShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobShapesRequest) String() string
func (request ListJobShapesRequest) 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
ListJobShapesResponse wrapper for the ListJobShapes operation
type ListJobShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobShapeSummary instances Items []JobShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobShapesResponse) String() string
ListJobsLifecycleStateEnum Enum with underlying type: string
type ListJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobsLifecycleStateEnum
const ( ListJobsLifecycleStateCreating ListJobsLifecycleStateEnum = "CREATING" ListJobsLifecycleStateActive ListJobsLifecycleStateEnum = "ACTIVE" ListJobsLifecycleStateDeleting ListJobsLifecycleStateEnum = "DELETING" ListJobsLifecycleStateFailed ListJobsLifecycleStateEnum = "FAILED" ListJobsLifecycleStateDeleted ListJobsLifecycleStateEnum = "DELETED" )
func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum
GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum
func GetMappingListJobsLifecycleStateEnum(val string) (ListJobsLifecycleStateEnum, bool)
GetMappingListJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListJobs.go.html to see an example of how to use ListJobsRequest.
type ListJobsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListJobsSortByEnum `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, then provide the request ID. 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 (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
func (request ListJobsRequest) 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
ListJobsResponse wrapper for the ListJobs operation
type ListJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobSummary instances Items []JobSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated" ListJobsSortByDisplayname ListJobsSortByEnum = "displayName" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
func GetMappingListJobsSortByEnum(val string) (ListJobsSortByEnum, bool)
GetMappingListJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
func GetMappingListJobsSortOrderEnum(val string) (ListJobsSortOrderEnum, bool)
GetMappingListJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelDeploymentShapesRequest wrapper for the ListModelDeploymentShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapesRequest.
type ListModelDeploymentShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModelDeploymentShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelDeploymentShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelDeploymentShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelDeploymentShapesRequest) String() string
func (request ListModelDeploymentShapesRequest) 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
ListModelDeploymentShapesResponse wrapper for the ListModelDeploymentShapes operation
type ListModelDeploymentShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelDeploymentShapeSummary instances Items []ModelDeploymentShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelDeploymentShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelDeploymentShapesResponse) String() string
ListModelDeploymentsLifecycleStateEnum Enum with underlying type: string
type ListModelDeploymentsLifecycleStateEnum string
Set of constants representing the allowable values for ListModelDeploymentsLifecycleStateEnum
const ( ListModelDeploymentsLifecycleStateCreating ListModelDeploymentsLifecycleStateEnum = "CREATING" ListModelDeploymentsLifecycleStateActive ListModelDeploymentsLifecycleStateEnum = "ACTIVE" ListModelDeploymentsLifecycleStateDeleting ListModelDeploymentsLifecycleStateEnum = "DELETING" ListModelDeploymentsLifecycleStateFailed ListModelDeploymentsLifecycleStateEnum = "FAILED" ListModelDeploymentsLifecycleStateInactive ListModelDeploymentsLifecycleStateEnum = "INACTIVE" ListModelDeploymentsLifecycleStateUpdating ListModelDeploymentsLifecycleStateEnum = "UPDATING" ListModelDeploymentsLifecycleStateDeleted ListModelDeploymentsLifecycleStateEnum = "DELETED" ListModelDeploymentsLifecycleStateNeedsAttention ListModelDeploymentsLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListModelDeploymentsLifecycleStateEnumValues() []ListModelDeploymentsLifecycleStateEnum
GetListModelDeploymentsLifecycleStateEnumValues Enumerates the set of values for ListModelDeploymentsLifecycleStateEnum
func GetMappingListModelDeploymentsLifecycleStateEnum(val string) (ListModelDeploymentsLifecycleStateEnum, bool)
GetMappingListModelDeploymentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelDeploymentsRequest wrapper for the ListModelDeployments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeploymentsRequest.
type ListModelDeploymentsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListModelDeploymentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListModelDeploymentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, results are shown // in descending order. When you sort by `displayName`, results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListModelDeploymentsSortByEnum `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, then provide the request ID. 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 (request ListModelDeploymentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelDeploymentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelDeploymentsRequest) String() string
func (request ListModelDeploymentsRequest) 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
ListModelDeploymentsResponse wrapper for the ListModelDeployments operation
type ListModelDeploymentsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelDeploymentSummary instances Items []ModelDeploymentSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelDeploymentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelDeploymentsResponse) String() string
ListModelDeploymentsSortByEnum Enum with underlying type: string
type ListModelDeploymentsSortByEnum string
Set of constants representing the allowable values for ListModelDeploymentsSortByEnum
const ( ListModelDeploymentsSortByTimecreated ListModelDeploymentsSortByEnum = "timeCreated" ListModelDeploymentsSortByDisplayname ListModelDeploymentsSortByEnum = "displayName" )
func GetListModelDeploymentsSortByEnumValues() []ListModelDeploymentsSortByEnum
GetListModelDeploymentsSortByEnumValues Enumerates the set of values for ListModelDeploymentsSortByEnum
func GetMappingListModelDeploymentsSortByEnum(val string) (ListModelDeploymentsSortByEnum, bool)
GetMappingListModelDeploymentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelDeploymentsSortOrderEnum Enum with underlying type: string
type ListModelDeploymentsSortOrderEnum string
Set of constants representing the allowable values for ListModelDeploymentsSortOrderEnum
const ( ListModelDeploymentsSortOrderAsc ListModelDeploymentsSortOrderEnum = "ASC" ListModelDeploymentsSortOrderDesc ListModelDeploymentsSortOrderEnum = "DESC" )
func GetListModelDeploymentsSortOrderEnumValues() []ListModelDeploymentsSortOrderEnum
GetListModelDeploymentsSortOrderEnumValues Enumerates the set of values for ListModelDeploymentsSortOrderEnum
func GetMappingListModelDeploymentsSortOrderEnum(val string) (ListModelDeploymentsSortOrderEnum, bool)
GetMappingListModelDeploymentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelVersionSetsLifecycleStateEnum Enum with underlying type: string
type ListModelVersionSetsLifecycleStateEnum string
Set of constants representing the allowable values for ListModelVersionSetsLifecycleStateEnum
const ( ListModelVersionSetsLifecycleStateActive ListModelVersionSetsLifecycleStateEnum = "ACTIVE" ListModelVersionSetsLifecycleStateDeleting ListModelVersionSetsLifecycleStateEnum = "DELETING" ListModelVersionSetsLifecycleStateDeleted ListModelVersionSetsLifecycleStateEnum = "DELETED" ListModelVersionSetsLifecycleStateFailed ListModelVersionSetsLifecycleStateEnum = "FAILED" )
func GetListModelVersionSetsLifecycleStateEnumValues() []ListModelVersionSetsLifecycleStateEnum
GetListModelVersionSetsLifecycleStateEnumValues Enumerates the set of values for ListModelVersionSetsLifecycleStateEnum
func GetMappingListModelVersionSetsLifecycleStateEnum(val string) (ListModelVersionSetsLifecycleStateEnum, bool)
GetMappingListModelVersionSetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelVersionSetsRequest wrapper for the ListModelVersionSets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModelVersionSets.go.html to see an example of how to use ListModelVersionSetsRequest.
type ListModelVersionSetsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // A filter to return only resources that match the entire name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListModelVersionSetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListModelVersionSetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown in descending order. SortBy ListModelVersionSetsSortByEnum `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, then provide the request ID. 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 (request ListModelVersionSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelVersionSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelVersionSetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelVersionSetsRequest) String() string
func (request ListModelVersionSetsRequest) 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
ListModelVersionSetsResponse wrapper for the ListModelVersionSets operation
type ListModelVersionSetsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelVersionSetSummary instances Items []ModelVersionSetSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelVersionSetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelVersionSetsResponse) String() string
ListModelVersionSetsSortByEnum Enum with underlying type: string
type ListModelVersionSetsSortByEnum string
Set of constants representing the allowable values for ListModelVersionSetsSortByEnum
const ( ListModelVersionSetsSortByTimecreated ListModelVersionSetsSortByEnum = "timeCreated" ListModelVersionSetsSortByName ListModelVersionSetsSortByEnum = "name" ListModelVersionSetsSortByLifecyclestate ListModelVersionSetsSortByEnum = "lifecycleState" )
func GetListModelVersionSetsSortByEnumValues() []ListModelVersionSetsSortByEnum
GetListModelVersionSetsSortByEnumValues Enumerates the set of values for ListModelVersionSetsSortByEnum
func GetMappingListModelVersionSetsSortByEnum(val string) (ListModelVersionSetsSortByEnum, bool)
GetMappingListModelVersionSetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelVersionSetsSortOrderEnum Enum with underlying type: string
type ListModelVersionSetsSortOrderEnum string
Set of constants representing the allowable values for ListModelVersionSetsSortOrderEnum
const ( ListModelVersionSetsSortOrderAsc ListModelVersionSetsSortOrderEnum = "ASC" ListModelVersionSetsSortOrderDesc ListModelVersionSetsSortOrderEnum = "DESC" )
func GetListModelVersionSetsSortOrderEnumValues() []ListModelVersionSetsSortOrderEnum
GetListModelVersionSetsSortOrderEnumValues Enumerates the set of values for ListModelVersionSetsSortOrderEnum
func GetMappingListModelVersionSetsSortOrderEnum(val string) (ListModelVersionSetsSortOrderEnum, bool)
GetMappingListModelVersionSetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsLifecycleStateEnum Enum with underlying type: string
type ListModelsLifecycleStateEnum string
Set of constants representing the allowable values for ListModelsLifecycleStateEnum
const ( ListModelsLifecycleStateActive ListModelsLifecycleStateEnum = "ACTIVE" ListModelsLifecycleStateDeleted ListModelsLifecycleStateEnum = "DELETED" ListModelsLifecycleStateFailed ListModelsLifecycleStateEnum = "FAILED" ListModelsLifecycleStateInactive ListModelsLifecycleStateEnum = "INACTIVE" )
func GetListModelsLifecycleStateEnumValues() []ListModelsLifecycleStateEnum
GetListModelsLifecycleStateEnumValues Enumerates the set of values for ListModelsLifecycleStateEnum
func GetMappingListModelsLifecycleStateEnum(val string) (ListModelsLifecycleStateEnum, bool)
GetMappingListModelsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsRequest wrapper for the ListModels operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListModels.go.html to see an example of how to use ListModelsRequest.
type ListModelsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the name of the model version set. ModelVersionSetName *string `mandatory:"false" contributesTo:"query" name:"modelVersionSetName"` // <b>Filter</b> results by version label. VersionLabel *string `mandatory:"false" contributesTo:"query" name:"versionLabel"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListModelsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListModelsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. All other fields default to ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListModelsSortByEnum `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, then provide the request ID. 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 (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelsRequest) String() string
func (request ListModelsRequest) 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
ListModelsResponse wrapper for the ListModels operation
type ListModelsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelSummary instances Items []ModelSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelsResponse) String() string
ListModelsSortByEnum Enum with underlying type: string
type ListModelsSortByEnum string
Set of constants representing the allowable values for ListModelsSortByEnum
const ( ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated" ListModelsSortByDisplayname ListModelsSortByEnum = "displayName" ListModelsSortByLifecyclestate ListModelsSortByEnum = "lifecycleState" )
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)
GetMappingListModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsSortOrderEnum Enum with underlying type: string
type ListModelsSortOrderEnum string
Set of constants representing the allowable values for ListModelsSortOrderEnum
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)
GetMappingListModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListNotebookSessionShapesRequest wrapper for the ListNotebookSessionShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapesRequest.
type ListNotebookSessionShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListNotebookSessionShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNotebookSessionShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNotebookSessionShapesRequest) String() string
func (request ListNotebookSessionShapesRequest) 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
ListNotebookSessionShapesResponse wrapper for the ListNotebookSessionShapes operation
type ListNotebookSessionShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionShapeSummary instances Items []NotebookSessionShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListNotebookSessionShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNotebookSessionShapesResponse) String() string
ListNotebookSessionsLifecycleStateEnum Enum with underlying type: string
type ListNotebookSessionsLifecycleStateEnum string
Set of constants representing the allowable values for ListNotebookSessionsLifecycleStateEnum
const ( ListNotebookSessionsLifecycleStateCreating ListNotebookSessionsLifecycleStateEnum = "CREATING" ListNotebookSessionsLifecycleStateActive ListNotebookSessionsLifecycleStateEnum = "ACTIVE" ListNotebookSessionsLifecycleStateDeleting ListNotebookSessionsLifecycleStateEnum = "DELETING" ListNotebookSessionsLifecycleStateDeleted ListNotebookSessionsLifecycleStateEnum = "DELETED" ListNotebookSessionsLifecycleStateFailed ListNotebookSessionsLifecycleStateEnum = "FAILED" ListNotebookSessionsLifecycleStateInactive ListNotebookSessionsLifecycleStateEnum = "INACTIVE" ListNotebookSessionsLifecycleStateUpdating ListNotebookSessionsLifecycleStateEnum = "UPDATING" )
func GetListNotebookSessionsLifecycleStateEnumValues() []ListNotebookSessionsLifecycleStateEnum
GetListNotebookSessionsLifecycleStateEnumValues Enumerates the set of values for ListNotebookSessionsLifecycleStateEnum
func GetMappingListNotebookSessionsLifecycleStateEnum(val string) (ListNotebookSessionsLifecycleStateEnum, bool)
GetMappingListNotebookSessionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListNotebookSessionsRequest wrapper for the ListNotebookSessions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessionsRequest.
type ListNotebookSessionsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListNotebookSessionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListNotebookSessionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. When you sort by `displayName`, results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListNotebookSessionsSortByEnum `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, then provide the request ID. 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 (request ListNotebookSessionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNotebookSessionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNotebookSessionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNotebookSessionsRequest) String() string
func (request ListNotebookSessionsRequest) 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
ListNotebookSessionsResponse wrapper for the ListNotebookSessions operation
type ListNotebookSessionsResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionSummary instances Items []NotebookSessionSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListNotebookSessionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNotebookSessionsResponse) String() string
ListNotebookSessionsSortByEnum Enum with underlying type: string
type ListNotebookSessionsSortByEnum string
Set of constants representing the allowable values for ListNotebookSessionsSortByEnum
const ( ListNotebookSessionsSortByTimecreated ListNotebookSessionsSortByEnum = "timeCreated" ListNotebookSessionsSortByDisplayname ListNotebookSessionsSortByEnum = "displayName" )
func GetListNotebookSessionsSortByEnumValues() []ListNotebookSessionsSortByEnum
GetListNotebookSessionsSortByEnumValues Enumerates the set of values for ListNotebookSessionsSortByEnum
func GetMappingListNotebookSessionsSortByEnum(val string) (ListNotebookSessionsSortByEnum, bool)
GetMappingListNotebookSessionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListNotebookSessionsSortOrderEnum Enum with underlying type: string
type ListNotebookSessionsSortOrderEnum string
Set of constants representing the allowable values for ListNotebookSessionsSortOrderEnum
const ( ListNotebookSessionsSortOrderAsc ListNotebookSessionsSortOrderEnum = "ASC" ListNotebookSessionsSortOrderDesc ListNotebookSessionsSortOrderEnum = "DESC" )
func GetListNotebookSessionsSortOrderEnumValues() []ListNotebookSessionsSortOrderEnum
GetListNotebookSessionsSortOrderEnumValues Enumerates the set of values for ListNotebookSessionsSortOrderEnum
func GetMappingListNotebookSessionsSortOrderEnum(val string) (ListNotebookSessionsSortOrderEnum, bool)
GetMappingListNotebookSessionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelineRunsLifecycleStateEnum Enum with underlying type: string
type ListPipelineRunsLifecycleStateEnum string
Set of constants representing the allowable values for ListPipelineRunsLifecycleStateEnum
const ( ListPipelineRunsLifecycleStateAccepted ListPipelineRunsLifecycleStateEnum = "ACCEPTED" ListPipelineRunsLifecycleStateInProgress ListPipelineRunsLifecycleStateEnum = "IN_PROGRESS" ListPipelineRunsLifecycleStateFailed ListPipelineRunsLifecycleStateEnum = "FAILED" ListPipelineRunsLifecycleStateSucceeded ListPipelineRunsLifecycleStateEnum = "SUCCEEDED" ListPipelineRunsLifecycleStateCanceling ListPipelineRunsLifecycleStateEnum = "CANCELING" ListPipelineRunsLifecycleStateCanceled ListPipelineRunsLifecycleStateEnum = "CANCELED" ListPipelineRunsLifecycleStateDeleting ListPipelineRunsLifecycleStateEnum = "DELETING" ListPipelineRunsLifecycleStateDeleted ListPipelineRunsLifecycleStateEnum = "DELETED" )
func GetListPipelineRunsLifecycleStateEnumValues() []ListPipelineRunsLifecycleStateEnum
GetListPipelineRunsLifecycleStateEnumValues Enumerates the set of values for ListPipelineRunsLifecycleStateEnum
func GetMappingListPipelineRunsLifecycleStateEnum(val string) (ListPipelineRunsLifecycleStateEnum, bool)
GetMappingListPipelineRunsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelineRunsRequest wrapper for the ListPipelineRuns operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListPipelineRuns.go.html to see an example of how to use ListPipelineRunsRequest.
type ListPipelineRunsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"false" contributesTo:"query" name:"pipelineId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The current state of the PipelineRun. LifecycleState ListPipelineRunsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListPipelineRunsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeAccepted`, the results are shown // in descending order. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListPipelineRunsSortByEnum `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, then provide the request ID. 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 (request ListPipelineRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPipelineRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPipelineRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPipelineRunsRequest) String() string
func (request ListPipelineRunsRequest) 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
ListPipelineRunsResponse wrapper for the ListPipelineRuns operation
type ListPipelineRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of []PipelineRunSummary instances Items []PipelineRunSummary `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListPipelineRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPipelineRunsResponse) String() string
ListPipelineRunsSortByEnum Enum with underlying type: string
type ListPipelineRunsSortByEnum string
Set of constants representing the allowable values for ListPipelineRunsSortByEnum
const ( ListPipelineRunsSortByTimeaccepted ListPipelineRunsSortByEnum = "timeAccepted" ListPipelineRunsSortByDisplayname ListPipelineRunsSortByEnum = "displayName" )
func GetListPipelineRunsSortByEnumValues() []ListPipelineRunsSortByEnum
GetListPipelineRunsSortByEnumValues Enumerates the set of values for ListPipelineRunsSortByEnum
func GetMappingListPipelineRunsSortByEnum(val string) (ListPipelineRunsSortByEnum, bool)
GetMappingListPipelineRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelineRunsSortOrderEnum Enum with underlying type: string
type ListPipelineRunsSortOrderEnum string
Set of constants representing the allowable values for ListPipelineRunsSortOrderEnum
const ( ListPipelineRunsSortOrderAsc ListPipelineRunsSortOrderEnum = "ASC" ListPipelineRunsSortOrderDesc ListPipelineRunsSortOrderEnum = "DESC" )
func GetListPipelineRunsSortOrderEnumValues() []ListPipelineRunsSortOrderEnum
GetListPipelineRunsSortOrderEnumValues Enumerates the set of values for ListPipelineRunsSortOrderEnum
func GetMappingListPipelineRunsSortOrderEnum(val string) (ListPipelineRunsSortOrderEnum, bool)
GetMappingListPipelineRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelinesLifecycleStateEnum Enum with underlying type: string
type ListPipelinesLifecycleStateEnum string
Set of constants representing the allowable values for ListPipelinesLifecycleStateEnum
const ( ListPipelinesLifecycleStateCreating ListPipelinesLifecycleStateEnum = "CREATING" ListPipelinesLifecycleStateActive ListPipelinesLifecycleStateEnum = "ACTIVE" ListPipelinesLifecycleStateDeleting ListPipelinesLifecycleStateEnum = "DELETING" ListPipelinesLifecycleStateFailed ListPipelinesLifecycleStateEnum = "FAILED" ListPipelinesLifecycleStateDeleted ListPipelinesLifecycleStateEnum = "DELETED" )
func GetListPipelinesLifecycleStateEnumValues() []ListPipelinesLifecycleStateEnum
GetListPipelinesLifecycleStateEnumValues Enumerates the set of values for ListPipelinesLifecycleStateEnum
func GetMappingListPipelinesLifecycleStateEnum(val string) (ListPipelinesLifecycleStateEnum, bool)
GetMappingListPipelinesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelinesRequest wrapper for the ListPipelines operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListPipelines.go.html to see an example of how to use ListPipelinesRequest.
type ListPipelinesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The current state of the Pipeline. LifecycleState ListPipelinesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListPipelinesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListPipelinesSortByEnum `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, then provide the request ID. 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 (request ListPipelinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPipelinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPipelinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPipelinesRequest) String() string
func (request ListPipelinesRequest) 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
ListPipelinesResponse wrapper for the ListPipelines operation
type ListPipelinesResponse struct { // The underlying http response RawResponse *http.Response // A list of []PipelineSummary instances Items []PipelineSummary `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListPipelinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPipelinesResponse) String() string
ListPipelinesSortByEnum Enum with underlying type: string
type ListPipelinesSortByEnum string
Set of constants representing the allowable values for ListPipelinesSortByEnum
const ( ListPipelinesSortByTimecreated ListPipelinesSortByEnum = "timeCreated" ListPipelinesSortByDisplayname ListPipelinesSortByEnum = "displayName" )
func GetListPipelinesSortByEnumValues() []ListPipelinesSortByEnum
GetListPipelinesSortByEnumValues Enumerates the set of values for ListPipelinesSortByEnum
func GetMappingListPipelinesSortByEnum(val string) (ListPipelinesSortByEnum, bool)
GetMappingListPipelinesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPipelinesSortOrderEnum Enum with underlying type: string
type ListPipelinesSortOrderEnum string
Set of constants representing the allowable values for ListPipelinesSortOrderEnum
const ( ListPipelinesSortOrderAsc ListPipelinesSortOrderEnum = "ASC" ListPipelinesSortOrderDesc ListPipelinesSortOrderEnum = "DESC" )
func GetListPipelinesSortOrderEnumValues() []ListPipelinesSortOrderEnum
GetListPipelinesSortOrderEnumValues Enumerates the set of values for ListPipelinesSortOrderEnum
func GetMappingListPipelinesSortOrderEnum(val string) (ListPipelinesSortOrderEnum, bool)
GetMappingListPipelinesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsLifecycleStateEnum Enum with underlying type: string
type ListProjectsLifecycleStateEnum string
Set of constants representing the allowable values for ListProjectsLifecycleStateEnum
const ( ListProjectsLifecycleStateActive ListProjectsLifecycleStateEnum = "ACTIVE" ListProjectsLifecycleStateDeleting ListProjectsLifecycleStateEnum = "DELETING" ListProjectsLifecycleStateDeleted ListProjectsLifecycleStateEnum = "DELETED" )
func GetListProjectsLifecycleStateEnumValues() []ListProjectsLifecycleStateEnum
GetListProjectsLifecycleStateEnumValues Enumerates the set of values for ListProjectsLifecycleStateEnum
func GetMappingListProjectsLifecycleStateEnum(val string) (ListProjectsLifecycleStateEnum, bool)
GetMappingListProjectsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsRequest wrapper for the ListProjects operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListProjects.go.html to see an example of how to use ListProjectsRequest.
type ListProjectsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListProjectsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListProjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, the results are shown // in descending order. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListProjectsSortByEnum `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, then provide the request ID. 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 (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProjectsRequest) String() string
func (request ListProjectsRequest) 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
ListProjectsResponse wrapper for the ListProjects operation
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ProjectSummary instances Items []ProjectSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProjectsResponse) String() string
ListProjectsSortByEnum Enum with underlying type: string
type ListProjectsSortByEnum string
Set of constants representing the allowable values for ListProjectsSortByEnum
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsSortOrderEnum Enum with underlying type: string
type ListProjectsSortOrderEnum string
Set of constants representing the allowable values for ListProjectsSortOrderEnum
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the 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, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the 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, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsOperationTypeEnum Enum with underlying type: string
type ListWorkRequestsOperationTypeEnum string
Set of constants representing the allowable values for ListWorkRequestsOperationTypeEnum
const ( ListWorkRequestsOperationTypeNotebookSessionCreate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" ListWorkRequestsOperationTypeNotebookSessionDelete ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" ListWorkRequestsOperationTypeNotebookSessionActivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" ListWorkRequestsOperationTypeNotebookSessionDeactivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" ListWorkRequestsOperationTypeModelversionsetDelete ListWorkRequestsOperationTypeEnum = "MODELVERSIONSET_DELETE" ListWorkRequestsOperationTypeExportModelArtifact ListWorkRequestsOperationTypeEnum = "EXPORT_MODEL_ARTIFACT" ListWorkRequestsOperationTypeImportModelArtifact ListWorkRequestsOperationTypeEnum = "IMPORT_MODEL_ARTIFACT" ListWorkRequestsOperationTypeModelDeploymentCreate ListWorkRequestsOperationTypeEnum = "MODEL_DEPLOYMENT_CREATE" ListWorkRequestsOperationTypeModelDeploymentDelete ListWorkRequestsOperationTypeEnum = "MODEL_DEPLOYMENT_DELETE" ListWorkRequestsOperationTypeModelDeploymentActivate ListWorkRequestsOperationTypeEnum = "MODEL_DEPLOYMENT_ACTIVATE" ListWorkRequestsOperationTypeModelDeploymentDeactivate ListWorkRequestsOperationTypeEnum = "MODEL_DEPLOYMENT_DEACTIVATE" ListWorkRequestsOperationTypeModelDeploymentUpdate ListWorkRequestsOperationTypeEnum = "MODEL_DEPLOYMENT_UPDATE" ListWorkRequestsOperationTypeProjectDelete ListWorkRequestsOperationTypeEnum = "PROJECT_DELETE" ListWorkRequestsOperationTypeWorkrequestCancel ListWorkRequestsOperationTypeEnum = "WORKREQUEST_CANCEL" ListWorkRequestsOperationTypeJobDelete ListWorkRequestsOperationTypeEnum = "JOB_DELETE" ListWorkRequestsOperationTypePipelineCreate ListWorkRequestsOperationTypeEnum = "PIPELINE_CREATE" ListWorkRequestsOperationTypePipelineDelete ListWorkRequestsOperationTypeEnum = "PIPELINE_DELETE" ListWorkRequestsOperationTypePipelineRunCreate ListWorkRequestsOperationTypeEnum = "PIPELINE_RUN_CREATE" ListWorkRequestsOperationTypePipelineRunCancel ListWorkRequestsOperationTypeEnum = "PIPELINE_RUN_CANCEL" ListWorkRequestsOperationTypePipelineRunDelete ListWorkRequestsOperationTypeEnum = "PIPELINE_RUN_DELETE" ListWorkRequestsOperationTypePrivateEndpointCreate ListWorkRequestsOperationTypeEnum = "PRIVATE_ENDPOINT_CREATE" ListWorkRequestsOperationTypePrivateEndpointDelete ListWorkRequestsOperationTypeEnum = "PRIVATE_ENDPOINT_DELETE" ListWorkRequestsOperationTypePrivateEndpointMove ListWorkRequestsOperationTypeEnum = "PRIVATE_ENDPOINT_MOVE" ListWorkRequestsOperationTypePrivateEndpointUpdate ListWorkRequestsOperationTypeEnum = "PRIVATE_ENDPOINT_UPDATE" )
func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum
GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum
func GetMappingListWorkRequestsOperationTypeEnum(val string) (ListWorkRequestsOperationTypeEnum, bool)
GetMappingListWorkRequestsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the type of the operation associated with the work request. OperationType ListWorkRequestsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // <b>Filter</b> results by work request status. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `50` 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. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, the results are shown in descending order. All other fields default to ascending order. SortBy ListWorkRequestsSortByEnum `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, then provide the request ID. 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 (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
LogDetails The log details.
type LogDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a log to work with. LogId *string `mandatory:"true" json:"logId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a log group to work with. LogGroupId *string `mandatory:"true" json:"logGroupId"` }
func (m LogDetails) String() string
func (m LogDetails) 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
ManagedEgressStandaloneJobInfrastructureConfigurationDetails The standalone job infrastructure configuration with network egress settings preconfigured.
type ManagedEgressStandaloneJobInfrastructureConfigurationDetails struct { // The shape used to launch the job run instances. ShapeName *string `mandatory:"true" json:"shapeName"` // The size of the block storage volume to attach to the instance running the job BlockStorageSizeInGBs *int `mandatory:"true" json:"blockStorageSizeInGBs"` JobShapeConfigDetails *JobShapeConfigDetails `mandatory:"false" json:"jobShapeConfigDetails"` }
func (m ManagedEgressStandaloneJobInfrastructureConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ManagedEgressStandaloneJobInfrastructureConfigurationDetails) String() string
func (m ManagedEgressStandaloneJobInfrastructureConfigurationDetails) 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
Metadata Defines properties of each model metadata.
type Metadata struct { // Key of the model Metadata. The key can either be user defined or OCI defined. // List of OCI defined keys: // * useCaseType // * libraryName // * libraryVersion // * estimatorClass // * hyperParameters // * testartifactresults Key *string `mandatory:"false" json:"key"` // Allowed values for useCaseType: // binary_classification, regression, multinomial_classification, clustering, recommender, // dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, // topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other // Allowed values for libraryName: // scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, // prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, // bert, gensim, flair, word2vec, ensemble, other Value *string `mandatory:"false" json:"value"` // Description of model metadata Description *string `mandatory:"false" json:"description"` // Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,other". Category *string `mandatory:"false" json:"category"` }
func (m Metadata) String() string
func (m Metadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MetricExpressionRule The metric expression rule base.
type MetricExpressionRule interface { }
MetricExpressionRuleMetricExpressionRuleTypeEnum Enum with underlying type: string
type MetricExpressionRuleMetricExpressionRuleTypeEnum string
Set of constants representing the allowable values for MetricExpressionRuleMetricExpressionRuleTypeEnum
const ( MetricExpressionRuleMetricExpressionRuleTypePredefinedExpression MetricExpressionRuleMetricExpressionRuleTypeEnum = "PREDEFINED_EXPRESSION" MetricExpressionRuleMetricExpressionRuleTypeCustomExpression MetricExpressionRuleMetricExpressionRuleTypeEnum = "CUSTOM_EXPRESSION" )
func GetMappingMetricExpressionRuleMetricExpressionRuleTypeEnum(val string) (MetricExpressionRuleMetricExpressionRuleTypeEnum, bool)
GetMappingMetricExpressionRuleMetricExpressionRuleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricExpressionRuleMetricExpressionRuleTypeEnumValues() []MetricExpressionRuleMetricExpressionRuleTypeEnum
GetMetricExpressionRuleMetricExpressionRuleTypeEnumValues Enumerates the set of values for MetricExpressionRuleMetricExpressionRuleTypeEnum
Model Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifacts.
type Model struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID of the model version set that the model is associated to. ModelVersionSetId *string `mandatory:"true" json:"modelVersionSetId"` // The name of the model version set that the model is associated to. ModelVersionSetName *string `mandatory:"true" json:"modelVersionSetName"` // Unique identifier assigned to each version of the model. VersionId *int64 `mandatory:"true" json:"versionId"` // The version label can add an additional description of the lifecycle state of the model or the application using and training the model. VersionLabel *string `mandatory:"true" json:"versionLabel"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` // Input schema file content in String format InputSchema *string `mandatory:"false" json:"inputSchema"` // Output schema file content in String format OutputSchema *string `mandatory:"false" json:"outputSchema"` }
func (m Model) String() string
func (m Model) 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
ModelConfigurationDetails The model configuration details.
type ModelConfigurationDetails struct { // The OCID of the model you want to deploy. ModelId *string `mandatory:"true" json:"modelId"` InstanceConfiguration *InstanceConfiguration `mandatory:"true" json:"instanceConfiguration"` ScalingPolicy ScalingPolicy `mandatory:"false" json:"scalingPolicy"` // The minimum network bandwidth for the model deployment. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` // The maximum network bandwidth for the model deployment. MaximumBandwidthMbps *int `mandatory:"false" json:"maximumBandwidthMbps"` }
func (m ModelConfigurationDetails) String() string
func (m *ModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ModelConfigurationDetails) 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
ModelDeployment Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.
type ModelDeployment struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model deployment. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The URL to interact with the model deployment. ModelDeploymentUrl *string `mandatory:"true" json:"modelDeploymentUrl"` // The state of the model deployment. LifecycleState ModelDeploymentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` ModelDeploymentSystemData ModelDeploymentSystemData `mandatory:"false" json:"modelDeploymentSystemData"` // Details about the state of the model deployment. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelDeployment) String() string
func (m *ModelDeployment) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ModelDeployment) 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
ModelDeploymentConfigurationDetails The model deployment configuration details.
type ModelDeploymentConfigurationDetails interface { }
ModelDeploymentEnvironmentConfigurationDetails The configuration to carry the environment details thats used in Model Deployment creation
type ModelDeploymentEnvironmentConfigurationDetails interface { }
ModelDeploymentEnvironmentConfigurationTypeEnum Enum with underlying type: string
type ModelDeploymentEnvironmentConfigurationTypeEnum string
Set of constants representing the allowable values for ModelDeploymentEnvironmentConfigurationTypeEnum
const ( ModelDeploymentEnvironmentConfigurationTypeDefault ModelDeploymentEnvironmentConfigurationTypeEnum = "DEFAULT" ModelDeploymentEnvironmentConfigurationTypeOcirContainer ModelDeploymentEnvironmentConfigurationTypeEnum = "OCIR_CONTAINER" )
func GetMappingModelDeploymentEnvironmentConfigurationTypeEnum(val string) (ModelDeploymentEnvironmentConfigurationTypeEnum, bool)
GetMappingModelDeploymentEnvironmentConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentEnvironmentConfigurationTypeEnumValues() []ModelDeploymentEnvironmentConfigurationTypeEnum
GetModelDeploymentEnvironmentConfigurationTypeEnumValues Enumerates the set of values for ModelDeploymentEnvironmentConfigurationTypeEnum
ModelDeploymentInstanceShapeConfigDetails Details for the model-deployment instance shape configuration.
type ModelDeploymentInstanceShapeConfigDetails struct { // A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu. Ocpus *float32 `mandatory:"false" json:"ocpus"` // A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` // The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left blank, it will default to `BASELINE_1_1`. // The following values are supported: // BASELINE_1_8 - baseline usage is 1/8 of an OCPU. // BASELINE_1_2 - baseline usage is 1/2 of an OCPU. // BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance. CpuBaseline ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum `mandatory:"false" json:"cpuBaseline,omitempty"` }
func (m ModelDeploymentInstanceShapeConfigDetails) String() string
func (m ModelDeploymentInstanceShapeConfigDetails) 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
ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum Enum with underlying type: string
type ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum string
Set of constants representing the allowable values for ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum
const ( ModelDeploymentInstanceShapeConfigDetailsCpuBaseline8 ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum = "BASELINE_1_8" ModelDeploymentInstanceShapeConfigDetailsCpuBaseline2 ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum = "BASELINE_1_2" ModelDeploymentInstanceShapeConfigDetailsCpuBaseline1 ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum = "BASELINE_1_1" )
func GetMappingModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum(val string) (ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum, bool)
GetMappingModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnumValues() []ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum
GetModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnumValues Enumerates the set of values for ModelDeploymentInstanceShapeConfigDetailsCpuBaselineEnum
ModelDeploymentLifecycleStateEnum Enum with underlying type: string
type ModelDeploymentLifecycleStateEnum string
Set of constants representing the allowable values for ModelDeploymentLifecycleStateEnum
const ( ModelDeploymentLifecycleStateCreating ModelDeploymentLifecycleStateEnum = "CREATING" ModelDeploymentLifecycleStateActive ModelDeploymentLifecycleStateEnum = "ACTIVE" ModelDeploymentLifecycleStateDeleting ModelDeploymentLifecycleStateEnum = "DELETING" ModelDeploymentLifecycleStateFailed ModelDeploymentLifecycleStateEnum = "FAILED" ModelDeploymentLifecycleStateInactive ModelDeploymentLifecycleStateEnum = "INACTIVE" ModelDeploymentLifecycleStateUpdating ModelDeploymentLifecycleStateEnum = "UPDATING" ModelDeploymentLifecycleStateDeleted ModelDeploymentLifecycleStateEnum = "DELETED" ModelDeploymentLifecycleStateNeedsAttention ModelDeploymentLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetMappingModelDeploymentLifecycleStateEnum(val string) (ModelDeploymentLifecycleStateEnum, bool)
GetMappingModelDeploymentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentLifecycleStateEnumValues() []ModelDeploymentLifecycleStateEnum
GetModelDeploymentLifecycleStateEnumValues Enumerates the set of values for ModelDeploymentLifecycleStateEnum
ModelDeploymentShapeSeriesEnum Enum with underlying type: string
type ModelDeploymentShapeSeriesEnum string
Set of constants representing the allowable values for ModelDeploymentShapeSeriesEnum
const ( ModelDeploymentShapeSeriesAmdRome ModelDeploymentShapeSeriesEnum = "AMD_ROME" ModelDeploymentShapeSeriesIntelSkylake ModelDeploymentShapeSeriesEnum = "INTEL_SKYLAKE" ModelDeploymentShapeSeriesNvidiaGpu ModelDeploymentShapeSeriesEnum = "NVIDIA_GPU" ModelDeploymentShapeSeriesGeneric ModelDeploymentShapeSeriesEnum = "GENERIC" ModelDeploymentShapeSeriesLegacy ModelDeploymentShapeSeriesEnum = "LEGACY" ModelDeploymentShapeSeriesArm ModelDeploymentShapeSeriesEnum = "ARM" )
func GetMappingModelDeploymentShapeSeriesEnum(val string) (ModelDeploymentShapeSeriesEnum, bool)
GetMappingModelDeploymentShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentShapeSeriesEnumValues() []ModelDeploymentShapeSeriesEnum
GetModelDeploymentShapeSeriesEnumValues Enumerates the set of values for ModelDeploymentShapeSeriesEnum
ModelDeploymentShapeSummary The compute shape used to launch a model deployment compute instance.
type ModelDeploymentShapeSummary struct { // The name of the model deployment shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this model deployment shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The amount of memory in GBs associated with this model deployment shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries ModelDeploymentShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` }
func (m ModelDeploymentShapeSummary) String() string
func (m ModelDeploymentShapeSummary) 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
ModelDeploymentSummary Summary information for a model deployment.
type ModelDeploymentSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model deployment. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The URL to interact with the model deployment. ModelDeploymentUrl *string `mandatory:"true" json:"modelDeploymentUrl"` // The state of the model deployment. LifecycleState ModelDeploymentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelDeploymentSummary) String() string
func (m *ModelDeploymentSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ModelDeploymentSummary) 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
ModelDeploymentSystemData Model deployment system data.
type ModelDeploymentSystemData interface { }
ModelDeploymentSystemDataSystemInfraTypeEnum Enum with underlying type: string
type ModelDeploymentSystemDataSystemInfraTypeEnum string
Set of constants representing the allowable values for ModelDeploymentSystemDataSystemInfraTypeEnum
const ( ModelDeploymentSystemDataSystemInfraTypeInstancePool ModelDeploymentSystemDataSystemInfraTypeEnum = "INSTANCE_POOL" )
func GetMappingModelDeploymentSystemDataSystemInfraTypeEnum(val string) (ModelDeploymentSystemDataSystemInfraTypeEnum, bool)
GetMappingModelDeploymentSystemDataSystemInfraTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentSystemDataSystemInfraTypeEnumValues() []ModelDeploymentSystemDataSystemInfraTypeEnum
GetModelDeploymentSystemDataSystemInfraTypeEnumValues Enumerates the set of values for ModelDeploymentSystemDataSystemInfraTypeEnum
ModelDeploymentTypeEnum Enum with underlying type: string
type ModelDeploymentTypeEnum string
Set of constants representing the allowable values for ModelDeploymentTypeEnum
const ( ModelDeploymentTypeSingleModel ModelDeploymentTypeEnum = "SINGLE_MODEL" )
func GetMappingModelDeploymentTypeEnum(val string) (ModelDeploymentTypeEnum, bool)
GetMappingModelDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentTypeEnumValues() []ModelDeploymentTypeEnum
GetModelDeploymentTypeEnumValues Enumerates the set of values for ModelDeploymentTypeEnum
ModelLifecycleStateEnum Enum with underlying type: string
type ModelLifecycleStateEnum string
Set of constants representing the allowable values for ModelLifecycleStateEnum
const ( ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" ModelLifecycleStateInactive ModelLifecycleStateEnum = "INACTIVE" )
func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)
GetMappingModelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
ModelProvenance Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type ModelProvenance struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m ModelProvenance) String() string
func (m ModelProvenance) 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
ModelSummary Summary information for a model.
type ModelSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the model version set that the model is associated to. ModelVersionSetId *string `mandatory:"true" json:"modelVersionSetId"` // The name of the model version set that the model is associated to. ModelVersionSetName *string `mandatory:"true" json:"modelVersionSetName"` // Unique identifier assigned to each version of the model. VersionId *int64 `mandatory:"true" json:"versionId"` // The version label can add an additional description of the lifecycle state of the model or the application using and training the model. VersionLabel *string `mandatory:"true" json:"versionLabel"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelSummary) String() string
func (m ModelSummary) 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
ModelVersionSet A model version set to associate different versions of machine learning models.
type ModelVersionSet struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model version set. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly name for the resource. Name *string `mandatory:"true" json:"name"` // A short description of the model version set. Description *string `mandatory:"true" json:"description"` // The state of the model version set. LifecycleState ModelVersionSetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time that the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time that the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model version set. CreatedBy *string `mandatory:"true" json:"createdBy"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ModelVersionSet) String() string
func (m ModelVersionSet) 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
ModelVersionSetLifecycleStateEnum Enum with underlying type: string
type ModelVersionSetLifecycleStateEnum string
Set of constants representing the allowable values for ModelVersionSetLifecycleStateEnum
const ( ModelVersionSetLifecycleStateActive ModelVersionSetLifecycleStateEnum = "ACTIVE" ModelVersionSetLifecycleStateDeleting ModelVersionSetLifecycleStateEnum = "DELETING" ModelVersionSetLifecycleStateDeleted ModelVersionSetLifecycleStateEnum = "DELETED" ModelVersionSetLifecycleStateFailed ModelVersionSetLifecycleStateEnum = "FAILED" )
func GetMappingModelVersionSetLifecycleStateEnum(val string) (ModelVersionSetLifecycleStateEnum, bool)
GetMappingModelVersionSetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelVersionSetLifecycleStateEnumValues() []ModelVersionSetLifecycleStateEnum
GetModelVersionSetLifecycleStateEnumValues Enumerates the set of values for ModelVersionSetLifecycleStateEnum
ModelVersionSetSummary Summary information for a model version set.
type ModelVersionSetSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model version set. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly name for the resource. It must be unique and can't be modified. Name *string `mandatory:"true" json:"name"` // The state of the model version set. LifecycleState ModelVersionSetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time that the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time that the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model version set. CreatedBy *string `mandatory:"true" json:"createdBy"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ModelVersionSetSummary) String() string
func (m ModelVersionSetSummary) 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
NotebookSession Notebook sessions are interactive coding environments for data scientists.
type NotebookSession struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` NotebookSessionConfigDetails *NotebookSessionConfigDetails `mandatory:"false" json:"notebookSessionConfigDetails"` NotebookSessionRuntimeConfigDetails *NotebookSessionRuntimeConfigDetails `mandatory:"false" json:"notebookSessionRuntimeConfigDetails"` // Collection of NotebookSessionStorageMountConfigurationDetails. NotebookSessionStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"notebookSessionStorageMountConfigurationDetailsList"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Details about the state of the notebook session. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m NotebookSession) String() string
func (m *NotebookSession) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m NotebookSession) 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
NotebookSessionConfigDetails Details for the notebook session configuration.
type NotebookSessionConfigDetails struct { // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape *string `mandatory:"true" json:"shape"` // A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. BlockStorageSizeInGBs *int `mandatory:"false" json:"blockStorageSizeInGBs"` // A notebook session instance is provided with a VNIC for network access. This specifies the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. SubnetId *string `mandatory:"false" json:"subnetId"` // The OCID of a Data Science private endpoint. PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"` NotebookSessionShapeConfigDetails *NotebookSessionShapeConfigDetails `mandatory:"false" json:"notebookSessionShapeConfigDetails"` }
func (m NotebookSessionConfigDetails) String() string
func (m NotebookSessionConfigDetails) 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
NotebookSessionConfigurationDetails Details for the notebook session configuration.
type NotebookSessionConfigurationDetails struct { // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape *string `mandatory:"true" json:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. SubnetId *string `mandatory:"true" json:"subnetId"` // A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. BlockStorageSizeInGBs *int `mandatory:"false" json:"blockStorageSizeInGBs"` // The OCID of a Data Science private endpoint. PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"` NotebookSessionShapeConfigDetails *NotebookSessionShapeConfigDetails `mandatory:"false" json:"notebookSessionShapeConfigDetails"` }
func (m NotebookSessionConfigurationDetails) String() string
func (m NotebookSessionConfigurationDetails) 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
NotebookSessionGitConfigDetails Git configuration Details.
type NotebookSessionGitConfigDetails struct { // A collection of Git repository configurations. NotebookSessionGitRepoConfigCollection []NotebookSessionGitRepoConfigDetails `mandatory:"false" json:"notebookSessionGitRepoConfigCollection"` }
func (m NotebookSessionGitConfigDetails) String() string
func (m NotebookSessionGitConfigDetails) 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
NotebookSessionGitRepoConfigDetails Git repository configurations.
type NotebookSessionGitRepoConfigDetails struct { // The repository URL Url *string `mandatory:"true" json:"url"` }
func (m NotebookSessionGitRepoConfigDetails) String() string
func (m NotebookSessionGitRepoConfigDetails) 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
NotebookSessionLifecycleStateEnum Enum with underlying type: string
type NotebookSessionLifecycleStateEnum string
Set of constants representing the allowable values for NotebookSessionLifecycleStateEnum
const ( NotebookSessionLifecycleStateCreating NotebookSessionLifecycleStateEnum = "CREATING" NotebookSessionLifecycleStateActive NotebookSessionLifecycleStateEnum = "ACTIVE" NotebookSessionLifecycleStateDeleting NotebookSessionLifecycleStateEnum = "DELETING" NotebookSessionLifecycleStateDeleted NotebookSessionLifecycleStateEnum = "DELETED" NotebookSessionLifecycleStateFailed NotebookSessionLifecycleStateEnum = "FAILED" NotebookSessionLifecycleStateInactive NotebookSessionLifecycleStateEnum = "INACTIVE" NotebookSessionLifecycleStateUpdating NotebookSessionLifecycleStateEnum = "UPDATING" )
func GetMappingNotebookSessionLifecycleStateEnum(val string) (NotebookSessionLifecycleStateEnum, bool)
GetMappingNotebookSessionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNotebookSessionLifecycleStateEnumValues() []NotebookSessionLifecycleStateEnum
GetNotebookSessionLifecycleStateEnumValues Enumerates the set of values for NotebookSessionLifecycleStateEnum
NotebookSessionRuntimeConfigDetails Notebook Session runtime configuration details.
type NotebookSessionRuntimeConfigDetails struct { // Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions. CustomEnvironmentVariables map[string]string `mandatory:"false" json:"customEnvironmentVariables"` NotebookSessionGitConfigDetails *NotebookSessionGitConfigDetails `mandatory:"false" json:"notebookSessionGitConfigDetails"` }
func (m NotebookSessionRuntimeConfigDetails) String() string
func (m NotebookSessionRuntimeConfigDetails) 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
NotebookSessionShapeConfigDetails Details for the notebook session shape configuration.
type NotebookSessionShapeConfigDetails struct { // The total number of OCPUs available to the notebook session instance. Ocpus *float32 `mandatory:"false" json:"ocpus"` // The total amount of memory available to the notebook session instance, in gigabytes. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` }
func (m NotebookSessionShapeConfigDetails) String() string
func (m NotebookSessionShapeConfigDetails) 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
NotebookSessionShapeSeriesEnum Enum with underlying type: string
type NotebookSessionShapeSeriesEnum string
Set of constants representing the allowable values for NotebookSessionShapeSeriesEnum
const ( NotebookSessionShapeSeriesAmdRome NotebookSessionShapeSeriesEnum = "AMD_ROME" NotebookSessionShapeSeriesIntelSkylake NotebookSessionShapeSeriesEnum = "INTEL_SKYLAKE" NotebookSessionShapeSeriesNvidiaGpu NotebookSessionShapeSeriesEnum = "NVIDIA_GPU" NotebookSessionShapeSeriesGeneric NotebookSessionShapeSeriesEnum = "GENERIC" NotebookSessionShapeSeriesLegacy NotebookSessionShapeSeriesEnum = "LEGACY" NotebookSessionShapeSeriesArm NotebookSessionShapeSeriesEnum = "ARM" )
func GetMappingNotebookSessionShapeSeriesEnum(val string) (NotebookSessionShapeSeriesEnum, bool)
GetMappingNotebookSessionShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNotebookSessionShapeSeriesEnumValues() []NotebookSessionShapeSeriesEnum
GetNotebookSessionShapeSeriesEnumValues Enumerates the set of values for NotebookSessionShapeSeriesEnum
NotebookSessionShapeSummary The compute shape used to launch a notebook session compute instance.
type NotebookSessionShapeSummary struct { // The name of the notebook session shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this notebook session shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The amount of memory in GBs associated with this notebook session shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries NotebookSessionShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` }
func (m NotebookSessionShapeSummary) String() string
func (m NotebookSessionShapeSummary) 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
NotebookSessionSummary Summary information for a notebook session.
type NotebookSessionSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` NotebookSessionConfigDetails *NotebookSessionConfigDetails `mandatory:"false" json:"notebookSessionConfigDetails"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m NotebookSessionSummary) String() string
func (m NotebookSessionSummary) 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
ObjectStorageMountConfigurationDetails The Object Storage Configuration Details.
type ObjectStorageMountConfigurationDetails struct { // The local directory name to be mounted DestinationDirectoryName *string `mandatory:"true" json:"destinationDirectoryName"` // The object storage namespace Namespace *string `mandatory:"true" json:"namespace"` // The object storage bucket Bucket *string `mandatory:"true" json:"bucket"` // The local path of the mounted directory, excluding directory name. DestinationPath *string `mandatory:"false" json:"destinationPath"` // Prefix in the bucket to mount Prefix *string `mandatory:"false" json:"prefix"` }
func (m ObjectStorageMountConfigurationDetails) GetDestinationDirectoryName() *string
GetDestinationDirectoryName returns DestinationDirectoryName
func (m ObjectStorageMountConfigurationDetails) GetDestinationPath() *string
GetDestinationPath returns DestinationPath
func (m ObjectStorageMountConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageMountConfigurationDetails) String() string
func (m ObjectStorageMountConfigurationDetails) 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
OcirContainerJobEnvironmentConfigurationDetails Environment configuration based on container image stored in OCI Container Registry.
type OcirContainerJobEnvironmentConfigurationDetails struct { // The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. // Acceptable format: // `<region>.ocir.io/<registry>/<image>:<tag>` // `<region>.ocir.io/<registry>/<image>:<tag>@digest` Image *string `mandatory:"true" json:"image"` // The container image run CMD (https://docs.docker.com/engine/reference/builder/#cmd) as a list of strings. // Use `CMD` as arguments to the `ENTRYPOINT` or the only command to run in the absence of an `ENTRYPOINT`. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. Cmd []string `mandatory:"false" json:"cmd"` // The container image run ENTRYPOINT (https://docs.docker.com/engine/reference/builder/#entrypoint) as a list of strings. // Accept the `CMD` as extra arguments. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. // More information on how `CMD` and `ENTRYPOINT` interact are here (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). Entrypoint []string `mandatory:"false" json:"entrypoint"` // The digest of the container image. For example, // `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` ImageDigest *string `mandatory:"false" json:"imageDigest"` // OCID of the container image signature ImageSignatureId *string `mandatory:"false" json:"imageSignatureId"` }
func (m OcirContainerJobEnvironmentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OcirContainerJobEnvironmentConfigurationDetails) String() string
func (m OcirContainerJobEnvironmentConfigurationDetails) 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
OcirModelDeploymentEnvironmentConfigurationDetails The environment configuration details object for OCI Registry
type OcirModelDeploymentEnvironmentConfigurationDetails struct { // The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. // Acceptable format: // `<region>.ocir.io/<registry>/<image>:<tag>` // `<region>.ocir.io/<registry>/<image>:<tag>@digest` Image *string `mandatory:"true" json:"image"` // The digest of the container image. For example, // `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` ImageDigest *string `mandatory:"false" json:"imageDigest"` // The container image run CMD (https://docs.docker.com/engine/reference/builder/#cmd) as a list of strings. // Use `CMD` as arguments to the `ENTRYPOINT` or the only command to run in the absence of an `ENTRYPOINT`. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. Cmd []string `mandatory:"false" json:"cmd"` // The container image run ENTRYPOINT (https://docs.docker.com/engine/reference/builder/#entrypoint) as a list of strings. // Accept the `CMD` as extra arguments. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. // More information on how `CMD` and `ENTRYPOINT` interact are here (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). Entrypoint []string `mandatory:"false" json:"entrypoint"` // The port on which the web server serving the inference is running. // The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. ServerPort *int `mandatory:"false" json:"serverPort"` // The port on which the container HEALTHCHECK (https://docs.docker.com/engine/reference/builder/#healthcheck) would listen. // The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. HealthCheckPort *int `mandatory:"false" json:"healthCheckPort"` // Environment variables to set for the web server container. // The size of envVars must be less than 2048 bytes. // Key should be under 32 characters. // Key should contain only letters, digits and underscore (_) // Key should start with a letter. // Key should have at least 2 characters. // Key should not end with underscore eg. `TEST_` // Key if added cannot be empty. Value can be empty. // No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. // Key can't be reserved Model Deployment environment variables. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` }
func (m OcirModelDeploymentEnvironmentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OcirModelDeploymentEnvironmentConfigurationDetails) String() string
func (m OcirModelDeploymentEnvironmentConfigurationDetails) 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
Pipeline A Pipeline to orchestrate and execute machine learning workflows.
type Pipeline struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"true" json:"displayName"` // Array of step details for each step. StepDetails []PipelineStepDetails `mandatory:"true" json:"stepDetails"` // The current state of the pipeline. LifecycleState PipelineLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A short description of the pipeline. Description *string `mandatory:"false" json:"description"` ConfigurationDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationDetails"` LogConfigurationDetails *PipelineLogConfigurationDetails `mandatory:"false" json:"logConfigurationDetails"` InfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"infrastructureConfigurationDetails"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Pipeline) String() string
func (m *Pipeline) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m Pipeline) 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
PipelineConfigurationDetails The configuration details of a pipeline.
type PipelineConfigurationDetails interface { }
PipelineConfigurationDetailsTypeEnum Enum with underlying type: string
type PipelineConfigurationDetailsTypeEnum string
Set of constants representing the allowable values for PipelineConfigurationDetailsTypeEnum
const ( PipelineConfigurationDetailsTypeDefault PipelineConfigurationDetailsTypeEnum = "DEFAULT" )
func GetMappingPipelineConfigurationDetailsTypeEnum(val string) (PipelineConfigurationDetailsTypeEnum, bool)
GetMappingPipelineConfigurationDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineConfigurationDetailsTypeEnumValues() []PipelineConfigurationDetailsTypeEnum
GetPipelineConfigurationDetailsTypeEnumValues Enumerates the set of values for PipelineConfigurationDetailsTypeEnum
PipelineContainerConfigurationDetails Container Details for a step in pipeline.
type PipelineContainerConfigurationDetails interface { }
PipelineContainerConfigurationDetailsContainerTypeEnum Enum with underlying type: string
type PipelineContainerConfigurationDetailsContainerTypeEnum string
Set of constants representing the allowable values for PipelineContainerConfigurationDetailsContainerTypeEnum
const ( PipelineContainerConfigurationDetailsContainerTypeOcirContainer PipelineContainerConfigurationDetailsContainerTypeEnum = "OCIR_CONTAINER" )
func GetMappingPipelineContainerConfigurationDetailsContainerTypeEnum(val string) (PipelineContainerConfigurationDetailsContainerTypeEnum, bool)
GetMappingPipelineContainerConfigurationDetailsContainerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineContainerConfigurationDetailsContainerTypeEnumValues() []PipelineContainerConfigurationDetailsContainerTypeEnum
GetPipelineContainerConfigurationDetailsContainerTypeEnumValues Enumerates the set of values for PipelineContainerConfigurationDetailsContainerTypeEnum
PipelineContainerStepDetails The type of step where user provides the container details for an execution engine managed by the pipelines service.
type PipelineContainerStepDetails struct { // The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. StepName *string `mandatory:"true" json:"stepName"` StepContainerConfigurationDetails PipelineContainerConfigurationDetails `mandatory:"true" json:"stepContainerConfigurationDetails"` // A short description of the step. Description *string `mandatory:"false" json:"description"` // The list of step names this current step depends on for execution. DependsOn []string `mandatory:"false" json:"dependsOn"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` StepInfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"stepInfrastructureConfigurationDetails"` // A flag to indicate whether the artifact has been uploaded for this step or not. IsArtifactUploaded *bool `mandatory:"false" json:"isArtifactUploaded"` }
func (m PipelineContainerStepDetails) GetDependsOn() []string
GetDependsOn returns DependsOn
func (m PipelineContainerStepDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineContainerStepDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineContainerStepDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineContainerStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineContainerStepDetails) String() string
func (m *PipelineContainerStepDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PipelineContainerStepDetails) 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
PipelineContainerStepRun Detail of each ContainerStepRun.
type PipelineContainerStepRun struct { // The date and time the pipeline step run was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // The date and time the pipeline step run finshed executing in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Details of the state of the step run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The state of the step run. LifecycleState PipelineStepRunLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m PipelineContainerStepRun) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m PipelineContainerStepRun) GetLifecycleState() PipelineStepRunLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m PipelineContainerStepRun) GetStepName() *string
GetStepName returns StepName
func (m PipelineContainerStepRun) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m PipelineContainerStepRun) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m PipelineContainerStepRun) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineContainerStepRun) String() string
func (m PipelineContainerStepRun) 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
PipelineContainerStepUpdateDetails Update the details for a container step type.
type PipelineContainerStepUpdateDetails struct { // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // A short description of the step. Description *string `mandatory:"false" json:"description"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` StepInfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"stepInfrastructureConfigurationDetails"` }
func (m PipelineContainerStepUpdateDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineContainerStepUpdateDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineContainerStepUpdateDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineContainerStepUpdateDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineContainerStepUpdateDetails) String() string
func (m PipelineContainerStepUpdateDetails) 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
PipelineCustomScriptStepDetails The type of step where user provides the step artifact to be executed on an execution engine managed by the pipelines service.
type PipelineCustomScriptStepDetails struct { // The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. StepName *string `mandatory:"true" json:"stepName"` // A short description of the step. Description *string `mandatory:"false" json:"description"` // The list of step names this current step depends on for execution. DependsOn []string `mandatory:"false" json:"dependsOn"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` StepInfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"stepInfrastructureConfigurationDetails"` // A flag to indicate whether the artifact has been uploaded for this step or not. IsArtifactUploaded *bool `mandatory:"false" json:"isArtifactUploaded"` }
func (m PipelineCustomScriptStepDetails) GetDependsOn() []string
GetDependsOn returns DependsOn
func (m PipelineCustomScriptStepDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineCustomScriptStepDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineCustomScriptStepDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineCustomScriptStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineCustomScriptStepDetails) String() string
func (m PipelineCustomScriptStepDetails) 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
PipelineCustomScriptStepRun Detail of each CustomScriptStepRun.
type PipelineCustomScriptStepRun struct { // The date and time the pipeline step run was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // The date and time the pipeline step run finshed executing in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Details of the state of the step run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The state of the step run. LifecycleState PipelineStepRunLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m PipelineCustomScriptStepRun) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m PipelineCustomScriptStepRun) GetLifecycleState() PipelineStepRunLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m PipelineCustomScriptStepRun) GetStepName() *string
GetStepName returns StepName
func (m PipelineCustomScriptStepRun) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m PipelineCustomScriptStepRun) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m PipelineCustomScriptStepRun) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineCustomScriptStepRun) String() string
func (m PipelineCustomScriptStepRun) 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
PipelineCustomScriptStepUpdateDetails The type of step where user provides the step artifact to be executed on an execution engine managed by the pipelines service.
type PipelineCustomScriptStepUpdateDetails struct { // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // A short description of the step. Description *string `mandatory:"false" json:"description"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` StepInfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"stepInfrastructureConfigurationDetails"` }
func (m PipelineCustomScriptStepUpdateDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineCustomScriptStepUpdateDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineCustomScriptStepUpdateDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineCustomScriptStepUpdateDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineCustomScriptStepUpdateDetails) String() string
func (m PipelineCustomScriptStepUpdateDetails) 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
PipelineDefaultConfigurationDetails The default pipeline configuration.
type PipelineDefaultConfigurationDetails struct { // A time bound for the execution of the entire Pipeline. Timer starts when the Pipeline Run is in progress. MaximumRuntimeInMinutes *int64 `mandatory:"false" json:"maximumRuntimeInMinutes"` // Environment variables to set for steps in the pipeline. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` // The command line arguments to set for steps in the pipeline. CommandLineArguments *string `mandatory:"false" json:"commandLineArguments"` }
func (m PipelineDefaultConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineDefaultConfigurationDetails) String() string
func (m PipelineDefaultConfigurationDetails) 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
PipelineInfrastructureConfigurationDetails The infrastructure configuration details of a pipeline or a step.
type PipelineInfrastructureConfigurationDetails struct { // The shape used to launch the instance for all step runs in the pipeline. ShapeName *string `mandatory:"true" json:"shapeName"` // The size of the block storage volume to attach to the instance. BlockStorageSizeInGBs *int `mandatory:"true" json:"blockStorageSizeInGBs"` // The subnet to create a secondary vnic in to attach to the instance running the pipeline step. SubnetId *string `mandatory:"false" json:"subnetId"` ShapeConfigDetails *PipelineShapeConfigDetails `mandatory:"false" json:"shapeConfigDetails"` }
func (m PipelineInfrastructureConfigurationDetails) String() string
func (m PipelineInfrastructureConfigurationDetails) 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
PipelineLifecycleStateEnum Enum with underlying type: string
type PipelineLifecycleStateEnum string
Set of constants representing the allowable values for PipelineLifecycleStateEnum
const ( PipelineLifecycleStateCreating PipelineLifecycleStateEnum = "CREATING" PipelineLifecycleStateActive PipelineLifecycleStateEnum = "ACTIVE" PipelineLifecycleStateDeleting PipelineLifecycleStateEnum = "DELETING" PipelineLifecycleStateFailed PipelineLifecycleStateEnum = "FAILED" PipelineLifecycleStateDeleted PipelineLifecycleStateEnum = "DELETED" )
func GetMappingPipelineLifecycleStateEnum(val string) (PipelineLifecycleStateEnum, bool)
GetMappingPipelineLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineLifecycleStateEnumValues() []PipelineLifecycleStateEnum
GetPipelineLifecycleStateEnumValues Enumerates the set of values for PipelineLifecycleStateEnum
PipelineLogConfigurationDetails The pipeline log configuration details.
type PipelineLogConfigurationDetails struct { // If customer logging is enabled for pipeline. EnableLogging *bool `mandatory:"false" json:"enableLogging"` // If automatic on-behalf-of log object creation is enabled for pipeline runs. EnableAutoLogCreation *bool `mandatory:"false" json:"enableAutoLogCreation"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. LogGroupId *string `mandatory:"false" json:"logGroupId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. LogId *string `mandatory:"false" json:"logId"` }
func (m PipelineLogConfigurationDetails) String() string
func (m PipelineLogConfigurationDetails) 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
PipelineMlJobStepDetails The type of step where the job is pre-created by the user.
type PipelineMlJobStepDetails struct { // The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. StepName *string `mandatory:"true" json:"stepName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job to be used as a step. JobId *string `mandatory:"true" json:"jobId"` // A short description of the step. Description *string `mandatory:"false" json:"description"` // The list of step names this current step depends on for execution. DependsOn []string `mandatory:"false" json:"dependsOn"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` }
func (m PipelineMlJobStepDetails) GetDependsOn() []string
GetDependsOn returns DependsOn
func (m PipelineMlJobStepDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineMlJobStepDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineMlJobStepDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineMlJobStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineMlJobStepDetails) String() string
func (m PipelineMlJobStepDetails) 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
PipelineMlJobStepRun Detail of each MLJobStepRun.
type PipelineMlJobStepRun struct { // The date and time the pipeline step run was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // The date and time the pipeline step run finshed executing in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Details of the state of the step run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run triggered for this step run. JobRunId *string `mandatory:"false" json:"jobRunId"` // The state of the step run. LifecycleState PipelineStepRunLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m PipelineMlJobStepRun) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m PipelineMlJobStepRun) GetLifecycleState() PipelineStepRunLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m PipelineMlJobStepRun) GetStepName() *string
GetStepName returns StepName
func (m PipelineMlJobStepRun) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m PipelineMlJobStepRun) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m PipelineMlJobStepRun) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineMlJobStepRun) String() string
func (m PipelineMlJobStepRun) 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
PipelineMlJobStepUpdateDetails The type of step where the job is pre-created by the user.
type PipelineMlJobStepUpdateDetails struct { // The name of the step. StepName *string `mandatory:"true" json:"stepName"` // A short description of the step. Description *string `mandatory:"false" json:"description"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"` }
func (m PipelineMlJobStepUpdateDetails) GetDescription() *string
GetDescription returns Description
func (m PipelineMlJobStepUpdateDetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails
GetStepConfigurationDetails returns StepConfigurationDetails
func (m PipelineMlJobStepUpdateDetails) GetStepName() *string
GetStepName returns StepName
func (m PipelineMlJobStepUpdateDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineMlJobStepUpdateDetails) String() string
func (m PipelineMlJobStepUpdateDetails) 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
PipelineOcirContainerConfigurationDetails Container configuration based on image stored in OCI Container Registry.
type PipelineOcirContainerConfigurationDetails struct { // The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. Image *string `mandatory:"true" json:"image"` // The container image run CMD (https://docs.docker.com/engine/reference/builder/#cmd) as a list of strings. // Use `CMD` as arguments to the `ENTRYPOINT` or the only command to run in the absence of an `ENTRYPOINT`. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. Cmd []string `mandatory:"false" json:"cmd"` // The container image run ENTRYPOINT (https://docs.docker.com/engine/reference/builder/#entrypoint) as a list of strings. // Accept the `CMD` as extra arguments. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. // More information on how `CMD` and `ENTRYPOINT` interact are here (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). Entrypoint []string `mandatory:"false" json:"entrypoint"` // The digest of the container image. For example, // `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` ImageDigest *string `mandatory:"false" json:"imageDigest"` // OCID of the container image signature ImageSignatureId *string `mandatory:"false" json:"imageSignatureId"` }
func (m PipelineOcirContainerConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PipelineOcirContainerConfigurationDetails) String() string
func (m PipelineOcirContainerConfigurationDetails) 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
PipelineRun Description of PipelineRun.
type PipelineRun struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. Id *string `mandatory:"true" json:"id"` // The date and time the pipeline run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" json:"pipelineId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"true" json:"displayName"` // Array of StepRun object for each step. StepRuns []PipelineStepRun `mandatory:"true" json:"stepRuns"` // The current state of the pipeline run. LifecycleState PipelineRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the pipeline run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the pipeline run was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The date and time the pipeline run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` ConfigurationDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationDetails"` ConfigurationOverrideDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationOverrideDetails"` LogConfigurationOverrideDetails *PipelineLogConfigurationDetails `mandatory:"false" json:"logConfigurationOverrideDetails"` // Array of step override details. Only Step Configuration is allowed to be overridden. StepOverrideDetails []PipelineStepOverrideDetails `mandatory:"false" json:"stepOverrideDetails"` LogDetails *PipelineRunLogDetails `mandatory:"false" json:"logDetails"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m PipelineRun) String() string
func (m *PipelineRun) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PipelineRun) 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
PipelineRunLifecycleStateEnum Enum with underlying type: string
type PipelineRunLifecycleStateEnum string
Set of constants representing the allowable values for PipelineRunLifecycleStateEnum
const ( PipelineRunLifecycleStateAccepted PipelineRunLifecycleStateEnum = "ACCEPTED" PipelineRunLifecycleStateInProgress PipelineRunLifecycleStateEnum = "IN_PROGRESS" PipelineRunLifecycleStateFailed PipelineRunLifecycleStateEnum = "FAILED" PipelineRunLifecycleStateSucceeded PipelineRunLifecycleStateEnum = "SUCCEEDED" PipelineRunLifecycleStateCanceling PipelineRunLifecycleStateEnum = "CANCELING" PipelineRunLifecycleStateCanceled PipelineRunLifecycleStateEnum = "CANCELED" PipelineRunLifecycleStateDeleting PipelineRunLifecycleStateEnum = "DELETING" PipelineRunLifecycleStateDeleted PipelineRunLifecycleStateEnum = "DELETED" )
func GetMappingPipelineRunLifecycleStateEnum(val string) (PipelineRunLifecycleStateEnum, bool)
GetMappingPipelineRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineRunLifecycleStateEnumValues() []PipelineRunLifecycleStateEnum
GetPipelineRunLifecycleStateEnumValues Enumerates the set of values for PipelineRunLifecycleStateEnum
PipelineRunLogDetails Customer logging details for pipeline run.
type PipelineRunLogDetails struct { // The log group id for where log objects will be for pipeline runs. LogGroupId *string `mandatory:"true" json:"logGroupId"` // The log id of the log object the pipeline run logs will be shipped to. LogId *string `mandatory:"true" json:"logId"` }
func (m PipelineRunLogDetails) String() string
func (m PipelineRunLogDetails) 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
PipelineRunSummary Summary of the PipelineRun.
type PipelineRunSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. Id *string `mandatory:"true" json:"id"` // The date and time the pipeline run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline for which pipeline run is created. PipelineId *string `mandatory:"true" json:"pipelineId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the pipeline run. LifecycleState PipelineRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the pipeline run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the pipeline run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The date and time the pipeline run was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m PipelineRunSummary) String() string
func (m PipelineRunSummary) 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
PipelineShapeConfigDetails Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.
type PipelineShapeConfigDetails struct { // A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. Ocpus *float32 `mandatory:"false" json:"ocpus"` // A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` }
func (m PipelineShapeConfigDetails) String() string
func (m PipelineShapeConfigDetails) 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
PipelineStepConfigurationDetails The configuration details of a step.
type PipelineStepConfigurationDetails struct { // A time bound for the execution of the step. MaximumRuntimeInMinutes *int64 `mandatory:"false" json:"maximumRuntimeInMinutes"` // Environment variables to set for step. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` // The command line arguments to set for step. CommandLineArguments *string `mandatory:"false" json:"commandLineArguments"` }
func (m PipelineStepConfigurationDetails) String() string
func (m PipelineStepConfigurationDetails) 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
PipelineStepDetails A step in the pipeline.
type PipelineStepDetails interface { // The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. GetStepName() *string // A short description of the step. GetDescription() *string // The list of step names this current step depends on for execution. GetDependsOn() []string GetStepConfigurationDetails() *PipelineStepConfigurationDetails }
PipelineStepDetailsStepTypeEnum Enum with underlying type: string
type PipelineStepDetailsStepTypeEnum string
Set of constants representing the allowable values for PipelineStepDetailsStepTypeEnum
const ( PipelineStepDetailsStepTypeMlJob PipelineStepDetailsStepTypeEnum = "ML_JOB" PipelineStepDetailsStepTypeCustomScript PipelineStepDetailsStepTypeEnum = "CUSTOM_SCRIPT" PipelineStepDetailsStepTypeContainer PipelineStepDetailsStepTypeEnum = "CONTAINER" )
func GetMappingPipelineStepDetailsStepTypeEnum(val string) (PipelineStepDetailsStepTypeEnum, bool)
GetMappingPipelineStepDetailsStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineStepDetailsStepTypeEnumValues() []PipelineStepDetailsStepTypeEnum
GetPipelineStepDetailsStepTypeEnumValues Enumerates the set of values for PipelineStepDetailsStepTypeEnum
PipelineStepOverrideDetails Override details of the step. Only Step Configuration is allowed to be overridden.
type PipelineStepOverrideDetails struct { // The name of the step. StepName *string `mandatory:"true" json:"stepName"` StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"true" json:"stepConfigurationDetails"` StepContainerConfigurationDetails PipelineContainerConfigurationDetails `mandatory:"false" json:"stepContainerConfigurationDetails"` }
func (m PipelineStepOverrideDetails) String() string
func (m *PipelineStepOverrideDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PipelineStepOverrideDetails) 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
PipelineStepRun Detail of each StepRun.
type PipelineStepRun interface { // The date and time the pipeline step run was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). GetTimeStarted() *common.SDKTime // The name of the step. GetStepName() *string // The date and time the pipeline step run finshed executing in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). GetTimeFinished() *common.SDKTime // The state of the step run. GetLifecycleState() PipelineStepRunLifecycleStateEnum // Details of the state of the step run. GetLifecycleDetails() *string }
PipelineStepRunLifecycleStateEnum Enum with underlying type: string
type PipelineStepRunLifecycleStateEnum string
Set of constants representing the allowable values for PipelineStepRunLifecycleStateEnum
const ( PipelineStepRunLifecycleStateWaiting PipelineStepRunLifecycleStateEnum = "WAITING" PipelineStepRunLifecycleStateAccepted PipelineStepRunLifecycleStateEnum = "ACCEPTED" PipelineStepRunLifecycleStateInProgress PipelineStepRunLifecycleStateEnum = "IN_PROGRESS" PipelineStepRunLifecycleStateFailed PipelineStepRunLifecycleStateEnum = "FAILED" PipelineStepRunLifecycleStateSucceeded PipelineStepRunLifecycleStateEnum = "SUCCEEDED" PipelineStepRunLifecycleStateCanceling PipelineStepRunLifecycleStateEnum = "CANCELING" PipelineStepRunLifecycleStateCanceled PipelineStepRunLifecycleStateEnum = "CANCELED" PipelineStepRunLifecycleStateDeleted PipelineStepRunLifecycleStateEnum = "DELETED" PipelineStepRunLifecycleStateSkipped PipelineStepRunLifecycleStateEnum = "SKIPPED" )
func GetMappingPipelineStepRunLifecycleStateEnum(val string) (PipelineStepRunLifecycleStateEnum, bool)
GetMappingPipelineStepRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineStepRunLifecycleStateEnumValues() []PipelineStepRunLifecycleStateEnum
GetPipelineStepRunLifecycleStateEnumValues Enumerates the set of values for PipelineStepRunLifecycleStateEnum
PipelineStepRunStepTypeEnum Enum with underlying type: string
type PipelineStepRunStepTypeEnum string
Set of constants representing the allowable values for PipelineStepRunStepTypeEnum
const ( PipelineStepRunStepTypeMlJob PipelineStepRunStepTypeEnum = "ML_JOB" PipelineStepRunStepTypeCustomScript PipelineStepRunStepTypeEnum = "CUSTOM_SCRIPT" PipelineStepRunStepTypeContainer PipelineStepRunStepTypeEnum = "CONTAINER" )
func GetMappingPipelineStepRunStepTypeEnum(val string) (PipelineStepRunStepTypeEnum, bool)
GetMappingPipelineStepRunStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineStepRunStepTypeEnumValues() []PipelineStepRunStepTypeEnum
GetPipelineStepRunStepTypeEnumValues Enumerates the set of values for PipelineStepRunStepTypeEnum
PipelineStepUpdateDetails The details of the step to update.
type PipelineStepUpdateDetails interface { // The name of the step. GetStepName() *string // A short description of the step. GetDescription() *string GetStepConfigurationDetails() *PipelineStepConfigurationDetails }
PipelineStepUpdateDetailsStepTypeEnum Enum with underlying type: string
type PipelineStepUpdateDetailsStepTypeEnum string
Set of constants representing the allowable values for PipelineStepUpdateDetailsStepTypeEnum
const ( PipelineStepUpdateDetailsStepTypeMlJob PipelineStepUpdateDetailsStepTypeEnum = "ML_JOB" PipelineStepUpdateDetailsStepTypeCustomScript PipelineStepUpdateDetailsStepTypeEnum = "CUSTOM_SCRIPT" PipelineStepUpdateDetailsStepTypeContainer PipelineStepUpdateDetailsStepTypeEnum = "CONTAINER" )
func GetMappingPipelineStepUpdateDetailsStepTypeEnum(val string) (PipelineStepUpdateDetailsStepTypeEnum, bool)
GetMappingPipelineStepUpdateDetailsStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPipelineStepUpdateDetailsStepTypeEnumValues() []PipelineStepUpdateDetailsStepTypeEnum
GetPipelineStepUpdateDetailsStepTypeEnumValues Enumerates the set of values for PipelineStepUpdateDetailsStepTypeEnum
PipelineSummary Summary of the Pipeline.
type PipelineSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the pipeline. LifecycleState PipelineLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m PipelineSummary) String() string
func (m PipelineSummary) 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
PredefinedExpressionThresholdScalingConfiguration The scaling configuration for the predefined metric expression rule.
type PredefinedExpressionThresholdScalingConfiguration struct { // A metric value at which the scaling operation will be triggered. Threshold *int `mandatory:"true" json:"threshold"` // The period of time that the condition defined in the alarm must persist before the alarm state // changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the // alarm must persist in breaching the condition for five minutes before the alarm updates its // state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five // minutes before the alarm updates its state to "OK." // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M. PendingDuration *string `mandatory:"false" json:"pendingDuration"` // The value is used for adjusting the count of instances by. InstanceCountAdjustment *int `mandatory:"false" json:"instanceCountAdjustment"` }
func (m PredefinedExpressionThresholdScalingConfiguration) GetInstanceCountAdjustment() *int
GetInstanceCountAdjustment returns InstanceCountAdjustment
func (m PredefinedExpressionThresholdScalingConfiguration) GetPendingDuration() *string
GetPendingDuration returns PendingDuration
func (m PredefinedExpressionThresholdScalingConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PredefinedExpressionThresholdScalingConfiguration) String() string
func (m PredefinedExpressionThresholdScalingConfiguration) 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
PredefinedMetricExpressionRule An expression built using CPU or Memory metrics for triggering an autoscaling action on the model deployment.
type PredefinedMetricExpressionRule struct { ScaleInConfiguration *PredefinedExpressionThresholdScalingConfiguration `mandatory:"true" json:"scaleInConfiguration"` ScaleOutConfiguration *PredefinedExpressionThresholdScalingConfiguration `mandatory:"true" json:"scaleOutConfiguration"` // Metric type MetricType PredefinedMetricExpressionRuleMetricTypeEnum `mandatory:"true" json:"metricType"` }
func (m PredefinedMetricExpressionRule) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PredefinedMetricExpressionRule) String() string
func (m PredefinedMetricExpressionRule) 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
PredefinedMetricExpressionRuleMetricTypeEnum Enum with underlying type: string
type PredefinedMetricExpressionRuleMetricTypeEnum string
Set of constants representing the allowable values for PredefinedMetricExpressionRuleMetricTypeEnum
const ( PredefinedMetricExpressionRuleMetricTypeCpuUtilization PredefinedMetricExpressionRuleMetricTypeEnum = "CPU_UTILIZATION" PredefinedMetricExpressionRuleMetricTypeMemoryUtilization PredefinedMetricExpressionRuleMetricTypeEnum = "MEMORY_UTILIZATION" )
func GetMappingPredefinedMetricExpressionRuleMetricTypeEnum(val string) (PredefinedMetricExpressionRuleMetricTypeEnum, bool)
GetMappingPredefinedMetricExpressionRuleMetricTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPredefinedMetricExpressionRuleMetricTypeEnumValues() []PredefinedMetricExpressionRuleMetricTypeEnum
GetPredefinedMetricExpressionRuleMetricTypeEnumValues Enumerates the set of values for PredefinedMetricExpressionRuleMetricTypeEnum
Project Projects enable users to organize their data science work.
type Project struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created this project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Project) String() string
func (m Project) 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
ProjectLifecycleStateEnum Enum with underlying type: string
type ProjectLifecycleStateEnum string
Set of constants representing the allowable values for ProjectLifecycleStateEnum
const ( ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" )
func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
ProjectSummary Summary information for a project.
type ProjectSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ProjectSummary) String() string
func (m ProjectSummary) 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
ScalingConfiguration Scaling configuration for the metric expression rule.
type ScalingConfiguration interface { // The period of time that the condition defined in the alarm must persist before the alarm state // changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the // alarm must persist in breaching the condition for five minutes before the alarm updates its // state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five // minutes before the alarm updates its state to "OK." // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M. GetPendingDuration() *string // The value is used for adjusting the count of instances by. GetInstanceCountAdjustment() *int }
ScalingConfigurationScalingConfigurationTypeEnum Enum with underlying type: string
type ScalingConfigurationScalingConfigurationTypeEnum string
Set of constants representing the allowable values for ScalingConfigurationScalingConfigurationTypeEnum
const ( ScalingConfigurationScalingConfigurationTypeThreshold ScalingConfigurationScalingConfigurationTypeEnum = "THRESHOLD" ScalingConfigurationScalingConfigurationTypeQuery ScalingConfigurationScalingConfigurationTypeEnum = "QUERY" )
func GetMappingScalingConfigurationScalingConfigurationTypeEnum(val string) (ScalingConfigurationScalingConfigurationTypeEnum, bool)
GetMappingScalingConfigurationScalingConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScalingConfigurationScalingConfigurationTypeEnumValues() []ScalingConfigurationScalingConfigurationTypeEnum
GetScalingConfigurationScalingConfigurationTypeEnumValues Enumerates the set of values for ScalingConfigurationScalingConfigurationTypeEnum
ScalingPolicy The scaling policy to apply to each model of the deployment.
type ScalingPolicy interface { }
ScalingPolicyPolicyTypeEnum Enum with underlying type: string
type ScalingPolicyPolicyTypeEnum string
Set of constants representing the allowable values for ScalingPolicyPolicyTypeEnum
const ( ScalingPolicyPolicyTypeFixedSize ScalingPolicyPolicyTypeEnum = "FIXED_SIZE" ScalingPolicyPolicyTypeAutoscaling ScalingPolicyPolicyTypeEnum = "AUTOSCALING" )
func GetMappingScalingPolicyPolicyTypeEnum(val string) (ScalingPolicyPolicyTypeEnum, bool)
GetMappingScalingPolicyPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScalingPolicyPolicyTypeEnumValues() []ScalingPolicyPolicyTypeEnum
GetScalingPolicyPolicyTypeEnumValues Enumerates the set of values for ScalingPolicyPolicyTypeEnum
SingleModelDeploymentConfigurationDetails The single model type deployment.
type SingleModelDeploymentConfigurationDetails struct { ModelConfigurationDetails *ModelConfigurationDetails `mandatory:"true" json:"modelConfigurationDetails"` EnvironmentConfigurationDetails ModelDeploymentEnvironmentConfigurationDetails `mandatory:"false" json:"environmentConfigurationDetails"` }
func (m SingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleModelDeploymentConfigurationDetails) String() string
func (m *SingleModelDeploymentConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m SingleModelDeploymentConfigurationDetails) 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
StandaloneJobInfrastructureConfigurationDetails The standalone job infrastructure configuration.
type StandaloneJobInfrastructureConfigurationDetails struct { // The shape used to launch the job run instances. ShapeName *string `mandatory:"true" json:"shapeName"` // The subnet to create a secondary vnic in to attach to the instance running the job SubnetId *string `mandatory:"true" json:"subnetId"` // The size of the block storage volume to attach to the instance running the job BlockStorageSizeInGBs *int `mandatory:"true" json:"blockStorageSizeInGBs"` JobShapeConfigDetails *JobShapeConfigDetails `mandatory:"false" json:"jobShapeConfigDetails"` }
func (m StandaloneJobInfrastructureConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m StandaloneJobInfrastructureConfigurationDetails) String() string
func (m StandaloneJobInfrastructureConfigurationDetails) 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
StorageMountConfigurationDetails The storage mount configuration details
type StorageMountConfigurationDetails interface { // The local directory name to be mounted GetDestinationDirectoryName() *string // The local path of the mounted directory, excluding directory name. GetDestinationPath() *string }
StorageMountConfigurationDetailsStorageTypeEnum Enum with underlying type: string
type StorageMountConfigurationDetailsStorageTypeEnum string
Set of constants representing the allowable values for StorageMountConfigurationDetailsStorageTypeEnum
const ( StorageMountConfigurationDetailsStorageTypeFileStorage StorageMountConfigurationDetailsStorageTypeEnum = "FILE_STORAGE" StorageMountConfigurationDetailsStorageTypeObjectStorage StorageMountConfigurationDetailsStorageTypeEnum = "OBJECT_STORAGE" )
func GetMappingStorageMountConfigurationDetailsStorageTypeEnum(val string) (StorageMountConfigurationDetailsStorageTypeEnum, bool)
GetMappingStorageMountConfigurationDetailsStorageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStorageMountConfigurationDetailsStorageTypeEnumValues() []StorageMountConfigurationDetailsStorageTypeEnum
GetStorageMountConfigurationDetailsStorageTypeEnumValues Enumerates the set of values for StorageMountConfigurationDetailsStorageTypeEnum
ThresholdBasedAutoScalingPolicyDetails Details for a threshold-based autoscaling policy to enable on the model deployment. In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold.
type ThresholdBasedAutoScalingPolicyDetails struct { // The list of autoscaling policy rules. Rules []MetricExpressionRule `mandatory:"true" json:"rules"` // For a threshold-based autoscaling policy, this value is the maximum number of instances the model deployment is allowed // to increase to (scale out). MaximumInstanceCount *int `mandatory:"true" json:"maximumInstanceCount"` // For a threshold-based autoscaling policy, this value is the minimum number of instances the model deployment is allowed // to decrease to (scale in). MinimumInstanceCount *int `mandatory:"true" json:"minimumInstanceCount"` // For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the model deployment // immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset // to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from // this initial number to a number that is based on the limits that you set. InitialInstanceCount *int `mandatory:"true" json:"initialInstanceCount"` }
func (m ThresholdBasedAutoScalingPolicyDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ThresholdBasedAutoScalingPolicyDetails) String() string
func (m *ThresholdBasedAutoScalingPolicyDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ThresholdBasedAutoScalingPolicyDetails) 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
UpdateCategoryLogDetails The log details for each category for update.
type UpdateCategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
func (m UpdateCategoryLogDetails) String() string
func (m UpdateCategoryLogDetails) 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
UpdateDataSciencePrivateEndpointDetails The details required to update a private endpoint.
type UpdateDataSciencePrivateEndpointDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // A user friendly description. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m UpdateDataSciencePrivateEndpointDetails) String() string
func (m UpdateDataSciencePrivateEndpointDetails) 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
UpdateDataSciencePrivateEndpointRequest wrapper for the UpdateDataSciencePrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateDataSciencePrivateEndpoint.go.html to see an example of how to use UpdateDataSciencePrivateEndpointRequest.
type UpdateDataSciencePrivateEndpointRequest struct { // The unique ID for a Data Science private endpoint. DataSciencePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSciencePrivateEndpointId"` // Details for updating a private endpoint. UpdateDataSciencePrivateEndpointDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request UpdateDataSciencePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDataSciencePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDataSciencePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDataSciencePrivateEndpointRequest) String() string
func (request UpdateDataSciencePrivateEndpointRequest) 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
UpdateDataSciencePrivateEndpointResponse wrapper for the UpdateDataSciencePrivateEndpoint operation
type UpdateDataSciencePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DataSciencePrivateEndpoint instance DataSciencePrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response UpdateDataSciencePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDataSciencePrivateEndpointResponse) String() string
UpdateDefaultModelDeploymentEnvironmentConfigurationDetails The update environment configuration details object for managed container
type UpdateDefaultModelDeploymentEnvironmentConfigurationDetails struct { // Environment variables to set for the web server container. // The size of envVars must be less than 2048 bytes. // Key should be under 32 characters. // Key should contain only letters, digits and underscore (_) // Key should start with a letter. // Key should have at least 2 characters. // Key should not end with underscore eg. `TEST_` // Key if added cannot be empty. Value can be empty. // No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. // Key can't be reserved Model Deployment environment variables. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` }
func (m UpdateDefaultModelDeploymentEnvironmentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDefaultModelDeploymentEnvironmentConfigurationDetails) String() string
func (m UpdateDefaultModelDeploymentEnvironmentConfigurationDetails) 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
UpdateJobDetails Details for updating a job.
type UpdateJobDetails struct { // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"false" json:"jobInfrastructureConfigurationDetails"` // Collection of JobStorageMountConfigurationDetails. JobStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"jobStorageMountConfigurationDetailsList"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateJobDetails) String() string
func (m *UpdateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateJobDetails) 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
UpdateJobRequest wrapper for the UpdateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateJob.go.html to see an example of how to use UpdateJobRequest.
type UpdateJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Details for updating a job. UpdateJobDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRequest) String() string
func (request UpdateJobRequest) 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
UpdateJobResponse wrapper for the UpdateJob operation
type UpdateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobResponse) String() string
UpdateJobRunDetails Details for updating a job run.
type UpdateJobRunDetails struct { // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateJobRunDetails) String() string
func (m UpdateJobRunDetails) 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
UpdateJobRunRequest wrapper for the UpdateJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRunRequest.
type UpdateJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Details for updating a job. UpdateJobRunDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request UpdateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRunRequest) String() string
func (request UpdateJobRunRequest) 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
UpdateJobRunResponse wrapper for the UpdateJobRun operation
type UpdateJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobRunResponse) String() string
UpdateModelConfigurationDetails The model configuration details for update.
type UpdateModelConfigurationDetails struct { // The OCID of the model you want to update. ModelId *string `mandatory:"true" json:"modelId"` InstanceConfiguration *InstanceConfiguration `mandatory:"false" json:"instanceConfiguration"` ScalingPolicy ScalingPolicy `mandatory:"false" json:"scalingPolicy"` // The minimum network bandwidth for the model deployment. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` // The maximum network bandwidth for the model deployment. MaximumBandwidthMbps *int `mandatory:"false" json:"maximumBandwidthMbps"` }
func (m UpdateModelConfigurationDetails) String() string
func (m *UpdateModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateModelConfigurationDetails) 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
UpdateModelDeploymentConfigurationDetails The model deployment configuration details for update.
type UpdateModelDeploymentConfigurationDetails interface { }
UpdateModelDeploymentDetails Details for updating a model deployment. You can update `modelDeploymentConfigurationDetails` and change `instanceShapeName` and `modelId` when the model deployment is in the ACTIVE lifecycle state. The `bandwidthMbps` or `instanceCount` can only be updated while the model deployment is in the `INACTIVE` state. Changes to the `bandwidthMbps` or `instanceCount` will take effect the next time the `ActivateModelDeployment` action is invoked on the model deployment resource.
type UpdateModelDeploymentDetails struct { // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails UpdateModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *UpdateCategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateModelDeploymentDetails) String() string
func (m *UpdateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateModelDeploymentDetails) 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
UpdateModelDeploymentEnvironmentConfigurationDetails The configuration to carry the environment details thats used in Model Deployment update
type UpdateModelDeploymentEnvironmentConfigurationDetails interface { }
UpdateModelDeploymentRequest wrapper for the UpdateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeploymentRequest.
type UpdateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Details for updating a model deployment. Some of the properties of `modelDeploymentConfigurationDetails` or `CategoryLogDetails` can also be updated with zero down time // when the model deployment's lifecycle state is ACTIVE or NEEDS_ATTENTION i.e `instanceShapeName`, `instanceCount` and `modelId`, separately `loadBalancerShape` or // `CategoryLogDetails` can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next // time the model deployment is activated. UpdateModelDeploymentDetails `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 is 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, then provide the request ID. 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 (request UpdateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelDeploymentRequest) String() string
func (request UpdateModelDeploymentRequest) 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
UpdateModelDeploymentResponse wrapper for the UpdateModelDeployment operation
type UpdateModelDeploymentResponse 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, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response UpdateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelDeploymentResponse) String() string
UpdateModelDetails Details for updating a model.
type UpdateModelDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` // The OCID of the model version set that the model is associated to. ModelVersionSetId *string `mandatory:"false" json:"modelVersionSetId"` // The version label can add an additional description of the lifecycle state of the model or the application using/training the model. VersionLabel *string `mandatory:"false" json:"versionLabel"` }
func (m UpdateModelDetails) String() string
func (m UpdateModelDetails) 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
UpdateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type UpdateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m UpdateModelProvenanceDetails) String() string
func (m UpdateModelProvenanceDetails) 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
UpdateModelProvenanceRequest wrapper for the UpdateModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenanceRequest.
type UpdateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for the specified model. UpdateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 is 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"` // 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 (request UpdateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelProvenanceRequest) String() string
func (request UpdateModelProvenanceRequest) 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
UpdateModelProvenanceResponse wrapper for the UpdateModelProvenance operation
type UpdateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelProvenanceResponse) String() string
UpdateModelRequest wrapper for the UpdateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
type UpdateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for updating a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateModelDetails `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 is 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, then provide the request ID. 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 (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelRequest) String() string
func (request UpdateModelRequest) 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
UpdateModelResponse wrapper for the UpdateModel operation
type UpdateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelResponse) String() string
UpdateModelVersionSetDetails Details for updating a model version set.
type UpdateModelVersionSetDetails struct { // A short description of the model version set. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateModelVersionSetDetails) String() string
func (m UpdateModelVersionSetDetails) 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
UpdateModelVersionSetRequest wrapper for the UpdateModelVersionSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateModelVersionSet.go.html to see an example of how to use UpdateModelVersionSetRequest.
type UpdateModelVersionSetRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model version set. ModelVersionSetId *string `mandatory:"true" contributesTo:"path" name:"modelVersionSetId"` // Details for updating a model version set. You can update `description` property only. UpdateModelVersionSetDetails `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 is 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, then provide the request ID. 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 (request UpdateModelVersionSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelVersionSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelVersionSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelVersionSetRequest) String() string
func (request UpdateModelVersionSetRequest) 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
UpdateModelVersionSetResponse wrapper for the UpdateModelVersionSet operation
type UpdateModelVersionSetResponse struct { // The underlying http response RawResponse *http.Response // The ModelVersionSet instance ModelVersionSet `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateModelVersionSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelVersionSetResponse) String() string
UpdateNotebookSessionDetails Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
type UpdateNotebookSessionDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"false" json:"displayName"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` NotebookSessionRuntimeConfigDetails *NotebookSessionRuntimeConfigDetails `mandatory:"false" json:"notebookSessionRuntimeConfigDetails"` // Collection of NotebookSessionStorageMountConfigurationDetails. NotebookSessionStorageMountConfigurationDetailsList []StorageMountConfigurationDetails `mandatory:"false" json:"notebookSessionStorageMountConfigurationDetailsList"` }
func (m UpdateNotebookSessionDetails) String() string
func (m *UpdateNotebookSessionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateNotebookSessionDetails) 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
UpdateNotebookSessionRequest wrapper for the UpdateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSessionRequest.
type UpdateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. // Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource. UpdateNotebookSessionDetails `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 is 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, then provide the request ID. 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 (request UpdateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateNotebookSessionRequest) String() string
func (request UpdateNotebookSessionRequest) 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
UpdateNotebookSessionResponse wrapper for the UpdateNotebookSession operation
type UpdateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateNotebookSessionResponse) String() string
UpdateOcirModelDeploymentEnvironmentConfigurationDetails The update environment configuration details object for OCI Registry
type UpdateOcirModelDeploymentEnvironmentConfigurationDetails struct { // The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format. // Acceptable format: // `<region>.ocir.io/<registry>/<image>:<tag>` // `<region>.ocir.io/<registry>/<image>:<tag>@digest` Image *string `mandatory:"false" json:"image"` // The digest of the container image. For example, // `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` ImageDigest *string `mandatory:"false" json:"imageDigest"` // The container image run CMD (https://docs.docker.com/engine/reference/builder/#cmd) as a list of strings. // Use `CMD` as arguments to the `ENTRYPOINT` or the only command to run in the absence of an `ENTRYPOINT`. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. Cmd []string `mandatory:"false" json:"cmd"` // The container image run ENTRYPOINT (https://docs.docker.com/engine/reference/builder/#entrypoint) as a list of strings. // Accept the `CMD` as extra arguments. // The combined size of `CMD` and `ENTRYPOINT` must be less than 2048 bytes. // More information on how `CMD` and `ENTRYPOINT` interact are here (https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). Entrypoint []string `mandatory:"false" json:"entrypoint"` // The port on which the web server serving the inference is running. // The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. ServerPort *int `mandatory:"false" json:"serverPort"` // The port on which the container HEALTHCHECK (https://docs.docker.com/engine/reference/builder/#healthcheck) would listen. // The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. HealthCheckPort *int `mandatory:"false" json:"healthCheckPort"` // Environment variables to set for the web server container. // The size of envVars must be less than 2048 bytes. // Key should be under 32 characters. // Key should contain only letters, digits and underscore (_) // Key should start with a letter. // Key should have at least 2 characters. // Key should not end with underscore eg. `TEST_` // Key if added cannot be empty. Value can be empty. // No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. // Key can't be reserved Model Deployment environment variables. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` }
func (m UpdateOcirModelDeploymentEnvironmentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOcirModelDeploymentEnvironmentConfigurationDetails) String() string
func (m UpdateOcirModelDeploymentEnvironmentConfigurationDetails) 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
UpdatePipelineDetails The information of pipeline to be updated.
type UpdatePipelineDetails struct { // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description for the resource. Description *string `mandatory:"false" json:"description"` ConfigurationDetails PipelineConfigurationDetails `mandatory:"false" json:"configurationDetails"` InfrastructureConfigurationDetails *PipelineInfrastructureConfigurationDetails `mandatory:"false" json:"infrastructureConfigurationDetails"` LogConfigurationDetails *PipelineLogConfigurationDetails `mandatory:"false" json:"logConfigurationDetails"` // Array of update details for each step. Only step configurations and step infrastructure configurations are allowed to be updated. StepDetails []PipelineStepUpdateDetails `mandatory:"false" json:"stepDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdatePipelineDetails) String() string
func (m *UpdatePipelineDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdatePipelineDetails) 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
UpdatePipelineRequest wrapper for the UpdatePipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdatePipeline.go.html to see an example of how to use UpdatePipelineRequest.
type UpdatePipelineRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline. PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"` // The information to be updated. UpdatePipelineDetails `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 is 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, then provide the request ID. 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 (request UpdatePipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdatePipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdatePipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdatePipelineRequest) String() string
func (request UpdatePipelineRequest) 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
UpdatePipelineResponse wrapper for the UpdatePipeline operation
type UpdatePipelineResponse struct { // The underlying http response RawResponse *http.Response // The Pipeline instance Pipeline `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdatePipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdatePipelineResponse) String() string
UpdatePipelineRunDetails The information to be updated.
type UpdatePipelineRunDetails struct { // Name of the pipeline run. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdatePipelineRunDetails) String() string
func (m UpdatePipelineRunDetails) 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
UpdatePipelineRunRequest wrapper for the UpdatePipelineRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdatePipelineRun.go.html to see an example of how to use UpdatePipelineRunRequest.
type UpdatePipelineRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. PipelineRunId *string `mandatory:"true" contributesTo:"path" name:"pipelineRunId"` // The information to be updated. UpdatePipelineRunDetails `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 is 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, then provide the request ID. 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 (request UpdatePipelineRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdatePipelineRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdatePipelineRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdatePipelineRunRequest) String() string
func (request UpdatePipelineRunRequest) 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
UpdatePipelineRunResponse wrapper for the UpdatePipelineRun operation
type UpdatePipelineRunResponse struct { // The underlying http response RawResponse *http.Response // The PipelineRun instance PipelineRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdatePipelineRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdatePipelineRunResponse) String() string
UpdateProjectDetails Details for updating a project.
type UpdateProjectDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/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. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProjectDetails) String() string
func (m UpdateProjectDetails) 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
UpdateProjectRequest wrapper for the UpdateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.76.0/datascience/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
type UpdateProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for updating a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateProjectDetails `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 is 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, then provide the request ID. 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 (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProjectRequest) String() string
func (request UpdateProjectRequest) 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
UpdateProjectResponse wrapper for the UpdateProject operation
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProjectResponse) String() string
UpdateSingleModelDeploymentConfigurationDetails The single model type deployment for update.
type UpdateSingleModelDeploymentConfigurationDetails struct { ModelConfigurationDetails *UpdateModelConfigurationDetails `mandatory:"false" json:"modelConfigurationDetails"` EnvironmentConfigurationDetails UpdateModelDeploymentEnvironmentConfigurationDetails `mandatory:"false" json:"environmentConfigurationDetails"` }
func (m UpdateSingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSingleModelDeploymentConfigurationDetails) String() string
func (m *UpdateSingleModelDeploymentConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateSingleModelDeploymentConfigurationDetails) 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
WorkRequest An asynchronous work request.
type WorkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The time the work request was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The time the work request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the work request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
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
WorkRequestError Errors related to a specific work request.
type WorkRequestError struct { // A short error code that defines the error, which is meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/General/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
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
WorkRequestLogEntry Log entries related to a specific work request.
type WorkRequestLogEntry struct { // The description of an action that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
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
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeNotebookSessionCreate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" WorkRequestOperationTypeNotebookSessionDelete WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" WorkRequestOperationTypeNotebookSessionActivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" WorkRequestOperationTypeNotebookSessionDeactivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" WorkRequestOperationTypeModelversionsetDelete WorkRequestOperationTypeEnum = "MODELVERSIONSET_DELETE" WorkRequestOperationTypeExportModelArtifact WorkRequestOperationTypeEnum = "EXPORT_MODEL_ARTIFACT" WorkRequestOperationTypeImportModelArtifact WorkRequestOperationTypeEnum = "IMPORT_MODEL_ARTIFACT" WorkRequestOperationTypeModelDeploymentCreate WorkRequestOperationTypeEnum = "MODEL_DEPLOYMENT_CREATE" WorkRequestOperationTypeModelDeploymentDelete WorkRequestOperationTypeEnum = "MODEL_DEPLOYMENT_DELETE" WorkRequestOperationTypeModelDeploymentActivate WorkRequestOperationTypeEnum = "MODEL_DEPLOYMENT_ACTIVATE" WorkRequestOperationTypeModelDeploymentDeactivate WorkRequestOperationTypeEnum = "MODEL_DEPLOYMENT_DEACTIVATE" WorkRequestOperationTypeModelDeploymentUpdate WorkRequestOperationTypeEnum = "MODEL_DEPLOYMENT_UPDATE" WorkRequestOperationTypeProjectDelete WorkRequestOperationTypeEnum = "PROJECT_DELETE" WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" WorkRequestOperationTypeJobDelete WorkRequestOperationTypeEnum = "JOB_DELETE" WorkRequestOperationTypePipelineCreate WorkRequestOperationTypeEnum = "PIPELINE_CREATE" WorkRequestOperationTypePipelineDelete WorkRequestOperationTypeEnum = "PIPELINE_DELETE" WorkRequestOperationTypePipelineRunCreate WorkRequestOperationTypeEnum = "PIPELINE_RUN_CREATE" WorkRequestOperationTypePipelineRunCancel WorkRequestOperationTypeEnum = "PIPELINE_RUN_CANCEL" WorkRequestOperationTypePipelineRunDelete WorkRequestOperationTypeEnum = "PIPELINE_RUN_DELETE" WorkRequestOperationTypePrivateEndpointCreate WorkRequestOperationTypeEnum = "PRIVATE_ENDPOINT_CREATE" WorkRequestOperationTypePrivateEndpointDelete WorkRequestOperationTypeEnum = "PRIVATE_ENDPOINT_DELETE" WorkRequestOperationTypePrivateEndpointMove WorkRequestOperationTypeEnum = "PRIVATE_ENDPOINT_MOVE" WorkRequestOperationTypePrivateEndpointUpdate WorkRequestOperationTypeEnum = "PRIVATE_ENDPOINT_UPDATE" )
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource The properties that define a work request resource.
type WorkRequestResource struct { // The way in which this resource was affected by the work tracked by the work request. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path on which the user can issue a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
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
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary Summary information for a work request.
type WorkRequestSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The date and time the work request was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
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