Documentation ¶
Index ¶
- type AnalyticsClient
- func (client AnalyticsClient) ChangeAnalyticsInstanceCompartment(ctx context.Context, request ChangeAnalyticsInstanceCompartmentRequest) (response ChangeAnalyticsInstanceCompartmentResponse, err error)
- func (client AnalyticsClient) ChangeAnalyticsInstanceNetworkEndpoint(ctx context.Context, request ChangeAnalyticsInstanceNetworkEndpointRequest) (response ChangeAnalyticsInstanceNetworkEndpointResponse, err error)
- func (client *AnalyticsClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client AnalyticsClient) CreateAnalyticsInstance(ctx context.Context, request CreateAnalyticsInstanceRequest) (response CreateAnalyticsInstanceResponse, err error)
- func (client AnalyticsClient) DeleteAnalyticsInstance(ctx context.Context, request DeleteAnalyticsInstanceRequest) (response DeleteAnalyticsInstanceResponse, err error)
- func (client AnalyticsClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
- func (client AnalyticsClient) GetAnalyticsInstance(ctx context.Context, request GetAnalyticsInstanceRequest) (response GetAnalyticsInstanceResponse, err error)
- func (client AnalyticsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client AnalyticsClient) ListAnalyticsInstances(ctx context.Context, request ListAnalyticsInstancesRequest) (response ListAnalyticsInstancesResponse, err error)
- func (client AnalyticsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client AnalyticsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client AnalyticsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client AnalyticsClient) ScaleAnalyticsInstance(ctx context.Context, request ScaleAnalyticsInstanceRequest) (response ScaleAnalyticsInstanceResponse, err error)
- func (client *AnalyticsClient) SetRegion(region string)
- func (client AnalyticsClient) StartAnalyticsInstance(ctx context.Context, request StartAnalyticsInstanceRequest) (response StartAnalyticsInstanceResponse, err error)
- func (client AnalyticsClient) StopAnalyticsInstance(ctx context.Context, request StopAnalyticsInstanceRequest) (response StopAnalyticsInstanceResponse, err error)
- func (client AnalyticsClient) UpdateAnalyticsInstance(ctx context.Context, request UpdateAnalyticsInstanceRequest) (response UpdateAnalyticsInstanceResponse, err error)
- type AnalyticsInstance
- type AnalyticsInstanceLifecycleStateEnum
- type AnalyticsInstanceSummary
- type Capacity
- type CapacityTypeEnum
- type ChangeAnalyticsInstanceCompartmentRequest
- type ChangeAnalyticsInstanceCompartmentResponse
- type ChangeAnalyticsInstanceNetworkEndpointDetails
- type ChangeAnalyticsInstanceNetworkEndpointRequest
- type ChangeAnalyticsInstanceNetworkEndpointResponse
- type ChangeCompartmentDetails
- type CreateAnalyticsInstanceDetails
- type CreateAnalyticsInstanceRequest
- type CreateAnalyticsInstanceResponse
- type DeleteAnalyticsInstanceRequest
- type DeleteAnalyticsInstanceResponse
- type DeleteWorkRequestRequest
- type DeleteWorkRequestResponse
- type FeatureSetEnum
- type GetAnalyticsInstanceRequest
- type GetAnalyticsInstanceResponse
- type GetWorkRequestRequest
- type GetWorkRequestResponse
- type LicenseTypeEnum
- type ListAnalyticsInstancesCapacityTypeEnum
- type ListAnalyticsInstancesFeatureSetEnum
- type ListAnalyticsInstancesLifecycleStateEnum
- type ListAnalyticsInstancesRequest
- type ListAnalyticsInstancesResponse
- type ListAnalyticsInstancesSortByEnum
- type ListAnalyticsInstancesSortOrderEnum
- type ListWorkRequestErrorsRequest
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- type ListWorkRequestLogsResponse
- type ListWorkRequestsRequest
- type ListWorkRequestsResourceTypeEnum
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type NetworkEndpointDetails
- type NetworkEndpointTypeEnum
- type PrivateEndpointDetails
- type PublicEndpointDetails
- type ScaleAnalyticsInstanceDetails
- type ScaleAnalyticsInstanceRequest
- type ScaleAnalyticsInstanceResponse
- type SortByEnum
- type SortOrderEnum
- type StartAnalyticsInstanceRequest
- type StartAnalyticsInstanceResponse
- type StopAnalyticsInstanceRequest
- type StopAnalyticsInstanceResponse
- type UpdateAnalyticsInstanceDetails
- type UpdateAnalyticsInstanceRequest
- type UpdateAnalyticsInstanceResponse
- type VirtualCloudNetwork
- type WorkRequest
- type WorkRequestActionResultEnum
- type WorkRequestError
- type WorkRequestLog
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceTypeEnum
- type WorkRequestSortByEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsClient ¶
type AnalyticsClient struct { common.BaseClient // contains filtered or unexported fields }
AnalyticsClient a client for Analytics
func NewAnalyticsClientWithConfigurationProvider ¶
func NewAnalyticsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AnalyticsClient, err error)
NewAnalyticsClientWithConfigurationProvider Creates a new default Analytics client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAnalyticsClientWithOboToken ¶
func NewAnalyticsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AnalyticsClient, err error)
NewAnalyticsClientWithOboToken Creates a new default Analytics 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 (AnalyticsClient) ChangeAnalyticsInstanceCompartment ¶
func (client AnalyticsClient) ChangeAnalyticsInstanceCompartment(ctx context.Context, request ChangeAnalyticsInstanceCompartmentRequest) (response ChangeAnalyticsInstanceCompartmentResponse, err error)
ChangeAnalyticsInstanceCompartment Change the compartment of an Analytics instance. The operation is long-running and creates a new WorkRequest.
func (AnalyticsClient) ChangeAnalyticsInstanceNetworkEndpoint ¶
func (client AnalyticsClient) ChangeAnalyticsInstanceNetworkEndpoint(ctx context.Context, request ChangeAnalyticsInstanceNetworkEndpointRequest) (response ChangeAnalyticsInstanceNetworkEndpointResponse, err error)
ChangeAnalyticsInstanceNetworkEndpoint Change an Analytics instance network endpoint. The operation is long-running and creates a new WorkRequest.
func (*AnalyticsClient) ConfigurationProvider ¶
func (client *AnalyticsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (AnalyticsClient) CreateAnalyticsInstance ¶
func (client AnalyticsClient) CreateAnalyticsInstance(ctx context.Context, request CreateAnalyticsInstanceRequest) (response CreateAnalyticsInstanceResponse, err error)
CreateAnalyticsInstance Create a new AnalyticsInstance in the specified compartment. The operation is long-running and creates a new WorkRequest.
func (AnalyticsClient) DeleteAnalyticsInstance ¶
func (client AnalyticsClient) DeleteAnalyticsInstance(ctx context.Context, request DeleteAnalyticsInstanceRequest) (response DeleteAnalyticsInstanceResponse, err error)
DeleteAnalyticsInstance Terminates the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
func (AnalyticsClient) DeleteWorkRequest ¶
func (client AnalyticsClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
DeleteWorkRequest Cancel a work request that has not started yet.
func (AnalyticsClient) GetAnalyticsInstance ¶
func (client AnalyticsClient) GetAnalyticsInstance(ctx context.Context, request GetAnalyticsInstanceRequest) (response GetAnalyticsInstanceResponse, err error)
GetAnalyticsInstance Info for a specific Analytics instance.
func (AnalyticsClient) GetWorkRequest ¶
func (client AnalyticsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Get the details of a work request.
func (AnalyticsClient) ListAnalyticsInstances ¶
func (client AnalyticsClient) ListAnalyticsInstances(ctx context.Context, request ListAnalyticsInstancesRequest) (response ListAnalyticsInstancesResponse, err error)
ListAnalyticsInstances List Analytics instances.
func (AnalyticsClient) ListWorkRequestErrors ¶
func (client AnalyticsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Get the errors of a work request.
func (AnalyticsClient) ListWorkRequestLogs ¶
func (client AnalyticsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Get the logs of a work request.
func (AnalyticsClient) ListWorkRequests ¶
func (client AnalyticsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests List all work requests in a compartment.
func (AnalyticsClient) ScaleAnalyticsInstance ¶
func (client AnalyticsClient) ScaleAnalyticsInstance(ctx context.Context, request ScaleAnalyticsInstanceRequest) (response ScaleAnalyticsInstanceResponse, err error)
ScaleAnalyticsInstance Scale an Analytics instance up or down. The operation is long-running and creates a new WorkRequest.
func (*AnalyticsClient) SetRegion ¶
func (client *AnalyticsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (AnalyticsClient) StartAnalyticsInstance ¶
func (client AnalyticsClient) StartAnalyticsInstance(ctx context.Context, request StartAnalyticsInstanceRequest) (response StartAnalyticsInstanceResponse, err error)
StartAnalyticsInstance Starts the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
func (AnalyticsClient) StopAnalyticsInstance ¶
func (client AnalyticsClient) StopAnalyticsInstance(ctx context.Context, request StopAnalyticsInstanceRequest) (response StopAnalyticsInstanceResponse, err error)
StopAnalyticsInstance Stop the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
func (AnalyticsClient) UpdateAnalyticsInstance ¶
func (client AnalyticsClient) UpdateAnalyticsInstance(ctx context.Context, request UpdateAnalyticsInstanceRequest) (response UpdateAnalyticsInstanceResponse, err error)
UpdateAnalyticsInstance Updates certain fields of an Analytics instance. Fields that are not provided in the request will not be updated.
type AnalyticsInstance ¶
type AnalyticsInstance struct { // The resource OCID. Id *string `mandatory:"true" json:"id"` // The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of an instance. LifecycleState AnalyticsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Analytics feature set. FeatureSet FeatureSetEnum `mandatory:"true" json:"featureSet"` Capacity *Capacity `mandatory:"true" json:"capacity"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"true" json:"networkEndpointDetails"` // The date and time the instance was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Optional description. Description *string `mandatory:"false" json:"description"` // The license used for the service. LicenseType LicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` // Email address receiving notifications. EmailNotification *string `mandatory:"false" json:"emailNotification"` // URL of the Analytics service. ServiceUrl *string `mandatory:"false" json:"serviceUrl"` // Defined tags for this resource. Each key is predefined and scoped to a // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The date and time the instance was last updated (in the format defined by RFC3339). // This timestamp represents updates made through this API. External events do not // influence it. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
AnalyticsInstance Analytics Instance metadata.
func (AnalyticsInstance) String ¶
func (m AnalyticsInstance) String() string
func (*AnalyticsInstance) UnmarshalJSON ¶
func (m *AnalyticsInstance) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type AnalyticsInstanceLifecycleStateEnum ¶
type AnalyticsInstanceLifecycleStateEnum string
AnalyticsInstanceLifecycleStateEnum Enum with underlying type: string
const ( AnalyticsInstanceLifecycleStateActive AnalyticsInstanceLifecycleStateEnum = "ACTIVE" AnalyticsInstanceLifecycleStateCreating AnalyticsInstanceLifecycleStateEnum = "CREATING" AnalyticsInstanceLifecycleStateDeleted AnalyticsInstanceLifecycleStateEnum = "DELETED" AnalyticsInstanceLifecycleStateDeleting AnalyticsInstanceLifecycleStateEnum = "DELETING" AnalyticsInstanceLifecycleStateFailed AnalyticsInstanceLifecycleStateEnum = "FAILED" AnalyticsInstanceLifecycleStateInactive AnalyticsInstanceLifecycleStateEnum = "INACTIVE" AnalyticsInstanceLifecycleStateUpdating AnalyticsInstanceLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for AnalyticsInstanceLifecycleStateEnum
func GetAnalyticsInstanceLifecycleStateEnumValues ¶
func GetAnalyticsInstanceLifecycleStateEnumValues() []AnalyticsInstanceLifecycleStateEnum
GetAnalyticsInstanceLifecycleStateEnumValues Enumerates the set of values for AnalyticsInstanceLifecycleStateEnum
type AnalyticsInstanceSummary ¶
type AnalyticsInstanceSummary struct { // The resource OCID. Id *string `mandatory:"true" json:"id"` // The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of an instance. LifecycleState AnalyticsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Analytics feature set. FeatureSet FeatureSetEnum `mandatory:"true" json:"featureSet"` Capacity *Capacity `mandatory:"true" json:"capacity"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"true" json:"networkEndpointDetails"` // The date and time the instance was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Optional description. Description *string `mandatory:"false" json:"description"` // The license used for the service. LicenseType LicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` // Email address receiving notifications. EmailNotification *string `mandatory:"false" json:"emailNotification"` // URL of the Analytics service. ServiceUrl *string `mandatory:"false" json:"serviceUrl"` // The date and time the instance was last updated (in the format defined by RFC3339). // This timestamp represents updates made through this API. External events do not // influence it. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
AnalyticsInstanceSummary Analytics Instance metadata (summary view).
func (AnalyticsInstanceSummary) String ¶
func (m AnalyticsInstanceSummary) String() string
func (*AnalyticsInstanceSummary) UnmarshalJSON ¶
func (m *AnalyticsInstanceSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type Capacity ¶
type Capacity struct { // The capacity model to use. CapacityType CapacityTypeEnum `mandatory:"true" json:"capacityType"` // The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the // number of CPUs, amount of memory or other resources allocated to the instance. CapacityValue *int `mandatory:"true" json:"capacityValue"` }
Capacity Service instance capacity metadata (e.g.: OLPU count, number of users, ...etc...).
type CapacityTypeEnum ¶
type CapacityTypeEnum string
CapacityTypeEnum Enum with underlying type: string
const ( CapacityTypeOlpuCount CapacityTypeEnum = "OLPU_COUNT" CapacityTypeUserCount CapacityTypeEnum = "USER_COUNT" )
Set of constants representing the allowable values for CapacityTypeEnum
func GetCapacityTypeEnumValues ¶
func GetCapacityTypeEnumValues() []CapacityTypeEnum
GetCapacityTypeEnumValues Enumerates the set of values for CapacityTypeEnum
type ChangeAnalyticsInstanceCompartmentRequest ¶
type ChangeAnalyticsInstanceCompartmentRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // Input payload to move the resource to a different compartment. ChangeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
ChangeAnalyticsInstanceCompartmentRequest wrapper for the ChangeAnalyticsInstanceCompartment operation
func (ChangeAnalyticsInstanceCompartmentRequest) HTTPRequest ¶
func (request ChangeAnalyticsInstanceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAnalyticsInstanceCompartmentRequest) RetryPolicy ¶
func (request ChangeAnalyticsInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAnalyticsInstanceCompartmentRequest) String ¶
func (request ChangeAnalyticsInstanceCompartmentRequest) String() string
type ChangeAnalyticsInstanceCompartmentResponse ¶
type ChangeAnalyticsInstanceCompartmentResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
ChangeAnalyticsInstanceCompartmentResponse wrapper for the ChangeAnalyticsInstanceCompartment operation
func (ChangeAnalyticsInstanceCompartmentResponse) HTTPResponse ¶
func (response ChangeAnalyticsInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAnalyticsInstanceCompartmentResponse) String ¶
func (response ChangeAnalyticsInstanceCompartmentResponse) String() string
type ChangeAnalyticsInstanceNetworkEndpointDetails ¶
type ChangeAnalyticsInstanceNetworkEndpointDetails struct {
NetworkEndpointDetails NetworkEndpointDetails `mandatory:"true" json:"networkEndpointDetails"`
}
ChangeAnalyticsInstanceNetworkEndpointDetails Input payload to update an Analytics instance endpoint details.
func (ChangeAnalyticsInstanceNetworkEndpointDetails) String ¶
func (m ChangeAnalyticsInstanceNetworkEndpointDetails) String() string
func (*ChangeAnalyticsInstanceNetworkEndpointDetails) UnmarshalJSON ¶
func (m *ChangeAnalyticsInstanceNetworkEndpointDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ChangeAnalyticsInstanceNetworkEndpointRequest ¶
type ChangeAnalyticsInstanceNetworkEndpointRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // Input payload for changing an Analytics instance network endpoint. ChangeAnalyticsInstanceNetworkEndpointDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
ChangeAnalyticsInstanceNetworkEndpointRequest wrapper for the ChangeAnalyticsInstanceNetworkEndpoint operation
func (ChangeAnalyticsInstanceNetworkEndpointRequest) HTTPRequest ¶
func (request ChangeAnalyticsInstanceNetworkEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeAnalyticsInstanceNetworkEndpointRequest) RetryPolicy ¶
func (request ChangeAnalyticsInstanceNetworkEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeAnalyticsInstanceNetworkEndpointRequest) String ¶
func (request ChangeAnalyticsInstanceNetworkEndpointRequest) String() string
type ChangeAnalyticsInstanceNetworkEndpointResponse ¶
type ChangeAnalyticsInstanceNetworkEndpointResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
ChangeAnalyticsInstanceNetworkEndpointResponse wrapper for the ChangeAnalyticsInstanceNetworkEndpoint operation
func (ChangeAnalyticsInstanceNetworkEndpointResponse) HTTPResponse ¶
func (response ChangeAnalyticsInstanceNetworkEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeAnalyticsInstanceNetworkEndpointResponse) String ¶
func (response ChangeAnalyticsInstanceNetworkEndpointResponse) String() string
type ChangeCompartmentDetails ¶
type ChangeCompartmentDetails struct { // The OCID of the new compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeCompartmentDetails Input payload to change a resource's compartment.
func (ChangeCompartmentDetails) String ¶
func (m ChangeCompartmentDetails) String() string
type CreateAnalyticsInstanceDetails ¶
type CreateAnalyticsInstanceDetails struct { // The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The OCID of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Analytics feature set. FeatureSet FeatureSetEnum `mandatory:"true" json:"featureSet"` Capacity *Capacity `mandatory:"true" json:"capacity"` // The license used for the service. LicenseType LicenseTypeEnum `mandatory:"true" json:"licenseType"` // Optional description. Description *string `mandatory:"false" json:"description"` // Email address receiving notifications. EmailNotification *string `mandatory:"false" json:"emailNotification"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"false" json:"networkEndpointDetails"` // IDCS access token identifying a stripe and service administrator user. IdcsAccessToken *string `mandatory:"false" json:"idcsAccessToken"` // Defined tags for this resource. Each key is predefined and scoped to a // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
CreateAnalyticsInstanceDetails Input payload to create an Anaytics instance.
func (CreateAnalyticsInstanceDetails) String ¶
func (m CreateAnalyticsInstanceDetails) String() string
func (*CreateAnalyticsInstanceDetails) UnmarshalJSON ¶
func (m *CreateAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type CreateAnalyticsInstanceRequest ¶
type CreateAnalyticsInstanceRequest struct { // Analytics Instance details. CreateAnalyticsInstanceDetails `contributesTo:"body"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
CreateAnalyticsInstanceRequest wrapper for the CreateAnalyticsInstance operation
func (CreateAnalyticsInstanceRequest) HTTPRequest ¶
func (request CreateAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAnalyticsInstanceRequest) RetryPolicy ¶
func (request CreateAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAnalyticsInstanceRequest) String ¶
func (request CreateAnalyticsInstanceRequest) String() string
type CreateAnalyticsInstanceResponse ¶
type CreateAnalyticsInstanceResponse struct { // The underlying http response RawResponse *http.Response // The AnalyticsInstance instance AnalyticsInstance `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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // The full URI of the resource. Location *string `presentIn:"header" name:"location"` }
CreateAnalyticsInstanceResponse wrapper for the CreateAnalyticsInstance operation
func (CreateAnalyticsInstanceResponse) HTTPResponse ¶
func (response CreateAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAnalyticsInstanceResponse) String ¶
func (response CreateAnalyticsInstanceResponse) String() string
type DeleteAnalyticsInstanceRequest ¶
type DeleteAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
DeleteAnalyticsInstanceRequest wrapper for the DeleteAnalyticsInstance operation
func (DeleteAnalyticsInstanceRequest) HTTPRequest ¶
func (request DeleteAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAnalyticsInstanceRequest) RetryPolicy ¶
func (request DeleteAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAnalyticsInstanceRequest) String ¶
func (request DeleteAnalyticsInstanceRequest) String() string
type DeleteAnalyticsInstanceResponse ¶
type DeleteAnalyticsInstanceResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteAnalyticsInstanceResponse wrapper for the DeleteAnalyticsInstance operation
func (DeleteAnalyticsInstanceResponse) HTTPResponse ¶
func (response DeleteAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAnalyticsInstanceResponse) String ¶
func (response DeleteAnalyticsInstanceResponse) String() string
type DeleteWorkRequestRequest ¶
type DeleteWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation
func (DeleteWorkRequestRequest) HTTPRequest ¶
func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteWorkRequestRequest) RetryPolicy ¶
func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteWorkRequestRequest) String ¶
func (request DeleteWorkRequestRequest) String() string
type DeleteWorkRequestResponse ¶
type DeleteWorkRequestResponse 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"` }
DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation
func (DeleteWorkRequestResponse) HTTPResponse ¶
func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteWorkRequestResponse) String ¶
func (response DeleteWorkRequestResponse) String() string
type FeatureSetEnum ¶
type FeatureSetEnum string
FeatureSetEnum Enum with underlying type: string
const ( FeatureSetSelfServiceAnalytics FeatureSetEnum = "SELF_SERVICE_ANALYTICS" FeatureSetEnterpriseAnalytics FeatureSetEnum = "ENTERPRISE_ANALYTICS" )
Set of constants representing the allowable values for FeatureSetEnum
func GetFeatureSetEnumValues ¶
func GetFeatureSetEnumValues() []FeatureSetEnum
GetFeatureSetEnumValues Enumerates the set of values for FeatureSetEnum
type GetAnalyticsInstanceRequest ¶
type GetAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetAnalyticsInstanceRequest wrapper for the GetAnalyticsInstance operation
func (GetAnalyticsInstanceRequest) HTTPRequest ¶
func (request GetAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAnalyticsInstanceRequest) RetryPolicy ¶
func (request GetAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAnalyticsInstanceRequest) String ¶
func (request GetAnalyticsInstanceRequest) String() string
type GetAnalyticsInstanceResponse ¶
type GetAnalyticsInstanceResponse struct { // The underlying http response RawResponse *http.Response // The AnalyticsInstance instance AnalyticsInstance `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"` }
GetAnalyticsInstanceResponse wrapper for the GetAnalyticsInstance operation
func (GetAnalyticsInstanceResponse) HTTPResponse ¶
func (response GetAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAnalyticsInstanceResponse) String ¶
func (response GetAnalyticsInstanceResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
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"` // The number of seconds a client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type LicenseTypeEnum ¶
type LicenseTypeEnum string
LicenseTypeEnum Enum with underlying type: string
const ( LicenseTypeLicenseIncluded LicenseTypeEnum = "LICENSE_INCLUDED" LicenseTypeBringYourOwnLicense LicenseTypeEnum = "BRING_YOUR_OWN_LICENSE" )
Set of constants representing the allowable values for LicenseTypeEnum
func GetLicenseTypeEnumValues ¶
func GetLicenseTypeEnumValues() []LicenseTypeEnum
GetLicenseTypeEnumValues Enumerates the set of values for LicenseTypeEnum
type ListAnalyticsInstancesCapacityTypeEnum ¶
type ListAnalyticsInstancesCapacityTypeEnum string
ListAnalyticsInstancesCapacityTypeEnum Enum with underlying type: string
const ( ListAnalyticsInstancesCapacityTypeOlpuCount ListAnalyticsInstancesCapacityTypeEnum = "OLPU_COUNT" ListAnalyticsInstancesCapacityTypeUserCount ListAnalyticsInstancesCapacityTypeEnum = "USER_COUNT" )
Set of constants representing the allowable values for ListAnalyticsInstancesCapacityTypeEnum
func GetListAnalyticsInstancesCapacityTypeEnumValues ¶
func GetListAnalyticsInstancesCapacityTypeEnumValues() []ListAnalyticsInstancesCapacityTypeEnum
GetListAnalyticsInstancesCapacityTypeEnumValues Enumerates the set of values for ListAnalyticsInstancesCapacityTypeEnum
type ListAnalyticsInstancesFeatureSetEnum ¶
type ListAnalyticsInstancesFeatureSetEnum string
ListAnalyticsInstancesFeatureSetEnum Enum with underlying type: string
const ( ListAnalyticsInstancesFeatureSetSelfServiceAnalytics ListAnalyticsInstancesFeatureSetEnum = "SELF_SERVICE_ANALYTICS" ListAnalyticsInstancesFeatureSetEnterpriseAnalytics ListAnalyticsInstancesFeatureSetEnum = "ENTERPRISE_ANALYTICS" )
Set of constants representing the allowable values for ListAnalyticsInstancesFeatureSetEnum
func GetListAnalyticsInstancesFeatureSetEnumValues ¶
func GetListAnalyticsInstancesFeatureSetEnumValues() []ListAnalyticsInstancesFeatureSetEnum
GetListAnalyticsInstancesFeatureSetEnumValues Enumerates the set of values for ListAnalyticsInstancesFeatureSetEnum
type ListAnalyticsInstancesLifecycleStateEnum ¶
type ListAnalyticsInstancesLifecycleStateEnum string
ListAnalyticsInstancesLifecycleStateEnum Enum with underlying type: string
const ( ListAnalyticsInstancesLifecycleStateActive ListAnalyticsInstancesLifecycleStateEnum = "ACTIVE" ListAnalyticsInstancesLifecycleStateCreating ListAnalyticsInstancesLifecycleStateEnum = "CREATING" ListAnalyticsInstancesLifecycleStateDeleted ListAnalyticsInstancesLifecycleStateEnum = "DELETED" ListAnalyticsInstancesLifecycleStateDeleting ListAnalyticsInstancesLifecycleStateEnum = "DELETING" ListAnalyticsInstancesLifecycleStateFailed ListAnalyticsInstancesLifecycleStateEnum = "FAILED" ListAnalyticsInstancesLifecycleStateInactive ListAnalyticsInstancesLifecycleStateEnum = "INACTIVE" ListAnalyticsInstancesLifecycleStateUpdating ListAnalyticsInstancesLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for ListAnalyticsInstancesLifecycleStateEnum
func GetListAnalyticsInstancesLifecycleStateEnumValues ¶
func GetListAnalyticsInstancesLifecycleStateEnumValues() []ListAnalyticsInstancesLifecycleStateEnum
GetListAnalyticsInstancesLifecycleStateEnumValues Enumerates the set of values for ListAnalyticsInstancesLifecycleStateEnum
type ListAnalyticsInstancesRequest ¶
type ListAnalyticsInstancesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to only return resources matching the capacity type enum. Values are // case-insensitive. CapacityType ListAnalyticsInstancesCapacityTypeEnum `mandatory:"false" contributesTo:"query" name:"capacityType" omitEmpty:"true"` // A filter to only return resources matching the feature set. Values are // case-insensitive. FeatureSet ListAnalyticsInstancesFeatureSetEnum `mandatory:"false" contributesTo:"query" name:"featureSet" omitEmpty:"true"` // A filter to only return resources matching the lifecycle state. The state // value is case-insensitive. LifecycleState ListAnalyticsInstancesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by (one column only). Default sort order is // ascending exception of `timeCreated` column (descending). SortBy ListAnalyticsInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListAnalyticsInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListAnalyticsInstancesRequest wrapper for the ListAnalyticsInstances operation
func (ListAnalyticsInstancesRequest) HTTPRequest ¶
func (request ListAnalyticsInstancesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAnalyticsInstancesRequest) RetryPolicy ¶
func (request ListAnalyticsInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAnalyticsInstancesRequest) String ¶
func (request ListAnalyticsInstancesRequest) String() string
type ListAnalyticsInstancesResponse ¶
type ListAnalyticsInstancesResponse struct { // The underlying http response RawResponse *http.Response // A list of []AnalyticsInstanceSummary instances Items []AnalyticsInstanceSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListAnalyticsInstancesResponse wrapper for the ListAnalyticsInstances operation
func (ListAnalyticsInstancesResponse) HTTPResponse ¶
func (response ListAnalyticsInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAnalyticsInstancesResponse) String ¶
func (response ListAnalyticsInstancesResponse) String() string
type ListAnalyticsInstancesSortByEnum ¶
type ListAnalyticsInstancesSortByEnum string
ListAnalyticsInstancesSortByEnum Enum with underlying type: string
const ( ListAnalyticsInstancesSortByCapacitytype ListAnalyticsInstancesSortByEnum = "capacityType" ListAnalyticsInstancesSortByCapacityvalue ListAnalyticsInstancesSortByEnum = "capacityValue" ListAnalyticsInstancesSortByFeatureset ListAnalyticsInstancesSortByEnum = "featureSet" ListAnalyticsInstancesSortByLifecyclestate ListAnalyticsInstancesSortByEnum = "lifecycleState" ListAnalyticsInstancesSortByName ListAnalyticsInstancesSortByEnum = "name" ListAnalyticsInstancesSortByTimecreated ListAnalyticsInstancesSortByEnum = "timeCreated" )
Set of constants representing the allowable values for ListAnalyticsInstancesSortByEnum
func GetListAnalyticsInstancesSortByEnumValues ¶
func GetListAnalyticsInstancesSortByEnumValues() []ListAnalyticsInstancesSortByEnum
GetListAnalyticsInstancesSortByEnumValues Enumerates the set of values for ListAnalyticsInstancesSortByEnum
type ListAnalyticsInstancesSortOrderEnum ¶
type ListAnalyticsInstancesSortOrderEnum string
ListAnalyticsInstancesSortOrderEnum Enum with underlying type: string
const ( ListAnalyticsInstancesSortOrderAsc ListAnalyticsInstancesSortOrderEnum = "ASC" ListAnalyticsInstancesSortOrderDesc ListAnalyticsInstancesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAnalyticsInstancesSortOrderEnum
func GetListAnalyticsInstancesSortOrderEnumValues ¶
func GetListAnalyticsInstancesSortOrderEnumValues() []ListAnalyticsInstancesSortOrderEnum
GetListAnalyticsInstancesSortOrderEnumValues Enumerates the set of values for ListAnalyticsInstancesSortOrderEnum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLog instances Items []WorkRequestLog `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the resource associated with a work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Type of the resource associated with a work request ResourceType ListWorkRequestsResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"resourceType" omitEmpty:"true"` // One or more work request status values to filter on. Status []ListWorkRequestsStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field used for sorting work request results. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResourceTypeEnum ¶
type ListWorkRequestsResourceTypeEnum string
ListWorkRequestsResourceTypeEnum Enum with underlying type: string
const (
ListWorkRequestsResourceTypeAnalyticsInstance ListWorkRequestsResourceTypeEnum = "ANALYTICS_INSTANCE"
)
Set of constants representing the allowable values for ListWorkRequestsResourceTypeEnum
func GetListWorkRequestsResourceTypeEnumValues ¶
func GetListWorkRequestsResourceTypeEnumValues() []ListWorkRequestsResourceTypeEnum
GetListWorkRequestsResourceTypeEnumValues Enumerates the set of values for ListWorkRequestsResourceTypeEnum
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const ( ListWorkRequestsSortById ListWorkRequestsSortByEnum = "id" ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" ListWorkRequestsSortByTimestarted ListWorkRequestsSortByEnum = "timeStarted" ListWorkRequestsSortByTimefinished ListWorkRequestsSortByEnum = "timeFinished" )
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
type NetworkEndpointDetails ¶
type NetworkEndpointDetails interface { }
NetworkEndpointDetails Base representation of a network endpoint.
type NetworkEndpointTypeEnum ¶
type NetworkEndpointTypeEnum string
NetworkEndpointTypeEnum Enum with underlying type: string
const ( NetworkEndpointTypePublic NetworkEndpointTypeEnum = "PUBLIC" NetworkEndpointTypePrivate NetworkEndpointTypeEnum = "PRIVATE" )
Set of constants representing the allowable values for NetworkEndpointTypeEnum
func GetNetworkEndpointTypeEnumValues ¶
func GetNetworkEndpointTypeEnumValues() []NetworkEndpointTypeEnum
GetNetworkEndpointTypeEnumValues Enumerates the set of values for NetworkEndpointTypeEnum
type PrivateEndpointDetails ¶
type PrivateEndpointDetails struct { // The VCN OCID for the private endpoint. VcnId *string `mandatory:"true" json:"vcnId"` // The subnet OCID for the private endpoint. SubnetId *string `mandatory:"true" json:"subnetId"` }
PrivateEndpointDetails Private endpoint configuration details.
func (PrivateEndpointDetails) MarshalJSON ¶
func (m PrivateEndpointDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PrivateEndpointDetails) String ¶
func (m PrivateEndpointDetails) String() string
type PublicEndpointDetails ¶
type PublicEndpointDetails struct { // Source IP addresses or IP address ranges igress rules. WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"` // Virtual Cloud Networks allowed to access this network endpoint. WhitelistedVcns []VirtualCloudNetwork `mandatory:"false" json:"whitelistedVcns"` }
PublicEndpointDetails Public endpoint configuration details.
func (PublicEndpointDetails) MarshalJSON ¶
func (m PublicEndpointDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PublicEndpointDetails) String ¶
func (m PublicEndpointDetails) String() string
type ScaleAnalyticsInstanceDetails ¶
type ScaleAnalyticsInstanceDetails struct {
Capacity *Capacity `mandatory:"true" json:"capacity"`
}
ScaleAnalyticsInstanceDetails Input payload to scale an Analytics instance up or down.
func (ScaleAnalyticsInstanceDetails) String ¶
func (m ScaleAnalyticsInstanceDetails) String() string
type ScaleAnalyticsInstanceRequest ¶
type ScaleAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // Input payload for scaling an Analytics instance up or down. ScaleAnalyticsInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
ScaleAnalyticsInstanceRequest wrapper for the ScaleAnalyticsInstance operation
func (ScaleAnalyticsInstanceRequest) HTTPRequest ¶
func (request ScaleAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ScaleAnalyticsInstanceRequest) RetryPolicy ¶
func (request ScaleAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ScaleAnalyticsInstanceRequest) String ¶
func (request ScaleAnalyticsInstanceRequest) String() string
type ScaleAnalyticsInstanceResponse ¶
type ScaleAnalyticsInstanceResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
ScaleAnalyticsInstanceResponse wrapper for the ScaleAnalyticsInstance operation
func (ScaleAnalyticsInstanceResponse) HTTPResponse ¶
func (response ScaleAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ScaleAnalyticsInstanceResponse) String ¶
func (response ScaleAnalyticsInstanceResponse) String() string
type SortByEnum ¶
type SortByEnum string
SortByEnum Enum with underlying type: string
const ( SortByCapacityType SortByEnum = "capacityType" SortByCapacityValue SortByEnum = "capacityValue" SortByFeatureSet SortByEnum = "featureSet" SortByLifecycleState SortByEnum = "lifecycleState" SortByName SortByEnum = "name" SortByTimeCreated SortByEnum = "timeCreated" )
Set of constants representing the allowable values for SortByEnum
func GetSortByEnumValues ¶
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type StartAnalyticsInstanceRequest ¶
type StartAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
StartAnalyticsInstanceRequest wrapper for the StartAnalyticsInstance operation
func (StartAnalyticsInstanceRequest) HTTPRequest ¶
func (request StartAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (StartAnalyticsInstanceRequest) RetryPolicy ¶
func (request StartAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (StartAnalyticsInstanceRequest) String ¶
func (request StartAnalyticsInstanceRequest) String() string
type StartAnalyticsInstanceResponse ¶
type StartAnalyticsInstanceResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
StartAnalyticsInstanceResponse wrapper for the StartAnalyticsInstance operation
func (StartAnalyticsInstanceResponse) HTTPResponse ¶
func (response StartAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (StartAnalyticsInstanceResponse) String ¶
func (response StartAnalyticsInstanceResponse) String() string
type StopAnalyticsInstanceRequest ¶
type StopAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may 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 }
StopAnalyticsInstanceRequest wrapper for the StopAnalyticsInstance operation
func (StopAnalyticsInstanceRequest) HTTPRequest ¶
func (request StopAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (StopAnalyticsInstanceRequest) RetryPolicy ¶
func (request StopAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (StopAnalyticsInstanceRequest) String ¶
func (request StopAnalyticsInstanceRequest) String() string
type StopAnalyticsInstanceResponse ¶
type StopAnalyticsInstanceResponse 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"` // The OCID of the work request. Use GetWorkRequest with this ID to track the status // of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
StopAnalyticsInstanceResponse wrapper for the StopAnalyticsInstance operation
func (StopAnalyticsInstanceResponse) HTTPResponse ¶
func (response StopAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (StopAnalyticsInstanceResponse) String ¶
func (response StopAnalyticsInstanceResponse) String() string
type UpdateAnalyticsInstanceDetails ¶
type UpdateAnalyticsInstanceDetails struct { // Optional description. Description *string `mandatory:"false" json:"description"` // Email address receiving notifications. EmailNotification *string `mandatory:"false" json:"emailNotification"` // The license used for the service. LicenseType LicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` // Defined tags for this resource. Each key is predefined and scoped to a // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
UpdateAnalyticsInstanceDetails Input payload to update an Analytics instance. Fields that are not provided will not be updated.
func (UpdateAnalyticsInstanceDetails) String ¶
func (m UpdateAnalyticsInstanceDetails) String() string
type UpdateAnalyticsInstanceRequest ¶
type UpdateAnalyticsInstanceRequest struct { // The OCID of the AnalyticsInstance. AnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"analyticsInstanceId"` // The Analytics Instance fields to update. Fields that are not provided // will not be updated. UpdateAnalyticsInstanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateAnalyticsInstanceRequest wrapper for the UpdateAnalyticsInstance operation
func (UpdateAnalyticsInstanceRequest) HTTPRequest ¶
func (request UpdateAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAnalyticsInstanceRequest) RetryPolicy ¶
func (request UpdateAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAnalyticsInstanceRequest) String ¶
func (request UpdateAnalyticsInstanceRequest) String() string
type UpdateAnalyticsInstanceResponse ¶
type UpdateAnalyticsInstanceResponse struct { // The underlying http response RawResponse *http.Response // The AnalyticsInstance instance AnalyticsInstance `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"` }
UpdateAnalyticsInstanceResponse wrapper for the UpdateAnalyticsInstance operation
func (UpdateAnalyticsInstanceResponse) HTTPResponse ¶
func (response UpdateAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAnalyticsInstanceResponse) String ¶
func (response UpdateAnalyticsInstanceResponse) String() string
type VirtualCloudNetwork ¶
type VirtualCloudNetwork struct { // The Virtual Cloud Network OCID. Id *string `mandatory:"true" json:"id"` // Source IP addresses or IP address ranges igress rules. WhitelistedIps []string `mandatory:"false" json:"whitelistedIps"` }
VirtualCloudNetwork Virtual Cloud Network definition.
func (VirtualCloudNetwork) String ¶
func (m VirtualCloudNetwork) String() string
type WorkRequest ¶
type WorkRequest struct { // The resource OCID. Id *string `mandatory:"true" json:"id"` // The operation performed by the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The compartment OCID of this work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The time the work request was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The time the work request was started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the work request was finished, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest An asynchronous work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestActionResultEnum ¶
type WorkRequestActionResultEnum string
WorkRequestActionResultEnum Enum with underlying type: string
const ( WorkRequestActionResultCompartmentChanged WorkRequestActionResultEnum = "COMPARTMENT_CHANGED" WorkRequestActionResultCreated WorkRequestActionResultEnum = "CREATED" WorkRequestActionResultDeleted WorkRequestActionResultEnum = "DELETED" WorkRequestActionResultStarted WorkRequestActionResultEnum = "STARTED" WorkRequestActionResultStopped WorkRequestActionResultEnum = "STOPPED" WorkRequestActionResultScaled WorkRequestActionResultEnum = "SCALED" WorkRequestActionResultNetworkEndpointChanged WorkRequestActionResultEnum = "NETWORK_ENDPOINT_CHANGED" WorkRequestActionResultNone WorkRequestActionResultEnum = "NONE" )
Set of constants representing the allowable values for WorkRequestActionResultEnum
func GetWorkRequestActionResultEnumValues ¶
func GetWorkRequestActionResultEnumValues() []WorkRequestActionResultEnum
GetWorkRequestActionResultEnumValues Enumerates the set of values for WorkRequestActionResultEnum
type WorkRequestError ¶
type WorkRequestError struct { // A short error code that defines the error, meant for programmatic parsing. Code *string `mandatory:"true" json:"code"` // Error message. Message *string `mandatory:"true" json:"message"` // The date and time the error occured, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError Error encountered during the execution of a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestLog ¶
type WorkRequestLog struct { // The description of the event that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occured, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLog Log entries related to a specific work request.
func (WorkRequestLog) String ¶
func (m WorkRequestLog) String() string
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeCreateAnalyticsInstance WorkRequestOperationTypeEnum = "CREATE_ANALYTICS_INSTANCE" WorkRequestOperationTypeDeleteAnalyticsInstance WorkRequestOperationTypeEnum = "DELETE_ANALYTICS_INSTANCE" WorkRequestOperationTypeStartAnalyticsInstance WorkRequestOperationTypeEnum = "START_ANALYTICS_INSTANCE" WorkRequestOperationTypeStopAnalyticsInstance WorkRequestOperationTypeEnum = "STOP_ANALYTICS_INSTANCE" WorkRequestOperationTypeScaleAnalyticsInstance WorkRequestOperationTypeEnum = "SCALE_ANALYTICS_INSTANCE" WorkRequestOperationTypeChangeAnalyticsInstanceCompartment WorkRequestOperationTypeEnum = "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT" WorkRequestOperationTypeChangeAnalyticsInstanceNetworkEndpoint WorkRequestOperationTypeEnum = "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
type WorkRequestResource struct { // The way in which this resource was affected by this work request. ActionResult WorkRequestActionResultEnum `mandatory:"true" json:"actionResult"` // The type of the resource the work request is affecting. ResourceType WorkRequestResourceTypeEnum `mandatory:"true" json:"resourceType"` // The OCID of the resource the work request is affecting. Identifier *string `mandatory:"true" json:"identifier"` // The URI of the affected resource. ResourceUri *string `mandatory:"true" json:"resourceUri"` // Additional metadata of the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
WorkRequestResource The representation of WorkRequestResource
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
type WorkRequestResourceTypeEnum ¶
type WorkRequestResourceTypeEnum string
WorkRequestResourceTypeEnum Enum with underlying type: string
const (
WorkRequestResourceTypeAnalyticsInstance WorkRequestResourceTypeEnum = "ANALYTICS_INSTANCE"
)
Set of constants representing the allowable values for WorkRequestResourceTypeEnum
func GetWorkRequestResourceTypeEnumValues ¶
func GetWorkRequestResourceTypeEnumValues() []WorkRequestResourceTypeEnum
GetWorkRequestResourceTypeEnumValues Enumerates the set of values for WorkRequestResourceTypeEnum
type WorkRequestSortByEnum ¶
type WorkRequestSortByEnum string
WorkRequestSortByEnum Enum with underlying type: string
const ( WorkRequestSortById WorkRequestSortByEnum = "id" WorkRequestSortByOperationType WorkRequestSortByEnum = "operationType" WorkRequestSortByStatus WorkRequestSortByEnum = "status" WorkRequestSortByTimeAccepted WorkRequestSortByEnum = "timeAccepted" WorkRequestSortByTimeStarted WorkRequestSortByEnum = "timeStarted" WorkRequestSortByTimeFinished WorkRequestSortByEnum = "timeFinished" )
Set of constants representing the allowable values for WorkRequestSortByEnum
func GetWorkRequestSortByEnumValues ¶
func GetWorkRequestSortByEnumValues() []WorkRequestSortByEnum
GetWorkRequestSortByEnumValues Enumerates the set of values for WorkRequestSortByEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The resource OCID. Id *string `mandatory:"true" json:"id"` // The operation performed by the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The compartment OCID of this work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The time the work request was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The time the work request was started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the work request was finished, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary An asynchronous work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
Source Files ¶
- analytics_client.go
- analytics_instance.go
- analytics_instance_lifecycle_state.go
- analytics_instance_summary.go
- capacity.go
- capacity_type.go
- change_analytics_instance_compartment_request_response.go
- change_analytics_instance_network_endpoint_details.go
- change_analytics_instance_network_endpoint_request_response.go
- change_compartment_details.go
- create_analytics_instance_details.go
- create_analytics_instance_request_response.go
- delete_analytics_instance_request_response.go
- delete_work_request_request_response.go
- feature_set.go
- get_analytics_instance_request_response.go
- get_work_request_request_response.go
- license_type.go
- list_analytics_instances_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- network_endpoint_details.go
- network_endpoint_type.go
- private_endpoint_details.go
- public_endpoint_details.go
- scale_analytics_instance_details.go
- scale_analytics_instance_request_response.go
- sort_by.go
- sort_order.go
- start_analytics_instance_request_response.go
- stop_analytics_instance_request_response.go
- update_analytics_instance_details.go
- update_analytics_instance_request_response.go
- virtual_cloud_network.go
- work_request.go
- work_request_action_result.go
- work_request_error.go
- work_request_log.go
- work_request_operation_type.go
- work_request_resource.go
- work_request_resource_type.go
- work_request_sort_by.go
- work_request_status.go
- work_request_summary.go