oci-go-sdk: github.com/oracle/oci-go-sdk/analytics Index | Files

package analytics

import "github.com/oracle/oci-go-sdk/analytics"

Index

Package 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_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 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 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

type AnalyticsClient Uses

type AnalyticsClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

AnalyticsClient a client for Analytics

func NewAnalyticsClientWithConfigurationProvider Uses

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 Uses

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 Uses

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) ConfigurationProvider Uses

func (client *AnalyticsClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (AnalyticsClient) CreateAnalyticsInstance Uses

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 Uses

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 Uses

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 Uses

func (client AnalyticsClient) GetAnalyticsInstance(ctx context.Context, request GetAnalyticsInstanceRequest) (response GetAnalyticsInstanceResponse, err error)

GetAnalyticsInstance Info for a specific Analytics instance.

func (AnalyticsClient) GetWorkRequest Uses

func (client AnalyticsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Get the details of a work request.

func (AnalyticsClient) ListAnalyticsInstances Uses

func (client AnalyticsClient) ListAnalyticsInstances(ctx context.Context, request ListAnalyticsInstancesRequest) (response ListAnalyticsInstancesResponse, err error)

ListAnalyticsInstances List Analytics instances.

func (AnalyticsClient) ListWorkRequestErrors Uses

func (client AnalyticsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Get the errors of a work request.

func (AnalyticsClient) ListWorkRequestLogs Uses

func (client AnalyticsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Get the logs of a work request.

func (AnalyticsClient) ListWorkRequests Uses

func (client AnalyticsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests List all work requests in a compartment.

func (AnalyticsClient) ScaleAnalyticsInstance Uses

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 Uses

func (client *AnalyticsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (AnalyticsClient) StartAnalyticsInstance Uses

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 Uses

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 Uses

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 Uses

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"`

    // 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 Uses

func (m AnalyticsInstance) String() string

type AnalyticsInstanceLifecycleStateEnum Uses

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 Uses

func GetAnalyticsInstanceLifecycleStateEnumValues() []AnalyticsInstanceLifecycleStateEnum

GetAnalyticsInstanceLifecycleStateEnumValues Enumerates the set of values for AnalyticsInstanceLifecycleStateEnum

type AnalyticsInstanceSummary Uses

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"`

    // 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 Uses

func (m AnalyticsInstanceSummary) String() string

type Capacity Uses

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...).

func (Capacity) String Uses

func (m Capacity) String() string

type CapacityTypeEnum Uses

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 Uses

func GetCapacityTypeEnumValues() []CapacityTypeEnum

GetCapacityTypeEnumValues Enumerates the set of values for CapacityTypeEnum

type ChangeAnalyticsInstanceCompartmentRequest Uses

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 Uses

func (request ChangeAnalyticsInstanceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeAnalyticsInstanceCompartmentRequest) RetryPolicy Uses

func (request ChangeAnalyticsInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeAnalyticsInstanceCompartmentRequest) String Uses

func (request ChangeAnalyticsInstanceCompartmentRequest) String() string

type ChangeAnalyticsInstanceCompartmentResponse Uses

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 Uses

func (response ChangeAnalyticsInstanceCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeAnalyticsInstanceCompartmentResponse) String Uses

func (response ChangeAnalyticsInstanceCompartmentResponse) String() string

type ChangeCompartmentDetails Uses

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 Uses

func (m ChangeCompartmentDetails) String() string

type CreateAnalyticsInstanceDetails Uses

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"`

    // 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 Uses

func (m CreateAnalyticsInstanceDetails) String() string

type CreateAnalyticsInstanceRequest Uses

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 Uses

func (request CreateAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateAnalyticsInstanceRequest) RetryPolicy Uses

func (request CreateAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateAnalyticsInstanceRequest) String Uses

func (request CreateAnalyticsInstanceRequest) String() string

type CreateAnalyticsInstanceResponse Uses

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 Uses

func (response CreateAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateAnalyticsInstanceResponse) String Uses

func (response CreateAnalyticsInstanceResponse) String() string

type DeleteAnalyticsInstanceRequest Uses

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 Uses

func (request DeleteAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAnalyticsInstanceRequest) RetryPolicy Uses

func (request DeleteAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAnalyticsInstanceRequest) String Uses

func (request DeleteAnalyticsInstanceRequest) String() string

type DeleteAnalyticsInstanceResponse Uses

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 Uses

func (response DeleteAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAnalyticsInstanceResponse) String Uses

func (response DeleteAnalyticsInstanceResponse) String() string

type DeleteWorkRequestRequest Uses

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 Uses

func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy Uses

func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteWorkRequestRequest) String Uses

func (request DeleteWorkRequestRequest) String() string

type DeleteWorkRequestResponse Uses

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 Uses

func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String Uses

func (response DeleteWorkRequestResponse) String() string

type FeatureSetEnum Uses

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 Uses

func GetFeatureSetEnumValues() []FeatureSetEnum

GetFeatureSetEnumValues Enumerates the set of values for FeatureSetEnum

type GetAnalyticsInstanceRequest Uses

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 Uses

func (request GetAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAnalyticsInstanceRequest) RetryPolicy Uses

func (request GetAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAnalyticsInstanceRequest) String Uses

func (request GetAnalyticsInstanceRequest) String() string

type GetAnalyticsInstanceResponse Uses

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 Uses

func (response GetAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAnalyticsInstanceResponse) String Uses

func (response GetAnalyticsInstanceResponse) String() string

type GetWorkRequestRequest Uses

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 Uses

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy Uses

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String Uses

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse Uses

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 Uses

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String Uses

func (response GetWorkRequestResponse) String() string

type LicenseTypeEnum Uses

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 Uses

func GetLicenseTypeEnumValues() []LicenseTypeEnum

GetLicenseTypeEnumValues Enumerates the set of values for LicenseTypeEnum

type ListAnalyticsInstancesCapacityTypeEnum Uses

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 Uses

func GetListAnalyticsInstancesCapacityTypeEnumValues() []ListAnalyticsInstancesCapacityTypeEnum

GetListAnalyticsInstancesCapacityTypeEnumValues Enumerates the set of values for ListAnalyticsInstancesCapacityTypeEnum

type ListAnalyticsInstancesFeatureSetEnum Uses

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 Uses

func GetListAnalyticsInstancesFeatureSetEnumValues() []ListAnalyticsInstancesFeatureSetEnum

GetListAnalyticsInstancesFeatureSetEnumValues Enumerates the set of values for ListAnalyticsInstancesFeatureSetEnum

type ListAnalyticsInstancesLifecycleStateEnum Uses

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 Uses

func GetListAnalyticsInstancesLifecycleStateEnumValues() []ListAnalyticsInstancesLifecycleStateEnum

GetListAnalyticsInstancesLifecycleStateEnumValues Enumerates the set of values for ListAnalyticsInstancesLifecycleStateEnum

type ListAnalyticsInstancesRequest Uses

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 Uses

func (request ListAnalyticsInstancesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAnalyticsInstancesRequest) RetryPolicy Uses

func (request ListAnalyticsInstancesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAnalyticsInstancesRequest) String Uses

func (request ListAnalyticsInstancesRequest) String() string

type ListAnalyticsInstancesResponse Uses

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 Uses

func (response ListAnalyticsInstancesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAnalyticsInstancesResponse) String Uses

func (response ListAnalyticsInstancesResponse) String() string

type ListAnalyticsInstancesSortByEnum Uses

type ListAnalyticsInstancesSortByEnum string

ListAnalyticsInstancesSortByEnum Enum with underlying type: string

const (
    ListAnalyticsInstancesSortByCapacitytype   ListAnalyticsInstancesSortByEnum = "capacityType"
    ListAnalyticsInstancesSortByFeatureset     ListAnalyticsInstancesSortByEnum = "featureSet"
    ListAnalyticsInstancesSortByLifecyclestate ListAnalyticsInstancesSortByEnum = "lifecycleState"
    ListAnalyticsInstancesSortByName           ListAnalyticsInstancesSortByEnum = "name"
    ListAnalyticsInstancesSortByTimecreated    ListAnalyticsInstancesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListAnalyticsInstancesSortByEnum

func GetListAnalyticsInstancesSortByEnumValues Uses

func GetListAnalyticsInstancesSortByEnumValues() []ListAnalyticsInstancesSortByEnum

GetListAnalyticsInstancesSortByEnumValues Enumerates the set of values for ListAnalyticsInstancesSortByEnum

type ListAnalyticsInstancesSortOrderEnum Uses

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 Uses

func GetListAnalyticsInstancesSortOrderEnumValues() []ListAnalyticsInstancesSortOrderEnum

GetListAnalyticsInstancesSortOrderEnumValues Enumerates the set of values for ListAnalyticsInstancesSortOrderEnum

type ListWorkRequestErrorsRequest Uses

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 Uses

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy Uses

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String Uses

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse Uses

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 Uses

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String Uses

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest Uses

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 Uses

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy Uses

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String Uses

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse Uses

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 Uses

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String Uses

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest Uses

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 Uses

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy Uses

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String Uses

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResourceTypeEnum Uses

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 Uses

func GetListWorkRequestsResourceTypeEnumValues() []ListWorkRequestsResourceTypeEnum

GetListWorkRequestsResourceTypeEnumValues Enumerates the set of values for ListWorkRequestsResourceTypeEnum

type ListWorkRequestsResponse Uses

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 Uses

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String Uses

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum Uses

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 Uses

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

type ListWorkRequestsSortOrderEnum Uses

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 Uses

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

type ListWorkRequestsStatusEnum Uses

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 Uses

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

type ScaleAnalyticsInstanceDetails Uses

type ScaleAnalyticsInstanceDetails struct {
    Capacity *Capacity `mandatory:"true" json:"capacity"`
}

ScaleAnalyticsInstanceDetails Input payload to scale an Analytics instance up or down.

func (ScaleAnalyticsInstanceDetails) String Uses

func (m ScaleAnalyticsInstanceDetails) String() string

type ScaleAnalyticsInstanceRequest Uses

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 Uses

func (request ScaleAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScaleAnalyticsInstanceRequest) RetryPolicy Uses

func (request ScaleAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScaleAnalyticsInstanceRequest) String Uses

func (request ScaleAnalyticsInstanceRequest) String() string

type ScaleAnalyticsInstanceResponse Uses

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 Uses

func (response ScaleAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ScaleAnalyticsInstanceResponse) String Uses

func (response ScaleAnalyticsInstanceResponse) String() string

type SortByEnum Uses

type SortByEnum string

SortByEnum Enum with underlying type: string

const (
    SortByCapacityType   SortByEnum = "capacityType"
    SortByFeatureSet     SortByEnum = "featureSet"
    SortByLifecycleState SortByEnum = "lifecycleState"
    SortByName           SortByEnum = "name"
    SortByTimeCreated    SortByEnum = "timeCreated"
)

Set of constants representing the allowable values for SortByEnum

func GetSortByEnumValues Uses

func GetSortByEnumValues() []SortByEnum

GetSortByEnumValues Enumerates the set of values for SortByEnum

type SortOrderEnum Uses

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 Uses

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StartAnalyticsInstanceRequest Uses

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 Uses

func (request StartAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartAnalyticsInstanceRequest) RetryPolicy Uses

func (request StartAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StartAnalyticsInstanceRequest) String Uses

func (request StartAnalyticsInstanceRequest) String() string

type StartAnalyticsInstanceResponse Uses

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 Uses

func (response StartAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StartAnalyticsInstanceResponse) String Uses

func (response StartAnalyticsInstanceResponse) String() string

type StopAnalyticsInstanceRequest Uses

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 Uses

func (request StopAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StopAnalyticsInstanceRequest) RetryPolicy Uses

func (request StopAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StopAnalyticsInstanceRequest) String Uses

func (request StopAnalyticsInstanceRequest) String() string

type StopAnalyticsInstanceResponse Uses

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 Uses

func (response StopAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StopAnalyticsInstanceResponse) String Uses

func (response StopAnalyticsInstanceResponse) String() string

type UpdateAnalyticsInstanceDetails Uses

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 Uses

func (m UpdateAnalyticsInstanceDetails) String() string

type UpdateAnalyticsInstanceRequest Uses

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 Uses

func (request UpdateAnalyticsInstanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAnalyticsInstanceRequest) RetryPolicy Uses

func (request UpdateAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAnalyticsInstanceRequest) String Uses

func (request UpdateAnalyticsInstanceRequest) String() string

type UpdateAnalyticsInstanceResponse Uses

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 Uses

func (response UpdateAnalyticsInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAnalyticsInstanceResponse) String Uses

func (response UpdateAnalyticsInstanceResponse) String() string

type WorkRequest Uses

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 Uses

func (m WorkRequest) String() string

type WorkRequestActionResultEnum Uses

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"
    WorkRequestActionResultNone               WorkRequestActionResultEnum = "NONE"
)

Set of constants representing the allowable values for WorkRequestActionResultEnum

func GetWorkRequestActionResultEnumValues Uses

func GetWorkRequestActionResultEnumValues() []WorkRequestActionResultEnum

GetWorkRequestActionResultEnumValues Enumerates the set of values for WorkRequestActionResultEnum

type WorkRequestError Uses

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 Uses

func (m WorkRequestError) String() string

type WorkRequestLog Uses

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 Uses

func (m WorkRequestLog) String() string

type WorkRequestOperationTypeEnum Uses

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"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetWorkRequestOperationTypeEnumValues Uses

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource Uses

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 Uses

func (m WorkRequestResource) String() string

type WorkRequestResourceTypeEnum Uses

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 Uses

func GetWorkRequestResourceTypeEnumValues() []WorkRequestResourceTypeEnum

GetWorkRequestResourceTypeEnumValues Enumerates the set of values for WorkRequestResourceTypeEnum

type WorkRequestSortByEnum Uses

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 Uses

func GetWorkRequestSortByEnumValues() []WorkRequestSortByEnum

GetWorkRequestSortByEnumValues Enumerates the set of values for WorkRequestSortByEnum

type WorkRequestStatusEnum Uses

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 Uses

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary Uses

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 Uses

func (m WorkRequestSummary) String() string

Package analytics imports 4 packages (graph). Updated 2020-04-08. Refresh now. Tools for package owners.