func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAiPrivateEndpointLifecycleStateEnumStringValues() []string
GetAiPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for AiPrivateEndpointLifecycleStateEnum
func GetDataAssetLifecycleStateEnumStringValues() []string
GetDataAssetLifecycleStateEnumStringValues Enumerates the set of values in String for DataAssetLifecycleStateEnum
func GetDataSourceTypeEnumStringValues() []string
GetDataSourceTypeEnumStringValues Enumerates the set of values in String for DataSourceTypeEnum
func GetDetectAnomaliesDetailsRequestTypeEnumStringValues() []string
GetDetectAnomaliesDetailsRequestTypeEnumStringValues Enumerates the set of values in String for DetectAnomaliesDetailsRequestTypeEnum
func GetDetectAnomalyJobLifecycleStateEnumStringValues() []string
GetDetectAnomalyJobLifecycleStateEnumStringValues Enumerates the set of values in String for DetectAnomalyJobLifecycleStateEnum
func GetEmbeddedDetectAnomaliesRequestContentTypeEnumStringValues() []string
GetEmbeddedDetectAnomaliesRequestContentTypeEnumStringValues Enumerates the set of values in String for EmbeddedDetectAnomaliesRequestContentTypeEnum
func GetEmbeddedInputDetailsContentTypeEnumStringValues() []string
GetEmbeddedInputDetailsContentTypeEnumStringValues Enumerates the set of values in String for EmbeddedInputDetailsContentTypeEnum
func GetInfluxVersionEnumStringValues() []string
GetInfluxVersionEnumStringValues Enumerates the set of values in String for InfluxVersionEnum
func GetInputDetailsInputTypeEnumStringValues() []string
GetInputDetailsInputTypeEnumStringValues Enumerates the set of values in String for InputDetailsInputTypeEnum
func GetInputJobDetailsInputTypeEnumStringValues() []string
GetInputJobDetailsInputTypeEnumStringValues Enumerates the set of values in String for InputJobDetailsInputTypeEnum
func GetListAiPrivateEndpointsSortByEnumStringValues() []string
GetListAiPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListAiPrivateEndpointsSortByEnum
func GetListAiPrivateEndpointsSortOrderEnumStringValues() []string
GetListAiPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListAiPrivateEndpointsSortOrderEnum
func GetListDataAssetsSortByEnumStringValues() []string
GetListDataAssetsSortByEnumStringValues Enumerates the set of values in String for ListDataAssetsSortByEnum
func GetListDataAssetsSortOrderEnumStringValues() []string
GetListDataAssetsSortOrderEnumStringValues Enumerates the set of values in String for ListDataAssetsSortOrderEnum
func GetListDetectAnomalyJobsSortByEnumStringValues() []string
GetListDetectAnomalyJobsSortByEnumStringValues Enumerates the set of values in String for ListDetectAnomalyJobsSortByEnum
func GetListDetectAnomalyJobsSortOrderEnumStringValues() []string
GetListDetectAnomalyJobsSortOrderEnumStringValues Enumerates the set of values in String for ListDetectAnomalyJobsSortOrderEnum
func GetListModelsSortByEnumStringValues() []string
GetListModelsSortByEnumStringValues Enumerates the set of values in String for ListModelsSortByEnum
func GetListModelsSortOrderEnumStringValues() []string
GetListModelsSortOrderEnumStringValues Enumerates the set of values in String for ListModelsSortOrderEnum
func GetListProjectsSortByEnumStringValues() []string
GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum
func GetListProjectsSortOrderEnumStringValues() []string
GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum
func GetModelLifecycleStateEnumStringValues() []string
GetModelLifecycleStateEnumStringValues Enumerates the set of values in String for ModelLifecycleStateEnum
func GetModelTrainingDetailsAlgorithmHintEnumStringValues() []string
GetModelTrainingDetailsAlgorithmHintEnumStringValues Enumerates the set of values in String for ModelTrainingDetailsAlgorithmHintEnum
func GetModelTrainingResultsAlgorithmEnumStringValues() []string
GetModelTrainingResultsAlgorithmEnumStringValues Enumerates the set of values in String for ModelTrainingResultsAlgorithmEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetOutputDetailsOutputTypeEnumStringValues() []string
GetOutputDetailsOutputTypeEnumStringValues Enumerates the set of values in String for OutputDetailsOutputTypeEnum
func GetOutputJobDetailsOutputTypeEnumStringValues() []string
GetOutputJobDetailsOutputTypeEnumStringValues Enumerates the set of values in String for OutputJobDetailsOutputTypeEnum
func GetPerSignalDetailsStatusEnumStringValues() []string
GetPerSignalDetailsStatusEnumStringValues Enumerates the set of values in String for PerSignalDetailsStatusEnum
func GetProjectLifecycleStateEnumStringValues() []string
GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum
func GetRowReductionDetailsReductionMethodEnumStringValues() []string
GetRowReductionDetailsReductionMethodEnumStringValues Enumerates the set of values in String for RowReductionDetailsReductionMethodEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AiPrivateEndpoint A private network reverse connection creates a connection from service to customer subnet over a private network.
type AiPrivateEndpoint struct { // Unique identifier that is immutable. Id *string `mandatory:"true" json:"id"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Subnet Identifier SubnetId *string `mandatory:"true" json:"subnetId"` // List of DNS zones to be used by the data assets. // Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com DnsZones []string `mandatory:"true" json:"dnsZones"` // Private Reverse Connection Endpoint display name. DisplayName *string `mandatory:"false" json:"displayName"` // The time the private endpoint was created. An RFC3339 (https://tools.ietf.org/html/rfc3339) formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the private endpoint was updated. An RFC3339 (https://tools.ietf.org/html/rfc3339) formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the private endpoint resource. LifecycleState AiPrivateEndpointLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The list of dataAssets using the private reverse connection endpoint. AttachedDataAssets []string `mandatory:"false" json:"attachedDataAssets"` }
func (m AiPrivateEndpoint) String() string
func (m AiPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AiPrivateEndpointCollection A collection of AI Service PrivateEndpoints Each item is a AI Service PrivateEndpoint Summary object.
type AiPrivateEndpointCollection struct { // List of AI Service PrivateEndpoint. Items []AiPrivateEndpointSummary `mandatory:"true" json:"items"` }
func (m AiPrivateEndpointCollection) String() string
func (m AiPrivateEndpointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AiPrivateEndpointLifecycleStateEnum Enum with underlying type: string
type AiPrivateEndpointLifecycleStateEnum string
Set of constants representing the allowable values for AiPrivateEndpointLifecycleStateEnum
const ( AiPrivateEndpointLifecycleStateCreating AiPrivateEndpointLifecycleStateEnum = "CREATING" AiPrivateEndpointLifecycleStateUpdating AiPrivateEndpointLifecycleStateEnum = "UPDATING" AiPrivateEndpointLifecycleStateActive AiPrivateEndpointLifecycleStateEnum = "ACTIVE" AiPrivateEndpointLifecycleStateDeleting AiPrivateEndpointLifecycleStateEnum = "DELETING" AiPrivateEndpointLifecycleStateDeleted AiPrivateEndpointLifecycleStateEnum = "DELETED" AiPrivateEndpointLifecycleStateFailed AiPrivateEndpointLifecycleStateEnum = "FAILED" )
func GetAiPrivateEndpointLifecycleStateEnumValues() []AiPrivateEndpointLifecycleStateEnum
GetAiPrivateEndpointLifecycleStateEnumValues Enumerates the set of values for AiPrivateEndpointLifecycleStateEnum
func GetMappingAiPrivateEndpointLifecycleStateEnum(val string) (AiPrivateEndpointLifecycleStateEnum, bool)
GetMappingAiPrivateEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AiPrivateEndpointSummary A private network reverse connection creates a connection from service to customer subnet over a private network.
type AiPrivateEndpointSummary struct { // Unique identifier that is immutable. Id *string `mandatory:"true" json:"id"` // Subnet Identifier. SubnetId *string `mandatory:"true" json:"subnetId"` // List of DNS zones to be used by the data assets. // Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com DnsZones []string `mandatory:"true" json:"dnsZones"` // Identifier of the compartment this private endpoint belongs to. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time the private endpoint was created. An RFC3339 (https://tools.ietf.org/html/rfc3339) formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the private endpoint was updated. An RFC3339 (https://tools.ietf.org/html/rfc3339) formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Mutable name of the Private Reverse Connection Endpoint. DisplayName *string `mandatory:"false" json:"displayName"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the private endpoint resource. LifecycleState AiPrivateEndpointLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m AiPrivateEndpointSummary) String() string
func (m AiPrivateEndpointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Anomaly An object to hold value information for each anomaly point
type Anomaly struct { // Name of a signal where current anomaly point belongs to SignalName *string `mandatory:"true" json:"signalName"` // The actual value for the anomaly point at given signal and timestamp/row ActualValue *float64 `mandatory:"true" json:"actualValue"` // The estimated value for the anomaly point at given signal and timestamp/row EstimatedValue *float64 `mandatory:"true" json:"estimatedValue"` // A significant score ranged from 0 to 1 to each anomaly point. AnomalyScore *float64 `mandatory:"true" json:"anomalyScore"` // The value imputed by an IDP step for missing values in origin data. ImputedValue *float64 `mandatory:"false" json:"imputedValue"` }
func (m Anomaly) String() string
func (m Anomaly) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnomalyDetectResult Results of the detect anomalies call.
type AnomalyDetectResult struct { // A list to hold anomaly points grouped by timestamp/row. DetectionResults []DetectionResultItem `mandatory:"true" json:"detectionResults"` }
func (m AnomalyDetectResult) String() string
func (m AnomalyDetectResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AnomalyDetectionClient a client for AnomalyDetection
type AnomalyDetectionClient struct { common.BaseClient // contains filtered or unexported fields }
func NewAnomalyDetectionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnomalyDetectionClient, err error)
NewAnomalyDetectionClientWithConfigurationProvider Creates a new default AnomalyDetection client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAnomalyDetectionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnomalyDetectionClient, err error)
NewAnomalyDetectionClientWithOboToken Creates a new default AnomalyDetection 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 AnomalyDetectionClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client AnomalyDetectionClient) ChangeAiPrivateEndpointCompartment(ctx context.Context, request ChangeAiPrivateEndpointCompartmentRequest) (response ChangeAiPrivateEndpointCompartmentResponse, err error)
ChangeAiPrivateEndpointCompartment Moves a resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeAiPrivateEndpointCompartment.go.html to see an example of how to use ChangeAiPrivateEndpointCompartment API. A default retry strategy applies to this operation ChangeAiPrivateEndpointCompartment()
func (client AnomalyDetectionClient) ChangeDataAssetCompartment(ctx context.Context, request ChangeDataAssetCompartmentRequest) (response ChangeDataAssetCompartmentResponse, err error)
ChangeDataAssetCompartment Changing the compartment of a data asset.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeDataAssetCompartment.go.html to see an example of how to use ChangeDataAssetCompartment API. A default retry strategy applies to this operation ChangeDataAssetCompartment()
func (client AnomalyDetectionClient) ChangeDetectAnomalyJobCompartment(ctx context.Context, request ChangeDetectAnomalyJobCompartmentRequest) (response ChangeDetectAnomalyJobCompartmentResponse, err error)
ChangeDetectAnomalyJobCompartment Moves a asynchronous anomaly detect job resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeDetectAnomalyJobCompartment.go.html to see an example of how to use ChangeDetectAnomalyJobCompartment API. A default retry strategy applies to this operation ChangeDetectAnomalyJobCompartment()
func (client AnomalyDetectionClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a Model resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API. A default retry strategy applies to this operation ChangeModelCompartment()
func (client AnomalyDetectionClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a Project resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API. A default retry strategy applies to this operation ChangeProjectCompartment()
func (client *AnomalyDetectionClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client AnomalyDetectionClient) CreateAiPrivateEndpoint(ctx context.Context, request CreateAiPrivateEndpointRequest) (response CreateAiPrivateEndpointResponse, err error)
CreateAiPrivateEndpoint Create a new private reverse connection endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateAiPrivateEndpoint.go.html to see an example of how to use CreateAiPrivateEndpoint API. A default retry strategy applies to this operation CreateAiPrivateEndpoint()
func (client AnomalyDetectionClient) CreateDataAsset(ctx context.Context, request CreateDataAssetRequest) (response CreateDataAssetResponse, err error)
CreateDataAsset Creates a new DataAsset.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateDataAsset.go.html to see an example of how to use CreateDataAsset API. A default retry strategy applies to this operation CreateDataAsset()
func (client AnomalyDetectionClient) CreateDetectAnomalyJob(ctx context.Context, request CreateDetectAnomalyJobRequest) (response CreateDetectAnomalyJobResponse, err error)
CreateDetectAnomalyJob Creates a job to perform anomaly detection.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateDetectAnomalyJob.go.html to see an example of how to use CreateDetectAnomalyJob API. A default retry strategy applies to this operation CreateDetectAnomalyJob()
func (client AnomalyDetectionClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Creates a new Model.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateModel.go.html to see an example of how to use CreateModel API. A default retry strategy applies to this operation CreateModel()
func (client AnomalyDetectionClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new Project.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateProject.go.html to see an example of how to use CreateProject API. A default retry strategy applies to this operation CreateProject()
func (client AnomalyDetectionClient) DeleteAiPrivateEndpoint(ctx context.Context, request DeleteAiPrivateEndpointRequest) (response DeleteAiPrivateEndpointResponse, err error)
DeleteAiPrivateEndpoint Deletes a private reverse connection endpoint by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteAiPrivateEndpoint.go.html to see an example of how to use DeleteAiPrivateEndpoint API. A default retry strategy applies to this operation DeleteAiPrivateEndpoint()
func (client AnomalyDetectionClient) DeleteDataAsset(ctx context.Context, request DeleteDataAssetRequest) (response DeleteDataAssetResponse, err error)
DeleteDataAsset Deletes a DataAsset resource by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteDataAsset.go.html to see an example of how to use DeleteDataAsset API. A default retry strategy applies to this operation DeleteDataAsset()
func (client AnomalyDetectionClient) DeleteDetectAnomalyJob(ctx context.Context, request DeleteDetectAnomalyJobRequest) (response DeleteDetectAnomalyJobResponse, err error)
DeleteDetectAnomalyJob Deletes an accepted, but not started detect anomaly asynchronous job.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteDetectAnomalyJob.go.html to see an example of how to use DeleteDetectAnomalyJob API. A default retry strategy applies to this operation DeleteDetectAnomalyJob()
func (client AnomalyDetectionClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Deletes an ai model resource by identifier. This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a project.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteModel.go.html to see an example of how to use DeleteModel API. A default retry strategy applies to this operation DeleteModel()
func (client AnomalyDetectionClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes a Project resource by identifier. This operation fails with a 409 error unless all associated resources (models deployments or data assets) are in a DELETED state. You must delete all associated resources before deleting a project.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteProject.go.html to see an example of how to use DeleteProject API. A default retry strategy applies to this operation DeleteProject()
func (client AnomalyDetectionClient) DetectAnomalies(ctx context.Context, request DetectAnomaliesRequest) (response DetectAnomaliesResponse, err error)
DetectAnomalies Make a detect call with an anomaly model and detection data
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DetectAnomalies.go.html to see an example of how to use DetectAnomalies API. A default retry strategy applies to this operation DetectAnomalies()
func (client AnomalyDetectionClient) GetAiPrivateEndpoint(ctx context.Context, request GetAiPrivateEndpointRequest) (response GetAiPrivateEndpointResponse, err error)
GetAiPrivateEndpoint Gets a specific private reverse connection by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetAiPrivateEndpoint.go.html to see an example of how to use GetAiPrivateEndpoint API. A default retry strategy applies to this operation GetAiPrivateEndpoint()
func (client AnomalyDetectionClient) GetDataAsset(ctx context.Context, request GetDataAssetRequest) (response GetDataAssetResponse, err error)
GetDataAsset Gets a DataAsset by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetDataAsset.go.html to see an example of how to use GetDataAsset API. A default retry strategy applies to this operation GetDataAsset()
func (client AnomalyDetectionClient) GetDetectAnomalyJob(ctx context.Context, request GetDetectAnomalyJobRequest) (response GetDetectAnomalyJobResponse, err error)
GetDetectAnomalyJob Gets a detect anomaly asynchronous job by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetDetectAnomalyJob.go.html to see an example of how to use GetDetectAnomalyJob API. A default retry strategy applies to this operation GetDetectAnomalyJob()
func (client AnomalyDetectionClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Gets a Model by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetModel.go.html to see an example of how to use GetModel API. A default retry strategy applies to this operation GetModel()
func (client AnomalyDetectionClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Gets a Project by identifier
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetProject.go.html to see an example of how to use GetProject API. A default retry strategy applies to this operation GetProject()
func (client AnomalyDetectionClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client AnomalyDetectionClient) ListAiPrivateEndpoints(ctx context.Context, request ListAiPrivateEndpointsRequest) (response ListAiPrivateEndpointsResponse, err error)
ListAiPrivateEndpoints Returns a list of all the AI private endpoints in the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListAiPrivateEndpoints.go.html to see an example of how to use ListAiPrivateEndpoints API. A default retry strategy applies to this operation ListAiPrivateEndpoints()
func (client AnomalyDetectionClient) ListDataAssets(ctx context.Context, request ListDataAssetsRequest) (response ListDataAssetsResponse, err error)
ListDataAssets Returns a list of DataAssets.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListDataAssets.go.html to see an example of how to use ListDataAssets API. A default retry strategy applies to this operation ListDataAssets()
func (client AnomalyDetectionClient) ListDetectAnomalyJobs(ctx context.Context, request ListDetectAnomalyJobsRequest) (response ListDetectAnomalyJobsResponse, err error)
ListDetectAnomalyJobs Returns a list of all the Anomaly Detection jobs in the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListDetectAnomalyJobs.go.html to see an example of how to use ListDetectAnomalyJobs API. A default retry strategy applies to this operation ListDetectAnomalyJobs()
func (client AnomalyDetectionClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Returns a list of Models.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListModels.go.html to see an example of how to use ListModels API. A default retry strategy applies to this operation ListModels()
func (client AnomalyDetectionClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Returns a list of Projects.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListProjects.go.html to see an example of how to use ListProjects API. A default retry strategy applies to this operation ListProjects()
func (client AnomalyDetectionClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client AnomalyDetectionClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client AnomalyDetectionClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *AnomalyDetectionClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client AnomalyDetectionClient) UpdateAiPrivateEndpoint(ctx context.Context, request UpdateAiPrivateEndpointRequest) (response UpdateAiPrivateEndpointResponse, err error)
UpdateAiPrivateEndpoint Updates the private reverse connection endpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateAiPrivateEndpoint.go.html to see an example of how to use UpdateAiPrivateEndpoint API. A default retry strategy applies to this operation UpdateAiPrivateEndpoint()
func (client AnomalyDetectionClient) UpdateDataAsset(ctx context.Context, request UpdateDataAssetRequest) (response UpdateDataAssetResponse, err error)
UpdateDataAsset Updates the DataAsset
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateDataAsset.go.html to see an example of how to use UpdateDataAsset API. A default retry strategy applies to this operation UpdateDataAsset()
func (client AnomalyDetectionClient) UpdateDetectAnomalyJob(ctx context.Context, request UpdateDetectAnomalyJobRequest) (response UpdateDetectAnomalyJobResponse, err error)
UpdateDetectAnomalyJob Updates the detect anomaly asynchronous job by identifier.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateDetectAnomalyJob.go.html to see an example of how to use UpdateDetectAnomalyJob API. A default retry strategy applies to this operation UpdateDetectAnomalyJob()
func (client AnomalyDetectionClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
UpdateModel Updates the Model
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateModel.go.html to see an example of how to use UpdateModel API. A default retry strategy applies to this operation UpdateModel()
func (client AnomalyDetectionClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the Project
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateProject.go.html to see an example of how to use UpdateProject API. A default retry strategy applies to this operation UpdateProject()
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please 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
ChangeAiPrivateEndpointCompartmentDetails Information about the change compartment for the private endpoint resource.
type ChangeAiPrivateEndpointCompartmentDetails struct { // The identifier of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeAiPrivateEndpointCompartmentDetails) String() string
func (m ChangeAiPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAiPrivateEndpointCompartmentRequest wrapper for the ChangeAiPrivateEndpointCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeAiPrivateEndpointCompartment.go.html to see an example of how to use ChangeAiPrivateEndpointCompartmentRequest.
type ChangeAiPrivateEndpointCompartmentRequest struct { // Unique private reverse connection identifier. AiPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"aiPrivateEndpointId"` // Details for the target compartment. ChangeAiPrivateEndpointCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 ChangeAiPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAiPrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAiPrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAiPrivateEndpointCompartmentRequest) String() string
func (request ChangeAiPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAiPrivateEndpointCompartmentResponse wrapper for the ChangeAiPrivateEndpointCompartment operation
type ChangeAiPrivateEndpointCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeAiPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAiPrivateEndpointCompartmentResponse) String() string
ChangeDataAssetCompartmentDetails Details for changing the compartment of a data asset.
type ChangeDataAssetCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDataAssetCompartmentDetails) String() string
func (m ChangeDataAssetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDataAssetCompartmentRequest wrapper for the ChangeDataAssetCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeDataAssetCompartment.go.html to see an example of how to use ChangeDataAssetCompartmentRequest.
type ChangeDataAssetCompartmentRequest struct { // The OCID of the Data Asset. DataAssetId *string `mandatory:"true" contributesTo:"path" name:"dataAssetId"` // The information to be updated. ChangeDataAssetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 ChangeDataAssetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDataAssetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDataAssetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDataAssetCompartmentRequest) String() string
func (request ChangeDataAssetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDataAssetCompartmentResponse wrapper for the ChangeDataAssetCompartment operation
type ChangeDataAssetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The DataAsset instance DataAsset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDataAssetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDataAssetCompartmentResponse) String() string
ChangeDetectAnomalyJobCompartmentDetails Details for changing the compartment of the DetectAnomalyJob.
type ChangeDetectAnomalyJobCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // the resource should be moved to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDetectAnomalyJobCompartmentDetails) String() string
func (m ChangeDetectAnomalyJobCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDetectAnomalyJobCompartmentRequest wrapper for the ChangeDetectAnomalyJobCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeDetectAnomalyJobCompartment.go.html to see an example of how to use ChangeDetectAnomalyJobCompartmentRequest.
type ChangeDetectAnomalyJobCompartmentRequest struct { // Unique asynchronous job identifier. DetectAnomalyJobId *string `mandatory:"true" contributesTo:"path" name:"detectAnomalyJobId"` // The details to change the compartment of the async anomaly detect job. ChangeDetectAnomalyJobCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 ChangeDetectAnomalyJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDetectAnomalyJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDetectAnomalyJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDetectAnomalyJobCompartmentRequest) String() string
func (request ChangeDetectAnomalyJobCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDetectAnomalyJobCompartmentResponse wrapper for the ChangeDetectAnomalyJobCompartment operation
type ChangeDetectAnomalyJobCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDetectAnomalyJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDetectAnomalyJobCompartmentResponse) String() string
ChangeModelCompartmentDetails Details for changing the compartment of a model.
type ChangeModelCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeModelCompartmentDetails) String() string
func (m ChangeModelCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
type ChangeModelCompartmentRequest struct { // The OCID of the Model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The information to be updated. 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeModelCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeModelCompartmentRequest) String() string
func (request ChangeModelCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
type ChangeModelCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please 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
ChangeProjectCompartmentDetails Details for changing the compartment of a project.
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeProjectCompartmentDetails) String() string
func (m ChangeProjectCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
type ChangeProjectCompartmentRequest struct { // The OCID of the Project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The details to change the compartment of the 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProjectCompartmentRequest) String() string
func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
type ChangeProjectCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please 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
CreateAiPrivateEndpointDetails Information about the new private endpoint resource.
type CreateAiPrivateEndpointDetails struct { // List of DNS zones to be used by the data assets. // Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com DnsZones []string `mandatory:"true" json:"dnsZones"` // The OCID of subnet to which the reverse connection is to be created. SubnetId *string `mandatory:"true" json:"subnetId"` // Compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Display name of the private endpoint resource being created. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m CreateAiPrivateEndpointDetails) String() string
func (m CreateAiPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAiPrivateEndpointRequest wrapper for the CreateAiPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateAiPrivateEndpoint.go.html to see an example of how to use CreateAiPrivateEndpointRequest.
type CreateAiPrivateEndpointRequest struct { // The information used to create the private reverse connection. CreateAiPrivateEndpointDetails `contributesTo:"body"` // The client request ID for tracing. 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 CreateAiPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAiPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAiPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAiPrivateEndpointRequest) String() string
func (request CreateAiPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAiPrivateEndpointResponse wrapper for the CreateAiPrivateEndpoint operation
type CreateAiPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CreateAiPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAiPrivateEndpointResponse) String() string
CreateDataAssetDetails Parameters needed to create a new data asset.
type CreateDataAssetDetails struct { // The OCID for the data asset's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the data asset. ProjectId *string `mandatory:"true" json:"projectId"` DataSourceDetails DataSourceDetails `mandatory:"true" json:"dataSourceDetails"` // 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 Ai data asset Description *string `mandatory:"false" json:"description"` // OCID of Private Endpoint. PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDataAssetDetails) String() string
func (m *CreateDataAssetDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDataAssetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDataAssetRequest wrapper for the CreateDataAsset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateDataAsset.go.html to see an example of how to use CreateDataAssetRequest.
type CreateDataAssetRequest struct { // Details for the new DataAsset. CreateDataAssetDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateDataAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDataAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDataAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDataAssetRequest) String() string
func (request CreateDataAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDataAssetResponse wrapper for the CreateDataAsset operation
type CreateDataAssetResponse struct { // The underlying http response RawResponse *http.Response // The DataAsset instance DataAsset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDataAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDataAssetResponse) String() string
CreateDetectAnomalyJobDetails Base class for the DetectAnomalies async call. It contains the identifier that is used for deciding what type of request this is.
type CreateDetectAnomalyJobDetails struct { // The OCID of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the trained model. ModelId *string `mandatory:"true" json:"modelId"` InputDetails InputDetails `mandatory:"true" json:"inputDetails"` OutputDetails OutputDetails `mandatory:"true" json:"outputDetails"` // A short description of the detect anomaly job. Description *string `mandatory:"false" json:"description"` // Detect anomaly job display name. DisplayName *string `mandatory:"false" json:"displayName"` // The value that customer can adjust to control the sensitivity of anomaly detection Sensitivity *float32 `mandatory:"false" json:"sensitivity"` // Flag to enable the service to return estimates for all data points rather than just the anomalous data points. AreAllEstimatesRequired *bool `mandatory:"false" json:"areAllEstimatesRequired"` }
func (m CreateDetectAnomalyJobDetails) String() string
func (m *CreateDetectAnomalyJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDetectAnomalyJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDetectAnomalyJobRequest wrapper for the CreateDetectAnomalyJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateDetectAnomalyJob.go.html to see an example of how to use CreateDetectAnomalyJobRequest.
type CreateDetectAnomalyJobRequest struct { // The input is either: // - JSON object in the request. This object is defined, and the SDK generates the // object for it. // - Data embedded as Base64 string in format of either: // - CSV // - JSON // If this option is used, then you must provide the content of specified // CSV or JSON in Base64 encoded string. The Embedded JSON has to be // in the same format as the inline request JSON. CreateDetectAnomalyJobDetails `contributesTo:"body"` // The client request ID for tracing. 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 CreateDetectAnomalyJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDetectAnomalyJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDetectAnomalyJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDetectAnomalyJobRequest) String() string
func (request CreateDetectAnomalyJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDetectAnomalyJobResponse wrapper for the CreateDetectAnomalyJob operation
type CreateDetectAnomalyJobResponse struct { // The underlying http response RawResponse *http.Response // The DetectAnomalyJob instance DetectAnomalyJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDetectAnomalyJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDetectAnomalyJobResponse) String() string
CreateModelDetails The information needed to train a new model
type CreateModelDetails struct { // The OCID for the ai model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ModelTrainingDetails *ModelTrainingDetails `mandatory:"true" json:"modelTrainingDetails"` // The OCID (https://docs.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. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the ai model. Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateModelDetails) String() string
func (m CreateModelDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateModelRequest wrapper for the CreateModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateModel.go.html to see an example of how to use CreateModelRequest.
type CreateModelRequest struct { // Details for the new Model. CreateModelDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateModelRequest) String() string
func (request CreateModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateModelResponse wrapper for the CreateModel operation
type CreateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See `if-match`. 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 asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateModelResponse) String() string
CreateProjectDetails Parameters needed to create a new project. Projects enable users to organize their work.
type CreateProjectDetails struct { // The OCID for the project's compartment. 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProjectDetails) String() string
func (m CreateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProjectRequest wrapper for the CreateProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/CreateProject.go.html to see an example of how to use CreateProjectRequest.
type CreateProjectRequest struct { // Details for the new Project. CreateProjectDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. 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 CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProjectRequest) String() string
func (request CreateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProjectResponse wrapper for the CreateProject operation
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProjectResponse) String() string
DataAsset Description of DataAsset.
type DataAsset struct { // The Unique Oracle ID (OCID) that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the DataAsset. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The time the the DataAsset was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Data Asset. LifecycleState DataAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The Unique project id which is created at project creation that is immutable on creation. ProjectId *string `mandatory:"true" json:"projectId"` DataSourceDetails DataSourceDetails `mandatory:"true" json:"dataSourceDetails"` // A short description of the data asset. Description *string `mandatory:"false" json:"description"` // The time the the DataAsset was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // OCID of Private Endpoint. PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DataAsset) String() string
func (m *DataAsset) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DataAsset) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataAssetCollection Results of a dataAsset search. Contains both DataAssetSummary items and other data.
type DataAssetCollection struct { // List of dataAssets. Items []DataAssetSummary `mandatory:"true" json:"items"` }
func (m DataAssetCollection) String() string
func (m DataAssetCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataAssetLifecycleStateEnum Enum with underlying type: string
type DataAssetLifecycleStateEnum string
Set of constants representing the allowable values for DataAssetLifecycleStateEnum
const ( DataAssetLifecycleStateActive DataAssetLifecycleStateEnum = "ACTIVE" DataAssetLifecycleStateDeleted DataAssetLifecycleStateEnum = "DELETED" )
func GetDataAssetLifecycleStateEnumValues() []DataAssetLifecycleStateEnum
GetDataAssetLifecycleStateEnumValues Enumerates the set of values for DataAssetLifecycleStateEnum
func GetMappingDataAssetLifecycleStateEnum(val string) (DataAssetLifecycleStateEnum, bool)
GetMappingDataAssetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DataAssetSummary Summary of the DataAsset.
type DataAssetSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // DataAsset Identifier, can be renamed DisplayName *string `mandatory:"true" json:"displayName"` // The time the the DataAsset was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Unique identifier for a project that is immutable on creation ProjectId *string `mandatory:"true" json:"projectId"` // Data source type where actually data asset is being stored DataSourceType DataSourceTypeEnum `mandatory:"true" json:"dataSourceType"` // A short description of the Ai data asset Description *string `mandatory:"false" json:"description"` // The time the the DataAsset was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the data asset. LifecycleState DataAssetLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID of Private Endpoint. PrivateEndpointId *string `mandatory:"false" json:"privateEndpointId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DataAssetSummary) String() string
func (m DataAssetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataItem Simple object representing signal values at a certain point in time.
type DataItem struct { // Array of double precision values. Values []float64 `mandatory:"true" json:"values"` // Nullable string representing timestamp. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
func (m DataItem) String() string
func (m DataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataSourceDetails Possible data sources
type DataSourceDetails interface { }
DataSourceDetailsAtp Data Source details for ATP
type DataSourceDetailsAtp struct { // wallet password Secret ID in String format WalletPasswordSecretId *string `mandatory:"false" json:"walletPasswordSecretId"` // atp db user name AtpUserName *string `mandatory:"false" json:"atpUserName"` // atp db password Secret Id AtpPasswordSecretId *string `mandatory:"false" json:"atpPasswordSecretId"` // OCID of the secret containing the containers certificates of ATP wallet CwalletFileSecretId *string `mandatory:"false" json:"cwalletFileSecretId"` // OCID of the secret containing the PDB'S certificates of ATP wallet EwalletFileSecretId *string `mandatory:"false" json:"ewalletFileSecretId"` // OCID of the secret containing Keystore.jks file of the ATP wallet KeyStoreFileSecretId *string `mandatory:"false" json:"keyStoreFileSecretId"` // OCID of the secret that contains jdbc properties file of ATP wallet OjdbcFileSecretId *string `mandatory:"false" json:"ojdbcFileSecretId"` // OCID of the secret that contains the tnsnames file of ATP wallet TnsnamesFileSecretId *string `mandatory:"false" json:"tnsnamesFileSecretId"` // OCID of the secret containing truststore.jks file of the ATP wallet TruststoreFileSecretId *string `mandatory:"false" json:"truststoreFileSecretId"` // atp database name DatabaseName *string `mandatory:"false" json:"databaseName"` // atp database table name TableName *string `mandatory:"false" json:"tableName"` }
func (m DataSourceDetailsAtp) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataSourceDetailsAtp) String() string
func (m DataSourceDetailsAtp) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataSourceDetailsInflux Data Source details for influx.
type DataSourceDetailsInflux struct { VersionSpecificDetails InfluxDetails `mandatory:"true" json:"versionSpecificDetails"` // Username for connection to Influx UserName *string `mandatory:"true" json:"userName"` // Password Secret Id for the influx connection PasswordSecretId *string `mandatory:"true" json:"passwordSecretId"` // Measurement name for influx MeasurementName *string `mandatory:"true" json:"measurementName"` // public IP address and port to influx DB Url *string `mandatory:"true" json:"url"` }
func (m DataSourceDetailsInflux) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataSourceDetailsInflux) String() string
func (m *DataSourceDetailsInflux) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DataSourceDetailsInflux) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataSourceDetailsObjectStorage Data Source details for object storage
type DataSourceDetailsObjectStorage struct { // Object storage namespace Namespace *string `mandatory:"false" json:"namespace"` // Object storage bucket name BucketName *string `mandatory:"false" json:"bucketName"` // File name ObjectName *string `mandatory:"false" json:"objectName"` }
func (m DataSourceDetailsObjectStorage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataSourceDetailsObjectStorage) String() string
func (m DataSourceDetailsObjectStorage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataSourceTypeEnum Enum with underlying type: string
type DataSourceTypeEnum string
Set of constants representing the allowable values for DataSourceTypeEnum
const ( DataSourceTypeOracleObjectStorage DataSourceTypeEnum = "ORACLE_OBJECT_STORAGE" DataSourceTypeOracleAtp DataSourceTypeEnum = "ORACLE_ATP" DataSourceTypeInflux DataSourceTypeEnum = "INFLUX" )
func GetDataSourceTypeEnumValues() []DataSourceTypeEnum
GetDataSourceTypeEnumValues Enumerates the set of values for DataSourceTypeEnum
func GetMappingDataSourceTypeEnum(val string) (DataSourceTypeEnum, bool)
GetMappingDataSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteAiPrivateEndpointRequest wrapper for the DeleteAiPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteAiPrivateEndpoint.go.html to see an example of how to use DeleteAiPrivateEndpointRequest.
type DeleteAiPrivateEndpointRequest struct { // Unique private reverse connection identifier. AiPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"aiPrivateEndpointId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteAiPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAiPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAiPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAiPrivateEndpointRequest) String() string
func (request DeleteAiPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAiPrivateEndpointResponse wrapper for the DeleteAiPrivateEndpoint operation
type DeleteAiPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteAiPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAiPrivateEndpointResponse) String() string
DeleteDataAssetRequest wrapper for the DeleteDataAsset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteDataAsset.go.html to see an example of how to use DeleteDataAssetRequest.
type DeleteDataAssetRequest struct { // The OCID of the Data Asset. DataAssetId *string `mandatory:"true" contributesTo:"path" name:"dataAssetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteDataAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDataAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDataAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDataAssetRequest) String() string
func (request DeleteDataAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDataAssetResponse wrapper for the DeleteDataAsset operation
type DeleteDataAssetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDataAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDataAssetResponse) String() string
DeleteDetectAnomalyJobRequest wrapper for the DeleteDetectAnomalyJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteDetectAnomalyJob.go.html to see an example of how to use DeleteDetectAnomalyJobRequest.
type DeleteDetectAnomalyJobRequest struct { // Unique asynchronous job identifier. DetectAnomalyJobId *string `mandatory:"true" contributesTo:"path" name:"detectAnomalyJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 DeleteDetectAnomalyJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDetectAnomalyJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDetectAnomalyJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDetectAnomalyJobRequest) String() string
func (request DeleteDetectAnomalyJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDetectAnomalyJobResponse wrapper for the DeleteDetectAnomalyJob operation
type DeleteDetectAnomalyJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDetectAnomalyJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDetectAnomalyJobResponse) String() string
DeleteModelRequest wrapper for the DeleteModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
type DeleteModelRequest struct { // The OCID 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteModelRequest) String() string
func (request DeleteModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteModelResponse wrapper for the DeleteModel operation
type DeleteModelResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteModelResponse) String() string
DeleteProjectRequest wrapper for the DeleteProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
type DeleteProjectRequest struct { // The OCID 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProjectRequest) String() string
func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteProjectResponse wrapper for the DeleteProject operation
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProjectResponse) String() string
DetectAnomaliesDetails Base class for the DetectAnomalies call. It contains the identifier that is used for deciding what type of request this is.
type DetectAnomaliesDetails interface { // The OCID of the trained model. GetModelId() *string // Sensitivity of the algorithm to detect anomalies - higher the value, more anomalies get flagged. The value estimated during training is used by default. You can choose to provide a custom value. GetSensitivity() *float32 }
DetectAnomaliesDetailsRequestTypeEnum Enum with underlying type: string
type DetectAnomaliesDetailsRequestTypeEnum string
Set of constants representing the allowable values for DetectAnomaliesDetailsRequestTypeEnum
const ( DetectAnomaliesDetailsRequestTypeInline DetectAnomaliesDetailsRequestTypeEnum = "INLINE" DetectAnomaliesDetailsRequestTypeBase64Encoded DetectAnomaliesDetailsRequestTypeEnum = "BASE64_ENCODED" )
func GetDetectAnomaliesDetailsRequestTypeEnumValues() []DetectAnomaliesDetailsRequestTypeEnum
GetDetectAnomaliesDetailsRequestTypeEnumValues Enumerates the set of values for DetectAnomaliesDetailsRequestTypeEnum
func GetMappingDetectAnomaliesDetailsRequestTypeEnum(val string) (DetectAnomaliesDetailsRequestTypeEnum, bool)
GetMappingDetectAnomaliesDetailsRequestTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DetectAnomaliesRequest wrapper for the DetectAnomalies operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/DetectAnomalies.go.html to see an example of how to use DetectAnomaliesRequest.
type DetectAnomaliesRequest struct { // The input is either: // - JSON object in the request. This object is defined and SDK will generate the // object for it // - Data embedded as Base64 string in format of either // - CSV // - JSON // If this option is chosen then customer has to provide the content of specified // CSV or JSON in Base64 encoded string. The Embedded JSON will still has to be // in same format as inline request JSON DetectAnomaliesDetails `contributesTo:"body"` // The client request ID for tracing. 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 DetectAnomaliesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetectAnomaliesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetectAnomaliesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetectAnomaliesRequest) String() string
func (request DetectAnomaliesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectAnomaliesResponse wrapper for the DetectAnomalies operation
type DetectAnomaliesResponse struct { // The underlying http response RawResponse *http.Response // The AnomalyDetectResult instance AnomalyDetectResult `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DetectAnomaliesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetectAnomaliesResponse) String() string
DetectAnomalyJob Anomaly Job contains information for asynchronous detection of anomalies.
type DetectAnomalyJob struct { // Id of the job. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the trained model. ModelId *string `mandatory:"true" json:"modelId"` InputDetails InputJobDetails `mandatory:"true" json:"inputDetails"` OutputDetails OutputJobDetails `mandatory:"true" json:"outputDetails"` // Job accepted time TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The current state of the batch document job. LifecycleState DetectAnomalyJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Detect anomaly job display name. DisplayName *string `mandatory:"false" json:"displayName"` // Detect anomaly job description. Description *string `mandatory:"false" json:"description"` // The OCID of the project. ProjectId *string `mandatory:"false" json:"projectId"` // The value that customer can adjust to control the sensitivity of anomaly detection Sensitivity *float32 `mandatory:"false" json:"sensitivity"` // Flag to enable the service to return estimates for all data points rather than just the anomalous data points AreAllEstimatesRequired *bool `mandatory:"false" json:"areAllEstimatesRequired"` // Job started time TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Job finished time TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The current state details of the batch document job. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DetectAnomalyJob) String() string
func (m *DetectAnomalyJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DetectAnomalyJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectAnomalyJobCollection A collection of anomaly jobs. Each item is a DetectAnomalyJob summary object.
type DetectAnomalyJobCollection struct { // List of Anomaly Detection jobs. Items []DetectAnomalyJobSummary `mandatory:"true" json:"items"` }
func (m DetectAnomalyJobCollection) String() string
func (m DetectAnomalyJobCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectAnomalyJobLifecycleStateEnum Enum with underlying type: string
type DetectAnomalyJobLifecycleStateEnum string
Set of constants representing the allowable values for DetectAnomalyJobLifecycleStateEnum
const ( DetectAnomalyJobLifecycleStateSucceeded DetectAnomalyJobLifecycleStateEnum = "SUCCEEDED" DetectAnomalyJobLifecycleStatePartiallySucceeded DetectAnomalyJobLifecycleStateEnum = "PARTIALLY_SUCCEEDED" DetectAnomalyJobLifecycleStateFailed DetectAnomalyJobLifecycleStateEnum = "FAILED" DetectAnomalyJobLifecycleStateAccepted DetectAnomalyJobLifecycleStateEnum = "ACCEPTED" DetectAnomalyJobLifecycleStateCanceled DetectAnomalyJobLifecycleStateEnum = "CANCELED" DetectAnomalyJobLifecycleStateInProgress DetectAnomalyJobLifecycleStateEnum = "IN_PROGRESS" )
func GetDetectAnomalyJobLifecycleStateEnumValues() []DetectAnomalyJobLifecycleStateEnum
GetDetectAnomalyJobLifecycleStateEnumValues Enumerates the set of values for DetectAnomalyJobLifecycleStateEnum
func GetMappingDetectAnomalyJobLifecycleStateEnum(val string) (DetectAnomalyJobLifecycleStateEnum, bool)
GetMappingDetectAnomalyJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DetectAnomalyJobSummary Anomaly Job summary contains minimal information for asynchronous inference of anomalies returned in list response.
type DetectAnomalyJobSummary struct { // Id of the job. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that starts the job. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the trained model. ModelId *string `mandatory:"true" json:"modelId"` // Job accepted time TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The current state of the batch document job. LifecycleState DetectAnomalyJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Detect anomaly job display name. DisplayName *string `mandatory:"false" json:"displayName"` // Detect anomaly job description. Description *string `mandatory:"false" json:"description"` // The OCID of the project. ProjectId *string `mandatory:"false" json:"projectId"` // Job started time TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Job finished time TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The current state details of the batch document job. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DetectAnomalyJobSummary) String() string
func (m DetectAnomalyJobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectionResultItem An object to hold detection result for one timestamp/row.
type DetectionResultItem struct { // An array of anomalies associated with a given timestamp/row. Anomalies []Anomaly `mandatory:"true" json:"anomalies"` // The time stamp associated with a list of anomaly points, format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The index number to indicate where anomaly points are located among all rows when there are no timestamps provided. RowIndex *int `mandatory:"false" json:"rowIndex"` // A significant score across multiple signals at timestamp/row level Score *float64 `mandatory:"false" json:"score"` }
func (m DetectionResultItem) String() string
func (m DetectionResultItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmbeddedDetectAnomaliesRequest The request body when the user selects to provide byte data in detect call which is Base64 encoded. The default type of the data is CSV and can be JSON by setting the 'contentType'.
type EmbeddedDetectAnomaliesRequest struct { // The OCID of the trained model. ModelId *string `mandatory:"true" json:"modelId"` Content []byte `mandatory:"true" json:"content"` // Sensitivity of the algorithm to detect anomalies - higher the value, more anomalies get flagged. The value estimated during training is used by default. You can choose to provide a custom value. Sensitivity *float32 `mandatory:"false" json:"sensitivity"` ContentType EmbeddedDetectAnomaliesRequestContentTypeEnum `mandatory:"false" json:"contentType,omitempty"` }
func (m EmbeddedDetectAnomaliesRequest) GetModelId() *string
GetModelId returns ModelId
func (m EmbeddedDetectAnomaliesRequest) GetSensitivity() *float32
GetSensitivity returns Sensitivity
func (m EmbeddedDetectAnomaliesRequest) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmbeddedDetectAnomaliesRequest) String() string
func (m EmbeddedDetectAnomaliesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmbeddedDetectAnomaliesRequestContentTypeEnum Enum with underlying type: string
type EmbeddedDetectAnomaliesRequestContentTypeEnum string
Set of constants representing the allowable values for EmbeddedDetectAnomaliesRequestContentTypeEnum
const ( EmbeddedDetectAnomaliesRequestContentTypeCsv EmbeddedDetectAnomaliesRequestContentTypeEnum = "CSV" EmbeddedDetectAnomaliesRequestContentTypeJson EmbeddedDetectAnomaliesRequestContentTypeEnum = "JSON" )
func GetEmbeddedDetectAnomaliesRequestContentTypeEnumValues() []EmbeddedDetectAnomaliesRequestContentTypeEnum
GetEmbeddedDetectAnomaliesRequestContentTypeEnumValues Enumerates the set of values for EmbeddedDetectAnomaliesRequestContentTypeEnum
func GetMappingEmbeddedDetectAnomaliesRequestContentTypeEnum(val string) (EmbeddedDetectAnomaliesRequestContentTypeEnum, bool)
GetMappingEmbeddedDetectAnomaliesRequestContentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
EmbeddedInputDetails The request body when byte data is provided in detect call, which is Base64 encoded. The default type of the data is CSV and can be JSON by setting the 'contentType'.
type EmbeddedInputDetails struct { Content []byte `mandatory:"true" json:"content"` ContentType EmbeddedInputDetailsContentTypeEnum `mandatory:"true" json:"contentType"` }
func (m EmbeddedInputDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmbeddedInputDetails) String() string
func (m EmbeddedInputDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmbeddedInputDetailsContentTypeEnum Enum with underlying type: string
type EmbeddedInputDetailsContentTypeEnum string
Set of constants representing the allowable values for EmbeddedInputDetailsContentTypeEnum
const ( EmbeddedInputDetailsContentTypeCsv EmbeddedInputDetailsContentTypeEnum = "CSV" EmbeddedInputDetailsContentTypeJson EmbeddedInputDetailsContentTypeEnum = "JSON" )
func GetEmbeddedInputDetailsContentTypeEnumValues() []EmbeddedInputDetailsContentTypeEnum
GetEmbeddedInputDetailsContentTypeEnumValues Enumerates the set of values for EmbeddedInputDetailsContentTypeEnum
func GetMappingEmbeddedInputDetailsContentTypeEnum(val string) (EmbeddedInputDetailsContentTypeEnum, bool)
GetMappingEmbeddedInputDetailsContentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetAiPrivateEndpointRequest wrapper for the GetAiPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetAiPrivateEndpoint.go.html to see an example of how to use GetAiPrivateEndpointRequest.
type GetAiPrivateEndpointRequest struct { // Unique private reverse connection identifier. AiPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"aiPrivateEndpointId"` // The client request ID for tracing. 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 GetAiPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAiPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAiPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAiPrivateEndpointRequest) String() string
func (request GetAiPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAiPrivateEndpointResponse wrapper for the GetAiPrivateEndpoint operation
type GetAiPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The AiPrivateEndpoint instance AiPrivateEndpoint `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetAiPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAiPrivateEndpointResponse) String() string
GetDataAssetRequest wrapper for the GetDataAsset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetDataAsset.go.html to see an example of how to use GetDataAssetRequest.
type GetDataAssetRequest struct { // The OCID of the Data Asset. DataAssetId *string `mandatory:"true" contributesTo:"path" name:"dataAssetId"` // The client request ID for tracing. 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 GetDataAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataAssetRequest) String() string
func (request GetDataAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDataAssetResponse wrapper for the GetDataAsset operation
type GetDataAssetResponse struct { // The underlying http response RawResponse *http.Response // The DataAsset instance DataAsset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDataAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataAssetResponse) String() string
GetDetectAnomalyJobRequest wrapper for the GetDetectAnomalyJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetDetectAnomalyJob.go.html to see an example of how to use GetDetectAnomalyJobRequest.
type GetDetectAnomalyJobRequest struct { // Unique asynchronous job identifier. DetectAnomalyJobId *string `mandatory:"true" contributesTo:"path" name:"detectAnomalyJobId"` // The client request ID for tracing. 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 GetDetectAnomalyJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDetectAnomalyJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectAnomalyJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectAnomalyJobRequest) String() string
func (request GetDetectAnomalyJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDetectAnomalyJobResponse wrapper for the GetDetectAnomalyJob operation
type GetDetectAnomalyJobResponse struct { // The underlying http response RawResponse *http.Response // The DetectAnomalyJob instance DetectAnomalyJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDetectAnomalyJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectAnomalyJobResponse) String() string
GetModelRequest wrapper for the GetModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetModel.go.html to see an example of how to use GetModelRequest.
type GetModelRequest struct { // The OCID of the Model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetModelRequest) String() string
func (request GetModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetModelResponse wrapper for the GetModel operation
type GetModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetModelResponse) String() string
GetProjectRequest wrapper for the GetProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetProject.go.html to see an example of how to use GetProjectRequest.
type GetProjectRequest struct { // The OCID of the Project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProjectRequest) String() string
func (request GetProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetProjectResponse wrapper for the GetProject operation
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProjectResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
InfluxDetails Possible data sources
type InfluxDetails interface { }
InfluxDetailsV1v8 Influx details for V_1_8.
type InfluxDetailsV1v8 struct { // DB Name for influx connection DatabaseName *string `mandatory:"true" json:"databaseName"` // retention policy is how long the bucket would last RetentionPolicyName *string `mandatory:"false" json:"retentionPolicyName"` }
func (m InfluxDetailsV1v8) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InfluxDetailsV1v8) String() string
func (m InfluxDetailsV1v8) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InfluxDetailsV2v0 Influx details for V_2_0.
type InfluxDetailsV2v0 struct { // Bucket Name for influx connection BucketName *string `mandatory:"true" json:"bucketName"` // Org name for the influx db OrganizationName *string `mandatory:"true" json:"organizationName"` }
func (m InfluxDetailsV2v0) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InfluxDetailsV2v0) String() string
func (m InfluxDetailsV2v0) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InfluxVersionEnum Enum with underlying type: string
type InfluxVersionEnum string
Set of constants representing the allowable values for InfluxVersionEnum
const ( InfluxVersionV18 InfluxVersionEnum = "V_1_8" InfluxVersionV20 InfluxVersionEnum = "V_2_0" )
func GetInfluxVersionEnumValues() []InfluxVersionEnum
GetInfluxVersionEnumValues Enumerates the set of values for InfluxVersionEnum
func GetMappingInfluxVersionEnum(val string) (InfluxVersionEnum, bool)
GetMappingInfluxVersionEnum performs case Insensitive comparison on enum value and return the desired enum
InlineDetectAnomaliesRequest This is the specialised JSON format that is accepted as training data, with an additional field for 'requestType'. This is a required field used deciding whether it is an inline request or contains embedded data.
type InlineDetectAnomaliesRequest struct { // The OCID of the trained model. ModelId *string `mandatory:"true" json:"modelId"` // List of signal names. SignalNames []string `mandatory:"true" json:"signalNames"` // Array containing data. Data []DataItem `mandatory:"true" json:"data"` // Sensitivity of the algorithm to detect anomalies - higher the value, more anomalies get flagged. The value estimated during training is used by default. You can choose to provide a custom value. Sensitivity *float32 `mandatory:"false" json:"sensitivity"` }
func (m InlineDetectAnomaliesRequest) GetModelId() *string
GetModelId returns ModelId
func (m InlineDetectAnomaliesRequest) GetSensitivity() *float32
GetSensitivity returns Sensitivity
func (m InlineDetectAnomaliesRequest) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineDetectAnomaliesRequest) String() string
func (m InlineDetectAnomaliesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InlineInputDetails This is the specialized JSON format that is accepted as training data, with an additional field for 'requestType'. This is a required field used deciding whether it is an inline request or contains embedded data.
type InlineInputDetails struct { // List of signal names. SignalNames []string `mandatory:"true" json:"signalNames"` // Array containing data. Data []DataItem `mandatory:"true" json:"data"` }
func (m InlineInputDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineInputDetails) String() string
func (m InlineInputDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InlineInputJobDetails This is the specialized JSON format with an additional field for 'locationType'. This is a required field used for deciding if it is an inline location or contains object-storage location.
type InlineInputJobDetails struct { // Inline input details. Message *string `mandatory:"true" json:"message"` }
func (m InlineInputJobDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineInputJobDetails) String() string
func (m InlineInputJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InputDetails Detect anomaly asynchronous job details.
type InputDetails interface { }
InputDetailsInputTypeEnum Enum with underlying type: string
type InputDetailsInputTypeEnum string
Set of constants representing the allowable values for InputDetailsInputTypeEnum
const ( InputDetailsInputTypeInline InputDetailsInputTypeEnum = "INLINE" InputDetailsInputTypeBase64Encoded InputDetailsInputTypeEnum = "BASE64_ENCODED" InputDetailsInputTypeObjectList InputDetailsInputTypeEnum = "OBJECT_LIST" )
func GetInputDetailsInputTypeEnumValues() []InputDetailsInputTypeEnum
GetInputDetailsInputTypeEnumValues Enumerates the set of values for InputDetailsInputTypeEnum
func GetMappingInputDetailsInputTypeEnum(val string) (InputDetailsInputTypeEnum, bool)
GetMappingInputDetailsInputTypeEnum performs case Insensitive comparison on enum value and return the desired enum
InputJobDetails Input details for detect anomaly job.
type InputJobDetails interface { }
InputJobDetailsInputTypeEnum Enum with underlying type: string
type InputJobDetailsInputTypeEnum string
Set of constants representing the allowable values for InputJobDetailsInputTypeEnum
const ( InputJobDetailsInputTypeInline InputJobDetailsInputTypeEnum = "INLINE" InputJobDetailsInputTypeObjectList InputJobDetailsInputTypeEnum = "OBJECT_LIST" )
func GetInputJobDetailsInputTypeEnumValues() []InputJobDetailsInputTypeEnum
GetInputJobDetailsInputTypeEnumValues Enumerates the set of values for InputJobDetailsInputTypeEnum
func GetMappingInputJobDetailsInputTypeEnum(val string) (InputJobDetailsInputTypeEnum, bool)
GetMappingInputJobDetailsInputTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListAiPrivateEndpointsRequest wrapper for the ListAiPrivateEndpoints operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListAiPrivateEndpoints.go.html to see an example of how to use ListAiPrivateEndpointsRequest.
type ListAiPrivateEndpointsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState AiPrivateEndpointLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // unique AiPrivateEndpoint identifier Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAiPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListAiPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListAiPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAiPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAiPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAiPrivateEndpointsRequest) String() string
func (request ListAiPrivateEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAiPrivateEndpointsResponse wrapper for the ListAiPrivateEndpoints operation
type ListAiPrivateEndpointsResponse struct { // The underlying http response RawResponse *http.Response // A list of AiPrivateEndpointCollection instances AiPrivateEndpointCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAiPrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAiPrivateEndpointsResponse) String() string
ListAiPrivateEndpointsSortByEnum Enum with underlying type: string
type ListAiPrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListAiPrivateEndpointsSortByEnum
const ( ListAiPrivateEndpointsSortByTimecreated ListAiPrivateEndpointsSortByEnum = "timeCreated" ListAiPrivateEndpointsSortByDisplayname ListAiPrivateEndpointsSortByEnum = "displayName" )
func GetListAiPrivateEndpointsSortByEnumValues() []ListAiPrivateEndpointsSortByEnum
GetListAiPrivateEndpointsSortByEnumValues Enumerates the set of values for ListAiPrivateEndpointsSortByEnum
func GetMappingListAiPrivateEndpointsSortByEnum(val string) (ListAiPrivateEndpointsSortByEnum, bool)
GetMappingListAiPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAiPrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListAiPrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListAiPrivateEndpointsSortOrderEnum
const ( ListAiPrivateEndpointsSortOrderAsc ListAiPrivateEndpointsSortOrderEnum = "ASC" ListAiPrivateEndpointsSortOrderDesc ListAiPrivateEndpointsSortOrderEnum = "DESC" )
func GetListAiPrivateEndpointsSortOrderEnumValues() []ListAiPrivateEndpointsSortOrderEnum
GetListAiPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListAiPrivateEndpointsSortOrderEnum
func GetMappingListAiPrivateEndpointsSortOrderEnum(val string) (ListAiPrivateEndpointsSortOrderEnum, bool)
GetMappingListAiPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataAssetsRequest wrapper for the ListDataAssets operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListDataAssets.go.html to see an example of how to use ListDataAssetsRequest.
type ListDataAssetsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the project for which to list the objects. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState DataAssetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDataAssetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListDataAssetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListDataAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataAssetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataAssetsRequest) String() string
func (request ListDataAssetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDataAssetsResponse wrapper for the ListDataAssets operation
type ListDataAssetsResponse struct { // The underlying http response RawResponse *http.Response // A list of DataAssetCollection instances DataAssetCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDataAssetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataAssetsResponse) String() string
ListDataAssetsSortByEnum Enum with underlying type: string
type ListDataAssetsSortByEnum string
Set of constants representing the allowable values for ListDataAssetsSortByEnum
const ( ListDataAssetsSortByTimecreated ListDataAssetsSortByEnum = "timeCreated" ListDataAssetsSortByDisplayname ListDataAssetsSortByEnum = "displayName" )
func GetListDataAssetsSortByEnumValues() []ListDataAssetsSortByEnum
GetListDataAssetsSortByEnumValues Enumerates the set of values for ListDataAssetsSortByEnum
func GetMappingListDataAssetsSortByEnum(val string) (ListDataAssetsSortByEnum, bool)
GetMappingListDataAssetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataAssetsSortOrderEnum Enum with underlying type: string
type ListDataAssetsSortOrderEnum string
Set of constants representing the allowable values for ListDataAssetsSortOrderEnum
const ( ListDataAssetsSortOrderAsc ListDataAssetsSortOrderEnum = "ASC" ListDataAssetsSortOrderDesc ListDataAssetsSortOrderEnum = "DESC" )
func GetListDataAssetsSortOrderEnumValues() []ListDataAssetsSortOrderEnum
GetListDataAssetsSortOrderEnumValues Enumerates the set of values for ListDataAssetsSortOrderEnum
func GetMappingListDataAssetsSortOrderEnum(val string) (ListDataAssetsSortOrderEnum, bool)
GetMappingListDataAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectAnomalyJobsRequest wrapper for the ListDetectAnomalyJobs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListDetectAnomalyJobs.go.html to see an example of how to use ListDetectAnomalyJobsRequest.
type ListDetectAnomalyJobsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the trained model for which to list the resources. ModelId *string `mandatory:"false" contributesTo:"query" name:"modelId"` // The ID of the project for which to list the objects. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // Unique Async Job identifier DetectAnomalyJobId *string `mandatory:"false" contributesTo:"query" name:"detectAnomalyJobId"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState DetectAnomalyJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDetectAnomalyJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListDetectAnomalyJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 ListDetectAnomalyJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDetectAnomalyJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectAnomalyJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectAnomalyJobsRequest) String() string
func (request ListDetectAnomalyJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDetectAnomalyJobsResponse wrapper for the ListDetectAnomalyJobs operation
type ListDetectAnomalyJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of DetectAnomalyJobCollection instances DetectAnomalyJobCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // precedent GET request to get the previous batch of items. OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDetectAnomalyJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectAnomalyJobsResponse) String() string
ListDetectAnomalyJobsSortByEnum Enum with underlying type: string
type ListDetectAnomalyJobsSortByEnum string
Set of constants representing the allowable values for ListDetectAnomalyJobsSortByEnum
const ( ListDetectAnomalyJobsSortByTimecreated ListDetectAnomalyJobsSortByEnum = "timeCreated" ListDetectAnomalyJobsSortByDisplayname ListDetectAnomalyJobsSortByEnum = "displayName" )
func GetListDetectAnomalyJobsSortByEnumValues() []ListDetectAnomalyJobsSortByEnum
GetListDetectAnomalyJobsSortByEnumValues Enumerates the set of values for ListDetectAnomalyJobsSortByEnum
func GetMappingListDetectAnomalyJobsSortByEnum(val string) (ListDetectAnomalyJobsSortByEnum, bool)
GetMappingListDetectAnomalyJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectAnomalyJobsSortOrderEnum Enum with underlying type: string
type ListDetectAnomalyJobsSortOrderEnum string
Set of constants representing the allowable values for ListDetectAnomalyJobsSortOrderEnum
const ( ListDetectAnomalyJobsSortOrderAsc ListDetectAnomalyJobsSortOrderEnum = "ASC" ListDetectAnomalyJobsSortOrderDesc ListDetectAnomalyJobsSortOrderEnum = "DESC" )
func GetListDetectAnomalyJobsSortOrderEnumValues() []ListDetectAnomalyJobsSortOrderEnum
GetListDetectAnomalyJobsSortOrderEnumValues Enumerates the set of values for ListDetectAnomalyJobsSortOrderEnum
func GetMappingListDetectAnomalyJobsSortOrderEnum(val string) (ListDetectAnomalyJobsSortOrderEnum, bool)
GetMappingListDetectAnomalyJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsRequest wrapper for the ListModels operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListModels.go.html to see an example of how to use ListModelsRequest.
type ListModelsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the project for which to list the objects. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ModelLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. 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. When you sort by `displayName`, the results are // shown in ascending order. Sort order for the `displayName` field is case sensitive. SortBy ListModelsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListModelsRequest) String() string
func (request ListModelsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListModelsResponse wrapper for the ListModels operation
type ListModelsResponse struct { // The underlying http response RawResponse *http.Response // A list of ModelCollection instances ModelCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
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" )
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
func GetMappingListModelsSortByEnum(val string) (ListModelsSortByEnum, bool)
GetMappingListModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListModelsSortOrderEnum Enum with underlying type: string
type ListModelsSortOrderEnum string
Set of constants representing the allowable values for ListModelsSortOrderEnum
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
func GetMappingListModelsSortOrderEnum(val string) (ListModelsSortOrderEnum, bool)
GetMappingListModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsRequest wrapper for the ListProjects operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListProjects.go.html to see an example of how to use ListProjectsRequest.
type ListProjectsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ProjectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. 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"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProjectsRequest) String() string
func (request ListProjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListProjectsResponse wrapper for the ListProjects operation
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProjectCollection instances ProjectCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProjectsResponse) String() string
ListProjectsSortByEnum Enum with underlying type: string
type ListProjectsSortByEnum string
Set of constants representing the allowable values for ListProjectsSortByEnum
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsSortOrderEnum Enum with underlying type: string
type ListProjectsSortOrderEnum string
Set of constants representing the allowable values for ListProjectsSortOrderEnum
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
Model Description of Model.
type Model struct { // The OCID of the model that is immutable on creation. 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 for the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ModelTrainingDetails *ModelTrainingDetails `mandatory:"true" json:"modelTrainingDetails"` ModelTrainingResults *ModelTrainingResults `mandatory:"true" json:"modelTrainingResults"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. ProjectId *string `mandatory:"true" json:"projectId"` // The time the the Model was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the Model. Description *string `mandatory:"false" json:"description"` // The time the Model was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Model) String() string
func (m Model) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelCollection Results of a model search. Contains ModelSummary items.
type ModelCollection struct { // List of models Items []ModelSummary `mandatory:"true" json:"items"` }
func (m ModelCollection) String() string
func (m ModelCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelLifecycleStateEnum Enum with underlying type: string
type ModelLifecycleStateEnum string
Set of constants representing the allowable values for ModelLifecycleStateEnum
const ( ModelLifecycleStateDeleting ModelLifecycleStateEnum = "DELETING" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" ModelLifecycleStateCreating ModelLifecycleStateEnum = "CREATING" ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateUpdating ModelLifecycleStateEnum = "UPDATING" )
func GetMappingModelLifecycleStateEnum(val string) (ModelLifecycleStateEnum, bool)
GetMappingModelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
ModelSummary Summary of the Model.
type ModelSummary struct { // The OCID (https://docs.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 for the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time the the Model was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A short description of the Model. Description *string `mandatory:"false" json:"description"` ModelTrainingDetails *ModelTrainingDetails `mandatory:"false" json:"modelTrainingDetails"` ModelTrainingResults *ModelTrainingResults `mandatory:"false" json:"modelTrainingResults"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ModelSummary) String() string
func (m ModelSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelTrainingDetails Specifies the details of the MSET model during the create call.
type ModelTrainingDetails struct { // The list of OCIDs of the data assets to train the model. The dataAssets have to be in the same project where the ai model would reside. DataAssetIds []string `mandatory:"true" json:"dataAssetIds"` // User can choose specific algorithm for training. AlgorithmHint ModelTrainingDetailsAlgorithmHintEnum `mandatory:"false" json:"algorithmHint,omitempty"` // A target model accuracy metric user provides as their requirement TargetFap *float32 `mandatory:"false" json:"targetFap"` // Fraction of total data that is used for training the model. The remaining is used for validation of the model. TrainingFraction *float32 `mandatory:"false" json:"trainingFraction"` // This value would determine the window size of the training algorithm. WindowSize *int `mandatory:"false" json:"windowSize"` }
func (m ModelTrainingDetails) String() string
func (m ModelTrainingDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelTrainingDetailsAlgorithmHintEnum Enum with underlying type: string
type ModelTrainingDetailsAlgorithmHintEnum string
Set of constants representing the allowable values for ModelTrainingDetailsAlgorithmHintEnum
const ( ModelTrainingDetailsAlgorithmHintMultivariateMset ModelTrainingDetailsAlgorithmHintEnum = "MULTIVARIATE_MSET" ModelTrainingDetailsAlgorithmHintUnivariateOcsvm ModelTrainingDetailsAlgorithmHintEnum = "UNIVARIATE_OCSVM" )
func GetMappingModelTrainingDetailsAlgorithmHintEnum(val string) (ModelTrainingDetailsAlgorithmHintEnum, bool)
GetMappingModelTrainingDetailsAlgorithmHintEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelTrainingDetailsAlgorithmHintEnumValues() []ModelTrainingDetailsAlgorithmHintEnum
GetModelTrainingDetailsAlgorithmHintEnumValues Enumerates the set of values for ModelTrainingDetailsAlgorithmHintEnum
ModelTrainingResults Specifies the details for an Anomaly Detection model trained with MSET.
type ModelTrainingResults struct { // The final-achieved model accuracy metric on individual value level Fap *float32 `mandatory:"true" json:"fap"` // The model accuracy metric on timestamp level. MultivariateFap *float32 `mandatory:"false" json:"multivariateFap"` // Actual algorithm used to train the model Algorithm ModelTrainingResultsAlgorithmEnum `mandatory:"false" json:"algorithm,omitempty"` // Window size defined during training or deduced by the algorithm. WindowSize *int `mandatory:"false" json:"windowSize"` // A boolean value to indicate if train goal/targetFap is achieved for trained model IsTrainingGoalAchieved *bool `mandatory:"false" json:"isTrainingGoalAchieved"` // A warning message to explain the reason when targetFap cannot be achieved for trained model Warning *string `mandatory:"false" json:"warning"` // The list of signal details. SignalDetails []PerSignalDetails `mandatory:"false" json:"signalDetails"` RowReductionDetails *RowReductionDetails `mandatory:"false" json:"rowReductionDetails"` }
func (m ModelTrainingResults) String() string
func (m ModelTrainingResults) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ModelTrainingResultsAlgorithmEnum Enum with underlying type: string
type ModelTrainingResultsAlgorithmEnum string
Set of constants representing the allowable values for ModelTrainingResultsAlgorithmEnum
const ( ModelTrainingResultsAlgorithmMultivariateMset ModelTrainingResultsAlgorithmEnum = "MULTIVARIATE_MSET" ModelTrainingResultsAlgorithmUnivariateOcsvm ModelTrainingResultsAlgorithmEnum = "UNIVARIATE_OCSVM" )
func GetMappingModelTrainingResultsAlgorithmEnum(val string) (ModelTrainingResultsAlgorithmEnum, bool)
GetMappingModelTrainingResultsAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum
func GetModelTrainingResultsAlgorithmEnumValues() []ModelTrainingResultsAlgorithmEnum
GetModelTrainingResultsAlgorithmEnumValues Enumerates the set of values for ModelTrainingResultsAlgorithmEnum
ObjectListInputDetails A list of object locations in Object Storage.
type ObjectListInputDetails struct { // List of ObjectLocations. ObjectLocations []ObjectLocation `mandatory:"true" json:"objectLocations"` }
func (m ObjectListInputDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectListInputDetails) String() string
func (m ObjectListInputDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectListInputJobDetails A list of object locations in Object Storage.
type ObjectListInputJobDetails struct { // List of ObjectLocations. ObjectLocations []ObjectLocation `mandatory:"true" json:"objectLocations"` }
func (m ObjectListInputJobDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectListInputJobDetails) String() string
func (m ObjectListInputJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectLocation A location in Object Storage that is uniquely identified by namespace name, bucket name, and object name.
type ObjectLocation struct { // Object Storage namespace name. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // Object Storage object name. ObjectName *string `mandatory:"true" json:"objectName"` }
func (m ObjectLocation) String() string
func (m ObjectLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageLocation This is the specialised JSON format with an additional field for 'locationType'. This is a required field used for deciding if it is an object-storage location.
type ObjectStorageLocation struct { // Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // Object Storage folder name. Prefix *string `mandatory:"true" json:"prefix"` }
func (m ObjectStorageLocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageLocation) String() string
func (m ObjectStorageLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStoreOutputDetails OCI Object Storage Location.
type ObjectStoreOutputDetails struct { // Object Storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Object Storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // Object Storage folder name. Prefix *string `mandatory:"false" json:"prefix"` }
func (m ObjectStoreOutputDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStoreOutputDetails) String() string
func (m ObjectStoreOutputDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateModel OperationTypeEnum = "CREATE_MODEL" OperationTypeUpdateModel OperationTypeEnum = "UPDATE_MODEL" OperationTypeDeleteModel OperationTypeEnum = "DELETE_MODEL" OperationTypeCreatePrivateEndpoint OperationTypeEnum = "CREATE_PRIVATE_ENDPOINT" OperationTypeDeletePrivateEndpoint OperationTypeEnum = "DELETE_PRIVATE_ENDPOINT" OperationTypeUpdatePrivateEndpoint OperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT" OperationTypeMovePrivateEndpoint OperationTypeEnum = "MOVE_PRIVATE_ENDPOINT" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OutputDetails Detect anomaly job output details.
type OutputDetails interface { }
OutputDetailsOutputTypeEnum Enum with underlying type: string
type OutputDetailsOutputTypeEnum string
Set of constants representing the allowable values for OutputDetailsOutputTypeEnum
const ( OutputDetailsOutputTypeObjectStorage OutputDetailsOutputTypeEnum = "OBJECT_STORAGE" )
func GetMappingOutputDetailsOutputTypeEnum(val string) (OutputDetailsOutputTypeEnum, bool)
GetMappingOutputDetailsOutputTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOutputDetailsOutputTypeEnumValues() []OutputDetailsOutputTypeEnum
GetOutputDetailsOutputTypeEnumValues Enumerates the set of values for OutputDetailsOutputTypeEnum
OutputJobDetails Output details for detect anomaly job.
type OutputJobDetails interface { }
OutputJobDetailsOutputTypeEnum Enum with underlying type: string
type OutputJobDetailsOutputTypeEnum string
Set of constants representing the allowable values for OutputJobDetailsOutputTypeEnum
const ( OutputJobDetailsOutputTypeObjectStorage OutputJobDetailsOutputTypeEnum = "OBJECT_STORAGE" )
func GetMappingOutputJobDetailsOutputTypeEnum(val string) (OutputJobDetailsOutputTypeEnum, bool)
GetMappingOutputJobDetailsOutputTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOutputJobDetailsOutputTypeEnumValues() []OutputJobDetailsOutputTypeEnum
GetOutputJobDetailsOutputTypeEnumValues Enumerates the set of values for OutputJobDetailsOutputTypeEnum
PerSignalDetails Detailed information like statistics, metrics and status for a signal
type PerSignalDetails struct { // The name of a signal. SignalName *string `mandatory:"true" json:"signalName"` // Min value within a signal. Min *float64 `mandatory:"true" json:"min"` // Max value within a signal. Max *float64 `mandatory:"true" json:"max"` // Standard deviation of values within a signal. Std *float64 `mandatory:"true" json:"std"` // Status of the signal: // * ACCEPTED - the signal is used for training the model // * DROPPED - the signal does not meet requirement, and is dropped before training the model. // * OTHER - placeholder for other status Status PerSignalDetailsStatusEnum `mandatory:"true" json:"status"` // The ratio of missing values in a signal filled/imputed by the IDP algorithm. MviRatio *float64 `mandatory:"false" json:"mviRatio"` // A boolean value to indicate if a signal is quantized or not. IsQuantized *bool `mandatory:"false" json:"isQuantized"` // Accuracy metric for a signal. Fap *float32 `mandatory:"false" json:"fap"` // detailed information for a signal. Details *string `mandatory:"false" json:"details"` }
func (m PerSignalDetails) String() string
func (m PerSignalDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PerSignalDetailsStatusEnum Enum with underlying type: string
type PerSignalDetailsStatusEnum string
Set of constants representing the allowable values for PerSignalDetailsStatusEnum
const ( PerSignalDetailsStatusAccepted PerSignalDetailsStatusEnum = "ACCEPTED" PerSignalDetailsStatusDropped PerSignalDetailsStatusEnum = "DROPPED" PerSignalDetailsStatusOther PerSignalDetailsStatusEnum = "OTHER" )
func GetMappingPerSignalDetailsStatusEnum(val string) (PerSignalDetailsStatusEnum, bool)
GetMappingPerSignalDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPerSignalDetailsStatusEnumValues() []PerSignalDetailsStatusEnum
GetPerSignalDetailsStatusEnumValues Enumerates the set of values for PerSignalDetailsStatusEnum
Project Project enable users to organize their resources.
type Project struct { // The OCID of the project that is immutable on creation. 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 for the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Project) String() string
func (m Project) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProjectCollection Results of a projects list search. Contains Project objects.
type ProjectCollection struct { // List of projects Items []ProjectSummary `mandatory:"true" json:"items"` }
func (m ProjectCollection) String() string
func (m ProjectCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProjectLifecycleStateEnum Enum with underlying type: string
type ProjectLifecycleStateEnum string
Set of constants representing the allowable values for ProjectLifecycleStateEnum
const ( ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateCreating ProjectLifecycleStateEnum = "CREATING" ProjectLifecycleStateFailed ProjectLifecycleStateEnum = "FAILED" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" ProjectLifecycleStateUpdating ProjectLifecycleStateEnum = "UPDATING" )
func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
ProjectSummary Summary of the Project.
type ProjectSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. 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 for the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the resource was created in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short description of the project. Description *string `mandatory:"false" json:"description"` // The date and time the resource was updated in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` SystemTags map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ProjectSummary) String() string
func (m ProjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RowReductionDetails Information regarding how/what row reduction methods will be applied. If this property is not present or is null, then it means row reduction is not applied.
type RowReductionDetails struct { // A boolean value to indicate if row reduction is applied IsReductionEnabled *bool `mandatory:"true" json:"isReductionEnabled"` // A percentage to reduce data size down to on top of original data ReductionPercentage *float64 `mandatory:"true" json:"reductionPercentage"` // Method for row reduction: // * DELETE_ROW - delete rows with equal intervals // * AVERAGE_ROW - average multiple rows to one row ReductionMethod RowReductionDetailsReductionMethodEnum `mandatory:"true" json:"reductionMethod"` }
func (m RowReductionDetails) String() string
func (m RowReductionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RowReductionDetailsReductionMethodEnum Enum with underlying type: string
type RowReductionDetailsReductionMethodEnum string
Set of constants representing the allowable values for RowReductionDetailsReductionMethodEnum
const ( RowReductionDetailsReductionMethodDeleteRow RowReductionDetailsReductionMethodEnum = "DELETE_ROW" RowReductionDetailsReductionMethodAverageRow RowReductionDetailsReductionMethodEnum = "AVERAGE_ROW" )
func GetMappingRowReductionDetailsReductionMethodEnum(val string) (RowReductionDetailsReductionMethodEnum, bool)
GetMappingRowReductionDetailsReductionMethodEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRowReductionDetailsReductionMethodEnumValues() []RowReductionDetailsReductionMethodEnum
GetRowReductionDetailsReductionMethodEnumValues Enumerates the set of values for RowReductionDetailsReductionMethodEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
UpdateAiPrivateEndpointDetails Information about the modified private endpoint resource.
type UpdateAiPrivateEndpointDetails struct { // List of DNS zones to be used by the data assets. // Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com DnsZones []string `mandatory:"false" json:"dnsZones"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Display name of the private endpoint resource. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m UpdateAiPrivateEndpointDetails) String() string
func (m UpdateAiPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAiPrivateEndpointRequest wrapper for the UpdateAiPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateAiPrivateEndpoint.go.html to see an example of how to use UpdateAiPrivateEndpointRequest.
type UpdateAiPrivateEndpointRequest struct { // Unique private reverse connection identifier. AiPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"aiPrivateEndpointId"` // The information to be updated in private reverse connection UpdateAiPrivateEndpointDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateAiPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAiPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAiPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAiPrivateEndpointRequest) String() string
func (request UpdateAiPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAiPrivateEndpointResponse wrapper for the UpdateAiPrivateEndpoint operation
type UpdateAiPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response UpdateAiPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAiPrivateEndpointResponse) String() string
UpdateDataAssetDetails The information to be updated.
type UpdateDataAssetDetails struct { // DataAsset Identifier DisplayName *string `mandatory:"false" json:"displayName"` // DataAsset description Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDataAssetDetails) String() string
func (m UpdateDataAssetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDataAssetRequest wrapper for the UpdateDataAsset operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateDataAsset.go.html to see an example of how to use UpdateDataAssetRequest.
type UpdateDataAssetRequest struct { // The OCID of the Data Asset. DataAssetId *string `mandatory:"true" contributesTo:"path" name:"dataAssetId"` // The information to be updated. UpdateDataAssetDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateDataAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDataAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDataAssetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDataAssetRequest) String() string
func (request UpdateDataAssetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDataAssetResponse wrapper for the UpdateDataAsset operation
type UpdateDataAssetResponse struct { // The underlying http response RawResponse *http.Response // The DataAsset instance DataAsset `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDataAssetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDataAssetResponse) String() string
UpdateDetectAnomalyJobDetails The information to be updated for the DetectAnomalyJob.
type UpdateDetectAnomalyJobDetails struct { // A short description of the detect anomaly job. Description *string `mandatory:"false" json:"description"` // Detect anomaly job display name. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m UpdateDetectAnomalyJobDetails) String() string
func (m UpdateDetectAnomalyJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDetectAnomalyJobRequest wrapper for the UpdateDetectAnomalyJob operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateDetectAnomalyJob.go.html to see an example of how to use UpdateDetectAnomalyJobRequest.
type UpdateDetectAnomalyJobRequest struct { // Unique asynchronous job identifier. DetectAnomalyJobId *string `mandatory:"true" contributesTo:"path" name:"detectAnomalyJobId"` // The information to be updated. UpdateDetectAnomalyJobDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. 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 UpdateDetectAnomalyJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDetectAnomalyJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDetectAnomalyJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDetectAnomalyJobRequest) String() string
func (request UpdateDetectAnomalyJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDetectAnomalyJobResponse wrapper for the UpdateDetectAnomalyJob operation
type UpdateDetectAnomalyJobResponse struct { // The underlying http response RawResponse *http.Response // The DetectAnomalyJob instance DetectAnomalyJob `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDetectAnomalyJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDetectAnomalyJobResponse) String() string
UpdateModelDetails The information to be updated.
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. DisplayName *string `mandatory:"false" json:"displayName"` // A short description of the ai model. Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateModelDetails) String() string
func (m UpdateModelDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModelRequest wrapper for the UpdateModel operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
type UpdateModelRequest struct { // The OCID of the Model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The information to be updated. 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateModelRequest) String() string
func (request UpdateModelRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateModelResponse wrapper for the UpdateModel operation
type UpdateModelResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateModelResponse) String() string
UpdateProjectDetails The information to be updated for the 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProjectDetails) String() string
func (m UpdateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProjectRequest wrapper for the UpdateProject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aianomalydetection/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
type UpdateProjectRequest struct { // The OCID of the Project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The information to be updated. 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 will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProjectRequest) String() string
func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProjectResponse wrapper for the UpdateProject operation
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProjectResponse) String() string
WorkRequest A description of workrequest status
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummary A summary of the status of a work request.
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly