Documentation
¶
Index ¶
- func GetArtifactSourceTypeEnumStringValues() []string
- func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues() []string
- func GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues() []string
- func GetJobConfigurationDetailsJobTypeEnumStringValues() []string
- func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues() []string
- func GetJobLifecycleStateEnumStringValues() []string
- func GetJobRunLifecycleStateEnumStringValues() []string
- func GetJobShapeSummaryShapeSeriesEnumStringValues() []string
- func GetListJobRunsLifecycleStateEnumStringValues() []string
- func GetListJobRunsSortByEnumStringValues() []string
- func GetListJobRunsSortOrderEnumStringValues() []string
- func GetListJobsLifecycleStateEnumStringValues() []string
- func GetListJobsSortByEnumStringValues() []string
- func GetListJobsSortOrderEnumStringValues() []string
- func GetListModelDeploymentsLifecycleStateEnumStringValues() []string
- func GetListModelDeploymentsSortByEnumStringValues() []string
- func GetListModelDeploymentsSortOrderEnumStringValues() []string
- func GetListModelsLifecycleStateEnumStringValues() []string
- func GetListModelsSortByEnumStringValues() []string
- func GetListModelsSortOrderEnumStringValues() []string
- func GetListNotebookSessionsLifecycleStateEnumStringValues() []string
- func GetListNotebookSessionsSortByEnumStringValues() []string
- func GetListNotebookSessionsSortOrderEnumStringValues() []string
- func GetListProjectsLifecycleStateEnumStringValues() []string
- func GetListProjectsSortByEnumStringValues() []string
- func GetListProjectsSortOrderEnumStringValues() []string
- func GetListWorkRequestsOperationTypeEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetModelDeploymentLifecycleStateEnumStringValues() []string
- func GetModelDeploymentShapeSeriesEnumStringValues() []string
- func GetModelDeploymentTypeEnumStringValues() []string
- func GetModelLifecycleStateEnumStringValues() []string
- func GetNotebookSessionLifecycleStateEnumStringValues() []string
- func GetNotebookSessionShapeSeriesEnumStringValues() []string
- func GetProjectLifecycleStateEnumStringValues() []string
- func GetScalingPolicyPolicyTypeEnumStringValues() []string
- func GetWorkRequestOperationTypeEnumStringValues() []string
- func GetWorkRequestResourceActionTypeEnumStringValues() []string
- func GetWorkRequestStatusEnumStringValues() []string
- type ActivateModelDeploymentRequest
- func (request ActivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ActivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ActivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request ActivateModelDeploymentRequest) String() string
- func (request ActivateModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type ActivateModelDeploymentResponse
- type ActivateModelRequest
- func (request ActivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ActivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ActivateModelRequest) RetryPolicy() *common.RetryPolicy
- func (request ActivateModelRequest) String() string
- func (request ActivateModelRequest) ValidateEnumValue() (bool, error)
- type ActivateModelResponse
- type ActivateNotebookSessionRequest
- func (request ActivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ActivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request ActivateNotebookSessionRequest) String() string
- func (request ActivateNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type ActivateNotebookSessionResponse
- type ArtifactExportDetails
- type ArtifactExportDetailsObjectStorage
- type ArtifactImportDetails
- type ArtifactImportDetailsObjectStorage
- type ArtifactSourceTypeEnum
- type CancelJobRunRequest
- func (request CancelJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelJobRunRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelJobRunRequest) String() string
- func (request CancelJobRunRequest) ValidateEnumValue() (bool, error)
- type CancelJobRunResponse
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type CategoryLogDetails
- type ChangeJobCompartmentDetails
- type ChangeJobCompartmentRequest
- func (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeJobCompartmentRequest) String() string
- func (request ChangeJobCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeJobCompartmentResponse
- type ChangeJobRunCompartmentDetails
- type ChangeJobRunCompartmentRequest
- func (request ChangeJobRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeJobRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeJobRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeJobRunCompartmentRequest) String() string
- func (request ChangeJobRunCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeJobRunCompartmentResponse
- type ChangeModelCompartmentDetails
- type ChangeModelCompartmentRequest
- func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeModelCompartmentRequest) String() string
- func (request ChangeModelCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeModelCompartmentResponse
- type ChangeModelDeploymentCompartmentDetails
- type ChangeModelDeploymentCompartmentRequest
- func (request ChangeModelDeploymentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeModelDeploymentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeModelDeploymentCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeModelDeploymentCompartmentRequest) String() string
- func (request ChangeModelDeploymentCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeModelDeploymentCompartmentResponse
- type ChangeNotebookSessionCompartmentDetails
- type ChangeNotebookSessionCompartmentRequest
- func (request ChangeNotebookSessionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeNotebookSessionCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeNotebookSessionCompartmentRequest) String() string
- func (request ChangeNotebookSessionCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeNotebookSessionCompartmentResponse
- type ChangeProjectCompartmentDetails
- type ChangeProjectCompartmentRequest
- func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeProjectCompartmentRequest) String() string
- func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeProjectCompartmentResponse
- type CreateJobArtifactRequest
- func (request CreateJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateJobArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateJobArtifactRequest) String() string
- func (request CreateJobArtifactRequest) ValidateEnumValue() (bool, error)
- type CreateJobArtifactResponse
- type CreateJobDetails
- type CreateJobRequest
- func (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateJobRequest) String() string
- func (request CreateJobRequest) ValidateEnumValue() (bool, error)
- type CreateJobResponse
- type CreateJobRunDetails
- type CreateJobRunRequest
- func (request CreateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateJobRunRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateJobRunRequest) String() string
- func (request CreateJobRunRequest) ValidateEnumValue() (bool, error)
- type CreateJobRunResponse
- type CreateModelArtifactRequest
- func (request CreateModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateModelArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateModelArtifactRequest) String() string
- func (request CreateModelArtifactRequest) ValidateEnumValue() (bool, error)
- type CreateModelArtifactResponse
- type CreateModelDeploymentDetails
- type CreateModelDeploymentRequest
- func (request CreateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateModelDeploymentRequest) String() string
- func (request CreateModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type CreateModelDeploymentResponse
- type CreateModelDetails
- type CreateModelProvenanceDetails
- type CreateModelProvenanceRequest
- func (request CreateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateModelProvenanceRequest) String() string
- func (request CreateModelProvenanceRequest) ValidateEnumValue() (bool, error)
- type CreateModelProvenanceResponse
- type CreateModelRequest
- func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateModelRequest) String() string
- func (request CreateModelRequest) ValidateEnumValue() (bool, error)
- type CreateModelResponse
- type CreateNotebookSessionDetails
- type CreateNotebookSessionRequest
- func (request CreateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateNotebookSessionRequest) String() string
- func (request CreateNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type CreateNotebookSessionResponse
- type CreateProjectDetails
- type CreateProjectRequest
- func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateProjectRequest) String() string
- func (request CreateProjectRequest) ValidateEnumValue() (bool, error)
- type CreateProjectResponse
- type DataScienceClient
- func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
- func (client DataScienceClient) ActivateModelDeployment(ctx context.Context, request ActivateModelDeploymentRequest) (response ActivateModelDeploymentResponse, err error)
- func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
- func (client DataScienceClient) CancelJobRun(ctx context.Context, request CancelJobRunRequest) (response CancelJobRunResponse, err error)
- func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client DataScienceClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
- func (client DataScienceClient) ChangeJobRunCompartment(ctx context.Context, request ChangeJobRunCompartmentRequest) (response ChangeJobRunCompartmentResponse, err error)
- func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
- func (client DataScienceClient) ChangeModelDeploymentCompartment(ctx context.Context, request ChangeModelDeploymentCompartmentRequest) (response ChangeModelDeploymentCompartmentResponse, err error)
- func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
- func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
- func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DataScienceClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
- func (client DataScienceClient) CreateJobArtifact(ctx context.Context, request CreateJobArtifactRequest) (response CreateJobArtifactResponse, err error)
- func (client DataScienceClient) CreateJobRun(ctx context.Context, request CreateJobRunRequest) (response CreateJobRunResponse, err error)
- func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
- func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
- func (client DataScienceClient) CreateModelDeployment(ctx context.Context, request CreateModelDeploymentRequest) (response CreateModelDeploymentResponse, err error)
- func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
- func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
- func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
- func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
- func (client DataScienceClient) DeactivateModelDeployment(ctx context.Context, request DeactivateModelDeploymentRequest) (response DeactivateModelDeploymentResponse, err error)
- func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
- func (client DataScienceClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
- func (client DataScienceClient) DeleteJobRun(ctx context.Context, request DeleteJobRunRequest) (response DeleteJobRunResponse, err error)
- func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
- func (client DataScienceClient) DeleteModelDeployment(ctx context.Context, request DeleteModelDeploymentRequest) (response DeleteModelDeploymentResponse, err error)
- func (client DataScienceClient) DeleteNotebookSession(ctx context.Context, request DeleteNotebookSessionRequest) (response DeleteNotebookSessionResponse, err error)
- func (client DataScienceClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
- func (client DataScienceClient) ExportModelArtifact(ctx context.Context, request ExportModelArtifactRequest) (response ExportModelArtifactResponse, err error)
- func (client DataScienceClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
- func (client DataScienceClient) GetJobArtifactContent(ctx context.Context, request GetJobArtifactContentRequest) (response GetJobArtifactContentResponse, err error)
- func (client DataScienceClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
- func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
- func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
- func (client DataScienceClient) GetModelDeployment(ctx context.Context, request GetModelDeploymentRequest) (response GetModelDeploymentResponse, err error)
- func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
- func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
- func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
- func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client DataScienceClient) HeadJobArtifact(ctx context.Context, request HeadJobArtifactRequest) (response HeadJobArtifactResponse, err error)
- func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
- func (client DataScienceClient) ImportModelArtifact(ctx context.Context, request ImportModelArtifactRequest) (response ImportModelArtifactResponse, err error)
- func (client DataScienceClient) ListFastLaunchJobConfigs(ctx context.Context, request ListFastLaunchJobConfigsRequest) (response ListFastLaunchJobConfigsResponse, err error)
- func (client DataScienceClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
- func (client DataScienceClient) ListJobShapes(ctx context.Context, request ListJobShapesRequest) (response ListJobShapesResponse, err error)
- func (client DataScienceClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
- func (client DataScienceClient) ListModelDeploymentShapes(ctx context.Context, request ListModelDeploymentShapesRequest) (response ListModelDeploymentShapesResponse, err error)
- func (client DataScienceClient) ListModelDeployments(ctx context.Context, request ListModelDeploymentsRequest) (response ListModelDeploymentsResponse, err error)
- func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
- func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
- func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
- func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
- func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *DataScienceClient) SetRegion(region string)
- func (client DataScienceClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
- func (client DataScienceClient) UpdateJobRun(ctx context.Context, request UpdateJobRunRequest) (response UpdateJobRunResponse, err error)
- func (client DataScienceClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
- func (client DataScienceClient) UpdateModelDeployment(ctx context.Context, request UpdateModelDeploymentRequest) (response UpdateModelDeploymentResponse, err error)
- func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
- func (client DataScienceClient) UpdateNotebookSession(ctx context.Context, request UpdateNotebookSessionRequest) (response UpdateNotebookSessionResponse, err error)
- func (client DataScienceClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
- type DeactivateModelDeploymentRequest
- func (request DeactivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeactivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeactivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeactivateModelDeploymentRequest) String() string
- func (request DeactivateModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type DeactivateModelDeploymentResponse
- type DeactivateModelRequest
- func (request DeactivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeactivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeactivateModelRequest) RetryPolicy() *common.RetryPolicy
- func (request DeactivateModelRequest) String() string
- func (request DeactivateModelRequest) ValidateEnumValue() (bool, error)
- type DeactivateModelResponse
- type DeactivateNotebookSessionRequest
- func (request DeactivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeactivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request DeactivateNotebookSessionRequest) String() string
- func (request DeactivateNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type DeactivateNotebookSessionResponse
- type DefaultJobConfigurationDetails
- type DeleteJobRequest
- func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteJobRequest) String() string
- func (request DeleteJobRequest) ValidateEnumValue() (bool, error)
- type DeleteJobResponse
- type DeleteJobRunRequest
- func (request DeleteJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteJobRunRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteJobRunRequest) String() string
- func (request DeleteJobRunRequest) ValidateEnumValue() (bool, error)
- type DeleteJobRunResponse
- type DeleteModelDeploymentRequest
- func (request DeleteModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteModelDeploymentRequest) String() string
- func (request DeleteModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type DeleteModelDeploymentResponse
- type DeleteModelRequest
- func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteModelRequest) String() string
- func (request DeleteModelRequest) ValidateEnumValue() (bool, error)
- type DeleteModelResponse
- type DeleteNotebookSessionRequest
- func (request DeleteNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteNotebookSessionRequest) String() string
- func (request DeleteNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type DeleteNotebookSessionResponse
- type DeleteProjectRequest
- func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteProjectRequest) String() string
- func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)
- type DeleteProjectResponse
- type ExportModelArtifactDetails
- type ExportModelArtifactRequest
- func (request ExportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ExportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ExportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request ExportModelArtifactRequest) String() string
- func (request ExportModelArtifactRequest) ValidateEnumValue() (bool, error)
- type ExportModelArtifactResponse
- type FastLaunchJobConfigSummary
- type FastLaunchJobConfigSummaryManagedEgressSupportEnum
- type FastLaunchJobConfigSummaryShapeSeriesEnum
- type FixedSizeScalingPolicy
- type GetJobArtifactContentRequest
- func (request GetJobArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetJobArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetJobArtifactContentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetJobArtifactContentRequest) String() string
- func (request GetJobArtifactContentRequest) ValidateEnumValue() (bool, error)
- type GetJobArtifactContentResponse
- type GetJobRequest
- func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
- func (request GetJobRequest) String() string
- func (request GetJobRequest) ValidateEnumValue() (bool, error)
- type GetJobResponse
- type GetJobRunRequest
- func (request GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
- func (request GetJobRunRequest) String() string
- func (request GetJobRunRequest) ValidateEnumValue() (bool, error)
- type GetJobRunResponse
- type GetModelArtifactContentRequest
- func (request GetModelArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetModelArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetModelArtifactContentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetModelArtifactContentRequest) String() string
- func (request GetModelArtifactContentRequest) ValidateEnumValue() (bool, error)
- type GetModelArtifactContentResponse
- type GetModelDeploymentRequest
- func (request GetModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetModelDeploymentRequest) String() string
- func (request GetModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type GetModelDeploymentResponse
- type GetModelProvenanceRequest
- func (request GetModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetModelProvenanceRequest) String() string
- func (request GetModelProvenanceRequest) ValidateEnumValue() (bool, error)
- type GetModelProvenanceResponse
- type GetModelRequest
- func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
- func (request GetModelRequest) String() string
- func (request GetModelRequest) ValidateEnumValue() (bool, error)
- type GetModelResponse
- type GetNotebookSessionRequest
- func (request GetNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetNotebookSessionRequest) String() string
- func (request GetNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type GetNotebookSessionResponse
- type GetProjectRequest
- func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
- func (request GetProjectRequest) String() string
- func (request GetProjectRequest) ValidateEnumValue() (bool, error)
- type GetProjectResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type HeadJobArtifactRequest
- func (request HeadJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request HeadJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request HeadJobArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request HeadJobArtifactRequest) String() string
- func (request HeadJobArtifactRequest) ValidateEnumValue() (bool, error)
- type HeadJobArtifactResponse
- type HeadModelArtifactRequest
- func (request HeadModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request HeadModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request HeadModelArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request HeadModelArtifactRequest) String() string
- func (request HeadModelArtifactRequest) ValidateEnumValue() (bool, error)
- type HeadModelArtifactResponse
- type ImportModelArtifactDetails
- type ImportModelArtifactRequest
- func (request ImportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ImportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ImportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
- func (request ImportModelArtifactRequest) String() string
- func (request ImportModelArtifactRequest) ValidateEnumValue() (bool, error)
- type ImportModelArtifactResponse
- type InstanceConfiguration
- type Job
- type JobConfigurationDetails
- type JobConfigurationDetailsJobTypeEnum
- type JobInfrastructureConfigurationDetails
- type JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
- func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues() []JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
- func GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum(val string) (JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum, bool)
- type JobLifecycleStateEnum
- type JobLogConfigurationDetails
- type JobRun
- type JobRunLifecycleStateEnum
- type JobRunLogDetails
- type JobRunSummary
- type JobShapeConfigDetails
- type JobShapeSummary
- type JobShapeSummaryShapeSeriesEnum
- type JobSummary
- type ListFastLaunchJobConfigsRequest
- func (request ListFastLaunchJobConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListFastLaunchJobConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListFastLaunchJobConfigsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListFastLaunchJobConfigsRequest) String() string
- func (request ListFastLaunchJobConfigsRequest) ValidateEnumValue() (bool, error)
- type ListFastLaunchJobConfigsResponse
- type ListJobRunsLifecycleStateEnum
- type ListJobRunsRequest
- func (request ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListJobRunsRequest) String() string
- func (request ListJobRunsRequest) ValidateEnumValue() (bool, error)
- type ListJobRunsResponse
- type ListJobRunsSortByEnum
- type ListJobRunsSortOrderEnum
- type ListJobShapesRequest
- func (request ListJobShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListJobShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListJobShapesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListJobShapesRequest) String() string
- func (request ListJobShapesRequest) ValidateEnumValue() (bool, error)
- type ListJobShapesResponse
- type ListJobsLifecycleStateEnum
- type ListJobsRequest
- func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListJobsRequest) String() string
- func (request ListJobsRequest) ValidateEnumValue() (bool, error)
- type ListJobsResponse
- type ListJobsSortByEnum
- type ListJobsSortOrderEnum
- type ListModelDeploymentShapesRequest
- func (request ListModelDeploymentShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListModelDeploymentShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListModelDeploymentShapesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListModelDeploymentShapesRequest) String() string
- func (request ListModelDeploymentShapesRequest) ValidateEnumValue() (bool, error)
- type ListModelDeploymentShapesResponse
- type ListModelDeploymentsLifecycleStateEnum
- type ListModelDeploymentsRequest
- func (request ListModelDeploymentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListModelDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListModelDeploymentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListModelDeploymentsRequest) String() string
- func (request ListModelDeploymentsRequest) ValidateEnumValue() (bool, error)
- type ListModelDeploymentsResponse
- type ListModelDeploymentsSortByEnum
- type ListModelDeploymentsSortOrderEnum
- type ListModelsLifecycleStateEnum
- type ListModelsRequest
- func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListModelsRequest) String() string
- func (request ListModelsRequest) ValidateEnumValue() (bool, error)
- type ListModelsResponse
- type ListModelsSortByEnum
- type ListModelsSortOrderEnum
- type ListNotebookSessionShapesRequest
- func (request ListNotebookSessionShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListNotebookSessionShapesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListNotebookSessionShapesRequest) String() string
- func (request ListNotebookSessionShapesRequest) ValidateEnumValue() (bool, error)
- type ListNotebookSessionShapesResponse
- type ListNotebookSessionsLifecycleStateEnum
- type ListNotebookSessionsRequest
- func (request ListNotebookSessionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListNotebookSessionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListNotebookSessionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListNotebookSessionsRequest) String() string
- func (request ListNotebookSessionsRequest) ValidateEnumValue() (bool, error)
- type ListNotebookSessionsResponse
- type ListNotebookSessionsSortByEnum
- type ListNotebookSessionsSortOrderEnum
- type ListProjectsLifecycleStateEnum
- type ListProjectsRequest
- func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListProjectsRequest) String() string
- func (request ListProjectsRequest) ValidateEnumValue() (bool, error)
- type ListProjectsResponse
- type ListProjectsSortByEnum
- type ListProjectsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestsOperationTypeEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type LogDetails
- type ManagedEgressStandaloneJobInfrastructureConfigurationDetails
- type Metadata
- type Model
- type ModelConfigurationDetails
- type ModelDeployment
- type ModelDeploymentConfigurationDetails
- type ModelDeploymentInstanceShapeConfigDetails
- type ModelDeploymentLifecycleStateEnum
- type ModelDeploymentShapeSeriesEnum
- type ModelDeploymentShapeSummary
- type ModelDeploymentSummary
- type ModelDeploymentTypeEnum
- type ModelLifecycleStateEnum
- type ModelProvenance
- type ModelSummary
- type NotebookSession
- type NotebookSessionConfigDetails
- type NotebookSessionConfigurationDetails
- type NotebookSessionGitConfigDetails
- type NotebookSessionGitRepoConfigDetails
- type NotebookSessionLifecycleStateEnum
- type NotebookSessionRuntimeConfigDetails
- type NotebookSessionShapeConfigDetails
- type NotebookSessionShapeSeriesEnum
- type NotebookSessionShapeSummary
- type NotebookSessionSummary
- type Project
- type ProjectLifecycleStateEnum
- type ProjectSummary
- type ScalingPolicy
- type ScalingPolicyPolicyTypeEnum
- type SingleModelDeploymentConfigurationDetails
- type StandaloneJobInfrastructureConfigurationDetails
- type UpdateCategoryLogDetails
- type UpdateJobDetails
- type UpdateJobRequest
- func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateJobRequest) String() string
- func (request UpdateJobRequest) ValidateEnumValue() (bool, error)
- type UpdateJobResponse
- type UpdateJobRunDetails
- type UpdateJobRunRequest
- func (request UpdateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateJobRunRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateJobRunRequest) String() string
- func (request UpdateJobRunRequest) ValidateEnumValue() (bool, error)
- type UpdateJobRunResponse
- type UpdateModelConfigurationDetails
- type UpdateModelDeploymentConfigurationDetails
- type UpdateModelDeploymentDetails
- type UpdateModelDeploymentRequest
- func (request UpdateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateModelDeploymentRequest) String() string
- func (request UpdateModelDeploymentRequest) ValidateEnumValue() (bool, error)
- type UpdateModelDeploymentResponse
- type UpdateModelDetails
- type UpdateModelProvenanceDetails
- type UpdateModelProvenanceRequest
- func (request UpdateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateModelProvenanceRequest) String() string
- func (request UpdateModelProvenanceRequest) ValidateEnumValue() (bool, error)
- type UpdateModelProvenanceResponse
- type UpdateModelRequest
- func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateModelRequest) String() string
- func (request UpdateModelRequest) ValidateEnumValue() (bool, error)
- type UpdateModelResponse
- type UpdateNotebookSessionDetails
- type UpdateNotebookSessionRequest
- func (request UpdateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateNotebookSessionRequest) String() string
- func (request UpdateNotebookSessionRequest) ValidateEnumValue() (bool, error)
- type UpdateNotebookSessionResponse
- type UpdateProjectDetails
- type UpdateProjectRequest
- func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateProjectRequest) String() string
- func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)
- type UpdateProjectResponse
- type UpdateSingleModelDeploymentConfigurationDetails
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArtifactSourceTypeEnumStringValues ¶ added in v65.20.0
func GetArtifactSourceTypeEnumStringValues() []string
GetArtifactSourceTypeEnumStringValues Enumerates the set of values in String for ArtifactSourceTypeEnum
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues ¶
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues() []string
GetFastLaunchJobConfigSummaryManagedEgressSupportEnumStringValues Enumerates the set of values in String for FastLaunchJobConfigSummaryManagedEgressSupportEnum
func GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues ¶
func GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues() []string
GetFastLaunchJobConfigSummaryShapeSeriesEnumStringValues Enumerates the set of values in String for FastLaunchJobConfigSummaryShapeSeriesEnum
func GetJobConfigurationDetailsJobTypeEnumStringValues ¶
func GetJobConfigurationDetailsJobTypeEnumStringValues() []string
GetJobConfigurationDetailsJobTypeEnumStringValues Enumerates the set of values in String for JobConfigurationDetailsJobTypeEnum
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues ¶
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues() []string
GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumStringValues Enumerates the set of values in String for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
func GetJobLifecycleStateEnumStringValues ¶
func GetJobLifecycleStateEnumStringValues() []string
GetJobLifecycleStateEnumStringValues Enumerates the set of values in String for JobLifecycleStateEnum
func GetJobRunLifecycleStateEnumStringValues ¶
func GetJobRunLifecycleStateEnumStringValues() []string
GetJobRunLifecycleStateEnumStringValues Enumerates the set of values in String for JobRunLifecycleStateEnum
func GetJobShapeSummaryShapeSeriesEnumStringValues ¶
func GetJobShapeSummaryShapeSeriesEnumStringValues() []string
GetJobShapeSummaryShapeSeriesEnumStringValues Enumerates the set of values in String for JobShapeSummaryShapeSeriesEnum
func GetListJobRunsLifecycleStateEnumStringValues ¶
func GetListJobRunsLifecycleStateEnumStringValues() []string
GetListJobRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobRunsLifecycleStateEnum
func GetListJobRunsSortByEnumStringValues ¶
func GetListJobRunsSortByEnumStringValues() []string
GetListJobRunsSortByEnumStringValues Enumerates the set of values in String for ListJobRunsSortByEnum
func GetListJobRunsSortOrderEnumStringValues ¶
func GetListJobRunsSortOrderEnumStringValues() []string
GetListJobRunsSortOrderEnumStringValues Enumerates the set of values in String for ListJobRunsSortOrderEnum
func GetListJobsLifecycleStateEnumStringValues ¶
func GetListJobsLifecycleStateEnumStringValues() []string
GetListJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListJobsLifecycleStateEnum
func GetListJobsSortByEnumStringValues ¶
func GetListJobsSortByEnumStringValues() []string
GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum
func GetListJobsSortOrderEnumStringValues ¶
func GetListJobsSortOrderEnumStringValues() []string
GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum
func GetListModelDeploymentsLifecycleStateEnumStringValues ¶
func GetListModelDeploymentsLifecycleStateEnumStringValues() []string
GetListModelDeploymentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListModelDeploymentsLifecycleStateEnum
func GetListModelDeploymentsSortByEnumStringValues ¶
func GetListModelDeploymentsSortByEnumStringValues() []string
GetListModelDeploymentsSortByEnumStringValues Enumerates the set of values in String for ListModelDeploymentsSortByEnum
func GetListModelDeploymentsSortOrderEnumStringValues ¶
func GetListModelDeploymentsSortOrderEnumStringValues() []string
GetListModelDeploymentsSortOrderEnumStringValues Enumerates the set of values in String for ListModelDeploymentsSortOrderEnum
func GetListModelsLifecycleStateEnumStringValues ¶
func GetListModelsLifecycleStateEnumStringValues() []string
GetListModelsLifecycleStateEnumStringValues Enumerates the set of values in String for ListModelsLifecycleStateEnum
func GetListModelsSortByEnumStringValues ¶
func GetListModelsSortByEnumStringValues() []string
GetListModelsSortByEnumStringValues Enumerates the set of values in String for ListModelsSortByEnum
func GetListModelsSortOrderEnumStringValues ¶
func GetListModelsSortOrderEnumStringValues() []string
GetListModelsSortOrderEnumStringValues Enumerates the set of values in String for ListModelsSortOrderEnum
func GetListNotebookSessionsLifecycleStateEnumStringValues ¶
func GetListNotebookSessionsLifecycleStateEnumStringValues() []string
GetListNotebookSessionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListNotebookSessionsLifecycleStateEnum
func GetListNotebookSessionsSortByEnumStringValues ¶
func GetListNotebookSessionsSortByEnumStringValues() []string
GetListNotebookSessionsSortByEnumStringValues Enumerates the set of values in String for ListNotebookSessionsSortByEnum
func GetListNotebookSessionsSortOrderEnumStringValues ¶
func GetListNotebookSessionsSortOrderEnumStringValues() []string
GetListNotebookSessionsSortOrderEnumStringValues Enumerates the set of values in String for ListNotebookSessionsSortOrderEnum
func GetListProjectsLifecycleStateEnumStringValues ¶
func GetListProjectsLifecycleStateEnumStringValues() []string
GetListProjectsLifecycleStateEnumStringValues Enumerates the set of values in String for ListProjectsLifecycleStateEnum
func GetListProjectsSortByEnumStringValues ¶
func GetListProjectsSortByEnumStringValues() []string
GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum
func GetListProjectsSortOrderEnumStringValues ¶
func GetListProjectsSortOrderEnumStringValues() []string
GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum
func GetListWorkRequestsOperationTypeEnumStringValues ¶
func GetListWorkRequestsOperationTypeEnumStringValues() []string
GetListWorkRequestsOperationTypeEnumStringValues Enumerates the set of values in String for ListWorkRequestsOperationTypeEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetModelDeploymentLifecycleStateEnumStringValues ¶
func GetModelDeploymentLifecycleStateEnumStringValues() []string
GetModelDeploymentLifecycleStateEnumStringValues Enumerates the set of values in String for ModelDeploymentLifecycleStateEnum
func GetModelDeploymentShapeSeriesEnumStringValues ¶ added in v65.13.1
func GetModelDeploymentShapeSeriesEnumStringValues() []string
GetModelDeploymentShapeSeriesEnumStringValues Enumerates the set of values in String for ModelDeploymentShapeSeriesEnum
func GetModelDeploymentTypeEnumStringValues ¶
func GetModelDeploymentTypeEnumStringValues() []string
GetModelDeploymentTypeEnumStringValues Enumerates the set of values in String for ModelDeploymentTypeEnum
func GetModelLifecycleStateEnumStringValues ¶
func GetModelLifecycleStateEnumStringValues() []string
GetModelLifecycleStateEnumStringValues Enumerates the set of values in String for ModelLifecycleStateEnum
func GetNotebookSessionLifecycleStateEnumStringValues ¶
func GetNotebookSessionLifecycleStateEnumStringValues() []string
GetNotebookSessionLifecycleStateEnumStringValues Enumerates the set of values in String for NotebookSessionLifecycleStateEnum
func GetNotebookSessionShapeSeriesEnumStringValues ¶
func GetNotebookSessionShapeSeriesEnumStringValues() []string
GetNotebookSessionShapeSeriesEnumStringValues Enumerates the set of values in String for NotebookSessionShapeSeriesEnum
func GetProjectLifecycleStateEnumStringValues ¶
func GetProjectLifecycleStateEnumStringValues() []string
GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum
func GetScalingPolicyPolicyTypeEnumStringValues ¶
func GetScalingPolicyPolicyTypeEnumStringValues() []string
GetScalingPolicyPolicyTypeEnumStringValues Enumerates the set of values in String for ScalingPolicyPolicyTypeEnum
func GetWorkRequestOperationTypeEnumStringValues ¶
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues ¶
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues ¶
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
Types ¶
type 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 }
ActivateModelDeploymentRequest wrapper for the ActivateModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeploymentRequest.
func (ActivateModelDeploymentRequest) BinaryRequestBody ¶
func (request ActivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ActivateModelDeploymentRequest) HTTPRequest ¶
func (request ActivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateModelDeploymentRequest) RetryPolicy ¶
func (request ActivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateModelDeploymentRequest) String ¶
func (request ActivateModelDeploymentRequest) String() string
func (ActivateModelDeploymentRequest) ValidateEnumValue ¶
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
type ActivateModelDeploymentResponse ¶
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"` }
ActivateModelDeploymentResponse wrapper for the ActivateModelDeployment operation
func (ActivateModelDeploymentResponse) HTTPResponse ¶
func (response ActivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateModelDeploymentResponse) String ¶
func (response ActivateModelDeploymentResponse) String() string
type 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 }
ActivateModelRequest wrapper for the ActivateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModel.go.html to see an example of how to use ActivateModelRequest.
func (ActivateModelRequest) BinaryRequestBody ¶
func (request ActivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ActivateModelRequest) HTTPRequest ¶
func (request ActivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateModelRequest) RetryPolicy ¶
func (request ActivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateModelRequest) String ¶
func (request ActivateModelRequest) String() string
func (ActivateModelRequest) ValidateEnumValue ¶
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
type ActivateModelResponse ¶
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"` }
ActivateModelResponse wrapper for the ActivateModel operation
func (ActivateModelResponse) HTTPResponse ¶
func (response ActivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateModelResponse) String ¶
func (response ActivateModelResponse) String() string
type 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 }
ActivateNotebookSessionRequest wrapper for the ActivateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSessionRequest.
func (ActivateNotebookSessionRequest) BinaryRequestBody ¶
func (request ActivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ActivateNotebookSessionRequest) HTTPRequest ¶
func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateNotebookSessionRequest) RetryPolicy ¶
func (request ActivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateNotebookSessionRequest) String ¶
func (request ActivateNotebookSessionRequest) String() string
func (ActivateNotebookSessionRequest) ValidateEnumValue ¶
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
type ActivateNotebookSessionResponse ¶
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"` }
ActivateNotebookSessionResponse wrapper for the ActivateNotebookSession operation
func (ActivateNotebookSessionResponse) HTTPResponse ¶
func (response ActivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateNotebookSessionResponse) String ¶
func (response ActivateNotebookSessionResponse) String() string
type ArtifactExportDetails ¶ added in v65.20.0
type ArtifactExportDetails interface { }
ArtifactExportDetails Details of Artifact source
type ArtifactExportDetailsObjectStorage ¶ added in v65.20.0
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"` }
ArtifactExportDetailsObjectStorage Model artifact source details for exporting artifact to service bucket
func (ArtifactExportDetailsObjectStorage) MarshalJSON ¶ added in v65.20.0
func (m ArtifactExportDetailsObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ArtifactExportDetailsObjectStorage) String ¶ added in v65.20.0
func (m ArtifactExportDetailsObjectStorage) String() string
func (ArtifactExportDetailsObjectStorage) ValidateEnumValue ¶ added in v65.20.0
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
type ArtifactImportDetails ¶ added in v65.20.0
type ArtifactImportDetails interface { }
ArtifactImportDetails Details of Artifact source
type ArtifactImportDetailsObjectStorage ¶ added in v65.20.0
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"` }
ArtifactImportDetailsObjectStorage Artifact destination details for importing to destination bucket
func (ArtifactImportDetailsObjectStorage) MarshalJSON ¶ added in v65.20.0
func (m ArtifactImportDetailsObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ArtifactImportDetailsObjectStorage) String ¶ added in v65.20.0
func (m ArtifactImportDetailsObjectStorage) String() string
func (ArtifactImportDetailsObjectStorage) ValidateEnumValue ¶ added in v65.20.0
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
type ArtifactSourceTypeEnum ¶ added in v65.20.0
type ArtifactSourceTypeEnum string
ArtifactSourceTypeEnum Enum with underlying type: string
const (
ArtifactSourceTypeOracleObjectStorage ArtifactSourceTypeEnum = "ORACLE_OBJECT_STORAGE"
)
Set of constants representing the allowable values for ArtifactSourceTypeEnum
func GetArtifactSourceTypeEnumValues ¶ added in v65.20.0
func GetArtifactSourceTypeEnumValues() []ArtifactSourceTypeEnum
GetArtifactSourceTypeEnumValues Enumerates the set of values for ArtifactSourceTypeEnum
func GetMappingArtifactSourceTypeEnum ¶ added in v65.20.0
func GetMappingArtifactSourceTypeEnum(val string) (ArtifactSourceTypeEnum, bool)
GetMappingArtifactSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 }
CancelJobRunRequest wrapper for the CancelJobRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRunRequest.
func (CancelJobRunRequest) BinaryRequestBody ¶
func (request CancelJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelJobRunRequest) HTTPRequest ¶
func (request CancelJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelJobRunRequest) RetryPolicy ¶
func (request CancelJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelJobRunRequest) String ¶
func (request CancelJobRunRequest) String() string
func (CancelJobRunRequest) ValidateEnumValue ¶
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
type CancelJobRunResponse ¶
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"` }
CancelJobRunResponse wrapper for the CancelJobRun operation
func (CancelJobRunResponse) HTTPResponse ¶
func (response CancelJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelJobRunResponse) String ¶
func (response CancelJobRunResponse) String() string
type 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 }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelWorkRequestResponse ¶
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"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type CategoryLogDetails ¶
type CategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
CategoryLogDetails The log details for each category.
func (CategoryLogDetails) String ¶
func (m CategoryLogDetails) String() string
func (CategoryLogDetails) ValidateEnumValue ¶
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
type ChangeJobCompartmentDetails ¶
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"` }
ChangeJobCompartmentDetails Details for changing the compartment of a job.
func (ChangeJobCompartmentDetails) String ¶
func (m ChangeJobCompartmentDetails) String() string
func (ChangeJobCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.
func (ChangeJobCompartmentRequest) BinaryRequestBody ¶
func (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeJobCompartmentRequest) HTTPRequest ¶
func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeJobCompartmentRequest) RetryPolicy ¶
func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeJobCompartmentRequest) String ¶
func (request ChangeJobCompartmentRequest) String() string
func (ChangeJobCompartmentRequest) ValidateEnumValue ¶
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
type ChangeJobCompartmentResponse ¶
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"` }
ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation
func (ChangeJobCompartmentResponse) HTTPResponse ¶
func (response ChangeJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeJobCompartmentResponse) String ¶
func (response ChangeJobCompartmentResponse) String() string
type ChangeJobRunCompartmentDetails ¶
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"` }
ChangeJobRunCompartmentDetails Details for changing the compartment of a job run.
func (ChangeJobRunCompartmentDetails) String ¶
func (m ChangeJobRunCompartmentDetails) String() string
func (ChangeJobRunCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeJobRunCompartmentRequest wrapper for the ChangeJobRunCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartmentRequest.
func (ChangeJobRunCompartmentRequest) BinaryRequestBody ¶
func (request ChangeJobRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeJobRunCompartmentRequest) HTTPRequest ¶
func (request ChangeJobRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeJobRunCompartmentRequest) RetryPolicy ¶
func (request ChangeJobRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeJobRunCompartmentRequest) String ¶
func (request ChangeJobRunCompartmentRequest) String() string
func (ChangeJobRunCompartmentRequest) ValidateEnumValue ¶
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
type ChangeJobRunCompartmentResponse ¶
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"` }
ChangeJobRunCompartmentResponse wrapper for the ChangeJobRunCompartment operation
func (ChangeJobRunCompartmentResponse) HTTPResponse ¶
func (response ChangeJobRunCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeJobRunCompartmentResponse) String ¶
func (response ChangeJobRunCompartmentResponse) String() string
type ChangeModelCompartmentDetails ¶
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"` }
ChangeModelCompartmentDetails Details for changing the compartment of a model.
func (ChangeModelCompartmentDetails) String ¶
func (m ChangeModelCompartmentDetails) String() string
func (ChangeModelCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
func (ChangeModelCompartmentRequest) BinaryRequestBody ¶
func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeModelCompartmentRequest) HTTPRequest ¶
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeModelCompartmentRequest) RetryPolicy ¶
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeModelCompartmentRequest) String ¶
func (request ChangeModelCompartmentRequest) String() string
func (ChangeModelCompartmentRequest) ValidateEnumValue ¶
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
type ChangeModelCompartmentResponse ¶
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"` }
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
func (ChangeModelCompartmentResponse) HTTPResponse ¶
func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeModelCompartmentResponse) String ¶
func (response ChangeModelCompartmentResponse) String() string
type ChangeModelDeploymentCompartmentDetails ¶
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"` }
ChangeModelDeploymentCompartmentDetails Details for changing the compartment of a model deployment.
func (ChangeModelDeploymentCompartmentDetails) String ¶
func (m ChangeModelDeploymentCompartmentDetails) String() string
func (ChangeModelDeploymentCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeModelDeploymentCompartmentRequest wrapper for the ChangeModelDeploymentCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartmentRequest.
func (ChangeModelDeploymentCompartmentRequest) BinaryRequestBody ¶
func (request ChangeModelDeploymentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeModelDeploymentCompartmentRequest) HTTPRequest ¶
func (request ChangeModelDeploymentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeModelDeploymentCompartmentRequest) RetryPolicy ¶
func (request ChangeModelDeploymentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeModelDeploymentCompartmentRequest) String ¶
func (request ChangeModelDeploymentCompartmentRequest) String() string
func (ChangeModelDeploymentCompartmentRequest) ValidateEnumValue ¶
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
type ChangeModelDeploymentCompartmentResponse ¶
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"` }
ChangeModelDeploymentCompartmentResponse wrapper for the ChangeModelDeploymentCompartment operation
func (ChangeModelDeploymentCompartmentResponse) HTTPResponse ¶
func (response ChangeModelDeploymentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeModelDeploymentCompartmentResponse) String ¶
func (response ChangeModelDeploymentCompartmentResponse) String() string
type ChangeNotebookSessionCompartmentDetails ¶
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"` }
ChangeNotebookSessionCompartmentDetails Details for changing the compartment of a notebook session.
func (ChangeNotebookSessionCompartmentDetails) String ¶
func (m ChangeNotebookSessionCompartmentDetails) String() string
func (ChangeNotebookSessionCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeNotebookSessionCompartmentRequest wrapper for the ChangeNotebookSessionCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartmentRequest.
func (ChangeNotebookSessionCompartmentRequest) BinaryRequestBody ¶
func (request ChangeNotebookSessionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeNotebookSessionCompartmentRequest) HTTPRequest ¶
func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeNotebookSessionCompartmentRequest) RetryPolicy ¶
func (request ChangeNotebookSessionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeNotebookSessionCompartmentRequest) String ¶
func (request ChangeNotebookSessionCompartmentRequest) String() string
func (ChangeNotebookSessionCompartmentRequest) ValidateEnumValue ¶
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
type ChangeNotebookSessionCompartmentResponse ¶
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"` }
ChangeNotebookSessionCompartmentResponse wrapper for the ChangeNotebookSessionCompartment operation
func (ChangeNotebookSessionCompartmentResponse) HTTPResponse ¶
func (response ChangeNotebookSessionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeNotebookSessionCompartmentResponse) String ¶
func (response ChangeNotebookSessionCompartmentResponse) String() string
type ChangeProjectCompartmentDetails ¶
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"` }
ChangeProjectCompartmentDetails Details for changing the compartment of a project.
func (ChangeProjectCompartmentDetails) String ¶
func (m ChangeProjectCompartmentDetails) String() string
func (ChangeProjectCompartmentDetails) ValidateEnumValue ¶
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
type 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 }
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
func (ChangeProjectCompartmentRequest) BinaryRequestBody ¶
func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeProjectCompartmentRequest) HTTPRequest ¶
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeProjectCompartmentRequest) RetryPolicy ¶
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeProjectCompartmentRequest) String ¶
func (request ChangeProjectCompartmentRequest) String() string
func (ChangeProjectCompartmentRequest) ValidateEnumValue ¶
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
type ChangeProjectCompartmentResponse ¶
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"` }
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
func (ChangeProjectCompartmentResponse) HTTPResponse ¶
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeProjectCompartmentResponse) String ¶
func (response ChangeProjectCompartmentResponse) String() string
type 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 }
CreateJobArtifactRequest wrapper for the CreateJobArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifactRequest.
func (CreateJobArtifactRequest) BinaryRequestBody ¶
func (request CreateJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateJobArtifactRequest) HTTPRequest ¶
func (request CreateJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateJobArtifactRequest) RetryPolicy ¶
func (request CreateJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateJobArtifactRequest) String ¶
func (request CreateJobArtifactRequest) String() string
func (CreateJobArtifactRequest) ValidateEnumValue ¶
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
type CreateJobArtifactResponse ¶
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"` }
CreateJobArtifactResponse wrapper for the CreateJobArtifact operation
func (CreateJobArtifactResponse) HTTPResponse ¶
func (response CreateJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateJobArtifactResponse) String ¶
func (response CreateJobArtifactResponse) String() string
type CreateJobDetails ¶
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"` JobLogConfigurationDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationDetails"` // 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"` }
CreateJobDetails Parameters needed to create a new job.
func (CreateJobDetails) String ¶
func (m CreateJobDetails) String() string
func (*CreateJobDetails) UnmarshalJSON ¶
func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateJobDetails) ValidateEnumValue ¶
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
type 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 }
CreateJobRequest wrapper for the CreateJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJob.go.html to see an example of how to use CreateJobRequest.
func (CreateJobRequest) BinaryRequestBody ¶
func (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateJobRequest) HTTPRequest ¶
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateJobRequest) RetryPolicy ¶
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateJobRequest) String ¶
func (request CreateJobRequest) String() string
func (CreateJobRequest) ValidateEnumValue ¶
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
type CreateJobResponse ¶
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"` }
CreateJobResponse wrapper for the CreateJob operation
func (CreateJobResponse) HTTPResponse ¶
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateJobResponse) String ¶
func (response CreateJobResponse) String() string
type CreateJobRunDetails ¶
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"` // 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"` }
CreateJobRunDetails Parameters needed to create a new job run.
func (CreateJobRunDetails) String ¶
func (m CreateJobRunDetails) String() string
func (*CreateJobRunDetails) UnmarshalJSON ¶
func (m *CreateJobRunDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateJobRunDetails) ValidateEnumValue ¶
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
type 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"` // 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 }
CreateJobRunRequest wrapper for the CreateJobRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRunRequest.
func (CreateJobRunRequest) BinaryRequestBody ¶
func (request CreateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateJobRunRequest) HTTPRequest ¶
func (request CreateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateJobRunRequest) RetryPolicy ¶
func (request CreateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateJobRunRequest) String ¶
func (request CreateJobRunRequest) String() string
func (CreateJobRunRequest) ValidateEnumValue ¶
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
type CreateJobRunResponse ¶
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"` }
CreateJobRunResponse wrapper for the CreateJobRun operation
func (CreateJobRunResponse) HTTPResponse ¶
func (response CreateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateJobRunResponse) String ¶
func (response CreateJobRunResponse) String() string
type 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 }
CreateModelArtifactRequest wrapper for the CreateModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifactRequest.
func (CreateModelArtifactRequest) BinaryRequestBody ¶
func (request CreateModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateModelArtifactRequest) HTTPRequest ¶
func (request CreateModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelArtifactRequest) RetryPolicy ¶
func (request CreateModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelArtifactRequest) String ¶
func (request CreateModelArtifactRequest) String() string
func (CreateModelArtifactRequest) ValidateEnumValue ¶
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
type CreateModelArtifactResponse ¶
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"` }
CreateModelArtifactResponse wrapper for the CreateModelArtifact operation
func (CreateModelArtifactResponse) HTTPResponse ¶
func (response CreateModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelArtifactResponse) String ¶
func (response CreateModelArtifactResponse) String() string
type CreateModelDeploymentDetails ¶
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"` }
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.
func (CreateModelDeploymentDetails) String ¶
func (m CreateModelDeploymentDetails) String() string
func (*CreateModelDeploymentDetails) UnmarshalJSON ¶
func (m *CreateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateModelDeploymentDetails) ValidateEnumValue ¶
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
type 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"` // 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 }
CreateModelDeploymentRequest wrapper for the CreateModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeploymentRequest.
func (CreateModelDeploymentRequest) BinaryRequestBody ¶
func (request CreateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateModelDeploymentRequest) HTTPRequest ¶
func (request CreateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelDeploymentRequest) RetryPolicy ¶
func (request CreateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelDeploymentRequest) String ¶
func (request CreateModelDeploymentRequest) String() string
func (CreateModelDeploymentRequest) ValidateEnumValue ¶
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
type CreateModelDeploymentResponse ¶
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"` }
CreateModelDeploymentResponse wrapper for the CreateModelDeployment operation
func (CreateModelDeploymentResponse) HTTPResponse ¶
func (response CreateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelDeploymentResponse) String ¶
func (response CreateModelDeploymentResponse) String() string
type CreateModelDetails ¶
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"` }
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.
func (CreateModelDetails) String ¶
func (m CreateModelDetails) String() string
func (CreateModelDetails) ValidateEnumValue ¶
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
type CreateModelProvenanceDetails ¶
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"` }
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.
func (CreateModelProvenanceDetails) String ¶
func (m CreateModelProvenanceDetails) String() string
func (CreateModelProvenanceDetails) ValidateEnumValue ¶
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
type 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 }
CreateModelProvenanceRequest wrapper for the CreateModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenanceRequest.
func (CreateModelProvenanceRequest) BinaryRequestBody ¶
func (request CreateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateModelProvenanceRequest) HTTPRequest ¶
func (request CreateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelProvenanceRequest) RetryPolicy ¶
func (request CreateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelProvenanceRequest) String ¶
func (request CreateModelProvenanceRequest) String() string
func (CreateModelProvenanceRequest) ValidateEnumValue ¶
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
type CreateModelProvenanceResponse ¶
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"` }
CreateModelProvenanceResponse wrapper for the CreateModelProvenance operation
func (CreateModelProvenanceResponse) HTTPResponse ¶
func (response CreateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelProvenanceResponse) String ¶
func (response CreateModelProvenanceResponse) String() string
type 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 }
CreateModelRequest wrapper for the CreateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModel.go.html to see an example of how to use CreateModelRequest.
func (CreateModelRequest) BinaryRequestBody ¶
func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateModelRequest) HTTPRequest ¶
func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelRequest) RetryPolicy ¶
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelRequest) String ¶
func (request CreateModelRequest) String() string
func (CreateModelRequest) ValidateEnumValue ¶
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
type CreateModelResponse ¶
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"` }
CreateModelResponse wrapper for the CreateModel operation
func (CreateModelResponse) HTTPResponse ¶
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelResponse) String ¶
func (response CreateModelResponse) String() string
type CreateNotebookSessionDetails ¶
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"` }
CreateNotebookSessionDetails Parameters needed to create a new notebook session. Notebook sessions are interactive coding environments for data scientists.
func (CreateNotebookSessionDetails) String ¶
func (m CreateNotebookSessionDetails) String() string
func (CreateNotebookSessionDetails) ValidateEnumValue ¶
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
type 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 }
CreateNotebookSessionRequest wrapper for the CreateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSessionRequest.
func (CreateNotebookSessionRequest) BinaryRequestBody ¶
func (request CreateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateNotebookSessionRequest) HTTPRequest ¶
func (request CreateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateNotebookSessionRequest) RetryPolicy ¶
func (request CreateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateNotebookSessionRequest) String ¶
func (request CreateNotebookSessionRequest) String() string
func (CreateNotebookSessionRequest) ValidateEnumValue ¶
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
type CreateNotebookSessionResponse ¶
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"` }
CreateNotebookSessionResponse wrapper for the CreateNotebookSession operation
func (CreateNotebookSessionResponse) HTTPResponse ¶
func (response CreateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateNotebookSessionResponse) String ¶
func (response CreateNotebookSessionResponse) String() string
type CreateProjectDetails ¶
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"` }
CreateProjectDetails Parameters needed to create a new project. Projects enable users to organize their data science work.
func (CreateProjectDetails) String ¶
func (m CreateProjectDetails) String() string
func (CreateProjectDetails) ValidateEnumValue ¶
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
type 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 }
CreateProjectRequest wrapper for the CreateProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateProject.go.html to see an example of how to use CreateProjectRequest.
func (CreateProjectRequest) BinaryRequestBody ¶
func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateProjectRequest) HTTPRequest ¶
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateProjectRequest) RetryPolicy ¶
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateProjectRequest) String ¶
func (request CreateProjectRequest) String() string
func (CreateProjectRequest) ValidateEnumValue ¶
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
type CreateProjectResponse ¶
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"` }
CreateProjectResponse wrapper for the CreateProject operation
func (CreateProjectResponse) HTTPResponse ¶
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateProjectResponse) String ¶
func (response CreateProjectResponse) String() string
type DataScienceClient ¶
type DataScienceClient struct { common.BaseClient // contains filtered or unexported fields }
DataScienceClient a client for DataScience
func NewDataScienceClientWithConfigurationProvider ¶
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 ¶
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 (DataScienceClient) ActivateModel ¶
func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
ActivateModel Activates the model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModel.go.html to see an example of how to use ActivateModel API. A default retry strategy applies to this operation ActivateModel()
func (DataScienceClient) ActivateModelDeployment ¶
func (client DataScienceClient) ActivateModelDeployment(ctx context.Context, request ActivateModelDeploymentRequest) (response ActivateModelDeploymentResponse, err error)
ActivateModelDeployment Activates the model deployment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeployment API.
func (DataScienceClient) ActivateNotebookSession ¶
func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
ActivateNotebookSession Activates the notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSession API.
func (DataScienceClient) CancelJobRun ¶
func (client DataScienceClient) CancelJobRun(ctx context.Context, request CancelJobRunRequest) (response CancelJobRunResponse, err error)
CancelJobRun Cancels an IN_PROGRESS job run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRun API. A default retry strategy applies to this operation CancelJobRun()
func (DataScienceClient) CancelWorkRequest ¶
func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request that has not started.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (DataScienceClient) ChangeJobCompartment ¶
func (client DataScienceClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
ChangeJobCompartment Changes a job's compartment
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.
func (DataScienceClient) ChangeJobRunCompartment ¶
func (client DataScienceClient) ChangeJobRunCompartment(ctx context.Context, request ChangeJobRunCompartmentRequest) (response ChangeJobRunCompartmentResponse, err error)
ChangeJobRunCompartment Changes a job run's compartment
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartment API.
func (DataScienceClient) ChangeModelCompartment ¶
func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a model resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API.
func (DataScienceClient) ChangeModelDeploymentCompartment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartment API.
func (DataScienceClient) ChangeNotebookSessionCompartment ¶
func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
ChangeNotebookSessionCompartment Moves a notebook session resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartment API.
func (DataScienceClient) ChangeProjectCompartment ¶
func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (*DataScienceClient) ConfigurationProvider ¶
func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DataScienceClient) CreateJob ¶
func (client DataScienceClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJob.go.html to see an example of how to use CreateJob API. A default retry strategy applies to this operation CreateJob()
func (DataScienceClient) CreateJobArtifact ¶
func (client DataScienceClient) CreateJobArtifact(ctx context.Context, request CreateJobArtifactRequest) (response CreateJobArtifactResponse, err error)
CreateJobArtifact Uploads a job artifact.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifact API.
func (DataScienceClient) CreateJobRun ¶
func (client DataScienceClient) CreateJobRun(ctx context.Context, request CreateJobRunRequest) (response CreateJobRunResponse, err error)
CreateJobRun Creates a job run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRun API. A default retry strategy applies to this operation CreateJobRun()
func (DataScienceClient) CreateModel ¶
func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Creates a new model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModel.go.html to see an example of how to use CreateModel API. A default retry strategy applies to this operation CreateModel()
func (DataScienceClient) CreateModelArtifact ¶
func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
CreateModelArtifact Creates model artifact for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifact API. A default retry strategy applies to this operation CreateModelArtifact()
func (DataScienceClient) CreateModelDeployment ¶
func (client DataScienceClient) CreateModelDeployment(ctx context.Context, request CreateModelDeploymentRequest) (response CreateModelDeploymentResponse, err error)
CreateModelDeployment Creates a new model deployment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeployment API. A default retry strategy applies to this operation CreateModelDeployment()
func (DataScienceClient) CreateModelProvenance ¶
func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
CreateModelProvenance Creates provenance information for the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenance API. A default retry strategy applies to this operation CreateModelProvenance()
func (DataScienceClient) CreateNotebookSession ¶
func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
CreateNotebookSession Creates a new notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSession API. A default retry strategy applies to this operation CreateNotebookSession()
func (DataScienceClient) CreateProject ¶
func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateProject.go.html to see an example of how to use CreateProject API. A default retry strategy applies to this operation CreateProject()
func (DataScienceClient) DeactivateModel ¶
func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
DeactivateModel Deactivates the model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModel API. A default retry strategy applies to this operation DeactivateModel()
func (DataScienceClient) DeactivateModelDeployment ¶
func (client DataScienceClient) DeactivateModelDeployment(ctx context.Context, request DeactivateModelDeploymentRequest) (response DeactivateModelDeploymentResponse, err error)
DeactivateModelDeployment Deactivates the model deployment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeployment API.
func (DataScienceClient) DeactivateNotebookSession ¶
func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
DeactivateNotebookSession Deactivates the notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSession API.
func (DataScienceClient) DeleteJob ¶
func (client DataScienceClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes a job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteJob.go.html to see an example of how to use DeleteJob API. A default retry strategy applies to this operation DeleteJob()
func (DataScienceClient) DeleteJobRun ¶
func (client DataScienceClient) DeleteJobRun(ctx context.Context, request DeleteJobRunRequest) (response DeleteJobRunResponse, err error)
DeleteJobRun Deletes a job run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRun API. A default retry strategy applies to this operation DeleteJobRun()
func (DataScienceClient) DeleteModel ¶
func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Deletes the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModel.go.html to see an example of how to use DeleteModel API. A default retry strategy applies to this operation DeleteModel()
func (DataScienceClient) DeleteModelDeployment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeployment API. A default retry strategy applies to this operation DeleteModelDeployment()
func (DataScienceClient) DeleteNotebookSession ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSession API. A default retry strategy applies to this operation DeleteNotebookSession()
func (DataScienceClient) DeleteProject ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteProject.go.html to see an example of how to use DeleteProject API. A default retry strategy applies to this operation DeleteProject()
func (DataScienceClient) ExportModelArtifact ¶ added in v65.20.0
func (client DataScienceClient) ExportModelArtifact(ctx context.Context, request ExportModelArtifactRequest) (response ExportModelArtifactResponse, err error)
ExportModelArtifact Export model artifact from source to the service bucket
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ExportModelArtifact.go.html to see an example of how to use ExportModelArtifact API. A default retry strategy applies to this operation ExportModelArtifact()
func (DataScienceClient) GetJob ¶
func (client DataScienceClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Gets a job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJob.go.html to see an example of how to use GetJob API. A default retry strategy applies to this operation GetJob()
func (DataScienceClient) GetJobArtifactContent ¶
func (client DataScienceClient) GetJobArtifactContent(ctx context.Context, request GetJobArtifactContentRequest) (response GetJobArtifactContentResponse, err error)
GetJobArtifactContent Downloads job artifact content for specified job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContent API. A default retry strategy applies to this operation GetJobArtifactContent()
func (DataScienceClient) GetJobRun ¶
func (client DataScienceClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
GetJobRun Gets a job run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJobRun.go.html to see an example of how to use GetJobRun API. A default retry strategy applies to this operation GetJobRun()
func (DataScienceClient) GetModel ¶
func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Gets the specified model's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModel.go.html to see an example of how to use GetModel API. A default retry strategy applies to this operation GetModel()
func (DataScienceClient) GetModelArtifactContent ¶
func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
GetModelArtifactContent Downloads model artifact content for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContent API. A default retry strategy applies to this operation GetModelArtifactContent()
func (DataScienceClient) GetModelDeployment ¶
func (client DataScienceClient) GetModelDeployment(ctx context.Context, request GetModelDeploymentRequest) (response GetModelDeploymentResponse, err error)
GetModelDeployment Retrieves the model deployment for the specified `modelDeploymentId`.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeployment API. A default retry strategy applies to this operation GetModelDeployment()
func (DataScienceClient) GetModelProvenance ¶
func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
GetModelProvenance Gets provenance information for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenance API. A default retry strategy applies to this operation GetModelProvenance()
func (DataScienceClient) GetNotebookSession ¶
func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
GetNotebookSession Gets the specified notebook session's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSession API. A default retry strategy applies to this operation GetNotebookSession()
func (DataScienceClient) GetProject ¶
func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Gets the specified project's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetProject.go.html to see an example of how to use GetProject API. A default retry strategy applies to this operation GetProject()
func (DataScienceClient) GetWorkRequest ¶
func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the specified work request's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (DataScienceClient) HeadJobArtifact ¶
func (client DataScienceClient) HeadJobArtifact(ctx context.Context, request HeadJobArtifactRequest) (response HeadJobArtifactResponse, err error)
HeadJobArtifact Gets job artifact metadata.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifact API. A default retry strategy applies to this operation HeadJobArtifact()
func (DataScienceClient) HeadModelArtifact ¶
func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
HeadModelArtifact Gets model artifact metadata for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifact API. A default retry strategy applies to this operation HeadModelArtifact()
func (DataScienceClient) ImportModelArtifact ¶ added in v65.20.0
func (client DataScienceClient) ImportModelArtifact(ctx context.Context, request ImportModelArtifactRequest) (response ImportModelArtifactResponse, err error)
ImportModelArtifact Import model artifact from service bucket
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ImportModelArtifact.go.html to see an example of how to use ImportModelArtifact API.
func (DataScienceClient) ListFastLaunchJobConfigs ¶
func (client DataScienceClient) ListFastLaunchJobConfigs(ctx context.Context, request ListFastLaunchJobConfigsRequest) (response ListFastLaunchJobConfigsResponse, err error)
ListFastLaunchJobConfigs List fast launch capable job configs in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListFastLaunchJobConfigs.go.html to see an example of how to use ListFastLaunchJobConfigs API. A default retry strategy applies to this operation ListFastLaunchJobConfigs()
func (DataScienceClient) ListJobRuns ¶
func (client DataScienceClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
ListJobRuns List out job runs.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobRuns.go.html to see an example of how to use ListJobRuns API. A default retry strategy applies to this operation ListJobRuns()
func (DataScienceClient) ListJobShapes ¶
func (client DataScienceClient) ListJobShapes(ctx context.Context, request ListJobShapesRequest) (response ListJobShapesResponse, err error)
ListJobShapes List job shapes available in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapes API. A default retry strategy applies to this operation ListJobShapes()
func (DataScienceClient) ListJobs ¶
func (client DataScienceClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
ListJobs List jobs in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobs.go.html to see an example of how to use ListJobs API. A default retry strategy applies to this operation ListJobs()
func (DataScienceClient) ListModelDeploymentShapes ¶
func (client DataScienceClient) ListModelDeploymentShapes(ctx context.Context, request ListModelDeploymentShapesRequest) (response ListModelDeploymentShapesResponse, err error)
ListModelDeploymentShapes Lists the valid model deployment shapes.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapes API. A default retry strategy applies to this operation ListModelDeploymentShapes()
func (DataScienceClient) ListModelDeployments ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeployments API. A default retry strategy applies to this operation ListModelDeployments()
func (DataScienceClient) ListModels ¶
func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Lists models in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModels.go.html to see an example of how to use ListModels API. A default retry strategy applies to this operation ListModels()
func (DataScienceClient) ListNotebookSessionShapes ¶
func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
ListNotebookSessionShapes Lists the valid notebook session shapes.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapes API. A default retry strategy applies to this operation ListNotebookSessionShapes()
func (DataScienceClient) ListNotebookSessions ¶
func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
ListNotebookSessions Lists the notebook sessions in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessions API. A default retry strategy applies to this operation ListNotebookSessions()
func (DataScienceClient) ListProjects ¶
func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Lists projects in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListProjects.go.html to see an example of how to use ListProjects API. A default retry strategy applies to this operation ListProjects()
func (DataScienceClient) ListWorkRequestErrors ¶
func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists work request errors for the specified work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (DataScienceClient) ListWorkRequestLogs ¶
func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists work request logs for the specified work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (DataScienceClient) ListWorkRequests ¶
func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists work requests in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (*DataScienceClient) SetRegion ¶
func (client *DataScienceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DataScienceClient) UpdateJob ¶
func (client DataScienceClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates a job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateJob.go.html to see an example of how to use UpdateJob API. A default retry strategy applies to this operation UpdateJob()
func (DataScienceClient) UpdateJobRun ¶
func (client DataScienceClient) UpdateJobRun(ctx context.Context, request UpdateJobRunRequest) (response UpdateJobRunResponse, err error)
UpdateJobRun Updates a job run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRun API. A default retry strategy applies to this operation UpdateJobRun()
func (DataScienceClient) UpdateModel ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModel.go.html to see an example of how to use UpdateModel API. A default retry strategy applies to this operation UpdateModel()
func (DataScienceClient) UpdateModelDeployment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeployment API. A default retry strategy applies to this operation UpdateModelDeployment()
func (DataScienceClient) UpdateModelProvenance ¶
func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
UpdateModelProvenance Updates the provenance information for the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenance API. A default retry strategy applies to this operation UpdateModelProvenance()
func (DataScienceClient) UpdateNotebookSession ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSession API. A default retry strategy applies to this operation UpdateNotebookSession()
func (DataScienceClient) UpdateProject ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateProject.go.html to see an example of how to use UpdateProject API. A default retry strategy applies to this operation UpdateProject()
type 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 }
DeactivateModelDeploymentRequest wrapper for the DeactivateModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeploymentRequest.
func (DeactivateModelDeploymentRequest) BinaryRequestBody ¶
func (request DeactivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeactivateModelDeploymentRequest) HTTPRequest ¶
func (request DeactivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateModelDeploymentRequest) RetryPolicy ¶
func (request DeactivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateModelDeploymentRequest) String ¶
func (request DeactivateModelDeploymentRequest) String() string
func (DeactivateModelDeploymentRequest) ValidateEnumValue ¶
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
type DeactivateModelDeploymentResponse ¶
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"` }
DeactivateModelDeploymentResponse wrapper for the DeactivateModelDeployment operation
func (DeactivateModelDeploymentResponse) HTTPResponse ¶
func (response DeactivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateModelDeploymentResponse) String ¶
func (response DeactivateModelDeploymentResponse) String() string
type 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 }
DeactivateModelRequest wrapper for the DeactivateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModelRequest.
func (DeactivateModelRequest) BinaryRequestBody ¶
func (request DeactivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeactivateModelRequest) HTTPRequest ¶
func (request DeactivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateModelRequest) RetryPolicy ¶
func (request DeactivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateModelRequest) String ¶
func (request DeactivateModelRequest) String() string
func (DeactivateModelRequest) ValidateEnumValue ¶
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
type DeactivateModelResponse ¶
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"` }
DeactivateModelResponse wrapper for the DeactivateModel operation
func (DeactivateModelResponse) HTTPResponse ¶
func (response DeactivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateModelResponse) String ¶
func (response DeactivateModelResponse) String() string
type 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 }
DeactivateNotebookSessionRequest wrapper for the DeactivateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSessionRequest.
func (DeactivateNotebookSessionRequest) BinaryRequestBody ¶
func (request DeactivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeactivateNotebookSessionRequest) HTTPRequest ¶
func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateNotebookSessionRequest) RetryPolicy ¶
func (request DeactivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateNotebookSessionRequest) String ¶
func (request DeactivateNotebookSessionRequest) String() string
func (DeactivateNotebookSessionRequest) ValidateEnumValue ¶
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
type DeactivateNotebookSessionResponse ¶
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"` }
DeactivateNotebookSessionResponse wrapper for the DeactivateNotebookSession operation
func (DeactivateNotebookSessionResponse) HTTPResponse ¶
func (response DeactivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateNotebookSessionResponse) String ¶
func (response DeactivateNotebookSessionResponse) String() string
type DefaultJobConfigurationDetails ¶
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"` }
DefaultJobConfigurationDetails The default job configuration.
func (DefaultJobConfigurationDetails) MarshalJSON ¶
func (m DefaultJobConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DefaultJobConfigurationDetails) String ¶
func (m DefaultJobConfigurationDetails) String() string
func (DefaultJobConfigurationDetails) ValidateEnumValue ¶
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
type 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 }
DeleteJobRequest wrapper for the DeleteJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
func (DeleteJobRequest) BinaryRequestBody ¶
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteJobRequest) HTTPRequest ¶
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteJobRequest) RetryPolicy ¶
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteJobRequest) String ¶
func (request DeleteJobRequest) String() string
func (DeleteJobRequest) ValidateEnumValue ¶
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
type DeleteJobResponse ¶
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"` }
DeleteJobResponse wrapper for the DeleteJob operation
func (DeleteJobResponse) HTTPResponse ¶
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteJobResponse) String ¶
func (response DeleteJobResponse) String() string
type 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 }
DeleteJobRunRequest wrapper for the DeleteJobRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRunRequest.
func (DeleteJobRunRequest) BinaryRequestBody ¶
func (request DeleteJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteJobRunRequest) HTTPRequest ¶
func (request DeleteJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteJobRunRequest) RetryPolicy ¶
func (request DeleteJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteJobRunRequest) String ¶
func (request DeleteJobRunRequest) String() string
func (DeleteJobRunRequest) ValidateEnumValue ¶
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
type DeleteJobRunResponse ¶
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"` }
DeleteJobRunResponse wrapper for the DeleteJobRun operation
func (DeleteJobRunResponse) HTTPResponse ¶
func (response DeleteJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteJobRunResponse) String ¶
func (response DeleteJobRunResponse) String() string
type 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 }
DeleteModelDeploymentRequest wrapper for the DeleteModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeploymentRequest.
func (DeleteModelDeploymentRequest) BinaryRequestBody ¶
func (request DeleteModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteModelDeploymentRequest) HTTPRequest ¶
func (request DeleteModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteModelDeploymentRequest) RetryPolicy ¶
func (request DeleteModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteModelDeploymentRequest) String ¶
func (request DeleteModelDeploymentRequest) String() string
func (DeleteModelDeploymentRequest) ValidateEnumValue ¶
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
type DeleteModelDeploymentResponse ¶
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"` }
DeleteModelDeploymentResponse wrapper for the DeleteModelDeployment operation
func (DeleteModelDeploymentResponse) HTTPResponse ¶
func (response DeleteModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteModelDeploymentResponse) String ¶
func (response DeleteModelDeploymentResponse) String() string
type 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 }
DeleteModelRequest wrapper for the DeleteModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
func (DeleteModelRequest) BinaryRequestBody ¶
func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteModelRequest) HTTPRequest ¶
func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteModelRequest) RetryPolicy ¶
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteModelRequest) String ¶
func (request DeleteModelRequest) String() string
func (DeleteModelRequest) ValidateEnumValue ¶
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
type DeleteModelResponse ¶
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"` }
DeleteModelResponse wrapper for the DeleteModel operation
func (DeleteModelResponse) HTTPResponse ¶
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteModelResponse) String ¶
func (response DeleteModelResponse) String() string
type 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 }
DeleteNotebookSessionRequest wrapper for the DeleteNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSessionRequest.
func (DeleteNotebookSessionRequest) BinaryRequestBody ¶
func (request DeleteNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteNotebookSessionRequest) HTTPRequest ¶
func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteNotebookSessionRequest) RetryPolicy ¶
func (request DeleteNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteNotebookSessionRequest) String ¶
func (request DeleteNotebookSessionRequest) String() string
func (DeleteNotebookSessionRequest) ValidateEnumValue ¶
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
type DeleteNotebookSessionResponse ¶
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"` }
DeleteNotebookSessionResponse wrapper for the DeleteNotebookSession operation
func (DeleteNotebookSessionResponse) HTTPResponse ¶
func (response DeleteNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteNotebookSessionResponse) String ¶
func (response DeleteNotebookSessionResponse) String() string
type 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 }
DeleteProjectRequest wrapper for the DeleteProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
func (DeleteProjectRequest) BinaryRequestBody ¶
func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteProjectRequest) HTTPRequest ¶
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteProjectRequest) RetryPolicy ¶
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteProjectRequest) String ¶
func (request DeleteProjectRequest) String() string
func (DeleteProjectRequest) ValidateEnumValue ¶
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
type DeleteProjectResponse ¶
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"` }
DeleteProjectResponse wrapper for the DeleteProject operation
func (DeleteProjectResponse) HTTPResponse ¶
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteProjectResponse) String ¶
func (response DeleteProjectResponse) String() string
type ExportModelArtifactDetails ¶ added in v65.20.0
type ExportModelArtifactDetails struct {
ArtifactExportDetails ArtifactExportDetails `mandatory:"true" json:"artifactExportDetails"`
}
ExportModelArtifactDetails Details required for exporting the model artifact from source to service bucket
func (ExportModelArtifactDetails) String ¶ added in v65.20.0
func (m ExportModelArtifactDetails) String() string
func (*ExportModelArtifactDetails) UnmarshalJSON ¶ added in v65.20.0
func (m *ExportModelArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (ExportModelArtifactDetails) ValidateEnumValue ¶ added in v65.20.0
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
type ExportModelArtifactRequest ¶ added in v65.20.0
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 }
ExportModelArtifactRequest wrapper for the ExportModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ExportModelArtifact.go.html to see an example of how to use ExportModelArtifactRequest.
func (ExportModelArtifactRequest) BinaryRequestBody ¶ added in v65.20.0
func (request ExportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ExportModelArtifactRequest) HTTPRequest ¶ added in v65.20.0
func (request ExportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ExportModelArtifactRequest) RetryPolicy ¶ added in v65.20.0
func (request ExportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ExportModelArtifactRequest) String ¶ added in v65.20.0
func (request ExportModelArtifactRequest) String() string
func (ExportModelArtifactRequest) ValidateEnumValue ¶ added in v65.20.0
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
type ExportModelArtifactResponse ¶ added in v65.20.0
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"` }
ExportModelArtifactResponse wrapper for the ExportModelArtifact operation
func (ExportModelArtifactResponse) HTTPResponse ¶ added in v65.20.0
func (response ExportModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ExportModelArtifactResponse) String ¶ added in v65.20.0
func (response ExportModelArtifactResponse) String() string
type FastLaunchJobConfigSummary ¶
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"` }
FastLaunchJobConfigSummary The shape config to launch a fast launch capable job instance
func (FastLaunchJobConfigSummary) String ¶
func (m FastLaunchJobConfigSummary) String() string
func (FastLaunchJobConfigSummary) ValidateEnumValue ¶
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
type FastLaunchJobConfigSummaryManagedEgressSupportEnum ¶
type FastLaunchJobConfigSummaryManagedEgressSupportEnum string
FastLaunchJobConfigSummaryManagedEgressSupportEnum Enum with underlying type: string
const ( FastLaunchJobConfigSummaryManagedEgressSupportRequired FastLaunchJobConfigSummaryManagedEgressSupportEnum = "REQUIRED" FastLaunchJobConfigSummaryManagedEgressSupportSupported FastLaunchJobConfigSummaryManagedEgressSupportEnum = "SUPPORTED" FastLaunchJobConfigSummaryManagedEgressSupportUnsupported FastLaunchJobConfigSummaryManagedEgressSupportEnum = "UNSUPPORTED" )
Set of constants representing the allowable values for FastLaunchJobConfigSummaryManagedEgressSupportEnum
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumValues ¶
func GetFastLaunchJobConfigSummaryManagedEgressSupportEnumValues() []FastLaunchJobConfigSummaryManagedEgressSupportEnum
GetFastLaunchJobConfigSummaryManagedEgressSupportEnumValues Enumerates the set of values for FastLaunchJobConfigSummaryManagedEgressSupportEnum
func GetMappingFastLaunchJobConfigSummaryManagedEgressSupportEnum ¶
func GetMappingFastLaunchJobConfigSummaryManagedEgressSupportEnum(val string) (FastLaunchJobConfigSummaryManagedEgressSupportEnum, bool)
GetMappingFastLaunchJobConfigSummaryManagedEgressSupportEnum performs case Insensitive comparison on enum value and return the desired enum
type FastLaunchJobConfigSummaryShapeSeriesEnum ¶
type FastLaunchJobConfigSummaryShapeSeriesEnum string
FastLaunchJobConfigSummaryShapeSeriesEnum Enum with underlying type: string
const ( FastLaunchJobConfigSummaryShapeSeriesAmdRome FastLaunchJobConfigSummaryShapeSeriesEnum = "AMD_ROME" FastLaunchJobConfigSummaryShapeSeriesIntelSkylake FastLaunchJobConfigSummaryShapeSeriesEnum = "INTEL_SKYLAKE" FastLaunchJobConfigSummaryShapeSeriesNvidiaGpu FastLaunchJobConfigSummaryShapeSeriesEnum = "NVIDIA_GPU" FastLaunchJobConfigSummaryShapeSeriesLegacy FastLaunchJobConfigSummaryShapeSeriesEnum = "LEGACY" )
Set of constants representing the allowable values for FastLaunchJobConfigSummaryShapeSeriesEnum
func GetFastLaunchJobConfigSummaryShapeSeriesEnumValues ¶
func GetFastLaunchJobConfigSummaryShapeSeriesEnumValues() []FastLaunchJobConfigSummaryShapeSeriesEnum
GetFastLaunchJobConfigSummaryShapeSeriesEnumValues Enumerates the set of values for FastLaunchJobConfigSummaryShapeSeriesEnum
func GetMappingFastLaunchJobConfigSummaryShapeSeriesEnum ¶
func GetMappingFastLaunchJobConfigSummaryShapeSeriesEnum(val string) (FastLaunchJobConfigSummaryShapeSeriesEnum, bool)
GetMappingFastLaunchJobConfigSummaryShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
type FixedSizeScalingPolicy ¶
type FixedSizeScalingPolicy struct { // The number of instances for the model deployment. InstanceCount *int `mandatory:"true" json:"instanceCount"` }
FixedSizeScalingPolicy The fixed size scaling policy.
func (FixedSizeScalingPolicy) MarshalJSON ¶
func (m FixedSizeScalingPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FixedSizeScalingPolicy) String ¶
func (m FixedSizeScalingPolicy) String() string
func (FixedSizeScalingPolicy) ValidateEnumValue ¶
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
type 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 }
GetJobArtifactContentRequest wrapper for the GetJobArtifactContent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContentRequest.
func (GetJobArtifactContentRequest) BinaryRequestBody ¶
func (request GetJobArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetJobArtifactContentRequest) HTTPRequest ¶
func (request GetJobArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobArtifactContentRequest) RetryPolicy ¶
func (request GetJobArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobArtifactContentRequest) String ¶
func (request GetJobArtifactContentRequest) String() string
func (GetJobArtifactContentRequest) ValidateEnumValue ¶
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
type GetJobArtifactContentResponse ¶
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"` }
GetJobArtifactContentResponse wrapper for the GetJobArtifactContent operation
func (GetJobArtifactContentResponse) HTTPResponse ¶
func (response GetJobArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobArtifactContentResponse) String ¶
func (response GetJobArtifactContentResponse) String() string
type 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 }
GetJobRequest wrapper for the GetJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJob.go.html to see an example of how to use GetJobRequest.
func (GetJobRequest) BinaryRequestBody ¶
func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetJobRequest) HTTPRequest ¶
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobRequest) RetryPolicy ¶
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobRequest) String ¶
func (request GetJobRequest) String() string
func (GetJobRequest) ValidateEnumValue ¶
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
type GetJobResponse ¶
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"` }
GetJobResponse wrapper for the GetJob operation
func (GetJobResponse) HTTPResponse ¶
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobResponse) String ¶
func (response GetJobResponse) String() string
type 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 }
GetJobRunRequest wrapper for the GetJobRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetJobRun.go.html to see an example of how to use GetJobRunRequest.
func (GetJobRunRequest) BinaryRequestBody ¶
func (request GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetJobRunRequest) HTTPRequest ¶
func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobRunRequest) RetryPolicy ¶
func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobRunRequest) String ¶
func (request GetJobRunRequest) String() string
func (GetJobRunRequest) ValidateEnumValue ¶
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
type GetJobRunResponse ¶
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"` }
GetJobRunResponse wrapper for the GetJobRun operation
func (GetJobRunResponse) HTTPResponse ¶
func (response GetJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobRunResponse) String ¶
func (response GetJobRunResponse) String() string
type 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 }
GetModelArtifactContentRequest wrapper for the GetModelArtifactContent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContentRequest.
func (GetModelArtifactContentRequest) BinaryRequestBody ¶
func (request GetModelArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetModelArtifactContentRequest) HTTPRequest ¶
func (request GetModelArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelArtifactContentRequest) RetryPolicy ¶
func (request GetModelArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelArtifactContentRequest) String ¶
func (request GetModelArtifactContentRequest) String() string
func (GetModelArtifactContentRequest) ValidateEnumValue ¶
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
type GetModelArtifactContentResponse ¶
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"` }
GetModelArtifactContentResponse wrapper for the GetModelArtifactContent operation
func (GetModelArtifactContentResponse) HTTPResponse ¶
func (response GetModelArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelArtifactContentResponse) String ¶
func (response GetModelArtifactContentResponse) String() string
type 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 }
GetModelDeploymentRequest wrapper for the GetModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeploymentRequest.
func (GetModelDeploymentRequest) BinaryRequestBody ¶
func (request GetModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetModelDeploymentRequest) HTTPRequest ¶
func (request GetModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelDeploymentRequest) RetryPolicy ¶
func (request GetModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelDeploymentRequest) String ¶
func (request GetModelDeploymentRequest) String() string
func (GetModelDeploymentRequest) ValidateEnumValue ¶
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
type GetModelDeploymentResponse ¶
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"` }
GetModelDeploymentResponse wrapper for the GetModelDeployment operation
func (GetModelDeploymentResponse) HTTPResponse ¶
func (response GetModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelDeploymentResponse) String ¶
func (response GetModelDeploymentResponse) String() string
type 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 }
GetModelProvenanceRequest wrapper for the GetModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenanceRequest.
func (GetModelProvenanceRequest) BinaryRequestBody ¶
func (request GetModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetModelProvenanceRequest) HTTPRequest ¶
func (request GetModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelProvenanceRequest) RetryPolicy ¶
func (request GetModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelProvenanceRequest) String ¶
func (request GetModelProvenanceRequest) String() string
func (GetModelProvenanceRequest) ValidateEnumValue ¶
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
type GetModelProvenanceResponse ¶
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"` }
GetModelProvenanceResponse wrapper for the GetModelProvenance operation
func (GetModelProvenanceResponse) HTTPResponse ¶
func (response GetModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelProvenanceResponse) String ¶
func (response GetModelProvenanceResponse) String() string
type 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 }
GetModelRequest wrapper for the GetModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModel.go.html to see an example of how to use GetModelRequest.
func (GetModelRequest) BinaryRequestBody ¶
func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetModelRequest) HTTPRequest ¶
func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelRequest) RetryPolicy ¶
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelRequest) String ¶
func (request GetModelRequest) String() string
func (GetModelRequest) ValidateEnumValue ¶
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
type GetModelResponse ¶
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"` }
GetModelResponse wrapper for the GetModel operation
func (GetModelResponse) HTTPResponse ¶
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelResponse) String ¶
func (response GetModelResponse) String() string
type 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 }
GetNotebookSessionRequest wrapper for the GetNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSessionRequest.
func (GetNotebookSessionRequest) BinaryRequestBody ¶
func (request GetNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetNotebookSessionRequest) HTTPRequest ¶
func (request GetNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetNotebookSessionRequest) RetryPolicy ¶
func (request GetNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetNotebookSessionRequest) String ¶
func (request GetNotebookSessionRequest) String() string
func (GetNotebookSessionRequest) ValidateEnumValue ¶
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
type GetNotebookSessionResponse ¶
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"` }
GetNotebookSessionResponse wrapper for the GetNotebookSession operation
func (GetNotebookSessionResponse) HTTPResponse ¶
func (response GetNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetNotebookSessionResponse) String ¶
func (response GetNotebookSessionResponse) String() string
type 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 }
GetProjectRequest wrapper for the GetProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetProject.go.html to see an example of how to use GetProjectRequest.
func (GetProjectRequest) BinaryRequestBody ¶
func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetProjectRequest) HTTPRequest ¶
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetProjectRequest) RetryPolicy ¶
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetProjectRequest) String ¶
func (request GetProjectRequest) String() string
func (GetProjectRequest) ValidateEnumValue ¶
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
type GetProjectResponse ¶
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"` }
GetProjectResponse wrapper for the GetProject operation
func (GetProjectResponse) HTTPResponse ¶
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetProjectResponse) String ¶
func (response GetProjectResponse) String() string
type 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
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"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type 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 }
HeadJobArtifactRequest wrapper for the HeadJobArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifactRequest.
func (HeadJobArtifactRequest) BinaryRequestBody ¶
func (request HeadJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (HeadJobArtifactRequest) HTTPRequest ¶
func (request HeadJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (HeadJobArtifactRequest) RetryPolicy ¶
func (request HeadJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (HeadJobArtifactRequest) String ¶
func (request HeadJobArtifactRequest) String() string
func (HeadJobArtifactRequest) ValidateEnumValue ¶
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
type HeadJobArtifactResponse ¶
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"` }
HeadJobArtifactResponse wrapper for the HeadJobArtifact operation
func (HeadJobArtifactResponse) HTTPResponse ¶
func (response HeadJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (HeadJobArtifactResponse) String ¶
func (response HeadJobArtifactResponse) String() string
type 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 }
HeadModelArtifactRequest wrapper for the HeadModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifactRequest.
func (HeadModelArtifactRequest) BinaryRequestBody ¶
func (request HeadModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (HeadModelArtifactRequest) HTTPRequest ¶
func (request HeadModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (HeadModelArtifactRequest) RetryPolicy ¶
func (request HeadModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (HeadModelArtifactRequest) String ¶
func (request HeadModelArtifactRequest) String() string
func (HeadModelArtifactRequest) ValidateEnumValue ¶
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
type HeadModelArtifactResponse ¶
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"` }
HeadModelArtifactResponse wrapper for the HeadModelArtifact operation
func (HeadModelArtifactResponse) HTTPResponse ¶
func (response HeadModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (HeadModelArtifactResponse) String ¶
func (response HeadModelArtifactResponse) String() string
type ImportModelArtifactDetails ¶ added in v65.20.0
type ImportModelArtifactDetails struct {
ArtifactImportDetails ArtifactImportDetails `mandatory:"true" json:"artifactImportDetails"`
}
ImportModelArtifactDetails Details required for importing the artifact from service bucket
func (ImportModelArtifactDetails) String ¶ added in v65.20.0
func (m ImportModelArtifactDetails) String() string
func (*ImportModelArtifactDetails) UnmarshalJSON ¶ added in v65.20.0
func (m *ImportModelArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (ImportModelArtifactDetails) ValidateEnumValue ¶ added in v65.20.0
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
type ImportModelArtifactRequest ¶ added in v65.20.0
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 }
ImportModelArtifactRequest wrapper for the ImportModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ImportModelArtifact.go.html to see an example of how to use ImportModelArtifactRequest.
func (ImportModelArtifactRequest) BinaryRequestBody ¶ added in v65.20.0
func (request ImportModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ImportModelArtifactRequest) HTTPRequest ¶ added in v65.20.0
func (request ImportModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ImportModelArtifactRequest) RetryPolicy ¶ added in v65.20.0
func (request ImportModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ImportModelArtifactRequest) String ¶ added in v65.20.0
func (request ImportModelArtifactRequest) String() string
func (ImportModelArtifactRequest) ValidateEnumValue ¶ added in v65.20.0
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
type ImportModelArtifactResponse ¶ added in v65.20.0
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"` }
ImportModelArtifactResponse wrapper for the ImportModelArtifact operation
func (ImportModelArtifactResponse) HTTPResponse ¶ added in v65.20.0
func (response ImportModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ImportModelArtifactResponse) String ¶ added in v65.20.0
func (response ImportModelArtifactResponse) String() string
type InstanceConfiguration ¶
type InstanceConfiguration struct { // The shape used to launch the model deployment instances. InstanceShapeName *string `mandatory:"true" json:"instanceShapeName"` ModelDeploymentInstanceShapeConfigDetails *ModelDeploymentInstanceShapeConfigDetails `mandatory:"false" json:"modelDeploymentInstanceShapeConfigDetails"` }
InstanceConfiguration The model deployment instance configuration
func (InstanceConfiguration) String ¶
func (m InstanceConfiguration) String() string
func (InstanceConfiguration) ValidateEnumValue ¶
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
type Job ¶
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"` JobLogConfigurationDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationDetails"` // 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"` }
Job A job for training models.
func (*Job) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
func (Job) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type JobConfigurationDetails ¶
type JobConfigurationDetails interface { }
JobConfigurationDetails The job configuration details
type JobConfigurationDetailsJobTypeEnum ¶
type JobConfigurationDetailsJobTypeEnum string
JobConfigurationDetailsJobTypeEnum Enum with underlying type: string
const (
JobConfigurationDetailsJobTypeDefault JobConfigurationDetailsJobTypeEnum = "DEFAULT"
)
Set of constants representing the allowable values for JobConfigurationDetailsJobTypeEnum
func GetJobConfigurationDetailsJobTypeEnumValues ¶
func GetJobConfigurationDetailsJobTypeEnumValues() []JobConfigurationDetailsJobTypeEnum
GetJobConfigurationDetailsJobTypeEnumValues Enumerates the set of values for JobConfigurationDetailsJobTypeEnum
func GetMappingJobConfigurationDetailsJobTypeEnum ¶
func GetMappingJobConfigurationDetailsJobTypeEnum(val string) (JobConfigurationDetailsJobTypeEnum, bool)
GetMappingJobConfigurationDetailsJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type JobInfrastructureConfigurationDetails ¶
type JobInfrastructureConfigurationDetails interface { }
JobInfrastructureConfigurationDetails The job infrastructure configuration details (shape, block storage, etc.)
type JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum ¶
type JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum string
JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum Enum with underlying type: string
const ( JobInfrastructureConfigurationDetailsJobInfrastructureTypeStandalone JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum = "STANDALONE" JobInfrastructureConfigurationDetailsJobInfrastructureTypeMeStandalone JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum = "ME_STANDALONE" )
Set of constants representing the allowable values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues ¶
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues() []JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues Enumerates the set of values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
func GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum ¶
func GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum(val string) (JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum, bool)
GetMappingJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type JobLifecycleStateEnum ¶
type JobLifecycleStateEnum string
JobLifecycleStateEnum Enum with underlying type: string
const ( JobLifecycleStateCreating JobLifecycleStateEnum = "CREATING" JobLifecycleStateActive JobLifecycleStateEnum = "ACTIVE" JobLifecycleStateDeleting JobLifecycleStateEnum = "DELETING" JobLifecycleStateFailed JobLifecycleStateEnum = "FAILED" JobLifecycleStateDeleted JobLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for JobLifecycleStateEnum
func GetJobLifecycleStateEnumValues ¶
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
func GetMappingJobLifecycleStateEnum ¶
func GetMappingJobLifecycleStateEnum(val string) (JobLifecycleStateEnum, bool)
GetMappingJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type JobLogConfigurationDetails ¶
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"` }
JobLogConfigurationDetails Logging configuration for resource.
func (JobLogConfigurationDetails) String ¶
func (m JobLogConfigurationDetails) String() string
func (JobLogConfigurationDetails) ValidateEnumValue ¶
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
type JobRun ¶
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"` JobLogConfigurationOverrideDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationOverrideDetails"` 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"` }
JobRun A job run.
func (*JobRun) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
func (JobRun) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type JobRunLifecycleStateEnum ¶
type JobRunLifecycleStateEnum string
JobRunLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for JobRunLifecycleStateEnum
func GetJobRunLifecycleStateEnumValues ¶
func GetJobRunLifecycleStateEnumValues() []JobRunLifecycleStateEnum
GetJobRunLifecycleStateEnumValues Enumerates the set of values for JobRunLifecycleStateEnum
func GetMappingJobRunLifecycleStateEnum ¶
func GetMappingJobRunLifecycleStateEnum(val string) (JobRunLifecycleStateEnum, bool)
GetMappingJobRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type JobRunLogDetails ¶
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"` }
JobRunLogDetails Customer logging details for job run.
func (JobRunLogDetails) String ¶
func (m JobRunLogDetails) String() string
func (JobRunLogDetails) ValidateEnumValue ¶
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
type JobRunSummary ¶
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"` }
JobRunSummary Summary information for a Job.
func (JobRunSummary) String ¶
func (m JobRunSummary) String() string
func (JobRunSummary) ValidateEnumValue ¶
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
type JobShapeConfigDetails ¶ added in v65.17.0
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"` }
JobShapeConfigDetails Details for the job run shape configuration. Specify only when a flex shape is selected.
func (JobShapeConfigDetails) String ¶ added in v65.17.0
func (m JobShapeConfigDetails) String() string
func (JobShapeConfigDetails) ValidateEnumValue ¶ added in v65.17.0
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
type JobShapeSummary ¶
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"` }
JobShapeSummary The compute shape used to launch a job compute instance.
func (JobShapeSummary) String ¶
func (m JobShapeSummary) String() string
func (JobShapeSummary) ValidateEnumValue ¶
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
type JobShapeSummaryShapeSeriesEnum ¶
type JobShapeSummaryShapeSeriesEnum string
JobShapeSummaryShapeSeriesEnum Enum with underlying type: string
const ( JobShapeSummaryShapeSeriesAmdRome JobShapeSummaryShapeSeriesEnum = "AMD_ROME" JobShapeSummaryShapeSeriesIntelSkylake JobShapeSummaryShapeSeriesEnum = "INTEL_SKYLAKE" JobShapeSummaryShapeSeriesNvidiaGpu JobShapeSummaryShapeSeriesEnum = "NVIDIA_GPU" JobShapeSummaryShapeSeriesLegacy JobShapeSummaryShapeSeriesEnum = "LEGACY" )
Set of constants representing the allowable values for JobShapeSummaryShapeSeriesEnum
func GetJobShapeSummaryShapeSeriesEnumValues ¶
func GetJobShapeSummaryShapeSeriesEnumValues() []JobShapeSummaryShapeSeriesEnum
GetJobShapeSummaryShapeSeriesEnumValues Enumerates the set of values for JobShapeSummaryShapeSeriesEnum
func GetMappingJobShapeSummaryShapeSeriesEnum ¶
func GetMappingJobShapeSummaryShapeSeriesEnum(val string) (JobShapeSummaryShapeSeriesEnum, bool)
GetMappingJobShapeSummaryShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
type JobSummary ¶
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"` }
JobSummary Summary information for a Job.
func (JobSummary) String ¶
func (m JobSummary) String() string
func (JobSummary) ValidateEnumValue ¶
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
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListFastLaunchJobConfigsRequest wrapper for the ListFastLaunchJobConfigs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListFastLaunchJobConfigs.go.html to see an example of how to use ListFastLaunchJobConfigsRequest.
func (ListFastLaunchJobConfigsRequest) BinaryRequestBody ¶
func (request ListFastLaunchJobConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListFastLaunchJobConfigsRequest) HTTPRequest ¶
func (request ListFastLaunchJobConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListFastLaunchJobConfigsRequest) RetryPolicy ¶
func (request ListFastLaunchJobConfigsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListFastLaunchJobConfigsRequest) String ¶
func (request ListFastLaunchJobConfigsRequest) String() string
func (ListFastLaunchJobConfigsRequest) ValidateEnumValue ¶
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
type ListFastLaunchJobConfigsResponse ¶
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"` }
ListFastLaunchJobConfigsResponse wrapper for the ListFastLaunchJobConfigs operation
func (ListFastLaunchJobConfigsResponse) HTTPResponse ¶
func (response ListFastLaunchJobConfigsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListFastLaunchJobConfigsResponse) String ¶
func (response ListFastLaunchJobConfigsResponse) String() string
type ListJobRunsLifecycleStateEnum ¶
type ListJobRunsLifecycleStateEnum string
ListJobRunsLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListJobRunsLifecycleStateEnum
func GetListJobRunsLifecycleStateEnumValues ¶
func GetListJobRunsLifecycleStateEnumValues() []ListJobRunsLifecycleStateEnum
GetListJobRunsLifecycleStateEnumValues Enumerates the set of values for ListJobRunsLifecycleStateEnum
func GetMappingListJobRunsLifecycleStateEnum ¶
func GetMappingListJobRunsLifecycleStateEnum(val string) (ListJobRunsLifecycleStateEnum, bool)
GetMappingListJobRunsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListJobRunsRequest wrapper for the ListJobRuns operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.
func (ListJobRunsRequest) BinaryRequestBody ¶
func (request ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListJobRunsRequest) HTTPRequest ¶
func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListJobRunsRequest) RetryPolicy ¶
func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListJobRunsRequest) String ¶
func (request ListJobRunsRequest) String() string
func (ListJobRunsRequest) ValidateEnumValue ¶
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
type ListJobRunsResponse ¶
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"` }
ListJobRunsResponse wrapper for the ListJobRuns operation
func (ListJobRunsResponse) HTTPResponse ¶
func (response ListJobRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListJobRunsResponse) String ¶
func (response ListJobRunsResponse) String() string
type ListJobRunsSortByEnum ¶
type ListJobRunsSortByEnum string
ListJobRunsSortByEnum Enum with underlying type: string
const ( ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "timeCreated" ListJobRunsSortByDisplayname ListJobRunsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListJobRunsSortByEnum
func GetListJobRunsSortByEnumValues ¶
func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum
GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum
func GetMappingListJobRunsSortByEnum ¶
func GetMappingListJobRunsSortByEnum(val string) (ListJobRunsSortByEnum, bool)
GetMappingListJobRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListJobRunsSortOrderEnum ¶
type ListJobRunsSortOrderEnum string
ListJobRunsSortOrderEnum Enum with underlying type: string
const ( ListJobRunsSortOrderAsc ListJobRunsSortOrderEnum = "ASC" ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListJobRunsSortOrderEnum
func GetListJobRunsSortOrderEnumValues ¶
func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum
GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum
func GetMappingListJobRunsSortOrderEnum ¶
func GetMappingListJobRunsSortOrderEnum(val string) (ListJobRunsSortOrderEnum, bool)
GetMappingListJobRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListJobShapesRequest wrapper for the ListJobShapes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapesRequest.
func (ListJobShapesRequest) BinaryRequestBody ¶
func (request ListJobShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListJobShapesRequest) HTTPRequest ¶
func (request ListJobShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListJobShapesRequest) RetryPolicy ¶
func (request ListJobShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListJobShapesRequest) String ¶
func (request ListJobShapesRequest) String() string
func (ListJobShapesRequest) ValidateEnumValue ¶
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
type ListJobShapesResponse ¶
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"` }
ListJobShapesResponse wrapper for the ListJobShapes operation
func (ListJobShapesResponse) HTTPResponse ¶
func (response ListJobShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListJobShapesResponse) String ¶
func (response ListJobShapesResponse) String() string
type ListJobsLifecycleStateEnum ¶
type ListJobsLifecycleStateEnum string
ListJobsLifecycleStateEnum Enum with underlying type: string
const ( ListJobsLifecycleStateCreating ListJobsLifecycleStateEnum = "CREATING" ListJobsLifecycleStateActive ListJobsLifecycleStateEnum = "ACTIVE" ListJobsLifecycleStateDeleting ListJobsLifecycleStateEnum = "DELETING" ListJobsLifecycleStateFailed ListJobsLifecycleStateEnum = "FAILED" ListJobsLifecycleStateDeleted ListJobsLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ListJobsLifecycleStateEnum
func GetListJobsLifecycleStateEnumValues ¶
func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum
GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum
func GetMappingListJobsLifecycleStateEnum ¶
func GetMappingListJobsLifecycleStateEnum(val string) (ListJobsLifecycleStateEnum, bool)
GetMappingListJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListJobsRequest wrapper for the ListJobs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListJobs.go.html to see an example of how to use ListJobsRequest.
func (ListJobsRequest) BinaryRequestBody ¶
func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListJobsRequest) HTTPRequest ¶
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListJobsRequest) RetryPolicy ¶
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListJobsRequest) String ¶
func (request ListJobsRequest) String() string
func (ListJobsRequest) ValidateEnumValue ¶
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
type ListJobsResponse ¶
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"` }
ListJobsResponse wrapper for the ListJobs operation
func (ListJobsResponse) HTTPResponse ¶
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListJobsResponse) String ¶
func (response ListJobsResponse) String() string
type ListJobsSortByEnum ¶
type ListJobsSortByEnum string
ListJobsSortByEnum Enum with underlying type: string
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated" ListJobsSortByDisplayname ListJobsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListJobsSortByEnum
func GetListJobsSortByEnumValues ¶
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
func GetMappingListJobsSortByEnum ¶
func GetMappingListJobsSortByEnum(val string) (ListJobsSortByEnum, bool)
GetMappingListJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListJobsSortOrderEnum ¶
type ListJobsSortOrderEnum string
ListJobsSortOrderEnum Enum with underlying type: string
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListJobsSortOrderEnum
func GetListJobsSortOrderEnumValues ¶
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
func GetMappingListJobsSortOrderEnum ¶
func GetMappingListJobsSortOrderEnum(val string) (ListJobsSortOrderEnum, bool)
GetMappingListJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListModelDeploymentShapesRequest wrapper for the ListModelDeploymentShapes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapesRequest.
func (ListModelDeploymentShapesRequest) BinaryRequestBody ¶
func (request ListModelDeploymentShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListModelDeploymentShapesRequest) HTTPRequest ¶
func (request ListModelDeploymentShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListModelDeploymentShapesRequest) RetryPolicy ¶
func (request ListModelDeploymentShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListModelDeploymentShapesRequest) String ¶
func (request ListModelDeploymentShapesRequest) String() string
func (ListModelDeploymentShapesRequest) ValidateEnumValue ¶
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
type ListModelDeploymentShapesResponse ¶
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"` }
ListModelDeploymentShapesResponse wrapper for the ListModelDeploymentShapes operation
func (ListModelDeploymentShapesResponse) HTTPResponse ¶
func (response ListModelDeploymentShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListModelDeploymentShapesResponse) String ¶
func (response ListModelDeploymentShapesResponse) String() string
type ListModelDeploymentsLifecycleStateEnum ¶
type ListModelDeploymentsLifecycleStateEnum string
ListModelDeploymentsLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListModelDeploymentsLifecycleStateEnum
func GetListModelDeploymentsLifecycleStateEnumValues ¶
func GetListModelDeploymentsLifecycleStateEnumValues() []ListModelDeploymentsLifecycleStateEnum
GetListModelDeploymentsLifecycleStateEnumValues Enumerates the set of values for ListModelDeploymentsLifecycleStateEnum
func GetMappingListModelDeploymentsLifecycleStateEnum ¶
func GetMappingListModelDeploymentsLifecycleStateEnum(val string) (ListModelDeploymentsLifecycleStateEnum, bool)
GetMappingListModelDeploymentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListModelDeploymentsRequest wrapper for the ListModelDeployments operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeploymentsRequest.
func (ListModelDeploymentsRequest) BinaryRequestBody ¶
func (request ListModelDeploymentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListModelDeploymentsRequest) HTTPRequest ¶
func (request ListModelDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListModelDeploymentsRequest) RetryPolicy ¶
func (request ListModelDeploymentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListModelDeploymentsRequest) String ¶
func (request ListModelDeploymentsRequest) String() string
func (ListModelDeploymentsRequest) ValidateEnumValue ¶
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
type ListModelDeploymentsResponse ¶
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"` }
ListModelDeploymentsResponse wrapper for the ListModelDeployments operation
func (ListModelDeploymentsResponse) HTTPResponse ¶
func (response ListModelDeploymentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListModelDeploymentsResponse) String ¶
func (response ListModelDeploymentsResponse) String() string
type ListModelDeploymentsSortByEnum ¶
type ListModelDeploymentsSortByEnum string
ListModelDeploymentsSortByEnum Enum with underlying type: string
const ( ListModelDeploymentsSortByTimecreated ListModelDeploymentsSortByEnum = "timeCreated" ListModelDeploymentsSortByDisplayname ListModelDeploymentsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListModelDeploymentsSortByEnum
func GetListModelDeploymentsSortByEnumValues ¶
func GetListModelDeploymentsSortByEnumValues() []ListModelDeploymentsSortByEnum
GetListModelDeploymentsSortByEnumValues Enumerates the set of values for ListModelDeploymentsSortByEnum
func GetMappingListModelDeploymentsSortByEnum ¶
func GetMappingListModelDeploymentsSortByEnum(val string) (ListModelDeploymentsSortByEnum, bool)
GetMappingListModelDeploymentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListModelDeploymentsSortOrderEnum ¶
type ListModelDeploymentsSortOrderEnum string
ListModelDeploymentsSortOrderEnum Enum with underlying type: string
const ( ListModelDeploymentsSortOrderAsc ListModelDeploymentsSortOrderEnum = "ASC" ListModelDeploymentsSortOrderDesc ListModelDeploymentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListModelDeploymentsSortOrderEnum
func GetListModelDeploymentsSortOrderEnumValues ¶
func GetListModelDeploymentsSortOrderEnumValues() []ListModelDeploymentsSortOrderEnum
GetListModelDeploymentsSortOrderEnumValues Enumerates the set of values for ListModelDeploymentsSortOrderEnum
func GetMappingListModelDeploymentsSortOrderEnum ¶
func GetMappingListModelDeploymentsSortOrderEnum(val string) (ListModelDeploymentsSortOrderEnum, bool)
GetMappingListModelDeploymentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListModelsLifecycleStateEnum ¶
type ListModelsLifecycleStateEnum string
ListModelsLifecycleStateEnum Enum with underlying type: string
const ( ListModelsLifecycleStateActive ListModelsLifecycleStateEnum = "ACTIVE" ListModelsLifecycleStateDeleted ListModelsLifecycleStateEnum = "DELETED" ListModelsLifecycleStateFailed ListModelsLifecycleStateEnum = "FAILED" ListModelsLifecycleStateInactive ListModelsLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListModelsLifecycleStateEnum
func GetListModelsLifecycleStateEnumValues ¶
func GetListModelsLifecycleStateEnumValues() []ListModelsLifecycleStateEnum
GetListModelsLifecycleStateEnumValues Enumerates the set of values for ListModelsLifecycleStateEnum
func GetMappingListModelsLifecycleStateEnum ¶
func GetMappingListModelsLifecycleStateEnum(val string) (ListModelsLifecycleStateEnum, bool)
GetMappingListModelsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListModelsRequest wrapper for the ListModels operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModels.go.html to see an example of how to use ListModelsRequest.
func (ListModelsRequest) BinaryRequestBody ¶
func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListModelsRequest) HTTPRequest ¶
func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListModelsRequest) RetryPolicy ¶
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListModelsRequest) String ¶
func (request ListModelsRequest) String() string
func (ListModelsRequest) ValidateEnumValue ¶
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
type ListModelsResponse ¶
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"` }
ListModelsResponse wrapper for the ListModels operation
func (ListModelsResponse) HTTPResponse ¶
func (response ListModelsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListModelsResponse) String ¶
func (response ListModelsResponse) String() string
type ListModelsSortByEnum ¶
type ListModelsSortByEnum string
ListModelsSortByEnum Enum with underlying type: string
const ( ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated" ListModelsSortByDisplayname ListModelsSortByEnum = "displayName" ListModelsSortByLifecyclestate ListModelsSortByEnum = "lifecycleState" )
Set of constants representing the allowable values for ListModelsSortByEnum
func GetListModelsSortByEnumValues ¶
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
func GetMappingListModelsSortByEnum ¶
func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)
GetMappingListModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListModelsSortOrderEnum ¶
type ListModelsSortOrderEnum string
ListModelsSortOrderEnum Enum with underlying type: string
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListModelsSortOrderEnum
func GetListModelsSortOrderEnumValues ¶
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
func GetMappingListModelsSortOrderEnum ¶
func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)
GetMappingListModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListNotebookSessionShapesRequest wrapper for the ListNotebookSessionShapes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapesRequest.
func (ListNotebookSessionShapesRequest) BinaryRequestBody ¶
func (request ListNotebookSessionShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListNotebookSessionShapesRequest) HTTPRequest ¶
func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListNotebookSessionShapesRequest) RetryPolicy ¶
func (request ListNotebookSessionShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListNotebookSessionShapesRequest) String ¶
func (request ListNotebookSessionShapesRequest) String() string
func (ListNotebookSessionShapesRequest) ValidateEnumValue ¶
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
type ListNotebookSessionShapesResponse ¶
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"` }
ListNotebookSessionShapesResponse wrapper for the ListNotebookSessionShapes operation
func (ListNotebookSessionShapesResponse) HTTPResponse ¶
func (response ListNotebookSessionShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListNotebookSessionShapesResponse) String ¶
func (response ListNotebookSessionShapesResponse) String() string
type ListNotebookSessionsLifecycleStateEnum ¶
type ListNotebookSessionsLifecycleStateEnum string
ListNotebookSessionsLifecycleStateEnum Enum with underlying type: string
const ( ListNotebookSessionsLifecycleStateCreating ListNotebookSessionsLifecycleStateEnum = "CREATING" ListNotebookSessionsLifecycleStateActive ListNotebookSessionsLifecycleStateEnum = "ACTIVE" ListNotebookSessionsLifecycleStateDeleting ListNotebookSessionsLifecycleStateEnum = "DELETING" ListNotebookSessionsLifecycleStateDeleted ListNotebookSessionsLifecycleStateEnum = "DELETED" ListNotebookSessionsLifecycleStateFailed ListNotebookSessionsLifecycleStateEnum = "FAILED" ListNotebookSessionsLifecycleStateInactive ListNotebookSessionsLifecycleStateEnum = "INACTIVE" ListNotebookSessionsLifecycleStateUpdating ListNotebookSessionsLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for ListNotebookSessionsLifecycleStateEnum
func GetListNotebookSessionsLifecycleStateEnumValues ¶
func GetListNotebookSessionsLifecycleStateEnumValues() []ListNotebookSessionsLifecycleStateEnum
GetListNotebookSessionsLifecycleStateEnumValues Enumerates the set of values for ListNotebookSessionsLifecycleStateEnum
func GetMappingListNotebookSessionsLifecycleStateEnum ¶
func GetMappingListNotebookSessionsLifecycleStateEnum(val string) (ListNotebookSessionsLifecycleStateEnum, bool)
GetMappingListNotebookSessionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListNotebookSessionsRequest wrapper for the ListNotebookSessions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessionsRequest.
func (ListNotebookSessionsRequest) BinaryRequestBody ¶
func (request ListNotebookSessionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListNotebookSessionsRequest) HTTPRequest ¶
func (request ListNotebookSessionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListNotebookSessionsRequest) RetryPolicy ¶
func (request ListNotebookSessionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListNotebookSessionsRequest) String ¶
func (request ListNotebookSessionsRequest) String() string
func (ListNotebookSessionsRequest) ValidateEnumValue ¶
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
type ListNotebookSessionsResponse ¶
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"` }
ListNotebookSessionsResponse wrapper for the ListNotebookSessions operation
func (ListNotebookSessionsResponse) HTTPResponse ¶
func (response ListNotebookSessionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListNotebookSessionsResponse) String ¶
func (response ListNotebookSessionsResponse) String() string
type ListNotebookSessionsSortByEnum ¶
type ListNotebookSessionsSortByEnum string
ListNotebookSessionsSortByEnum Enum with underlying type: string
const ( ListNotebookSessionsSortByTimecreated ListNotebookSessionsSortByEnum = "timeCreated" ListNotebookSessionsSortByDisplayname ListNotebookSessionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListNotebookSessionsSortByEnum
func GetListNotebookSessionsSortByEnumValues ¶
func GetListNotebookSessionsSortByEnumValues() []ListNotebookSessionsSortByEnum
GetListNotebookSessionsSortByEnumValues Enumerates the set of values for ListNotebookSessionsSortByEnum
func GetMappingListNotebookSessionsSortByEnum ¶
func GetMappingListNotebookSessionsSortByEnum(val string) (ListNotebookSessionsSortByEnum, bool)
GetMappingListNotebookSessionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListNotebookSessionsSortOrderEnum ¶
type ListNotebookSessionsSortOrderEnum string
ListNotebookSessionsSortOrderEnum Enum with underlying type: string
const ( ListNotebookSessionsSortOrderAsc ListNotebookSessionsSortOrderEnum = "ASC" ListNotebookSessionsSortOrderDesc ListNotebookSessionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListNotebookSessionsSortOrderEnum
func GetListNotebookSessionsSortOrderEnumValues ¶
func GetListNotebookSessionsSortOrderEnumValues() []ListNotebookSessionsSortOrderEnum
GetListNotebookSessionsSortOrderEnumValues Enumerates the set of values for ListNotebookSessionsSortOrderEnum
func GetMappingListNotebookSessionsSortOrderEnum ¶
func GetMappingListNotebookSessionsSortOrderEnum(val string) (ListNotebookSessionsSortOrderEnum, bool)
GetMappingListNotebookSessionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListProjectsLifecycleStateEnum ¶
type ListProjectsLifecycleStateEnum string
ListProjectsLifecycleStateEnum Enum with underlying type: string
const ( ListProjectsLifecycleStateActive ListProjectsLifecycleStateEnum = "ACTIVE" ListProjectsLifecycleStateDeleting ListProjectsLifecycleStateEnum = "DELETING" ListProjectsLifecycleStateDeleted ListProjectsLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ListProjectsLifecycleStateEnum
func GetListProjectsLifecycleStateEnumValues ¶
func GetListProjectsLifecycleStateEnumValues() []ListProjectsLifecycleStateEnum
GetListProjectsLifecycleStateEnumValues Enumerates the set of values for ListProjectsLifecycleStateEnum
func GetMappingListProjectsLifecycleStateEnum ¶
func GetMappingListProjectsLifecycleStateEnum(val string) (ListProjectsLifecycleStateEnum, bool)
GetMappingListProjectsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListProjectsRequest wrapper for the ListProjects operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListProjects.go.html to see an example of how to use ListProjectsRequest.
func (ListProjectsRequest) BinaryRequestBody ¶
func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListProjectsRequest) HTTPRequest ¶
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListProjectsRequest) RetryPolicy ¶
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListProjectsRequest) String ¶
func (request ListProjectsRequest) String() string
func (ListProjectsRequest) ValidateEnumValue ¶
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
type ListProjectsResponse ¶
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"` }
ListProjectsResponse wrapper for the ListProjects operation
func (ListProjectsResponse) HTTPResponse ¶
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListProjectsResponse) String ¶
func (response ListProjectsResponse) String() string
type ListProjectsSortByEnum ¶
type ListProjectsSortByEnum string
ListProjectsSortByEnum Enum with underlying type: string
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListProjectsSortByEnum
func GetListProjectsSortByEnumValues ¶
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
func GetMappingListProjectsSortByEnum ¶
func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListProjectsSortOrderEnum ¶
type ListProjectsSortOrderEnum string
ListProjectsSortOrderEnum Enum with underlying type: string
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListProjectsSortOrderEnum
func GetListProjectsSortOrderEnumValues ¶
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
func GetMappingListProjectsSortOrderEnum ¶
func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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"` // 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 }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // The []WorkRequestError instance 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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type 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"` // 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 }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // The []WorkRequestLogEntry instance 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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsOperationTypeEnum ¶
type ListWorkRequestsOperationTypeEnum string
ListWorkRequestsOperationTypeEnum Enum with underlying type: string
const ( ListWorkRequestsOperationTypeNotebookSessionCreate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" ListWorkRequestsOperationTypeNotebookSessionDelete ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" ListWorkRequestsOperationTypeNotebookSessionActivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" ListWorkRequestsOperationTypeNotebookSessionDeactivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" 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" )
Set of constants representing the allowable values for ListWorkRequestsOperationTypeEnum
func GetListWorkRequestsOperationTypeEnumValues ¶
func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum
GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum
func GetMappingListWorkRequestsOperationTypeEnum ¶
func GetMappingListWorkRequestsOperationTypeEnum(val string) (ListWorkRequestsOperationTypeEnum, bool)
GetMappingListWorkRequestsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type 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, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). // Example: `500` 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const ( ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type LogDetails ¶
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"` }
LogDetails The log details.
func (LogDetails) String ¶
func (m LogDetails) String() string
func (LogDetails) ValidateEnumValue ¶
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
type ManagedEgressStandaloneJobInfrastructureConfigurationDetails ¶
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"` }
ManagedEgressStandaloneJobInfrastructureConfigurationDetails The standalone job infrastructure configuration with network egress settings preconfigured.
func (ManagedEgressStandaloneJobInfrastructureConfigurationDetails) MarshalJSON ¶
func (m ManagedEgressStandaloneJobInfrastructureConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ManagedEgressStandaloneJobInfrastructureConfigurationDetails) String ¶
func (m ManagedEgressStandaloneJobInfrastructureConfigurationDetails) String() string
func (ManagedEgressStandaloneJobInfrastructureConfigurationDetails) ValidateEnumValue ¶
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
type 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"` }
Metadata Defines properties of each model metadata.
func (Metadata) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Model ¶
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"` // 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"` }
Model Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifacts.
func (Model) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ModelConfigurationDetails ¶
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 network bandwidth for the model. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` }
ModelConfigurationDetails The model configuration details.
func (ModelConfigurationDetails) String ¶
func (m ModelConfigurationDetails) String() string
func (*ModelConfigurationDetails) UnmarshalJSON ¶
func (m *ModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (ModelConfigurationDetails) ValidateEnumValue ¶
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
type ModelDeployment ¶
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"` // 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"` }
ModelDeployment Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.
func (ModelDeployment) String ¶
func (m ModelDeployment) String() string
func (*ModelDeployment) UnmarshalJSON ¶
func (m *ModelDeployment) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (ModelDeployment) ValidateEnumValue ¶
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
type ModelDeploymentConfigurationDetails ¶
type ModelDeploymentConfigurationDetails interface { }
ModelDeploymentConfigurationDetails The model deployment configuration details.
type ModelDeploymentInstanceShapeConfigDetails ¶ added in v65.13.1
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"` }
ModelDeploymentInstanceShapeConfigDetails Details for the model-deployment instance shape configuration.
func (ModelDeploymentInstanceShapeConfigDetails) String ¶ added in v65.13.1
func (m ModelDeploymentInstanceShapeConfigDetails) String() string
func (ModelDeploymentInstanceShapeConfigDetails) ValidateEnumValue ¶ added in v65.13.1
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
type ModelDeploymentLifecycleStateEnum ¶
type ModelDeploymentLifecycleStateEnum string
ModelDeploymentLifecycleStateEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ModelDeploymentLifecycleStateEnum
func GetMappingModelDeploymentLifecycleStateEnum ¶
func GetMappingModelDeploymentLifecycleStateEnum(val string) (ModelDeploymentLifecycleStateEnum, bool)
GetMappingModelDeploymentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentLifecycleStateEnumValues ¶
func GetModelDeploymentLifecycleStateEnumValues() []ModelDeploymentLifecycleStateEnum
GetModelDeploymentLifecycleStateEnumValues Enumerates the set of values for ModelDeploymentLifecycleStateEnum
type ModelDeploymentShapeSeriesEnum ¶ added in v65.13.1
type ModelDeploymentShapeSeriesEnum string
ModelDeploymentShapeSeriesEnum Enum with underlying type: string
const ( ModelDeploymentShapeSeriesAmdRome ModelDeploymentShapeSeriesEnum = "AMD_ROME" ModelDeploymentShapeSeriesIntelSkylake ModelDeploymentShapeSeriesEnum = "INTEL_SKYLAKE" )
Set of constants representing the allowable values for ModelDeploymentShapeSeriesEnum
func GetMappingModelDeploymentShapeSeriesEnum ¶ added in v65.13.1
func GetMappingModelDeploymentShapeSeriesEnum(val string) (ModelDeploymentShapeSeriesEnum, bool)
GetMappingModelDeploymentShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentShapeSeriesEnumValues ¶ added in v65.13.1
func GetModelDeploymentShapeSeriesEnumValues() []ModelDeploymentShapeSeriesEnum
GetModelDeploymentShapeSeriesEnumValues Enumerates the set of values for ModelDeploymentShapeSeriesEnum
type ModelDeploymentShapeSummary ¶
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"` }
ModelDeploymentShapeSummary The compute shape used to launch a model deployment compute instance.
func (ModelDeploymentShapeSummary) String ¶
func (m ModelDeploymentShapeSummary) String() string
func (ModelDeploymentShapeSummary) ValidateEnumValue ¶
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
type ModelDeploymentSummary ¶
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"` }
ModelDeploymentSummary Summary information for a model deployment.
func (ModelDeploymentSummary) String ¶
func (m ModelDeploymentSummary) String() string
func (*ModelDeploymentSummary) UnmarshalJSON ¶
func (m *ModelDeploymentSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (ModelDeploymentSummary) ValidateEnumValue ¶
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
type ModelDeploymentTypeEnum ¶
type ModelDeploymentTypeEnum string
ModelDeploymentTypeEnum Enum with underlying type: string
const (
ModelDeploymentTypeSingleModel ModelDeploymentTypeEnum = "SINGLE_MODEL"
)
Set of constants representing the allowable values for ModelDeploymentTypeEnum
func GetMappingModelDeploymentTypeEnum ¶
func GetMappingModelDeploymentTypeEnum(val string) (ModelDeploymentTypeEnum, bool)
GetMappingModelDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelDeploymentTypeEnumValues ¶
func GetModelDeploymentTypeEnumValues() []ModelDeploymentTypeEnum
GetModelDeploymentTypeEnumValues Enumerates the set of values for ModelDeploymentTypeEnum
type ModelLifecycleStateEnum ¶
type ModelLifecycleStateEnum string
ModelLifecycleStateEnum Enum with underlying type: string
const ( ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" ModelLifecycleStateInactive ModelLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ModelLifecycleStateEnum
func GetMappingModelLifecycleStateEnum ¶
func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)
GetMappingModelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelLifecycleStateEnumValues ¶
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
type ModelProvenance ¶
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"` }
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.
func (ModelProvenance) String ¶
func (m ModelProvenance) String() string
func (ModelProvenance) ValidateEnumValue ¶
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
type ModelSummary ¶
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"` // 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"` }
ModelSummary Summary information for a model.
func (ModelSummary) String ¶
func (m ModelSummary) String() string
func (ModelSummary) ValidateEnumValue ¶
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
type NotebookSession ¶
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"` // 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"` }
NotebookSession Notebook sessions are interactive coding environments for data scientists.
func (NotebookSession) String ¶
func (m NotebookSession) String() string
func (NotebookSession) ValidateEnumValue ¶
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
type NotebookSessionConfigDetails ¶
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"` NotebookSessionShapeConfigDetails *NotebookSessionShapeConfigDetails `mandatory:"false" json:"notebookSessionShapeConfigDetails"` }
NotebookSessionConfigDetails Details for the notebook session configuration.
func (NotebookSessionConfigDetails) String ¶
func (m NotebookSessionConfigDetails) String() string
func (NotebookSessionConfigDetails) ValidateEnumValue ¶
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
type NotebookSessionConfigurationDetails ¶
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"` NotebookSessionShapeConfigDetails *NotebookSessionShapeConfigDetails `mandatory:"false" json:"notebookSessionShapeConfigDetails"` }
NotebookSessionConfigurationDetails Details for the notebook session configuration.
func (NotebookSessionConfigurationDetails) String ¶
func (m NotebookSessionConfigurationDetails) String() string
func (NotebookSessionConfigurationDetails) ValidateEnumValue ¶
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
type NotebookSessionGitConfigDetails ¶ added in v65.14.0
type NotebookSessionGitConfigDetails struct { // A collection of Git repository configurations. NotebookSessionGitRepoConfigCollection []NotebookSessionGitRepoConfigDetails `mandatory:"false" json:"notebookSessionGitRepoConfigCollection"` }
NotebookSessionGitConfigDetails Git configuration Details.
func (NotebookSessionGitConfigDetails) String ¶ added in v65.14.0
func (m NotebookSessionGitConfigDetails) String() string
func (NotebookSessionGitConfigDetails) ValidateEnumValue ¶ added in v65.14.0
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
type NotebookSessionGitRepoConfigDetails ¶ added in v65.14.0
type NotebookSessionGitRepoConfigDetails struct { // The repository URL Url *string `mandatory:"true" json:"url"` }
NotebookSessionGitRepoConfigDetails Git repository configurations.
func (NotebookSessionGitRepoConfigDetails) String ¶ added in v65.14.0
func (m NotebookSessionGitRepoConfigDetails) String() string
func (NotebookSessionGitRepoConfigDetails) ValidateEnumValue ¶ added in v65.14.0
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
type NotebookSessionLifecycleStateEnum ¶
type NotebookSessionLifecycleStateEnum string
NotebookSessionLifecycleStateEnum Enum with underlying type: string
const ( NotebookSessionLifecycleStateCreating NotebookSessionLifecycleStateEnum = "CREATING" NotebookSessionLifecycleStateActive NotebookSessionLifecycleStateEnum = "ACTIVE" NotebookSessionLifecycleStateDeleting NotebookSessionLifecycleStateEnum = "DELETING" NotebookSessionLifecycleStateDeleted NotebookSessionLifecycleStateEnum = "DELETED" NotebookSessionLifecycleStateFailed NotebookSessionLifecycleStateEnum = "FAILED" NotebookSessionLifecycleStateInactive NotebookSessionLifecycleStateEnum = "INACTIVE" NotebookSessionLifecycleStateUpdating NotebookSessionLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for NotebookSessionLifecycleStateEnum
func GetMappingNotebookSessionLifecycleStateEnum ¶
func GetMappingNotebookSessionLifecycleStateEnum(val string) (NotebookSessionLifecycleStateEnum, bool)
GetMappingNotebookSessionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNotebookSessionLifecycleStateEnumValues ¶
func GetNotebookSessionLifecycleStateEnumValues() []NotebookSessionLifecycleStateEnum
GetNotebookSessionLifecycleStateEnumValues Enumerates the set of values for NotebookSessionLifecycleStateEnum
type NotebookSessionRuntimeConfigDetails ¶ added in v65.14.0
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"` }
NotebookSessionRuntimeConfigDetails Notebook Session runtime configuration details.
func (NotebookSessionRuntimeConfigDetails) String ¶ added in v65.14.0
func (m NotebookSessionRuntimeConfigDetails) String() string
func (NotebookSessionRuntimeConfigDetails) ValidateEnumValue ¶ added in v65.14.0
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
type NotebookSessionShapeConfigDetails ¶
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"` }
NotebookSessionShapeConfigDetails Details for the notebook session shape configuration.
func (NotebookSessionShapeConfigDetails) String ¶
func (m NotebookSessionShapeConfigDetails) String() string
func (NotebookSessionShapeConfigDetails) ValidateEnumValue ¶
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
type NotebookSessionShapeSeriesEnum ¶
type NotebookSessionShapeSeriesEnum string
NotebookSessionShapeSeriesEnum Enum with underlying type: string
const ( NotebookSessionShapeSeriesAmdRome NotebookSessionShapeSeriesEnum = "AMD_ROME" NotebookSessionShapeSeriesIntelSkylake NotebookSessionShapeSeriesEnum = "INTEL_SKYLAKE" NotebookSessionShapeSeriesNvidiaGpu NotebookSessionShapeSeriesEnum = "NVIDIA_GPU" NotebookSessionShapeSeriesLegacy NotebookSessionShapeSeriesEnum = "LEGACY" )
Set of constants representing the allowable values for NotebookSessionShapeSeriesEnum
func GetMappingNotebookSessionShapeSeriesEnum ¶
func GetMappingNotebookSessionShapeSeriesEnum(val string) (NotebookSessionShapeSeriesEnum, bool)
GetMappingNotebookSessionShapeSeriesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNotebookSessionShapeSeriesEnumValues ¶
func GetNotebookSessionShapeSeriesEnumValues() []NotebookSessionShapeSeriesEnum
GetNotebookSessionShapeSeriesEnumValues Enumerates the set of values for NotebookSessionShapeSeriesEnum
type NotebookSessionShapeSummary ¶
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"` }
NotebookSessionShapeSummary The compute shape used to launch a notebook session compute instance.
func (NotebookSessionShapeSummary) String ¶
func (m NotebookSessionShapeSummary) String() string
func (NotebookSessionShapeSummary) ValidateEnumValue ¶
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
type NotebookSessionSummary ¶
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"` }
NotebookSessionSummary Summary information for a notebook session.
func (NotebookSessionSummary) String ¶
func (m NotebookSessionSummary) String() string
func (NotebookSessionSummary) ValidateEnumValue ¶
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
type Project ¶
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"` }
Project Projects enable users to organize their data science work.
func (Project) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ProjectLifecycleStateEnum ¶
type ProjectLifecycleStateEnum string
ProjectLifecycleStateEnum Enum with underlying type: string
const ( ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ProjectLifecycleStateEnum
func GetMappingProjectLifecycleStateEnum ¶
func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProjectLifecycleStateEnumValues ¶
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
type ProjectSummary ¶
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"` }
ProjectSummary Summary information for a project.
func (ProjectSummary) String ¶
func (m ProjectSummary) String() string
func (ProjectSummary) ValidateEnumValue ¶
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
type ScalingPolicy ¶
type ScalingPolicy interface { }
ScalingPolicy The scaling policy to apply to each model of the deployment.
type ScalingPolicyPolicyTypeEnum ¶
type ScalingPolicyPolicyTypeEnum string
ScalingPolicyPolicyTypeEnum Enum with underlying type: string
const (
ScalingPolicyPolicyTypeFixedSize ScalingPolicyPolicyTypeEnum = "FIXED_SIZE"
)
Set of constants representing the allowable values for ScalingPolicyPolicyTypeEnum
func GetMappingScalingPolicyPolicyTypeEnum ¶
func GetMappingScalingPolicyPolicyTypeEnum(val string) (ScalingPolicyPolicyTypeEnum, bool)
GetMappingScalingPolicyPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScalingPolicyPolicyTypeEnumValues ¶
func GetScalingPolicyPolicyTypeEnumValues() []ScalingPolicyPolicyTypeEnum
GetScalingPolicyPolicyTypeEnumValues Enumerates the set of values for ScalingPolicyPolicyTypeEnum
type SingleModelDeploymentConfigurationDetails ¶
type SingleModelDeploymentConfigurationDetails struct {
ModelConfigurationDetails *ModelConfigurationDetails `mandatory:"true" json:"modelConfigurationDetails"`
}
SingleModelDeploymentConfigurationDetails The single model type deployment.
func (SingleModelDeploymentConfigurationDetails) MarshalJSON ¶
func (m SingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (SingleModelDeploymentConfigurationDetails) String ¶
func (m SingleModelDeploymentConfigurationDetails) String() string
func (SingleModelDeploymentConfigurationDetails) ValidateEnumValue ¶
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
type StandaloneJobInfrastructureConfigurationDetails ¶
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"` }
StandaloneJobInfrastructureConfigurationDetails The standalone job infrastructure configuration.
func (StandaloneJobInfrastructureConfigurationDetails) MarshalJSON ¶
func (m StandaloneJobInfrastructureConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (StandaloneJobInfrastructureConfigurationDetails) String ¶
func (m StandaloneJobInfrastructureConfigurationDetails) String() string
func (StandaloneJobInfrastructureConfigurationDetails) ValidateEnumValue ¶
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
type UpdateCategoryLogDetails ¶
type UpdateCategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
UpdateCategoryLogDetails The log details for each category for update.
func (UpdateCategoryLogDetails) String ¶
func (m UpdateCategoryLogDetails) String() string
func (UpdateCategoryLogDetails) ValidateEnumValue ¶
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
type UpdateJobDetails ¶
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"` // 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"` }
UpdateJobDetails Details for updating a job.
func (UpdateJobDetails) String ¶
func (m UpdateJobDetails) String() string
func (*UpdateJobDetails) UnmarshalJSON ¶
func (m *UpdateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateJobDetails) ValidateEnumValue ¶
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
type 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 }
UpdateJobRequest wrapper for the UpdateJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateJob.go.html to see an example of how to use UpdateJobRequest.
func (UpdateJobRequest) BinaryRequestBody ¶
func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateJobRequest) HTTPRequest ¶
func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateJobRequest) RetryPolicy ¶
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateJobRequest) String ¶
func (request UpdateJobRequest) String() string
func (UpdateJobRequest) ValidateEnumValue ¶
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
type UpdateJobResponse ¶
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"` }
UpdateJobResponse wrapper for the UpdateJob operation
func (UpdateJobResponse) HTTPResponse ¶
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateJobResponse) String ¶
func (response UpdateJobResponse) String() string
type UpdateJobRunDetails ¶
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"` }
UpdateJobRunDetails Details for updating a job run.
func (UpdateJobRunDetails) String ¶
func (m UpdateJobRunDetails) String() string
func (UpdateJobRunDetails) ValidateEnumValue ¶
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
type 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 }
UpdateJobRunRequest wrapper for the UpdateJobRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRunRequest.
func (UpdateJobRunRequest) BinaryRequestBody ¶
func (request UpdateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateJobRunRequest) HTTPRequest ¶
func (request UpdateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateJobRunRequest) RetryPolicy ¶
func (request UpdateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateJobRunRequest) String ¶
func (request UpdateJobRunRequest) String() string
func (UpdateJobRunRequest) ValidateEnumValue ¶
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
type UpdateJobRunResponse ¶
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"` }
UpdateJobRunResponse wrapper for the UpdateJobRun operation
func (UpdateJobRunResponse) HTTPResponse ¶
func (response UpdateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateJobRunResponse) String ¶
func (response UpdateJobRunResponse) String() string
type UpdateModelConfigurationDetails ¶
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 network bandwidth for the model. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` }
UpdateModelConfigurationDetails The model configuration details for update.
func (UpdateModelConfigurationDetails) String ¶
func (m UpdateModelConfigurationDetails) String() string
func (*UpdateModelConfigurationDetails) UnmarshalJSON ¶
func (m *UpdateModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateModelConfigurationDetails) ValidateEnumValue ¶
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
type UpdateModelDeploymentConfigurationDetails ¶
type UpdateModelDeploymentConfigurationDetails interface { }
UpdateModelDeploymentConfigurationDetails The model deployment configuration details for update.
type UpdateModelDeploymentDetails ¶
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"` }
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.
func (UpdateModelDeploymentDetails) String ¶
func (m UpdateModelDeploymentDetails) String() string
func (*UpdateModelDeploymentDetails) UnmarshalJSON ¶
func (m *UpdateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateModelDeploymentDetails) ValidateEnumValue ¶
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
type 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 }
UpdateModelDeploymentRequest wrapper for the UpdateModelDeployment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeploymentRequest.
func (UpdateModelDeploymentRequest) BinaryRequestBody ¶
func (request UpdateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateModelDeploymentRequest) HTTPRequest ¶
func (request UpdateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateModelDeploymentRequest) RetryPolicy ¶
func (request UpdateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateModelDeploymentRequest) String ¶
func (request UpdateModelDeploymentRequest) String() string
func (UpdateModelDeploymentRequest) ValidateEnumValue ¶
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
type UpdateModelDeploymentResponse ¶
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"` }
UpdateModelDeploymentResponse wrapper for the UpdateModelDeployment operation
func (UpdateModelDeploymentResponse) HTTPResponse ¶
func (response UpdateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateModelDeploymentResponse) String ¶
func (response UpdateModelDeploymentResponse) String() string
type UpdateModelDetails ¶
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"` }
UpdateModelDetails Details for updating a model.
func (UpdateModelDetails) String ¶
func (m UpdateModelDetails) String() string
func (UpdateModelDetails) ValidateEnumValue ¶
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
type UpdateModelProvenanceDetails ¶
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"` }
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.
func (UpdateModelProvenanceDetails) String ¶
func (m UpdateModelProvenanceDetails) String() string
func (UpdateModelProvenanceDetails) ValidateEnumValue ¶
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
type 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 }
UpdateModelProvenanceRequest wrapper for the UpdateModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenanceRequest.
func (UpdateModelProvenanceRequest) BinaryRequestBody ¶
func (request UpdateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateModelProvenanceRequest) HTTPRequest ¶
func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateModelProvenanceRequest) RetryPolicy ¶
func (request UpdateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateModelProvenanceRequest) String ¶
func (request UpdateModelProvenanceRequest) String() string
func (UpdateModelProvenanceRequest) ValidateEnumValue ¶
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
type UpdateModelProvenanceResponse ¶
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"` }
UpdateModelProvenanceResponse wrapper for the UpdateModelProvenance operation
func (UpdateModelProvenanceResponse) HTTPResponse ¶
func (response UpdateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateModelProvenanceResponse) String ¶
func (response UpdateModelProvenanceResponse) String() string
type 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 }
UpdateModelRequest wrapper for the UpdateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
func (UpdateModelRequest) BinaryRequestBody ¶
func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateModelRequest) HTTPRequest ¶
func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateModelRequest) RetryPolicy ¶
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateModelRequest) String ¶
func (request UpdateModelRequest) String() string
func (UpdateModelRequest) ValidateEnumValue ¶
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
type UpdateModelResponse ¶
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"` }
UpdateModelResponse wrapper for the UpdateModel operation
func (UpdateModelResponse) HTTPResponse ¶
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateModelResponse) String ¶
func (response UpdateModelResponse) String() string
type UpdateNotebookSessionDetails ¶
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"` }
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.
func (UpdateNotebookSessionDetails) String ¶
func (m UpdateNotebookSessionDetails) String() string
func (UpdateNotebookSessionDetails) ValidateEnumValue ¶
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
type 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 }
UpdateNotebookSessionRequest wrapper for the UpdateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSessionRequest.
func (UpdateNotebookSessionRequest) BinaryRequestBody ¶
func (request UpdateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateNotebookSessionRequest) HTTPRequest ¶
func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateNotebookSessionRequest) RetryPolicy ¶
func (request UpdateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateNotebookSessionRequest) String ¶
func (request UpdateNotebookSessionRequest) String() string
func (UpdateNotebookSessionRequest) ValidateEnumValue ¶
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
type UpdateNotebookSessionResponse ¶
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"` }
UpdateNotebookSessionResponse wrapper for the UpdateNotebookSession operation
func (UpdateNotebookSessionResponse) HTTPResponse ¶
func (response UpdateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateNotebookSessionResponse) String ¶
func (response UpdateNotebookSessionResponse) String() string
type UpdateProjectDetails ¶
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"` }
UpdateProjectDetails Details for updating a project.
func (UpdateProjectDetails) String ¶
func (m UpdateProjectDetails) String() string
func (UpdateProjectDetails) ValidateEnumValue ¶
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
type 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 }
UpdateProjectRequest wrapper for the UpdateProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
func (UpdateProjectRequest) BinaryRequestBody ¶
func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateProjectRequest) HTTPRequest ¶
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateProjectRequest) RetryPolicy ¶
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateProjectRequest) String ¶
func (request UpdateProjectRequest) String() string
func (UpdateProjectRequest) ValidateEnumValue ¶
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
type UpdateProjectResponse ¶
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"` }
UpdateProjectResponse wrapper for the UpdateProject operation
func (UpdateProjectResponse) HTTPResponse ¶
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateProjectResponse) String ¶
func (response UpdateProjectResponse) String() string
type UpdateSingleModelDeploymentConfigurationDetails ¶
type UpdateSingleModelDeploymentConfigurationDetails struct {
ModelConfigurationDetails *UpdateModelConfigurationDetails `mandatory:"false" json:"modelConfigurationDetails"`
}
UpdateSingleModelDeploymentConfigurationDetails The single model type deployment for update.
func (UpdateSingleModelDeploymentConfigurationDetails) MarshalJSON ¶
func (m UpdateSingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateSingleModelDeploymentConfigurationDetails) String ¶
func (m UpdateSingleModelDeploymentConfigurationDetails) String() string
func (UpdateSingleModelDeploymentConfigurationDetails) ValidateEnumValue ¶
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
type WorkRequest ¶
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"` }
WorkRequest An asynchronous work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
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"` }
WorkRequestError Errors related to a specific work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
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"` }
WorkRequestLogEntry Log entries related to a specific work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeNotebookSessionCreate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" WorkRequestOperationTypeNotebookSessionDelete WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" WorkRequestOperationTypeNotebookSessionActivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" WorkRequestOperationTypeNotebookSessionDeactivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" 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" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetMappingWorkRequestOperationTypeEnum ¶
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
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"` }
WorkRequestResource The properties that define a work request resource.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceActionTypeEnum ¶
type WorkRequestResourceActionTypeEnum string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
func GetMappingWorkRequestResourceActionTypeEnum ¶
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetMappingWorkRequestStatusEnum ¶
func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
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"` }
WorkRequestSummary Summary information for a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files
¶
- activate_model_deployment_request_response.go
- activate_model_request_response.go
- activate_notebook_session_request_response.go
- artifact_export_details.go
- artifact_export_details_object_storage.go
- artifact_import_details.go
- artifact_import_details_object_storage.go
- artifact_source_type.go
- cancel_job_run_request_response.go
- cancel_work_request_request_response.go
- category_log_details.go
- change_job_compartment_details.go
- change_job_compartment_request_response.go
- change_job_run_compartment_details.go
- change_job_run_compartment_request_response.go
- change_model_compartment_details.go
- change_model_compartment_request_response.go
- change_model_deployment_compartment_details.go
- change_model_deployment_compartment_request_response.go
- change_notebook_session_compartment_details.go
- change_notebook_session_compartment_request_response.go
- change_project_compartment_details.go
- change_project_compartment_request_response.go
- create_job_artifact_request_response.go
- create_job_details.go
- create_job_request_response.go
- create_job_run_details.go
- create_job_run_request_response.go
- create_model_artifact_request_response.go
- create_model_deployment_details.go
- create_model_deployment_request_response.go
- create_model_details.go
- create_model_provenance_details.go
- create_model_provenance_request_response.go
- create_model_request_response.go
- create_notebook_session_details.go
- create_notebook_session_request_response.go
- create_project_details.go
- create_project_request_response.go
- datascience_client.go
- deactivate_model_deployment_request_response.go
- deactivate_model_request_response.go
- deactivate_notebook_session_request_response.go
- default_job_configuration_details.go
- delete_job_request_response.go
- delete_job_run_request_response.go
- delete_model_deployment_request_response.go
- delete_model_request_response.go
- delete_notebook_session_request_response.go
- delete_project_request_response.go
- export_model_artifact_details.go
- export_model_artifact_request_response.go
- fast_launch_job_config_summary.go
- fixed_size_scaling_policy.go
- get_job_artifact_content_request_response.go
- get_job_request_response.go
- get_job_run_request_response.go
- get_model_artifact_content_request_response.go
- get_model_deployment_request_response.go
- get_model_provenance_request_response.go
- get_model_request_response.go
- get_notebook_session_request_response.go
- get_project_request_response.go
- get_work_request_request_response.go
- head_job_artifact_request_response.go
- head_model_artifact_request_response.go
- import_model_artifact_details.go
- import_model_artifact_request_response.go
- instance_configuration.go
- job.go
- job_configuration_details.go
- job_infrastructure_configuration_details.go
- job_lifecycle_state.go
- job_log_configuration_details.go
- job_run.go
- job_run_lifecycle_state.go
- job_run_log_details.go
- job_run_summary.go
- job_shape_config_details.go
- job_shape_summary.go
- job_summary.go
- list_fast_launch_job_configs_request_response.go
- list_job_runs_request_response.go
- list_job_shapes_request_response.go
- list_jobs_request_response.go
- list_model_deployment_shapes_request_response.go
- list_model_deployments_request_response.go
- list_models_request_response.go
- list_notebook_session_shapes_request_response.go
- list_notebook_sessions_request_response.go
- list_projects_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- log_details.go
- managed_egress_standalone_job_infrastructure_configuration_details.go
- metadata.go
- model.go
- model_configuration_details.go
- model_deployment.go
- model_deployment_configuration_details.go
- model_deployment_instance_shape_config_details.go
- model_deployment_lifecycle_state.go
- model_deployment_shape_series.go
- model_deployment_shape_summary.go
- model_deployment_summary.go
- model_deployment_type.go
- model_lifecycle_state.go
- model_provenance.go
- model_summary.go
- notebook_session.go
- notebook_session_config_details.go
- notebook_session_configuration_details.go
- notebook_session_git_config_details.go
- notebook_session_git_repo_config_details.go
- notebook_session_lifecycle_state.go
- notebook_session_runtime_config_details.go
- notebook_session_shape_config_details.go
- notebook_session_shape_series.go
- notebook_session_shape_summary.go
- notebook_session_summary.go
- project.go
- project_lifecycle_state.go
- project_summary.go
- scaling_policy.go
- single_model_deployment_configuration_details.go
- standalone_job_infrastructure_configuration_details.go
- update_category_log_details.go
- update_job_details.go
- update_job_request_response.go
- update_job_run_details.go
- update_job_run_request_response.go
- update_model_configuration_details.go
- update_model_deployment_configuration_details.go
- update_model_deployment_details.go
- update_model_deployment_request_response.go
- update_model_details.go
- update_model_provenance_details.go
- update_model_provenance_request_response.go
- update_model_request_response.go
- update_notebook_session_details.go
- update_notebook_session_request_response.go
- update_project_details.go
- update_project_request_response.go
- update_single_model_deployment_configuration_details.go
- work_request.go
- work_request_error.go
- work_request_log_entry.go
- work_request_operation_type.go
- work_request_resource.go
- work_request_status.go
- work_request_summary.go