ActivateModelDeploymentRequest wrapper for the ActivateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeploymentRequest.
type ActivateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ActivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateModelDeploymentRequest) String() string
ActivateModelDeploymentResponse wrapper for the ActivateModelDeployment operation
type ActivateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateModelDeploymentResponse) String() string
ActivateModelRequest wrapper for the ActivateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateModel.go.html to see an example of how to use ActivateModelRequest.
type ActivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ActivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateModelRequest) String() string
ActivateModelResponse wrapper for the ActivateModel operation
type ActivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateModelResponse) String() string
ActivateNotebookSessionRequest wrapper for the ActivateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSessionRequest.
type ActivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ActivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ActivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ActivateNotebookSessionRequest) String() string
ActivateNotebookSessionResponse wrapper for the ActivateNotebookSession operation
type ActivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ActivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ActivateNotebookSessionResponse) String() string
CancelJobRunRequest wrapper for the CancelJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRunRequest.
type CancelJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelJobRunRequest) String() string
CancelJobRunResponse wrapper for the CancelJobRun operation
type CancelJobRunResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelJobRunResponse) String() string
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
CategoryLogDetails The log details for each category.
type CategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
func (m CategoryLogDetails) String() string
ChangeJobCompartmentDetails Details for changing the compartment of a job.
type ChangeJobCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobCompartmentDetails) String() string
ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.
type ChangeJobCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Details for changing the compartment of a job. ChangeJobCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobCompartmentRequest) String() string
ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation
type ChangeJobCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobCompartmentResponse) String() string
ChangeJobRunCompartmentDetails Details for changing the compartment of a job run.
type ChangeJobRunCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobRunCompartmentDetails) String() string
ChangeJobRunCompartmentRequest wrapper for the ChangeJobRunCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartmentRequest.
type ChangeJobRunCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Details for changing the compartment of a job. ChangeJobRunCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeJobRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobRunCompartmentRequest) String() string
ChangeJobRunCompartmentResponse wrapper for the ChangeJobRunCompartment operation
type ChangeJobRunCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeJobRunCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobRunCompartmentResponse) String() string
ChangeModelCompartmentDetails Details for changing the compartment of a model.
type ChangeModelCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelCompartmentDetails) String() string
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
type ChangeModelCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for changing the compartment of a model. ChangeModelCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelCompartmentRequest) String() string
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
type ChangeModelCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelCompartmentResponse) String() string
ChangeModelDeploymentCompartmentDetails Details for changing the compartment of a model deployment.
type ChangeModelDeploymentCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelDeploymentCompartmentDetails) String() string
ChangeModelDeploymentCompartmentRequest wrapper for the ChangeModelDeploymentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartmentRequest.
type ChangeModelDeploymentCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Details for changing the compartment of a model deployment. ChangeModelDeploymentCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeModelDeploymentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelDeploymentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelDeploymentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelDeploymentCompartmentRequest) String() string
ChangeModelDeploymentCompartmentResponse wrapper for the ChangeModelDeploymentCompartment operation
type ChangeModelDeploymentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeModelDeploymentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeModelDeploymentCompartmentResponse) String() string
ChangeNotebookSessionCompartmentDetails Details for changing the compartment of a notebook session.
type ChangeNotebookSessionCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeNotebookSessionCompartmentDetails) String() string
ChangeNotebookSessionCompartmentRequest wrapper for the ChangeNotebookSessionCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartmentRequest.
type ChangeNotebookSessionCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for changing the compartment of a notebook session. ChangeNotebookSessionCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeNotebookSessionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeNotebookSessionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeNotebookSessionCompartmentRequest) String() string
ChangeNotebookSessionCompartmentResponse wrapper for the ChangeNotebookSessionCompartment operation
type ChangeNotebookSessionCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeNotebookSessionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeNotebookSessionCompartmentResponse) String() string
ChangeProjectCompartmentDetails Details for changing the compartment of a project.
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeProjectCompartmentDetails) String() string
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
type ChangeProjectCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for changing the compartment of a project. ChangeProjectCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProjectCompartmentRequest) String() string
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
type ChangeProjectCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeProjectCompartmentResponse) String() string
CreateJobArtifactRequest wrapper for the CreateJobArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifactRequest.
type CreateJobArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The content length of the body. ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"content-length"` // The job artifact to upload. JobArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // This header allows you to specify a filename during upload. This file name is used to dispose of the file contents // while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file // name when downloading. // Example: `{"Content-Disposition": "attachment" // "filename"="model.tar.gz" // "Content-Length": "2347" // "Content-Type": "application/gzip"}` ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobArtifactRequest) String() string
CreateJobArtifactResponse wrapper for the CreateJobArtifact operation
type CreateJobArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobArtifactResponse) String() string
CreateJobDetails Parameters needed to create a new job.
type CreateJobDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` JobConfigurationDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` 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"` }
func (m CreateJobDetails) String() string
func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateJobRequest wrapper for the CreateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJob.go.html to see an example of how to use CreateJobRequest.
type CreateJobRequest struct { // Details for creating a new job. CreateJobDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRequest) String() string
CreateJobResponse wrapper for the CreateJob operation
type CreateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobResponse) String() string
CreateJobRunDetails Parameters needed to create a new job run.
type CreateJobRunDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job to create a run for. JobId *string `mandatory:"true" json:"jobId"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` JobConfigurationOverrideDetails JobConfigurationDetails `mandatory:"false" json:"jobConfigurationOverrideDetails"` JobLogConfigurationOverrideDetails *JobLogConfigurationDetails `mandatory:"false" json:"jobLogConfigurationOverrideDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateJobRunDetails) String() string
func (m *CreateJobRunDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateJobRunRequest wrapper for the CreateJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRunRequest.
type CreateJobRunRequest struct { // Details for creating a new job run. CreateJobRunDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRunRequest) String() string
CreateJobRunResponse wrapper for the CreateJobRun operation
type CreateJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobRunResponse) String() string
CreateModelArtifactRequest wrapper for the CreateModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifactRequest.
type CreateModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The content length of the body. ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"content-length"` // The model artifact to upload. ModelArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // This header allows you to specify a filename during upload. This file name is used to dispose of the file contents // while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file // name when downloading. // Example: `{"Content-Disposition": "attachment" // "filename"="model.tar.gz" // "Content-Length": "2347" // "Content-Type": "application/gzip"}` ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelArtifactRequest) String() string
CreateModelArtifactResponse wrapper for the CreateModelArtifact operation
type CreateModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelArtifactResponse) String() string
CreateModelDeploymentDetails Parameters needed to create a new model deployment. Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.
type CreateModelDeploymentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the model deployment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"true" json:"modelDeploymentConfigurationDetails"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateModelDeploymentDetails) String() string
func (m *CreateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateModelDeploymentRequest wrapper for the CreateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeploymentRequest.
type CreateModelDeploymentRequest struct { // Details for creating a new model deployment. CreateModelDeploymentDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelDeploymentRequest) String() string
CreateModelDeploymentResponse wrapper for the CreateModelDeployment operation
type CreateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The ModelDeployment instance ModelDeployment `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelDeploymentResponse) String() string
CreateModelDetails Parameters needed to create a new model. Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifact.
type CreateModelDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the model in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` // Input schema file content in String format InputSchema *string `mandatory:"false" json:"inputSchema"` // Output schema file content in String format OutputSchema *string `mandatory:"false" json:"outputSchema"` }
func (m CreateModelDetails) String() string
CreateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type CreateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m CreateModelProvenanceDetails) String() string
CreateModelProvenanceRequest wrapper for the CreateModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenanceRequest.
type CreateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for specified model. CreateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelProvenanceRequest) String() string
CreateModelProvenanceResponse wrapper for the CreateModelProvenance operation
type CreateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
func (response CreateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelProvenanceResponse) String() string
CreateModelRequest wrapper for the CreateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModel.go.html to see an example of how to use CreateModelRequest.
type CreateModelRequest struct { // Details for creating a new model. CreateModelDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelRequest) String() string
CreateModelResponse wrapper for the CreateModel operation
type CreateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelResponse) String() string
CreateNotebookSessionDetails Parameters needed to create a new notebook session. Notebook sessions are interactive coding environments for data scientists.
type CreateNotebookSessionDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the notebook session. CompartmentId *string `mandatory:"true" json:"compartmentId"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"true" json:"notebookSessionConfigurationDetails"` // 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"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateNotebookSessionDetails) String() string
CreateNotebookSessionRequest wrapper for the CreateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSessionRequest.
type CreateNotebookSessionRequest struct { // Details for creating a new notebook session. CreateNotebookSessionDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateNotebookSessionRequest) String() string
CreateNotebookSessionResponse wrapper for the CreateNotebookSession operation
type CreateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateNotebookSessionResponse) String() string
CreateProjectDetails Parameters needed to create a new project. Projects enable users to organize their data science work.
type CreateProjectDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the project in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProjectDetails) String() string
CreateProjectRequest wrapper for the CreateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateProject.go.html to see an example of how to use CreateProjectRequest.
type CreateProjectRequest struct { // Details for creating a new project. CreateProjectDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProjectRequest) String() string
CreateProjectResponse wrapper for the CreateProject operation
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProjectResponse) String() string
DataScienceClient a client for DataScience
type DataScienceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDataScienceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataScienceClient, err error)
NewDataScienceClientWithConfigurationProvider Creates a new default DataScience client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDataScienceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataScienceClient, err error)
NewDataScienceClientWithOboToken Creates a new default DataScience client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
ActivateModel Activates the model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateModel.go.html to see an example of how to use ActivateModel API.
func (client DataScienceClient) ActivateModelDeployment(ctx context.Context, request ActivateModelDeploymentRequest) (response ActivateModelDeploymentResponse, err error)
ActivateModelDeployment Activates the model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateModelDeployment.go.html to see an example of how to use ActivateModelDeployment API.
func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
ActivateNotebookSession Activates the notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSession API.
func (client DataScienceClient) CancelJobRun(ctx context.Context, request CancelJobRunRequest) (response CancelJobRunResponse, err error)
CancelJobRun Cancels an IN_PROGRESS job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CancelJobRun.go.html to see an example of how to use CancelJobRun API.
func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request that has not started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (client DataScienceClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
ChangeJobCompartment Changes a job's compartment
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.
func (client DataScienceClient) ChangeJobRunCompartment(ctx context.Context, request ChangeJobRunCompartmentRequest) (response ChangeJobRunCompartmentResponse, err error)
ChangeJobRunCompartment Changes a job run's compartment
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeJobRunCompartment.go.html to see an example of how to use ChangeJobRunCompartment API.
func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a model resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API.
func (client DataScienceClient) ChangeModelDeploymentCompartment(ctx context.Context, request ChangeModelDeploymentCompartmentRequest) (response ChangeModelDeploymentCompartmentResponse, err error)
ChangeModelDeploymentCompartment Moves a model deployment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeModelDeploymentCompartment.go.html to see an example of how to use ChangeModelDeploymentCompartment API.
func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
ChangeNotebookSessionCompartment Moves a notebook session resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartment API.
func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource into a different compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DataScienceClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJob.go.html to see an example of how to use CreateJob API.
func (client DataScienceClient) CreateJobArtifact(ctx context.Context, request CreateJobArtifactRequest) (response CreateJobArtifactResponse, err error)
CreateJobArtifact Uploads a job artifact.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJobArtifact.go.html to see an example of how to use CreateJobArtifact API.
func (client DataScienceClient) CreateJobRun(ctx context.Context, request CreateJobRunRequest) (response CreateJobRunResponse, err error)
CreateJobRun Creates a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateJobRun.go.html to see an example of how to use CreateJobRun API.
func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Creates a new model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModel.go.html to see an example of how to use CreateModel API.
func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
CreateModelArtifact Creates model artifact for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifact API.
func (client DataScienceClient) CreateModelDeployment(ctx context.Context, request CreateModelDeploymentRequest) (response CreateModelDeploymentResponse, err error)
CreateModelDeployment Creates a new model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelDeployment.go.html to see an example of how to use CreateModelDeployment API.
func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
CreateModelProvenance Creates provenance information for the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenance API.
func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
CreateNotebookSession Creates a new notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSession API.
func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/CreateProject.go.html to see an example of how to use CreateProject API.
func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
DeactivateModel Deactivates the model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModel API.
func (client DataScienceClient) DeactivateModelDeployment(ctx context.Context, request DeactivateModelDeploymentRequest) (response DeactivateModelDeploymentResponse, err error)
DeactivateModelDeployment Deactivates the model deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeployment API.
func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
DeactivateNotebookSession Deactivates the notebook session.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSession API.
func (client DataScienceClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteJob.go.html to see an example of how to use DeleteJob API.
func (client DataScienceClient) DeleteJobRun(ctx context.Context, request DeleteJobRunRequest) (response DeleteJobRunResponse, err error)
DeleteJobRun Deletes a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRun API.
func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Deletes the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteModel.go.html to see an example of how to use DeleteModel API.
func (client DataScienceClient) DeleteModelDeployment(ctx context.Context, request DeleteModelDeploymentRequest) (response DeleteModelDeploymentResponse, err error)
DeleteModelDeployment Deletes the specified model deployment. Any unsaved work in this model deployment is lost.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeployment API.
func (client DataScienceClient) DeleteNotebookSession(ctx context.Context, request DeleteNotebookSessionRequest) (response DeleteNotebookSessionResponse, err error)
DeleteNotebookSession Deletes the specified notebook session. Any unsaved work in this notebook session are lost.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSession API.
func (client DataScienceClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes the specified project. This operation fails unless all associated resources (notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteProject.go.html to see an example of how to use DeleteProject API.
func (client DataScienceClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Gets a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJob.go.html to see an example of how to use GetJob API.
func (client DataScienceClient) GetJobArtifactContent(ctx context.Context, request GetJobArtifactContentRequest) (response GetJobArtifactContentResponse, err error)
GetJobArtifactContent Downloads job artifact content for specified job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContent API.
func (client DataScienceClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
GetJobRun Gets a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJobRun.go.html to see an example of how to use GetJobRun API.
func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Gets the specified model's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModel.go.html to see an example of how to use GetModel API.
func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
GetModelArtifactContent Downloads model artifact content for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContent API.
func (client DataScienceClient) GetModelDeployment(ctx context.Context, request GetModelDeploymentRequest) (response GetModelDeploymentResponse, err error)
GetModelDeployment Retrieves the model deployment for the specified `modelDeploymentId`.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeployment API.
func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
GetModelProvenance Gets provenance information for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenance API.
func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
GetNotebookSession Gets the specified notebook session's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSession API.
func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Gets the specified project's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetProject.go.html to see an example of how to use GetProject API.
func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the specified work request's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client DataScienceClient) HeadJobArtifact(ctx context.Context, request HeadJobArtifactRequest) (response HeadJobArtifactResponse, err error)
HeadJobArtifact Gets job artifact metadata.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifact API.
func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
HeadModelArtifact Gets model artifact metadata for specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifact API.
func (client DataScienceClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
ListJobRuns List out job runs.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobRuns.go.html to see an example of how to use ListJobRuns API.
func (client DataScienceClient) ListJobShapes(ctx context.Context, request ListJobShapesRequest) (response ListJobShapesResponse, err error)
ListJobShapes List job shapes available in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapes API.
func (client DataScienceClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
ListJobs List jobs in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobs.go.html to see an example of how to use ListJobs API.
func (client DataScienceClient) ListModelDeploymentShapes(ctx context.Context, request ListModelDeploymentShapesRequest) (response ListModelDeploymentShapesResponse, err error)
ListModelDeploymentShapes Lists the valid model deployment shapes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapes API.
func (client DataScienceClient) ListModelDeployments(ctx context.Context, request ListModelDeploymentsRequest) (response ListModelDeploymentsResponse, err error)
ListModelDeployments Lists all model deployments in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeployments API.
func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Lists models in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModels.go.html to see an example of how to use ListModels API.
func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
ListNotebookSessionShapes Lists the valid notebook session shapes.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapes API.
func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
ListNotebookSessions Lists the notebook sessions in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessions API.
func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Lists projects in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListProjects.go.html to see an example of how to use ListProjects API.
func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists work request errors for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists work request logs for the specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists work requests in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *DataScienceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DataScienceClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateJob.go.html to see an example of how to use UpdateJob API.
func (client DataScienceClient) UpdateJobRun(ctx context.Context, request UpdateJobRunRequest) (response UpdateJobRunResponse, err error)
UpdateJobRun Updates a job run.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRun API.
func (client DataScienceClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
UpdateModel Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModel.go.html to see an example of how to use UpdateModel API.
func (client DataScienceClient) UpdateModelDeployment(ctx context.Context, request UpdateModelDeploymentRequest) (response UpdateModelDeploymentResponse, err error)
UpdateModelDeployment Updates the properties of a model deployment. Some of the properties of `modelDeploymentConfigurationDetails` or `CategoryLogDetails` can also be updated with zero down time when the model deployment’s lifecycle state is ACTIVE or NEEDS_ATTENTION i.e `instanceShapeName`, `instanceCount` and `modelId`, separately `loadBalancerShape` or `CategoryLogDetails` can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the model deployment is activated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeployment API.
func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
UpdateModelProvenance Updates the provenance information for the specified model.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenance API.
func (client DataScienceClient) UpdateNotebookSession(ctx context.Context, request UpdateNotebookSessionRequest) (response UpdateNotebookSessionResponse, err error)
UpdateNotebookSession Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties. When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`. Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSession API.
func (client DataScienceClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateProject.go.html to see an example of how to use UpdateProject API.
DeactivateModelDeploymentRequest wrapper for the DeactivateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateModelDeployment.go.html to see an example of how to use DeactivateModelDeploymentRequest.
type DeactivateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeactivateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateModelDeploymentRequest) String() string
DeactivateModelDeploymentResponse wrapper for the DeactivateModelDeployment operation
type DeactivateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateModelDeploymentResponse) String() string
DeactivateModelRequest wrapper for the DeactivateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModelRequest.
type DeactivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeactivateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateModelRequest) String() string
DeactivateModelResponse wrapper for the DeactivateModel operation
type DeactivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateModelResponse) String() string
DeactivateNotebookSessionRequest wrapper for the DeactivateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSessionRequest.
type DeactivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeactivateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeactivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeactivateNotebookSessionRequest) String() string
DeactivateNotebookSessionResponse wrapper for the DeactivateNotebookSession operation
type DeactivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeactivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeactivateNotebookSessionResponse) String() string
DefaultJobConfigurationDetails The default job configuration.
type DefaultJobConfigurationDetails struct { // Environment variables to set for the job. EnvironmentVariables map[string]string `mandatory:"false" json:"environmentVariables"` // The arguments to pass to the job. CommandLineArguments *string `mandatory:"false" json:"commandLineArguments"` // A time bound for the execution of the job. Timer starts when the job becomes active. MaximumRuntimeInMinutes *int64 `mandatory:"false" json:"maximumRuntimeInMinutes"` }
func (m DefaultJobConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultJobConfigurationDetails) String() string
DeleteJobRequest wrapper for the DeleteJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
type DeleteJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Delete all JobRuns associated with this job. DeleteRelatedJobRuns *bool `mandatory:"false" contributesTo:"query" name:"deleteRelatedJobRuns"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
DeleteJobResponse wrapper for the DeleteJob operation
type DeleteJobResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteJobRunRequest wrapper for the DeleteJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteJobRun.go.html to see an example of how to use DeleteJobRunRequest.
type DeleteJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRunRequest) String() string
DeleteJobRunResponse wrapper for the DeleteJobRun operation
type DeleteJobRunResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobRunResponse) String() string
DeleteModelDeploymentRequest wrapper for the DeleteModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteModelDeployment.go.html to see an example of how to use DeleteModelDeploymentRequest.
type DeleteModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelDeploymentRequest) String() string
DeleteModelDeploymentResponse wrapper for the DeleteModelDeployment operation
type DeleteModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelDeploymentResponse) String() string
DeleteModelRequest wrapper for the DeleteModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
type DeleteModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelRequest) String() string
DeleteModelResponse wrapper for the DeleteModel operation
type DeleteModelResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelResponse) String() string
DeleteNotebookSessionRequest wrapper for the DeleteNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSessionRequest.
type DeleteNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteNotebookSessionRequest) String() string
DeleteNotebookSessionResponse wrapper for the DeleteNotebookSession operation
type DeleteNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteNotebookSessionResponse) String() string
DeleteProjectRequest wrapper for the DeleteProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
type DeleteProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProjectRequest) String() string
DeleteProjectResponse wrapper for the DeleteProject operation
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProjectResponse) String() string
FixedSizeScalingPolicy The fixed size scaling policy.
type FixedSizeScalingPolicy struct { // The number of instances for the model deployment. InstanceCount *int `mandatory:"true" json:"instanceCount"` }
func (m FixedSizeScalingPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FixedSizeScalingPolicy) String() string
GetJobArtifactContentRequest wrapper for the GetJobArtifactContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJobArtifactContent.go.html to see an example of how to use GetJobArtifactContentRequest.
type GetJobArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobArtifactContentRequest) String() string
GetJobArtifactContentResponse wrapper for the GetJobArtifactContent operation
type GetJobArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` }
func (response GetJobArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobArtifactContentResponse) String() string
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJob.go.html to see an example of how to use GetJobRequest.
type GetJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
GetJobResponse wrapper for the GetJob operation
type GetJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetJobRunRequest wrapper for the GetJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetJobRun.go.html to see an example of how to use GetJobRunRequest.
type GetJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRunRequest) String() string
GetJobRunResponse wrapper for the GetJobRun operation
type GetJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobRunResponse) String() string
GetModelArtifactContentRequest wrapper for the GetModelArtifactContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContentRequest.
type GetModelArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelArtifactContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelArtifactContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelArtifactContentRequest) String() string
GetModelArtifactContentResponse wrapper for the GetModelArtifactContent operation
type GetModelArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response GetModelArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelArtifactContentResponse) String() string
GetModelDeploymentRequest wrapper for the GetModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelDeployment.go.html to see an example of how to use GetModelDeploymentRequest.
type GetModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelDeploymentRequest) String() string
GetModelDeploymentResponse wrapper for the GetModelDeployment operation
type GetModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The ModelDeployment instance ModelDeployment `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelDeploymentResponse) String() string
GetModelProvenanceRequest wrapper for the GetModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenanceRequest.
type GetModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelProvenanceRequest) String() string
GetModelProvenanceResponse wrapper for the GetModelProvenance operation
type GetModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelProvenanceResponse) String() string
GetModelRequest wrapper for the GetModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetModel.go.html to see an example of how to use GetModelRequest.
type GetModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelRequest) String() string
GetModelResponse wrapper for the GetModel operation
type GetModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelResponse) String() string
GetNotebookSessionRequest wrapper for the GetNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSessionRequest.
type GetNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNotebookSessionRequest) String() string
GetNotebookSessionResponse wrapper for the GetNotebookSession operation
type GetNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNotebookSessionResponse) String() string
GetProjectRequest wrapper for the GetProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetProject.go.html to see an example of how to use GetProjectRequest.
type GetProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProjectRequest) String() string
GetProjectResponse wrapper for the GetProject operation
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProjectResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Indicates the number of seconds to wait before making a follow-up request. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HeadJobArtifactRequest wrapper for the HeadJobArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/HeadJobArtifact.go.html to see an example of how to use HeadJobArtifactRequest.
type HeadJobArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request HeadJobArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadJobArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadJobArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadJobArtifactRequest) String() string
HeadJobArtifactResponse wrapper for the HeadJobArtifact operation
type HeadJobArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response HeadJobArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadJobArtifactResponse) String() string
HeadModelArtifactRequest wrapper for the HeadModelArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifactRequest.
type HeadModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request HeadModelArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadModelArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadModelArtifactRequest) String() string
HeadModelArtifactResponse wrapper for the HeadModelArtifact operation
type HeadModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response HeadModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadModelArtifactResponse) String() string
InstanceConfiguration The model deployment instance configuration
type InstanceConfiguration struct { // The shape used to launch the model deployment instances. InstanceShapeName *string `mandatory:"true" json:"instanceShapeName"` }
func (m InstanceConfiguration) String() string
Job A job for training models.
type Job struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` JobConfigurationDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // The state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` 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"` }
func (m Job) String() string
func (m *Job) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
JobConfigurationDetails The job configuration details
type JobConfigurationDetails interface { }
JobConfigurationDetailsJobTypeEnum Enum with underlying type: string
type JobConfigurationDetailsJobTypeEnum string
Set of constants representing the allowable values for JobConfigurationDetailsJobTypeEnum
const ( JobConfigurationDetailsJobTypeDefault JobConfigurationDetailsJobTypeEnum = "DEFAULT" )
func GetJobConfigurationDetailsJobTypeEnumValues() []JobConfigurationDetailsJobTypeEnum
GetJobConfigurationDetailsJobTypeEnumValues Enumerates the set of values for JobConfigurationDetailsJobTypeEnum
JobInfrastructureConfigurationDetails The job infrastructure configuration details (shape, block storage, etc.)
type JobInfrastructureConfigurationDetails interface { }
JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum Enum with underlying type: string
type JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum string
Set of constants representing the allowable values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
const ( JobInfrastructureConfigurationDetailsJobInfrastructureTypeStandalone JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum = "STANDALONE" )
func GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues() []JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
GetJobInfrastructureConfigurationDetailsJobInfrastructureTypeEnumValues Enumerates the set of values for JobInfrastructureConfigurationDetailsJobInfrastructureTypeEnum
JobLifecycleStateEnum Enum with underlying type: string
type JobLifecycleStateEnum string
Set of constants representing the allowable values for JobLifecycleStateEnum
const ( JobLifecycleStateCreating JobLifecycleStateEnum = "CREATING" JobLifecycleStateActive JobLifecycleStateEnum = "ACTIVE" JobLifecycleStateDeleting JobLifecycleStateEnum = "DELETING" JobLifecycleStateFailed JobLifecycleStateEnum = "FAILED" JobLifecycleStateDeleted JobLifecycleStateEnum = "DELETED" )
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
JobLogConfigurationDetails Logging configuration for resource.
type JobLogConfigurationDetails struct { // If customer logging is enabled for job runs. EnableLogging *bool `mandatory:"false" json:"enableLogging"` // If automatic on-behalf-of log object creation is enabled for job runs. EnableAutoLogCreation *bool `mandatory:"false" json:"enableAutoLogCreation"` // The log group id for where log objects are for job runs. LogGroupId *string `mandatory:"false" json:"logGroupId"` // The log id the job run will push logs too. LogId *string `mandatory:"false" json:"logId"` }
func (m JobLogConfigurationDetails) String() string
JobRun A job run.
type JobRun struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. Id *string `mandatory:"true" json:"id"` // The date and time the job run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobId *string `mandatory:"true" json:"jobId"` JobConfigurationOverrideDetails JobConfigurationDetails `mandatory:"true" json:"jobConfigurationOverrideDetails"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"true" json:"jobInfrastructureConfigurationDetails"` // The state of the job run. LifecycleState JobRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the job run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the job run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` 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"` }
func (m JobRun) String() string
func (m *JobRun) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
JobRunLifecycleStateEnum Enum with underlying type: string
type JobRunLifecycleStateEnum string
Set of constants representing the allowable values for JobRunLifecycleStateEnum
const ( JobRunLifecycleStateAccepted JobRunLifecycleStateEnum = "ACCEPTED" JobRunLifecycleStateInProgress JobRunLifecycleStateEnum = "IN_PROGRESS" JobRunLifecycleStateFailed JobRunLifecycleStateEnum = "FAILED" JobRunLifecycleStateSucceeded JobRunLifecycleStateEnum = "SUCCEEDED" JobRunLifecycleStateCanceling JobRunLifecycleStateEnum = "CANCELING" JobRunLifecycleStateCanceled JobRunLifecycleStateEnum = "CANCELED" JobRunLifecycleStateDeleted JobRunLifecycleStateEnum = "DELETED" JobRunLifecycleStateNeedsAttention JobRunLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetJobRunLifecycleStateEnumValues() []JobRunLifecycleStateEnum
GetJobRunLifecycleStateEnumValues Enumerates the set of values for JobRunLifecycleStateEnum
JobRunLogDetails Customer logging details for job run.
type JobRunLogDetails struct { // The log group id for where log objects will be for job runs. LogGroupId *string `mandatory:"true" json:"logGroupId"` // The log id of the log object the job run logs will be shipped to. LogId *string `mandatory:"true" json:"logId"` }
func (m JobRunLogDetails) String() string
JobRunSummary Summary information for a Job.
type JobRunSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. Id *string `mandatory:"true" json:"id"` // The date and time the job run was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job run. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobId *string `mandatory:"true" json:"jobId"` // The state of the job. LifecycleState JobRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the job run request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the job run request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Details of the state of the job run. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m JobRunSummary) String() string
JobShapeSummary The compute shape used to launch a job compute instance.
type JobShapeSummary struct { // The name of the job shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this job run shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The number of cores associated with this job shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries JobShapeSummaryShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` }
func (m JobShapeSummary) String() string
JobShapeSummaryShapeSeriesEnum Enum with underlying type: string
type JobShapeSummaryShapeSeriesEnum string
Set of constants representing the allowable values for JobShapeSummaryShapeSeriesEnum
const ( JobShapeSummaryShapeSeriesAmdRome JobShapeSummaryShapeSeriesEnum = "AMD_ROME" JobShapeSummaryShapeSeriesIntelSkylake JobShapeSummaryShapeSeriesEnum = "INTEL_SKYLAKE" JobShapeSummaryShapeSeriesNvidiaGpu JobShapeSummaryShapeSeriesEnum = "NVIDIA_GPU" JobShapeSummaryShapeSeriesLegacy JobShapeSummaryShapeSeriesEnum = "LEGACY" )
func GetJobShapeSummaryShapeSeriesEnumValues() []JobShapeSummaryShapeSeriesEnum
GetJobShapeSummaryShapeSeriesEnumValues Enumerates the set of values for JobShapeSummaryShapeSeriesEnum
JobSummary Summary information for a Job.
type JobSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2020-08-06T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job with. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m JobSummary) String() string
ListJobRunsLifecycleStateEnum Enum with underlying type: string
type ListJobRunsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobRunsLifecycleStateEnum
const ( ListJobRunsLifecycleStateAccepted ListJobRunsLifecycleStateEnum = "ACCEPTED" ListJobRunsLifecycleStateInProgress ListJobRunsLifecycleStateEnum = "IN_PROGRESS" ListJobRunsLifecycleStateFailed ListJobRunsLifecycleStateEnum = "FAILED" ListJobRunsLifecycleStateSucceeded ListJobRunsLifecycleStateEnum = "SUCCEEDED" ListJobRunsLifecycleStateCanceling ListJobRunsLifecycleStateEnum = "CANCELING" ListJobRunsLifecycleStateCanceled ListJobRunsLifecycleStateEnum = "CANCELED" ListJobRunsLifecycleStateDeleted ListJobRunsLifecycleStateEnum = "DELETED" ListJobRunsLifecycleStateNeedsAttention ListJobRunsLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListJobRunsLifecycleStateEnumValues() []ListJobRunsLifecycleStateEnum
GetListJobRunsLifecycleStateEnumValues Enumerates the set of values for ListJobRunsLifecycleStateEnum
ListJobRunsRequest wrapper for the ListJobRuns operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.
type ListJobRunsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobRunsRequest) String() string
ListJobRunsResponse wrapper for the ListJobRuns operation
type ListJobRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobRunSummary instances Items []JobRunSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobRunsResponse) String() string
ListJobRunsSortByEnum Enum with underlying type: string
type ListJobRunsSortByEnum string
Set of constants representing the allowable values for ListJobRunsSortByEnum
const ( ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "timeCreated" ListJobRunsSortByDisplayname ListJobRunsSortByEnum = "displayName" )
func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum
GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum
ListJobRunsSortOrderEnum Enum with underlying type: string
type ListJobRunsSortOrderEnum string
Set of constants representing the allowable values for ListJobRunsSortOrderEnum
const ( ListJobRunsSortOrderAsc ListJobRunsSortOrderEnum = "ASC" ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC" )
func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum
GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum
ListJobShapesRequest wrapper for the ListJobShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobShapes.go.html to see an example of how to use ListJobShapesRequest.
type ListJobShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListJobShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobShapesRequest) String() string
ListJobShapesResponse wrapper for the ListJobShapes operation
type ListJobShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobShapeSummary instances Items []JobShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobShapesResponse) String() string
ListJobsLifecycleStateEnum Enum with underlying type: string
type ListJobsLifecycleStateEnum string
Set of constants representing the allowable values for ListJobsLifecycleStateEnum
const ( ListJobsLifecycleStateCreating ListJobsLifecycleStateEnum = "CREATING" ListJobsLifecycleStateActive ListJobsLifecycleStateEnum = "ACTIVE" ListJobsLifecycleStateDeleting ListJobsLifecycleStateEnum = "DELETING" ListJobsLifecycleStateFailed ListJobsLifecycleStateEnum = "FAILED" ListJobsLifecycleStateDeleted ListJobsLifecycleStateEnum = "DELETED" )
func GetListJobsLifecycleStateEnumValues() []ListJobsLifecycleStateEnum
GetListJobsLifecycleStateEnumValues Enumerates the set of values for ListJobsLifecycleStateEnum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListJobs.go.html to see an example of how to use ListJobsRequest.
type ListJobsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
ListJobsResponse wrapper for the ListJobs operation
type ListJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of []JobSummary instances Items []JobSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "timeCreated" ListJobsSortByDisplayname ListJobsSortByEnum = "displayName" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
ListModelDeploymentShapesRequest wrapper for the ListModelDeploymentShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModelDeploymentShapes.go.html to see an example of how to use ListModelDeploymentShapesRequest.
type ListModelDeploymentShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListModelDeploymentShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelDeploymentShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelDeploymentShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelDeploymentShapesRequest) String() string
ListModelDeploymentShapesResponse wrapper for the ListModelDeploymentShapes operation
type ListModelDeploymentShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelDeploymentShapeSummary instances Items []ModelDeploymentShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelDeploymentShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelDeploymentShapesResponse) String() string
ListModelDeploymentsLifecycleStateEnum Enum with underlying type: string
type ListModelDeploymentsLifecycleStateEnum string
Set of constants representing the allowable values for ListModelDeploymentsLifecycleStateEnum
const ( ListModelDeploymentsLifecycleStateCreating ListModelDeploymentsLifecycleStateEnum = "CREATING" ListModelDeploymentsLifecycleStateActive ListModelDeploymentsLifecycleStateEnum = "ACTIVE" ListModelDeploymentsLifecycleStateDeleting ListModelDeploymentsLifecycleStateEnum = "DELETING" ListModelDeploymentsLifecycleStateFailed ListModelDeploymentsLifecycleStateEnum = "FAILED" ListModelDeploymentsLifecycleStateInactive ListModelDeploymentsLifecycleStateEnum = "INACTIVE" ListModelDeploymentsLifecycleStateUpdating ListModelDeploymentsLifecycleStateEnum = "UPDATING" ListModelDeploymentsLifecycleStateDeleted ListModelDeploymentsLifecycleStateEnum = "DELETED" ListModelDeploymentsLifecycleStateNeedsAttention ListModelDeploymentsLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetListModelDeploymentsLifecycleStateEnumValues() []ListModelDeploymentsLifecycleStateEnum
GetListModelDeploymentsLifecycleStateEnumValues Enumerates the set of values for ListModelDeploymentsLifecycleStateEnum
ListModelDeploymentsRequest wrapper for the ListModelDeployments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModelDeployments.go.html to see an example of how to use ListModelDeploymentsRequest.
type ListModelDeploymentsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListModelDeploymentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListModelDeploymentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelDeploymentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelDeploymentsRequest) String() string
ListModelDeploymentsResponse wrapper for the ListModelDeployments operation
type ListModelDeploymentsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelDeploymentSummary instances Items []ModelDeploymentSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelDeploymentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelDeploymentsResponse) String() string
ListModelDeploymentsSortByEnum Enum with underlying type: string
type ListModelDeploymentsSortByEnum string
Set of constants representing the allowable values for ListModelDeploymentsSortByEnum
const ( ListModelDeploymentsSortByTimecreated ListModelDeploymentsSortByEnum = "timeCreated" ListModelDeploymentsSortByDisplayname ListModelDeploymentsSortByEnum = "displayName" )
func GetListModelDeploymentsSortByEnumValues() []ListModelDeploymentsSortByEnum
GetListModelDeploymentsSortByEnumValues Enumerates the set of values for ListModelDeploymentsSortByEnum
ListModelDeploymentsSortOrderEnum Enum with underlying type: string
type ListModelDeploymentsSortOrderEnum string
Set of constants representing the allowable values for ListModelDeploymentsSortOrderEnum
const ( ListModelDeploymentsSortOrderAsc ListModelDeploymentsSortOrderEnum = "ASC" ListModelDeploymentsSortOrderDesc ListModelDeploymentsSortOrderEnum = "DESC" )
func GetListModelDeploymentsSortOrderEnumValues() []ListModelDeploymentsSortOrderEnum
GetListModelDeploymentsSortOrderEnumValues Enumerates the set of values for ListModelDeploymentsSortOrderEnum
ListModelsLifecycleStateEnum Enum with underlying type: string
type ListModelsLifecycleStateEnum string
Set of constants representing the allowable values for ListModelsLifecycleStateEnum
const ( ListModelsLifecycleStateActive ListModelsLifecycleStateEnum = "ACTIVE" ListModelsLifecycleStateDeleted ListModelsLifecycleStateEnum = "DELETED" ListModelsLifecycleStateFailed ListModelsLifecycleStateEnum = "FAILED" ListModelsLifecycleStateInactive ListModelsLifecycleStateEnum = "INACTIVE" )
func GetListModelsLifecycleStateEnumValues() []ListModelsLifecycleStateEnum
GetListModelsLifecycleStateEnumValues Enumerates the set of values for ListModelsLifecycleStateEnum
ListModelsRequest wrapper for the ListModels operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListModels.go.html to see an example of how to use ListModelsRequest.
type ListModelsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by 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 }
func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelsRequest) String() string
ListModelsResponse wrapper for the ListModels operation
type ListModelsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelSummary instances Items []ModelSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListModelsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListModelsResponse) String() string
ListModelsSortByEnum Enum with underlying type: string
type ListModelsSortByEnum string
Set of constants representing the allowable values for ListModelsSortByEnum
const ( ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated" ListModelsSortByDisplayname ListModelsSortByEnum = "displayName" ListModelsSortByLifecyclestate ListModelsSortByEnum = "lifecycleState" )
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
ListModelsSortOrderEnum Enum with underlying type: string
type ListModelsSortOrderEnum string
Set of constants representing the allowable values for ListModelsSortOrderEnum
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
ListNotebookSessionShapesRequest wrapper for the ListNotebookSessionShapes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapesRequest.
type ListNotebookSessionShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListNotebookSessionShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNotebookSessionShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNotebookSessionShapesRequest) String() string
ListNotebookSessionShapesResponse wrapper for the ListNotebookSessionShapes operation
type ListNotebookSessionShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionShapeSummary instances Items []NotebookSessionShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListNotebookSessionShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNotebookSessionShapesResponse) String() string
ListNotebookSessionsLifecycleStateEnum Enum with underlying type: string
type ListNotebookSessionsLifecycleStateEnum string
Set of constants representing the allowable values for ListNotebookSessionsLifecycleStateEnum
const ( ListNotebookSessionsLifecycleStateCreating ListNotebookSessionsLifecycleStateEnum = "CREATING" ListNotebookSessionsLifecycleStateActive ListNotebookSessionsLifecycleStateEnum = "ACTIVE" ListNotebookSessionsLifecycleStateDeleting ListNotebookSessionsLifecycleStateEnum = "DELETING" ListNotebookSessionsLifecycleStateDeleted ListNotebookSessionsLifecycleStateEnum = "DELETED" ListNotebookSessionsLifecycleStateFailed ListNotebookSessionsLifecycleStateEnum = "FAILED" ListNotebookSessionsLifecycleStateInactive ListNotebookSessionsLifecycleStateEnum = "INACTIVE" ListNotebookSessionsLifecycleStateUpdating ListNotebookSessionsLifecycleStateEnum = "UPDATING" )
func GetListNotebookSessionsLifecycleStateEnumValues() []ListNotebookSessionsLifecycleStateEnum
GetListNotebookSessionsLifecycleStateEnumValues Enumerates the set of values for ListNotebookSessionsLifecycleStateEnum
ListNotebookSessionsRequest wrapper for the ListNotebookSessions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessionsRequest.
type ListNotebookSessionsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListNotebookSessionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListNotebookSessionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNotebookSessionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNotebookSessionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNotebookSessionsRequest) String() string
ListNotebookSessionsResponse wrapper for the ListNotebookSessions operation
type ListNotebookSessionsResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionSummary instances Items []NotebookSessionSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListNotebookSessionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNotebookSessionsResponse) String() string
ListNotebookSessionsSortByEnum Enum with underlying type: string
type ListNotebookSessionsSortByEnum string
Set of constants representing the allowable values for ListNotebookSessionsSortByEnum
const ( ListNotebookSessionsSortByTimecreated ListNotebookSessionsSortByEnum = "timeCreated" ListNotebookSessionsSortByDisplayname ListNotebookSessionsSortByEnum = "displayName" )
func GetListNotebookSessionsSortByEnumValues() []ListNotebookSessionsSortByEnum
GetListNotebookSessionsSortByEnumValues Enumerates the set of values for ListNotebookSessionsSortByEnum
ListNotebookSessionsSortOrderEnum Enum with underlying type: string
type ListNotebookSessionsSortOrderEnum string
Set of constants representing the allowable values for ListNotebookSessionsSortOrderEnum
const ( ListNotebookSessionsSortOrderAsc ListNotebookSessionsSortOrderEnum = "ASC" ListNotebookSessionsSortOrderDesc ListNotebookSessionsSortOrderEnum = "DESC" )
func GetListNotebookSessionsSortOrderEnumValues() []ListNotebookSessionsSortOrderEnum
GetListNotebookSessionsSortOrderEnumValues Enumerates the set of values for ListNotebookSessionsSortOrderEnum
ListProjectsLifecycleStateEnum Enum with underlying type: string
type ListProjectsLifecycleStateEnum string
Set of constants representing the allowable values for ListProjectsLifecycleStateEnum
const ( ListProjectsLifecycleStateActive ListProjectsLifecycleStateEnum = "ACTIVE" ListProjectsLifecycleStateDeleting ListProjectsLifecycleStateEnum = "DELETING" ListProjectsLifecycleStateDeleted ListProjectsLifecycleStateEnum = "DELETED" )
func GetListProjectsLifecycleStateEnumValues() []ListProjectsLifecycleStateEnum
GetListProjectsLifecycleStateEnumValues Enumerates the set of values for ListProjectsLifecycleStateEnum
ListProjectsRequest wrapper for the ListProjects operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListProjects.go.html to see an example of how to use ListProjectsRequest.
type ListProjectsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListProjectsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProjectsRequest) String() string
ListProjectsResponse wrapper for the ListProjects operation
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ProjectSummary instances Items []ProjectSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProjectsResponse) String() string
ListProjectsSortByEnum Enum with underlying type: string
type ListProjectsSortByEnum string
Set of constants representing the allowable values for ListProjectsSortByEnum
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
ListProjectsSortOrderEnum Enum with underlying type: string
type ListProjectsSortOrderEnum string
Set of constants representing the allowable values for ListProjectsSortOrderEnum
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsOperationTypeEnum Enum with underlying type: string
type ListWorkRequestsOperationTypeEnum string
Set of constants representing the allowable values for ListWorkRequestsOperationTypeEnum
const ( ListWorkRequestsOperationTypeNotebookSessionCreate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" ListWorkRequestsOperationTypeNotebookSessionDelete ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" ListWorkRequestsOperationTypeNotebookSessionActivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" ListWorkRequestsOperationTypeNotebookSessionDeactivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" 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" )
func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum
GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the type of the operation associated with the work request. OperationType ListWorkRequestsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // <b>Filter</b> results by work request status. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
LogDetails The log details.
type LogDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a log to work with. LogId *string `mandatory:"true" json:"logId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a log group to work with. LogGroupId *string `mandatory:"true" json:"logGroupId"` }
func (m LogDetails) String() string
Metadata Defines properties of each model metadata.
type Metadata struct { // Key of the model Metadata. The key can either be user defined or OCI defined. // List of OCI defined keys: // * useCaseType // * libraryName // * libraryVersion // * estimatorClass // * hyperParameters // * testartifactresults Key *string `mandatory:"false" json:"key"` // Allowed values for useCaseType: // binary_classification, regression, multinomial_classification, clustering, recommender, // dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, // topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other // Allowed values for libraryName: // scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, // prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, // bert, gensim, flair, word2vec, ensemble, other Value *string `mandatory:"false" json:"value"` // Description of model metadata Description *string `mandatory:"false" json:"description"` // Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,other". Category *string `mandatory:"false" json:"category"` }
func (m Metadata) String() string
Model Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifacts.
type Model struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` // Input schema file content in String format InputSchema *string `mandatory:"false" json:"inputSchema"` // Output schema file content in String format OutputSchema *string `mandatory:"false" json:"outputSchema"` }
func (m Model) String() string
ModelConfigurationDetails The model configuration details.
type ModelConfigurationDetails struct { // The OCID of the model you want to deploy. ModelId *string `mandatory:"true" json:"modelId"` InstanceConfiguration *InstanceConfiguration `mandatory:"true" json:"instanceConfiguration"` ScalingPolicy ScalingPolicy `mandatory:"false" json:"scalingPolicy"` // The network bandwidth for the model. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` }
func (m ModelConfigurationDetails) String() string
func (m *ModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ModelDeployment Model deployments are used by data scientists to perform predictions from the model hosted on an HTTP server.
type ModelDeployment struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model deployment. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The URL to interact with the model deployment. ModelDeploymentUrl *string `mandatory:"true" json:"modelDeploymentUrl"` // The state of the model deployment. LifecycleState ModelDeploymentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Details about the state of the model deployment. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelDeployment) String() string
func (m *ModelDeployment) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ModelDeploymentConfigurationDetails The model deployment configuration details.
type ModelDeploymentConfigurationDetails interface { }
ModelDeploymentLifecycleStateEnum Enum with underlying type: string
type ModelDeploymentLifecycleStateEnum string
Set of constants representing the allowable values for ModelDeploymentLifecycleStateEnum
const ( ModelDeploymentLifecycleStateCreating ModelDeploymentLifecycleStateEnum = "CREATING" ModelDeploymentLifecycleStateActive ModelDeploymentLifecycleStateEnum = "ACTIVE" ModelDeploymentLifecycleStateDeleting ModelDeploymentLifecycleStateEnum = "DELETING" ModelDeploymentLifecycleStateFailed ModelDeploymentLifecycleStateEnum = "FAILED" ModelDeploymentLifecycleStateInactive ModelDeploymentLifecycleStateEnum = "INACTIVE" ModelDeploymentLifecycleStateUpdating ModelDeploymentLifecycleStateEnum = "UPDATING" ModelDeploymentLifecycleStateDeleted ModelDeploymentLifecycleStateEnum = "DELETED" ModelDeploymentLifecycleStateNeedsAttention ModelDeploymentLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetModelDeploymentLifecycleStateEnumValues() []ModelDeploymentLifecycleStateEnum
GetModelDeploymentLifecycleStateEnumValues Enumerates the set of values for ModelDeploymentLifecycleStateEnum
ModelDeploymentShapeSummary The compute shape used to launch a model deployment compute instance.
type ModelDeploymentShapeSummary struct { // The name of the model deployment shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this model deployment shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The amount of memory in GBs associated with this model deployment shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` }
func (m ModelDeploymentShapeSummary) String() string
ModelDeploymentSummary Summary information for a model deployment.
type ModelDeploymentSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model deployment. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model deployment. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The URL to interact with the model deployment. ModelDeploymentUrl *string `mandatory:"true" json:"modelDeploymentUrl"` // The state of the model deployment. LifecycleState ModelDeploymentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails ModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *CategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelDeploymentSummary) String() string
func (m *ModelDeploymentSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ModelDeploymentTypeEnum Enum with underlying type: string
type ModelDeploymentTypeEnum string
Set of constants representing the allowable values for ModelDeploymentTypeEnum
const ( ModelDeploymentTypeSingleModel ModelDeploymentTypeEnum = "SINGLE_MODEL" )
func GetModelDeploymentTypeEnumValues() []ModelDeploymentTypeEnum
GetModelDeploymentTypeEnumValues Enumerates the set of values for ModelDeploymentTypeEnum
ModelLifecycleStateEnum Enum with underlying type: string
type ModelLifecycleStateEnum string
Set of constants representing the allowable values for ModelLifecycleStateEnum
const ( ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" ModelLifecycleStateInactive ModelLifecycleStateEnum = "INACTIVE" )
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
ModelProvenance Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type ModelProvenance struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m ModelProvenance) String() string
ModelSummary Summary information for a model.
type ModelSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ModelSummary) String() string
NotebookSession Notebook sessions are interactive coding environments for data scientists.
type NotebookSession struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Details about the state of the notebook session. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m NotebookSession) String() string
NotebookSessionConfigurationDetails Details for the notebook session configuration.
type NotebookSessionConfigurationDetails struct { // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape *string `mandatory:"true" json:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. SubnetId *string `mandatory:"true" json:"subnetId"` // A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. BlockStorageSizeInGBs *int `mandatory:"false" json:"blockStorageSizeInGBs"` NotebookSessionShapeConfigDetails *NotebookSessionShapeConfigDetails `mandatory:"false" json:"notebookSessionShapeConfigDetails"` }
func (m NotebookSessionConfigurationDetails) String() string
NotebookSessionLifecycleStateEnum Enum with underlying type: string
type NotebookSessionLifecycleStateEnum string
Set of constants representing the allowable values for NotebookSessionLifecycleStateEnum
const ( NotebookSessionLifecycleStateCreating NotebookSessionLifecycleStateEnum = "CREATING" NotebookSessionLifecycleStateActive NotebookSessionLifecycleStateEnum = "ACTIVE" NotebookSessionLifecycleStateDeleting NotebookSessionLifecycleStateEnum = "DELETING" NotebookSessionLifecycleStateDeleted NotebookSessionLifecycleStateEnum = "DELETED" NotebookSessionLifecycleStateFailed NotebookSessionLifecycleStateEnum = "FAILED" NotebookSessionLifecycleStateInactive NotebookSessionLifecycleStateEnum = "INACTIVE" NotebookSessionLifecycleStateUpdating NotebookSessionLifecycleStateEnum = "UPDATING" )
func GetNotebookSessionLifecycleStateEnumValues() []NotebookSessionLifecycleStateEnum
GetNotebookSessionLifecycleStateEnumValues Enumerates the set of values for NotebookSessionLifecycleStateEnum
NotebookSessionShapeConfigDetails Details for the notebook session shape configuration.
type NotebookSessionShapeConfigDetails struct { // A notebook session instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. Ocpus *float32 `mandatory:"false" json:"ocpus"` // A notebook session instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` }
func (m NotebookSessionShapeConfigDetails) String() string
NotebookSessionShapeSeriesEnum Enum with underlying type: string
type NotebookSessionShapeSeriesEnum string
Set of constants representing the allowable values for NotebookSessionShapeSeriesEnum
const ( NotebookSessionShapeSeriesAmdRome NotebookSessionShapeSeriesEnum = "AMD_ROME" NotebookSessionShapeSeriesIntelSkylake NotebookSessionShapeSeriesEnum = "INTEL_SKYLAKE" NotebookSessionShapeSeriesNvidiaGpu NotebookSessionShapeSeriesEnum = "NVIDIA_GPU" NotebookSessionShapeSeriesLegacy NotebookSessionShapeSeriesEnum = "LEGACY" )
func GetNotebookSessionShapeSeriesEnumValues() []NotebookSessionShapeSeriesEnum
GetNotebookSessionShapeSeriesEnumValues Enumerates the set of values for NotebookSessionShapeSeriesEnum
NotebookSessionShapeSummary The compute shape used to launch a notebook session compute instance.
type NotebookSessionShapeSummary struct { // The name of the notebook session shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this notebook session shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The amount of memory in GBs associated with this notebook session shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` // The family that the compute shape belongs to. ShapeSeries NotebookSessionShapeSeriesEnum `mandatory:"true" json:"shapeSeries"` }
func (m NotebookSessionShapeSummary) String() string
NotebookSessionSummary Summary information for a notebook session.
type NotebookSessionSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m NotebookSessionSummary) String() string
Project Projects enable users to organize their data science work.
type Project struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created this project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m Project) String() string
ProjectLifecycleStateEnum Enum with underlying type: string
type ProjectLifecycleStateEnum string
Set of constants representing the allowable values for ProjectLifecycleStateEnum
const ( ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" )
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
ProjectSummary Summary information for a project.
type ProjectSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m ProjectSummary) String() string
ScalingPolicy The scaling policy to apply to each model of the deployment.
type ScalingPolicy interface { }
ScalingPolicyPolicyTypeEnum Enum with underlying type: string
type ScalingPolicyPolicyTypeEnum string
Set of constants representing the allowable values for ScalingPolicyPolicyTypeEnum
const ( ScalingPolicyPolicyTypeFixedSize ScalingPolicyPolicyTypeEnum = "FIXED_SIZE" )
func GetScalingPolicyPolicyTypeEnumValues() []ScalingPolicyPolicyTypeEnum
GetScalingPolicyPolicyTypeEnumValues Enumerates the set of values for ScalingPolicyPolicyTypeEnum
SingleModelDeploymentConfigurationDetails The single model type deployment.
type SingleModelDeploymentConfigurationDetails struct { ModelConfigurationDetails *ModelConfigurationDetails `mandatory:"true" json:"modelConfigurationDetails"` }
func (m SingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleModelDeploymentConfigurationDetails) String() string
StandaloneJobInfrastructureConfigurationDetails The standalone job infrastructure configuration.
type StandaloneJobInfrastructureConfigurationDetails struct { // The shape used to launch the job run instances. ShapeName *string `mandatory:"true" json:"shapeName"` // The subnet to create a secondary vnic in to attach to the instance running the job SubnetId *string `mandatory:"true" json:"subnetId"` // The size of the block storage volume to attach to the instance running the job BlockStorageSizeInGBs *int `mandatory:"true" json:"blockStorageSizeInGBs"` }
func (m StandaloneJobInfrastructureConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m StandaloneJobInfrastructureConfigurationDetails) String() string
UpdateCategoryLogDetails The log details for each category for update.
type UpdateCategoryLogDetails struct { Access *LogDetails `mandatory:"false" json:"access"` Predict *LogDetails `mandatory:"false" json:"predict"` }
func (m UpdateCategoryLogDetails) String() string
UpdateJobDetails Details for updating a job.
type UpdateJobDetails struct { // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the job. Description *string `mandatory:"false" json:"description"` JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails `mandatory:"false" json:"jobInfrastructureConfigurationDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateJobDetails) String() string
func (m *UpdateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateJobRequest wrapper for the UpdateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateJob.go.html to see an example of how to use UpdateJobRequest.
type UpdateJobRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // Details for updating a job. UpdateJobDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRequest) String() string
UpdateJobResponse wrapper for the UpdateJob operation
type UpdateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobResponse) String() string
UpdateJobRunDetails Details for updating a job run.
type UpdateJobRunDetails struct { // A user-friendly display name for the resource. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateJobRunDetails) String() string
UpdateJobRunRequest wrapper for the UpdateJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateJobRun.go.html to see an example of how to use UpdateJobRunRequest.
type UpdateJobRunRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // Details for updating a job. UpdateJobRunDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRunRequest) String() string
UpdateJobRunResponse wrapper for the UpdateJobRun operation
type UpdateJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobRunResponse) String() string
UpdateModelConfigurationDetails The model configuration details for update.
type UpdateModelConfigurationDetails struct { // The OCID of the model you want to update. ModelId *string `mandatory:"true" json:"modelId"` InstanceConfiguration *InstanceConfiguration `mandatory:"false" json:"instanceConfiguration"` ScalingPolicy ScalingPolicy `mandatory:"false" json:"scalingPolicy"` // The network bandwidth for the model. BandwidthMbps *int `mandatory:"false" json:"bandwidthMbps"` }
func (m UpdateModelConfigurationDetails) String() string
func (m *UpdateModelConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateModelDeploymentConfigurationDetails The model deployment configuration details for update.
type UpdateModelDeploymentConfigurationDetails interface { }
UpdateModelDeploymentDetails Details for updating a model deployment. You can update `modelDeploymentConfigurationDetails` and change `instanceShapeName` and `modelId` when the model deployment is in the ACTIVE lifecycle state. The `bandwidthMbps` or `instanceCount` can only be updated while the model deployment is in the `INACTIVE` state. Changes to the `bandwidthMbps` or `instanceCount` will take effect the next time the `ActivateModelDeployment` action is invoked on the model deployment resource.
type UpdateModelDeploymentDetails struct { // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My ModelDeployment` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model deployment. Description *string `mandatory:"false" json:"description"` ModelDeploymentConfigurationDetails UpdateModelDeploymentConfigurationDetails `mandatory:"false" json:"modelDeploymentConfigurationDetails"` CategoryLogDetails *UpdateCategoryLogDetails `mandatory:"false" json:"categoryLogDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateModelDeploymentDetails) String() string
func (m *UpdateModelDeploymentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateModelDeploymentRequest wrapper for the UpdateModelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModelDeployment.go.html to see an example of how to use UpdateModelDeploymentRequest.
type UpdateModelDeploymentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment. ModelDeploymentId *string `mandatory:"true" contributesTo:"path" name:"modelDeploymentId"` // Details for updating a model deployment. Some of the properties of `modelDeploymentConfigurationDetails` or `CategoryLogDetails` can also be updated with zero down time // when the model deployment’s lifecycle state is ACTIVE or NEEDS_ATTENTION i.e `instanceShapeName`, `instanceCount` and `modelId`, separately `loadBalancerShape` or // `CategoryLogDetails` can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next // time the model deployment is activated. UpdateModelDeploymentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateModelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelDeploymentRequest) String() string
UpdateModelDeploymentResponse wrapper for the UpdateModelDeployment operation
type UpdateModelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response UpdateModelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelDeploymentResponse) String() string
UpdateModelDetails Details for updating a model.
type UpdateModelDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // An array of custom metadata details for the model. CustomMetadataList []Metadata `mandatory:"false" json:"customMetadataList"` // An array of defined metadata details for the model. DefinedMetadataList []Metadata `mandatory:"false" json:"definedMetadataList"` }
func (m UpdateModelDetails) String() string
UpdateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
type UpdateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. TrainingId *string `mandatory:"false" json:"trainingId"` }
func (m UpdateModelProvenanceDetails) String() string
UpdateModelProvenanceRequest wrapper for the UpdateModelProvenance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenanceRequest.
type UpdateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for the specified model. UpdateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateModelProvenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelProvenanceRequest) String() string
UpdateModelProvenanceResponse wrapper for the UpdateModelProvenance operation
type UpdateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelProvenanceResponse) String() string
UpdateModelRequest wrapper for the UpdateModel operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
type UpdateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for updating a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateModelDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelRequest) String() string
UpdateModelResponse wrapper for the UpdateModel operation
type UpdateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelResponse) String() string
UpdateNotebookSessionDetails Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
type UpdateNotebookSessionDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"false" json:"displayName"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateNotebookSessionDetails) String() string
UpdateNotebookSessionRequest wrapper for the UpdateNotebookSession operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSessionRequest.
type UpdateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. // Changes to the `notebookSessionConfigurationDetails` take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource. UpdateNotebookSessionDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateNotebookSessionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateNotebookSessionRequest) String() string
UpdateNotebookSessionResponse wrapper for the UpdateNotebookSession operation
type UpdateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateNotebookSessionResponse) String() string
UpdateProjectDetails Details for updating a project.
type UpdateProjectDetails struct { // A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProjectDetails) String() string
UpdateProjectRequest wrapper for the UpdateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/55.0.0/datascience/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
type UpdateProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for updating a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateProjectDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource is updated or deleted only if the `etag` you // provide matches the resource's current `etag` value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProjectRequest) String() string
UpdateProjectResponse wrapper for the UpdateProject operation
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle assigned identifier for the request. If you need to contact // Oracle about a particular request, then provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProjectResponse) String() string
UpdateSingleModelDeploymentConfigurationDetails The single model type deployment for update.
type UpdateSingleModelDeploymentConfigurationDetails struct { ModelConfigurationDetails *UpdateModelConfigurationDetails `mandatory:"false" json:"modelConfigurationDetails"` }
func (m UpdateSingleModelDeploymentConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSingleModelDeploymentConfigurationDetails) String() string
WorkRequest An asynchronous work request.
type WorkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The time the work request was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The time the work request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the work request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError Errors related to a specific work request.
type WorkRequestError struct { // A short error code that defines the error, which is meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/General/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry Log entries related to a specific work request.
type WorkRequestLogEntry struct { // The description of an action that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeNotebookSessionCreate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" WorkRequestOperationTypeNotebookSessionDelete WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" WorkRequestOperationTypeNotebookSessionActivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" WorkRequestOperationTypeNotebookSessionDeactivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" 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" )
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource The properties that define a work request resource.
type WorkRequestResource struct { // The way in which this resource was affected by the work tracked by the work request. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path on which the user can issue a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary Summary information for a work request.
type WorkRequestSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The date and time the work request was accepted in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string