resourceanalytics

package
v65.121.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues

func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues() []string

GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues Enumerates the set of values in String for AdwAdminPasswordDetailsPasswordTypeEnum

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues() []string

GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues Enumerates the set of values in String for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetListMonitoredRegionsSortByEnumStringValues

func GetListMonitoredRegionsSortByEnumStringValues() []string

GetListMonitoredRegionsSortByEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortByEnum

func GetListMonitoredRegionsSortOrderEnumStringValues

func GetListMonitoredRegionsSortOrderEnumStringValues() []string

GetListMonitoredRegionsSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortOrderEnum

func GetListResourceAnalyticsInstancesSortByEnumStringValues

func GetListResourceAnalyticsInstancesSortByEnumStringValues() []string

GetListResourceAnalyticsInstancesSortByEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortByEnum

func GetListResourceAnalyticsInstancesSortOrderEnumStringValues

func GetListResourceAnalyticsInstancesSortOrderEnumStringValues() []string

GetListResourceAnalyticsInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortOrderEnum

func GetListTenancyAttachmentsSortByEnumStringValues

func GetListTenancyAttachmentsSortByEnumStringValues() []string

GetListTenancyAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortByEnum

func GetListTenancyAttachmentsSortOrderEnumStringValues

func GetListTenancyAttachmentsSortOrderEnumStringValues() []string

GetListTenancyAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMonitoredRegionLifecycleStateEnumStringValues

func GetMonitoredRegionLifecycleStateEnumStringValues() []string

GetMonitoredRegionLifecycleStateEnumStringValues Enumerates the set of values in String for MonitoredRegionLifecycleStateEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues() []string

GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues

func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues() []string

GetResourceAnalyticsInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceLifecycleStateEnum

func GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumStringValues added in v65.115.0

func GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumStringValues() []string

GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues() []string

GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTenancyAttachmentDataPopulationStatusEnumStringValues added in v65.115.0

func GetTenancyAttachmentDataPopulationStatusEnumStringValues() []string

GetTenancyAttachmentDataPopulationStatusEnumStringValues Enumerates the set of values in String for TenancyAttachmentDataPopulationStatusEnum

func GetTenancyAttachmentLifecycleStateEnumStringValues

func GetTenancyAttachmentLifecycleStateEnumStringValues() []string

GetTenancyAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for TenancyAttachmentLifecycleStateEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AdwAdminPasswordDetails

type AdwAdminPasswordDetails interface {
}

AdwAdminPasswordDetails Details for the ADW Admin password. Password can be passed as `VaultSecretPasswordDetails` or `PlainTextPasswordDetails`. Example: `{"passwordType":"PLAIN_TEXT","password":"..."}` Example: `{"passwordType":"VAULT_SECRET","secretId":"ocid..."}`

type AdwAdminPasswordDetailsPasswordTypeEnum

type AdwAdminPasswordDetailsPasswordTypeEnum string

AdwAdminPasswordDetailsPasswordTypeEnum Enum with underlying type: string

const (
	AdwAdminPasswordDetailsPasswordTypePlainText   AdwAdminPasswordDetailsPasswordTypeEnum = "PLAIN_TEXT"
	AdwAdminPasswordDetailsPasswordTypeVaultSecret AdwAdminPasswordDetailsPasswordTypeEnum = "VAULT_SECRET"
)

Set of constants representing the allowable values for AdwAdminPasswordDetailsPasswordTypeEnum

func GetAdwAdminPasswordDetailsPasswordTypeEnumValues

func GetAdwAdminPasswordDetailsPasswordTypeEnumValues() []AdwAdminPasswordDetailsPasswordTypeEnum

GetAdwAdminPasswordDetailsPasswordTypeEnumValues Enumerates the set of values for AdwAdminPasswordDetailsPasswordTypeEnum

func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum

func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum(val string) (AdwAdminPasswordDetailsPasswordTypeEnum, bool)

GetMappingAdwAdminPasswordDetailsPasswordTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CancelWorkRequestRequest

type CancelWorkRequestRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous 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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

func (CancelWorkRequestRequest) BinaryRequestBody

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse

type CancelWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeResourceAnalyticsInstanceCompartmentDetails

type ChangeResourceAnalyticsInstanceCompartmentDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the ResourceAnalyticsInstance to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeResourceAnalyticsInstanceCompartmentDetails The configuration details for the move operation.

func (ChangeResourceAnalyticsInstanceCompartmentDetails) String

func (ChangeResourceAnalyticsInstanceCompartmentDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeResourceAnalyticsInstanceCompartmentRequest

type ChangeResourceAnalyticsInstanceCompartmentRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// The information to be updated.
	ChangeResourceAnalyticsInstanceCompartmentDetails `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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ChangeResourceAnalyticsInstanceCompartmentRequest wrapper for the ChangeResourceAnalyticsInstanceCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ChangeResourceAnalyticsInstanceCompartment.go.html to see an example of how to use ChangeResourceAnalyticsInstanceCompartmentRequest.

func (ChangeResourceAnalyticsInstanceCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeResourceAnalyticsInstanceCompartmentRequest) HTTPRequest

func (request ChangeResourceAnalyticsInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeResourceAnalyticsInstanceCompartmentRequest) RetryPolicy

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

func (ChangeResourceAnalyticsInstanceCompartmentRequest) String

func (ChangeResourceAnalyticsInstanceCompartmentRequest) ValidateEnumValue

func (request ChangeResourceAnalyticsInstanceCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeResourceAnalyticsInstanceCompartmentResponse

type ChangeResourceAnalyticsInstanceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeResourceAnalyticsInstanceCompartmentResponse wrapper for the ChangeResourceAnalyticsInstanceCompartment operation

func (ChangeResourceAnalyticsInstanceCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeResourceAnalyticsInstanceCompartmentResponse) String

type CreateMonitoredRegionDetails

type CreateMonitoredRegionDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The Region Identifier (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion.
	RegionId *string `mandatory:"true" json:"regionId"`
}

CreateMonitoredRegionDetails The data to create a MonitoredRegion.

func (CreateMonitoredRegionDetails) String

func (CreateMonitoredRegionDetails) ValidateEnumValue

func (m CreateMonitoredRegionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMonitoredRegionRequest

type CreateMonitoredRegionRequest struct {

	// Details for the new MonitoredRegion.
	CreateMonitoredRegionDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of running 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 removed from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

CreateMonitoredRegionRequest wrapper for the CreateMonitoredRegion operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateMonitoredRegion.go.html to see an example of how to use CreateMonitoredRegionRequest.

func (CreateMonitoredRegionRequest) BinaryRequestBody

func (request CreateMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMonitoredRegionRequest) HTTPRequest

func (request CreateMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMonitoredRegionRequest) RetryPolicy

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

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

func (CreateMonitoredRegionRequest) String

func (request CreateMonitoredRegionRequest) String() string

func (CreateMonitoredRegionRequest) ValidateEnumValue

func (request CreateMonitoredRegionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMonitoredRegionResponse

type CreateMonitoredRegionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MonitoredRegion instance
	MonitoredRegion `presentIn:"body"`

	// URL for the created MonitoredRegion. The MonitoredRegion OCID is generated after this request is sent.
	Location *string `presentIn:"header" name:"location"`

	// Same as location.
	ContentLocation *string `presentIn:"header" name:"content-location"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateMonitoredRegionResponse wrapper for the CreateMonitoredRegion operation

func (CreateMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMonitoredRegionResponse) String

func (response CreateMonitoredRegionResponse) String() string

type CreateResourceAnalyticsInstanceDetails

type CreateResourceAnalyticsInstanceDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ResourceAnalyticsInstance in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	AdwAdminPassword AdwAdminPasswordDetails `mandatory:"true" json:"adwAdminPassword"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A description of the ResourceAnalyticsInstance instance.
	Description *string `mandatory:"false" json:"description"`

	// Require mutual TLS (mTLS) when authenticating connections to the ADW database.
	IsMutualTlsRequired *bool `mandatory:"false" json:"isMutualTlsRequired"`

	// List of Network Security Group OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)'s.
	// Example: `["ocid...", "ocid..."]`
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The compute amount (CPUs) available to the Autonomous Database.
	ComputeCount *int `mandatory:"false" json:"computeCount"`

	// The Oracle license model that applies to the ADW instance.
	LicenseModel CreateResourceAnalyticsInstanceDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`

	// 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateResourceAnalyticsInstanceDetails The data to create a ResourceAnalyticsInstance.

func (CreateResourceAnalyticsInstanceDetails) String

func (*CreateResourceAnalyticsInstanceDetails) UnmarshalJSON

func (m *CreateResourceAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateResourceAnalyticsInstanceDetails) ValidateEnumValue

func (m CreateResourceAnalyticsInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

type CreateResourceAnalyticsInstanceDetailsLicenseModelEnum string

CreateResourceAnalyticsInstanceDetailsLicenseModelEnum Enum with underlying type: string

const (
	CreateResourceAnalyticsInstanceDetailsLicenseModelLicenseIncluded     CreateResourceAnalyticsInstanceDetailsLicenseModelEnum = "LICENSE_INCLUDED"
	CreateResourceAnalyticsInstanceDetailsLicenseModelBringYourOwnLicense CreateResourceAnalyticsInstanceDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues() []CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues Enumerates the set of values for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum(val string) (CreateResourceAnalyticsInstanceDetailsLicenseModelEnum, bool)

GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateResourceAnalyticsInstanceRequest

type CreateResourceAnalyticsInstanceRequest struct {

	// Details for the new ResourceAnalyticsInstance.
	CreateResourceAnalyticsInstanceDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of running 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 removed from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

CreateResourceAnalyticsInstanceRequest wrapper for the CreateResourceAnalyticsInstance operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateResourceAnalyticsInstance.go.html to see an example of how to use CreateResourceAnalyticsInstanceRequest.

func (CreateResourceAnalyticsInstanceRequest) BinaryRequestBody

func (request CreateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateResourceAnalyticsInstanceRequest) HTTPRequest

func (request CreateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateResourceAnalyticsInstanceRequest) RetryPolicy

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

func (CreateResourceAnalyticsInstanceRequest) String

func (CreateResourceAnalyticsInstanceRequest) ValidateEnumValue

func (request CreateResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateResourceAnalyticsInstanceResponse

type CreateResourceAnalyticsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResourceAnalyticsInstance instance
	ResourceAnalyticsInstance `presentIn:"body"`

	// URL for the created ResourceAnalyticsInstance. The ResourceAnalyticsInstance OCID is generated after this request is sent.
	Location *string `presentIn:"header" name:"location"`

	// Same as location.
	ContentLocation *string `presentIn:"header" name:"content-location"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateResourceAnalyticsInstanceResponse wrapper for the CreateResourceAnalyticsInstance operation

func (CreateResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateResourceAnalyticsInstanceResponse) String

type CreateTenancyAttachmentDetails

type CreateTenancyAttachmentDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment.
	TenancyId *string `mandatory:"true" json:"tenancyId"`

	// A description of the tenancy.
	Description *string `mandatory:"false" json:"description"`
}

CreateTenancyAttachmentDetails The data to create a TenancyAttachment.

func (CreateTenancyAttachmentDetails) String

func (CreateTenancyAttachmentDetails) ValidateEnumValue

func (m CreateTenancyAttachmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTenancyAttachmentRequest

type CreateTenancyAttachmentRequest struct {

	// Details for the new TenancyAttachment.
	CreateTenancyAttachmentDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of running 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 removed from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

CreateTenancyAttachmentRequest wrapper for the CreateTenancyAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateTenancyAttachment.go.html to see an example of how to use CreateTenancyAttachmentRequest.

func (CreateTenancyAttachmentRequest) BinaryRequestBody

func (request CreateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTenancyAttachmentRequest) HTTPRequest

func (request CreateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTenancyAttachmentRequest) RetryPolicy

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

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

func (CreateTenancyAttachmentRequest) String

func (request CreateTenancyAttachmentRequest) String() string

func (CreateTenancyAttachmentRequest) ValidateEnumValue

func (request CreateTenancyAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTenancyAttachmentResponse

type CreateTenancyAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TenancyAttachment instance
	TenancyAttachment `presentIn:"body"`

	// URL for the created TenancyAttachment. The TenancyAttachment OCID is generated after this request is sent.
	Location *string `presentIn:"header" name:"location"`

	// Same as location.
	ContentLocation *string `presentIn:"header" name:"content-location"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateTenancyAttachmentResponse wrapper for the CreateTenancyAttachment operation

func (CreateTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTenancyAttachmentResponse) String

func (response CreateTenancyAttachmentResponse) String() string

type DeleteMonitoredRegionRequest

type DeleteMonitoredRegionRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion.
	MonitoredRegionId *string `mandatory:"true" contributesTo:"path" name:"monitoredRegionId"`

	// 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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

DeleteMonitoredRegionRequest wrapper for the DeleteMonitoredRegion operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteMonitoredRegion.go.html to see an example of how to use DeleteMonitoredRegionRequest.

func (DeleteMonitoredRegionRequest) BinaryRequestBody

func (request DeleteMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMonitoredRegionRequest) HTTPRequest

func (request DeleteMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMonitoredRegionRequest) RetryPolicy

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

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

func (DeleteMonitoredRegionRequest) String

func (request DeleteMonitoredRegionRequest) String() string

func (DeleteMonitoredRegionRequest) ValidateEnumValue

func (request DeleteMonitoredRegionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMonitoredRegionResponse

type DeleteMonitoredRegionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteMonitoredRegionResponse wrapper for the DeleteMonitoredRegion operation

func (DeleteMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMonitoredRegionResponse) String

func (response DeleteMonitoredRegionResponse) String() string

type DeleteResourceAnalyticsInstanceRequest

type DeleteResourceAnalyticsInstanceRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// 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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

DeleteResourceAnalyticsInstanceRequest wrapper for the DeleteResourceAnalyticsInstance operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteResourceAnalyticsInstance.go.html to see an example of how to use DeleteResourceAnalyticsInstanceRequest.

func (DeleteResourceAnalyticsInstanceRequest) BinaryRequestBody

func (request DeleteResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteResourceAnalyticsInstanceRequest) HTTPRequest

func (request DeleteResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResourceAnalyticsInstanceRequest) RetryPolicy

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

func (DeleteResourceAnalyticsInstanceRequest) String

func (DeleteResourceAnalyticsInstanceRequest) ValidateEnumValue

func (request DeleteResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteResourceAnalyticsInstanceResponse

type DeleteResourceAnalyticsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteResourceAnalyticsInstanceResponse wrapper for the DeleteResourceAnalyticsInstance operation

func (DeleteResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteResourceAnalyticsInstanceResponse) String

type DeleteTenancyAttachmentRequest

type DeleteTenancyAttachmentRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	TenancyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"tenancyAttachmentId"`

	// 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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

DeleteTenancyAttachmentRequest wrapper for the DeleteTenancyAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteTenancyAttachment.go.html to see an example of how to use DeleteTenancyAttachmentRequest.

func (DeleteTenancyAttachmentRequest) BinaryRequestBody

func (request DeleteTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTenancyAttachmentRequest) HTTPRequest

func (request DeleteTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTenancyAttachmentRequest) RetryPolicy

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

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

func (DeleteTenancyAttachmentRequest) String

func (request DeleteTenancyAttachmentRequest) String() string

func (DeleteTenancyAttachmentRequest) ValidateEnumValue

func (request DeleteTenancyAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTenancyAttachmentResponse

type DeleteTenancyAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTenancyAttachmentResponse wrapper for the DeleteTenancyAttachment operation

func (DeleteTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTenancyAttachmentResponse) String

func (response DeleteTenancyAttachmentResponse) String() string

type GetMonitoredRegionRequest

type GetMonitoredRegionRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion.
	MonitoredRegionId *string `mandatory:"true" contributesTo:"path" name:"monitoredRegionId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

GetMonitoredRegionRequest wrapper for the GetMonitoredRegion operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetMonitoredRegion.go.html to see an example of how to use GetMonitoredRegionRequest.

func (GetMonitoredRegionRequest) BinaryRequestBody

func (request GetMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMonitoredRegionRequest) HTTPRequest

func (request GetMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMonitoredRegionRequest) RetryPolicy

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

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

func (GetMonitoredRegionRequest) String

func (request GetMonitoredRegionRequest) String() string

func (GetMonitoredRegionRequest) ValidateEnumValue

func (request GetMonitoredRegionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetMonitoredRegionResponse

type GetMonitoredRegionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MonitoredRegion instance
	MonitoredRegion `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"`
}

GetMonitoredRegionResponse wrapper for the GetMonitoredRegion operation

func (GetMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitoredRegionResponse) String

func (response GetMonitoredRegionResponse) String() string

type GetResourceAnalyticsInstanceRequest

type GetResourceAnalyticsInstanceRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

GetResourceAnalyticsInstanceRequest wrapper for the GetResourceAnalyticsInstance operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetResourceAnalyticsInstance.go.html to see an example of how to use GetResourceAnalyticsInstanceRequest.

func (GetResourceAnalyticsInstanceRequest) BinaryRequestBody

func (request GetResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResourceAnalyticsInstanceRequest) HTTPRequest

func (request GetResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResourceAnalyticsInstanceRequest) RetryPolicy

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

func (GetResourceAnalyticsInstanceRequest) String

func (GetResourceAnalyticsInstanceRequest) ValidateEnumValue

func (request GetResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResourceAnalyticsInstanceResponse

type GetResourceAnalyticsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResourceAnalyticsInstance instance
	ResourceAnalyticsInstance `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"`
}

GetResourceAnalyticsInstanceResponse wrapper for the GetResourceAnalyticsInstance operation

func (GetResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetResourceAnalyticsInstanceResponse) String

func (response GetResourceAnalyticsInstanceResponse) String() string

type GetTenancyAttachmentRequest

type GetTenancyAttachmentRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	TenancyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"tenancyAttachmentId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

GetTenancyAttachmentRequest wrapper for the GetTenancyAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetTenancyAttachment.go.html to see an example of how to use GetTenancyAttachmentRequest.

func (GetTenancyAttachmentRequest) BinaryRequestBody

func (request GetTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTenancyAttachmentRequest) HTTPRequest

func (request GetTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTenancyAttachmentRequest) RetryPolicy

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

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

func (GetTenancyAttachmentRequest) String

func (request GetTenancyAttachmentRequest) String() string

func (GetTenancyAttachmentRequest) ValidateEnumValue

func (request GetTenancyAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTenancyAttachmentResponse

type GetTenancyAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TenancyAttachment instance
	TenancyAttachment `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"`
}

GetTenancyAttachmentResponse wrapper for the GetTenancyAttachment operation

func (GetTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTenancyAttachmentResponse) String

func (response GetTenancyAttachmentResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *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 ListMonitoredRegionsRequest

type ListMonitoredRegionsRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"false" contributesTo:"query" name:"resourceAnalyticsInstanceId"`

	// A filter to return only resources that match the given lifecycle state. The
	// state value is case-insensitive.
	LifecycleState MonitoredRegionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion.
	Id *string `mandatory:"false" contributesTo:"query" name:"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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListMonitoredRegionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can provide only one sort order. Default order for `TIME_CREATED`
	// is descending. Default order for `REGION_ID` is ascending.
	SortBy ListMonitoredRegionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ListMonitoredRegionsRequest wrapper for the ListMonitoredRegions operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListMonitoredRegions.go.html to see an example of how to use ListMonitoredRegionsRequest.

func (ListMonitoredRegionsRequest) BinaryRequestBody

func (request ListMonitoredRegionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMonitoredRegionsRequest) HTTPRequest

func (request ListMonitoredRegionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMonitoredRegionsRequest) RetryPolicy

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

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

func (ListMonitoredRegionsRequest) String

func (request ListMonitoredRegionsRequest) String() string

func (ListMonitoredRegionsRequest) ValidateEnumValue

func (request ListMonitoredRegionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMonitoredRegionsResponse

type ListMonitoredRegionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MonitoredRegionCollection instances
	MonitoredRegionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMonitoredRegionsResponse wrapper for the ListMonitoredRegions operation

func (ListMonitoredRegionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMonitoredRegionsResponse) String

func (response ListMonitoredRegionsResponse) String() string

type ListMonitoredRegionsSortByEnum

type ListMonitoredRegionsSortByEnum string

ListMonitoredRegionsSortByEnum Enum with underlying type: string

const (
	ListMonitoredRegionsSortByTimeCreated ListMonitoredRegionsSortByEnum = "TIME_CREATED"
	ListMonitoredRegionsSortByRegionId    ListMonitoredRegionsSortByEnum = "REGION_ID"
)

Set of constants representing the allowable values for ListMonitoredRegionsSortByEnum

func GetListMonitoredRegionsSortByEnumValues

func GetListMonitoredRegionsSortByEnumValues() []ListMonitoredRegionsSortByEnum

GetListMonitoredRegionsSortByEnumValues Enumerates the set of values for ListMonitoredRegionsSortByEnum

func GetMappingListMonitoredRegionsSortByEnum

func GetMappingListMonitoredRegionsSortByEnum(val string) (ListMonitoredRegionsSortByEnum, bool)

GetMappingListMonitoredRegionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMonitoredRegionsSortOrderEnum

type ListMonitoredRegionsSortOrderEnum string

ListMonitoredRegionsSortOrderEnum Enum with underlying type: string

const (
	ListMonitoredRegionsSortOrderAsc  ListMonitoredRegionsSortOrderEnum = "ASC"
	ListMonitoredRegionsSortOrderDesc ListMonitoredRegionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMonitoredRegionsSortOrderEnum

func GetListMonitoredRegionsSortOrderEnumValues

func GetListMonitoredRegionsSortOrderEnumValues() []ListMonitoredRegionsSortOrderEnum

GetListMonitoredRegionsSortOrderEnumValues Enumerates the set of values for ListMonitoredRegionsSortOrderEnum

func GetMappingListMonitoredRegionsSortOrderEnum

func GetMappingListMonitoredRegionsSortOrderEnum(val string) (ListMonitoredRegionsSortOrderEnum, bool)

GetMappingListMonitoredRegionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceAnalyticsInstancesRequest

type ListResourceAnalyticsInstancesRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given lifecycle state. The
	// state value is case-insensitive.
	LifecycleState ResourceAnalyticsInstanceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	Id *string `mandatory:"false" contributesTo:"query" name:"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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListResourceAnalyticsInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can provide only one sort order. Default order for `TIME_CREATED`
	// is descending. Default order for `DISPLAY_NAME` is ascending.
	SortBy ListResourceAnalyticsInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ListResourceAnalyticsInstancesRequest wrapper for the ListResourceAnalyticsInstances operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListResourceAnalyticsInstances.go.html to see an example of how to use ListResourceAnalyticsInstancesRequest.

func (ListResourceAnalyticsInstancesRequest) BinaryRequestBody

func (request ListResourceAnalyticsInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceAnalyticsInstancesRequest) HTTPRequest

func (request ListResourceAnalyticsInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceAnalyticsInstancesRequest) RetryPolicy

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

func (ListResourceAnalyticsInstancesRequest) String

func (ListResourceAnalyticsInstancesRequest) ValidateEnumValue

func (request ListResourceAnalyticsInstancesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceAnalyticsInstancesResponse

type ListResourceAnalyticsInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceAnalyticsInstanceCollection instances
	ResourceAnalyticsInstanceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceAnalyticsInstancesResponse wrapper for the ListResourceAnalyticsInstances operation

func (ListResourceAnalyticsInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListResourceAnalyticsInstancesResponse) String

type ListResourceAnalyticsInstancesSortByEnum

type ListResourceAnalyticsInstancesSortByEnum string

ListResourceAnalyticsInstancesSortByEnum Enum with underlying type: string

const (
	ListResourceAnalyticsInstancesSortByTimeCreated ListResourceAnalyticsInstancesSortByEnum = "TIME_CREATED"
	ListResourceAnalyticsInstancesSortByDisplayName ListResourceAnalyticsInstancesSortByEnum = "DISPLAY_NAME"
)

Set of constants representing the allowable values for ListResourceAnalyticsInstancesSortByEnum

func GetListResourceAnalyticsInstancesSortByEnumValues

func GetListResourceAnalyticsInstancesSortByEnumValues() []ListResourceAnalyticsInstancesSortByEnum

GetListResourceAnalyticsInstancesSortByEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortByEnum

func GetMappingListResourceAnalyticsInstancesSortByEnum

func GetMappingListResourceAnalyticsInstancesSortByEnum(val string) (ListResourceAnalyticsInstancesSortByEnum, bool)

GetMappingListResourceAnalyticsInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceAnalyticsInstancesSortOrderEnum

type ListResourceAnalyticsInstancesSortOrderEnum string

ListResourceAnalyticsInstancesSortOrderEnum Enum with underlying type: string

const (
	ListResourceAnalyticsInstancesSortOrderAsc  ListResourceAnalyticsInstancesSortOrderEnum = "ASC"
	ListResourceAnalyticsInstancesSortOrderDesc ListResourceAnalyticsInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceAnalyticsInstancesSortOrderEnum

func GetListResourceAnalyticsInstancesSortOrderEnumValues

func GetListResourceAnalyticsInstancesSortOrderEnumValues() []ListResourceAnalyticsInstancesSortOrderEnum

GetListResourceAnalyticsInstancesSortOrderEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortOrderEnum

func GetMappingListResourceAnalyticsInstancesSortOrderEnum

func GetMappingListResourceAnalyticsInstancesSortOrderEnum(val string) (ListResourceAnalyticsInstancesSortOrderEnum, bool)

GetMappingListResourceAnalyticsInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTenancyAttachmentsRequest

type ListTenancyAttachmentsRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"false" contributesTo:"query" name:"resourceAnalyticsInstanceId"`

	// A filter to return only resources that match the given lifecycle state. The
	// state value is case-insensitive.
	LifecycleState TenancyAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	Id *string `mandatory:"false" contributesTo:"query" name:"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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListTenancyAttachmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can provide only one sort order. Default order for `TIME_CREATED`
	// is descending. Default order for `DESCRIPTION` is ascending.
	SortBy ListTenancyAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ListTenancyAttachmentsRequest wrapper for the ListTenancyAttachments operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListTenancyAttachments.go.html to see an example of how to use ListTenancyAttachmentsRequest.

func (ListTenancyAttachmentsRequest) BinaryRequestBody

func (request ListTenancyAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTenancyAttachmentsRequest) HTTPRequest

func (request ListTenancyAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTenancyAttachmentsRequest) RetryPolicy

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

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

func (ListTenancyAttachmentsRequest) String

func (request ListTenancyAttachmentsRequest) String() string

func (ListTenancyAttachmentsRequest) ValidateEnumValue

func (request ListTenancyAttachmentsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTenancyAttachmentsResponse

type ListTenancyAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TenancyAttachmentCollection instances
	TenancyAttachmentCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTenancyAttachmentsResponse wrapper for the ListTenancyAttachments operation

func (ListTenancyAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTenancyAttachmentsResponse) String

func (response ListTenancyAttachmentsResponse) String() string

type ListTenancyAttachmentsSortByEnum

type ListTenancyAttachmentsSortByEnum string

ListTenancyAttachmentsSortByEnum Enum with underlying type: string

const (
	ListTenancyAttachmentsSortByTimeCreated ListTenancyAttachmentsSortByEnum = "TIME_CREATED"
	ListTenancyAttachmentsSortByDescription ListTenancyAttachmentsSortByEnum = "DESCRIPTION"
)

Set of constants representing the allowable values for ListTenancyAttachmentsSortByEnum

func GetListTenancyAttachmentsSortByEnumValues

func GetListTenancyAttachmentsSortByEnumValues() []ListTenancyAttachmentsSortByEnum

GetListTenancyAttachmentsSortByEnumValues Enumerates the set of values for ListTenancyAttachmentsSortByEnum

func GetMappingListTenancyAttachmentsSortByEnum

func GetMappingListTenancyAttachmentsSortByEnum(val string) (ListTenancyAttachmentsSortByEnum, bool)

GetMappingListTenancyAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTenancyAttachmentsSortOrderEnum

type ListTenancyAttachmentsSortOrderEnum string

ListTenancyAttachmentsSortOrderEnum Enum with underlying type: string

const (
	ListTenancyAttachmentsSortOrderAsc  ListTenancyAttachmentsSortOrderEnum = "ASC"
	ListTenancyAttachmentsSortOrderDesc ListTenancyAttachmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTenancyAttachmentsSortOrderEnum

func GetListTenancyAttachmentsSortOrderEnumValues

func GetListTenancyAttachmentsSortOrderEnumValues() []ListTenancyAttachmentsSortOrderEnum

GetListTenancyAttachmentsSortOrderEnumValues Enumerates the set of values for ListTenancyAttachmentsSortOrderEnum

func GetMappingListTenancyAttachmentsSortOrderEnum

func GetMappingListTenancyAttachmentsSortOrderEnum(val string) (ListTenancyAttachmentsSortOrderEnum, bool)

GetMappingListTenancyAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListWorkRequestErrorsSortOrderEnum `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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `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.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 ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListWorkRequestLogsSortOrderEnum `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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `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.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 ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

	// A filter to return only the resources that match the given lifecycle state.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestSummaryCollection instances
	WorkRequestSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

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 (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
	ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type MonitoredRegion

type MonitoredRegion struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The Region Identifier (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion.
	RegionId *string `mandatory:"true" json:"regionId"`

	// The date and time the MonitoredRegion was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the MonitoredRegion.
	LifecycleState MonitoredRegionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the MonitoredRegion was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the MonitoredRegion in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

MonitoredRegion A MonitoredRegion is a region to collect data for the associated ResourceAnalyticsInstance. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

func (MonitoredRegion) String

func (m MonitoredRegion) String() string

func (MonitoredRegion) ValidateEnumValue

func (m MonitoredRegion) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MonitoredRegionClient

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

MonitoredRegionClient a client for MonitoredRegion

func NewMonitoredRegionClientWithConfigurationProvider

func NewMonitoredRegionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MonitoredRegionClient, err error)

NewMonitoredRegionClientWithConfigurationProvider Creates a new default MonitoredRegion client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewMonitoredRegionClientWithOboToken

func NewMonitoredRegionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MonitoredRegionClient, err error)

NewMonitoredRegionClientWithOboToken Creates a new default MonitoredRegion 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 (*MonitoredRegionClient) ConfigurationProvider

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

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

func (MonitoredRegionClient) CreateMonitoredRegion

func (client MonitoredRegionClient) CreateMonitoredRegion(ctx context.Context, request CreateMonitoredRegionRequest) (response CreateMonitoredRegionResponse, err error)

CreateMonitoredRegion Creates a MonitoredRegion.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateMonitoredRegion.go.html to see an example of how to use CreateMonitoredRegion API. A default retry strategy applies to this operation CreateMonitoredRegion()

func (MonitoredRegionClient) DeleteMonitoredRegion

func (client MonitoredRegionClient) DeleteMonitoredRegion(ctx context.Context, request DeleteMonitoredRegionRequest) (response DeleteMonitoredRegionResponse, err error)

DeleteMonitoredRegion Deletes a MonitoredRegion.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteMonitoredRegion.go.html to see an example of how to use DeleteMonitoredRegion API. A default retry strategy applies to this operation DeleteMonitoredRegion()

func (MonitoredRegionClient) GetMonitoredRegion

func (client MonitoredRegionClient) GetMonitoredRegion(ctx context.Context, request GetMonitoredRegionRequest) (response GetMonitoredRegionResponse, err error)

GetMonitoredRegion Gets information about a MonitoredRegion.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetMonitoredRegion.go.html to see an example of how to use GetMonitoredRegion API. A default retry strategy applies to this operation GetMonitoredRegion()

func (MonitoredRegionClient) ListMonitoredRegions

func (client MonitoredRegionClient) ListMonitoredRegions(ctx context.Context, request ListMonitoredRegionsRequest) (response ListMonitoredRegionsResponse, err error)

ListMonitoredRegions Gets a list of MonitoredRegions.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListMonitoredRegions.go.html to see an example of how to use ListMonitoredRegions API. A default retry strategy applies to this operation ListMonitoredRegions()

func (*MonitoredRegionClient) SetRegion

func (client *MonitoredRegionClient) SetRegion(region string)

SetRegion overrides the region of this client.

type MonitoredRegionCollection

type MonitoredRegionCollection struct {

	// List of MonitoredRegions.
	Items []MonitoredRegionSummary `mandatory:"true" json:"items"`
}

MonitoredRegionCollection Results of a MonitoredRegion search. Contains both MonitoredRegionSummary items and other information, such as metadata.

func (MonitoredRegionCollection) String

func (m MonitoredRegionCollection) String() string

func (MonitoredRegionCollection) ValidateEnumValue

func (m MonitoredRegionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MonitoredRegionLifecycleStateEnum

type MonitoredRegionLifecycleStateEnum string

MonitoredRegionLifecycleStateEnum Enum with underlying type: string

const (
	MonitoredRegionLifecycleStateCreating MonitoredRegionLifecycleStateEnum = "CREATING"
	MonitoredRegionLifecycleStateUpdating MonitoredRegionLifecycleStateEnum = "UPDATING"
	MonitoredRegionLifecycleStateActive   MonitoredRegionLifecycleStateEnum = "ACTIVE"
	MonitoredRegionLifecycleStateDeleting MonitoredRegionLifecycleStateEnum = "DELETING"
	MonitoredRegionLifecycleStateDeleted  MonitoredRegionLifecycleStateEnum = "DELETED"
	MonitoredRegionLifecycleStateFailed   MonitoredRegionLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for MonitoredRegionLifecycleStateEnum

func GetMappingMonitoredRegionLifecycleStateEnum

func GetMappingMonitoredRegionLifecycleStateEnum(val string) (MonitoredRegionLifecycleStateEnum, bool)

GetMappingMonitoredRegionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMonitoredRegionLifecycleStateEnumValues

func GetMonitoredRegionLifecycleStateEnumValues() []MonitoredRegionLifecycleStateEnum

GetMonitoredRegionLifecycleStateEnumValues Enumerates the set of values for MonitoredRegionLifecycleStateEnum

type MonitoredRegionSummary

type MonitoredRegionSummary struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The Region Identifier (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion.
	RegionId *string `mandatory:"true" json:"regionId"`

	// The date and time the MonitoredRegion was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the MonitoredRegion.
	LifecycleState MonitoredRegionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the MonitoredRegion was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the MonitoredRegion in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

MonitoredRegionSummary Summary information about a MonitoredRegion.

func (MonitoredRegionSummary) String

func (m MonitoredRegionSummary) String() string

func (MonitoredRegionSummary) ValidateEnumValue

func (m MonitoredRegionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting        OperationStatusEnum = "WAITING"
	OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
	OperationStatusFailed         OperationStatusEnum = "FAILED"
	OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling      OperationStatusEnum = "CANCELING"
	OperationStatusCanceled       OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateResourceAnalyticsInstance OperationTypeEnum = "CREATE_RESOURCE_ANALYTICS_INSTANCE"
	OperationTypeUpdateResourceAnalyticsInstance OperationTypeEnum = "UPDATE_RESOURCE_ANALYTICS_INSTANCE"
	OperationTypeDeleteResourceAnalyticsInstance OperationTypeEnum = "DELETE_RESOURCE_ANALYTICS_INSTANCE"
	OperationTypeMoveResourceAnalyticsInstance   OperationTypeEnum = "MOVE_RESOURCE_ANALYTICS_INSTANCE"
	OperationTypeCreateTenancyAttachment         OperationTypeEnum = "CREATE_TENANCY_ATTACHMENT"
	OperationTypeUpdateTenancyAttachment         OperationTypeEnum = "UPDATE_TENANCY_ATTACHMENT"
	OperationTypeDeleteTenancyAttachment         OperationTypeEnum = "DELETE_TENANCY_ATTACHMENT"
	OperationTypeCreateMonitoredRegion           OperationTypeEnum = "CREATE_MONITORED_REGION"
	OperationTypeDeleteMonitoredRegion           OperationTypeEnum = "DELETE_MONITORED_REGION"
	OperationTypeEnableOac                       OperationTypeEnum = "ENABLE_OAC"
	OperationTypeDisableOac                      OperationTypeEnum = "DISABLE_OAC"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PlainTextPasswordDetails

type PlainTextPasswordDetails struct {

	// Password for the ADW to be created in User Tenancy. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing.
	Password *string `mandatory:"true" json:"password"`
}

PlainTextPasswordDetails Details for the PLAIN_TEXT ADW Admin password.

func (PlainTextPasswordDetails) MarshalJSON

func (m PlainTextPasswordDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PlainTextPasswordDetails) String

func (m PlainTextPasswordDetails) String() string

func (PlainTextPasswordDetails) ValidateEnumValue

func (m PlainTextPasswordDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstance

type ResourceAnalyticsInstance struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the ResourceAnalyticsInstance.
	LifecycleState ResourceAnalyticsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

	// A description of the ResourceAnalyticsInstance instance.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the created ADW instance.
	AdwId *string `mandatory:"false" json:"adwId"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OAC enabled for the ResourceAnalyticsInstance.
	OacId *string `mandatory:"false" json:"oacId"`

	// The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResourceAnalyticsInstance A ResourceAnalyticsInstance is an ADW housing analytics for all of a customers' OCI resources. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

func (ResourceAnalyticsInstance) String

func (m ResourceAnalyticsInstance) String() string

func (ResourceAnalyticsInstance) ValidateEnumValue

func (m ResourceAnalyticsInstance) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceClient

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

ResourceAnalyticsInstanceClient a client for ResourceAnalyticsInstance

func NewResourceAnalyticsInstanceClientWithConfigurationProvider

func NewResourceAnalyticsInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ResourceAnalyticsInstanceClient, err error)

NewResourceAnalyticsInstanceClientWithConfigurationProvider Creates a new default ResourceAnalyticsInstance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewResourceAnalyticsInstanceClientWithOboToken

func NewResourceAnalyticsInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ResourceAnalyticsInstanceClient, err error)

NewResourceAnalyticsInstanceClientWithOboToken Creates a new default ResourceAnalyticsInstance 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 (ResourceAnalyticsInstanceClient) CancelWorkRequest

func (client ResourceAnalyticsInstanceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (ResourceAnalyticsInstanceClient) ChangeResourceAnalyticsInstanceCompartment

ChangeResourceAnalyticsInstanceCompartment Moves a ResourceAnalyticsInstance into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ChangeResourceAnalyticsInstanceCompartment.go.html to see an example of how to use ChangeResourceAnalyticsInstanceCompartment API. A default retry strategy applies to this operation ChangeResourceAnalyticsInstanceCompartment()

func (*ResourceAnalyticsInstanceClient) ConfigurationProvider

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

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

func (ResourceAnalyticsInstanceClient) CreateResourceAnalyticsInstance

CreateResourceAnalyticsInstance Creates a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateResourceAnalyticsInstance.go.html to see an example of how to use CreateResourceAnalyticsInstance API. A default retry strategy applies to this operation CreateResourceAnalyticsInstance()

func (ResourceAnalyticsInstanceClient) DeleteResourceAnalyticsInstance

DeleteResourceAnalyticsInstance Deletes a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteResourceAnalyticsInstance.go.html to see an example of how to use DeleteResourceAnalyticsInstance API. A default retry strategy applies to this operation DeleteResourceAnalyticsInstance()

func (ResourceAnalyticsInstanceClient) GetResourceAnalyticsInstance

GetResourceAnalyticsInstance Gets information about a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetResourceAnalyticsInstance.go.html to see an example of how to use GetResourceAnalyticsInstance API. A default retry strategy applies to this operation GetResourceAnalyticsInstance()

func (ResourceAnalyticsInstanceClient) GetWorkRequest

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

GetWorkRequest Gets the details of a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (ResourceAnalyticsInstanceClient) ListResourceAnalyticsInstances

ListResourceAnalyticsInstances Gets a list of ResourceAnalyticsInstances.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListResourceAnalyticsInstances.go.html to see an example of how to use ListResourceAnalyticsInstances API. A default retry strategy applies to this operation ListResourceAnalyticsInstances()

func (ResourceAnalyticsInstanceClient) ListWorkRequestErrors

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

ListWorkRequestErrors Lists the errors for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (ResourceAnalyticsInstanceClient) ListWorkRequestLogs

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

ListWorkRequestLogs Lists the logs for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (ResourceAnalyticsInstanceClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceDisableOac

ResourceAnalyticsInstanceDisableOac Disable an OAC instance for a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceDisableOac.go.html to see an example of how to use ResourceAnalyticsInstanceDisableOac API.

func (ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceEnableOac

ResourceAnalyticsInstanceEnableOac Attaches an OAC instance to a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceEnableOac.go.html to see an example of how to use ResourceAnalyticsInstanceEnableOac API.

func (*ResourceAnalyticsInstanceClient) SetRegion

func (client *ResourceAnalyticsInstanceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ResourceAnalyticsInstanceClient) UpdateResourceAnalyticsInstance

UpdateResourceAnalyticsInstance Updates a ResourceAnalyticsInstance.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/UpdateResourceAnalyticsInstance.go.html to see an example of how to use UpdateResourceAnalyticsInstance API. A default retry strategy applies to this operation UpdateResourceAnalyticsInstance()

type ResourceAnalyticsInstanceCollection

type ResourceAnalyticsInstanceCollection struct {

	// List of ResourceAnalyticsInstanceSummary's.
	Items []ResourceAnalyticsInstanceSummary `mandatory:"true" json:"items"`
}

ResourceAnalyticsInstanceCollection Results of a ResourceAnalyticsInstance search. Contains both ResourceAnalyticsInstanceSummary items and other information, such as metadata.

func (ResourceAnalyticsInstanceCollection) String

func (ResourceAnalyticsInstanceCollection) ValidateEnumValue

func (m ResourceAnalyticsInstanceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceDisableOacRequest

type ResourceAnalyticsInstanceDisableOacRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// 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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ResourceAnalyticsInstanceDisableOacRequest wrapper for the ResourceAnalyticsInstanceDisableOac operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceDisableOac.go.html to see an example of how to use ResourceAnalyticsInstanceDisableOacRequest.

func (ResourceAnalyticsInstanceDisableOacRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ResourceAnalyticsInstanceDisableOacRequest) HTTPRequest

func (request ResourceAnalyticsInstanceDisableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResourceAnalyticsInstanceDisableOacRequest) RetryPolicy

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

func (ResourceAnalyticsInstanceDisableOacRequest) String

func (ResourceAnalyticsInstanceDisableOacRequest) ValidateEnumValue

func (request ResourceAnalyticsInstanceDisableOacRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceDisableOacResponse

type ResourceAnalyticsInstanceDisableOacResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ResourceAnalyticsInstanceDisableOacResponse wrapper for the ResourceAnalyticsInstanceDisableOac operation

func (ResourceAnalyticsInstanceDisableOacResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ResourceAnalyticsInstanceDisableOacResponse) String

type ResourceAnalyticsInstanceEnableOacDetails

type ResourceAnalyticsInstanceEnableOacDetails struct {

	// The type of attachment the OAC instance is using.
	AttachmentType ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum `mandatory:"true" json:"attachmentType"`

	AttachmentDetails *ResourceAnalyticsInstanceOacAttachmentDetails `mandatory:"true" json:"attachmentDetails"`
}

ResourceAnalyticsInstanceEnableOacDetails The configuration details for the enable OAC operation. Example: `{"attachmentType":"MANAGED","attachmentDetails":{...}}`

func (ResourceAnalyticsInstanceEnableOacDetails) String

func (ResourceAnalyticsInstanceEnableOacDetails) ValidateEnumValue

func (m ResourceAnalyticsInstanceEnableOacDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum string

ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum Enum with underlying type: string

const (
	ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeManaged ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum = "MANAGED"
)

Set of constants representing the allowable values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum(val string) (ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum, bool)

GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues() []ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues Enumerates the set of values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

type ResourceAnalyticsInstanceEnableOacRequest

type ResourceAnalyticsInstanceEnableOacRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// The information to be updated.
	ResourceAnalyticsInstanceEnableOacDetails `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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

ResourceAnalyticsInstanceEnableOacRequest wrapper for the ResourceAnalyticsInstanceEnableOac operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceEnableOac.go.html to see an example of how to use ResourceAnalyticsInstanceEnableOacRequest.

func (ResourceAnalyticsInstanceEnableOacRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ResourceAnalyticsInstanceEnableOacRequest) HTTPRequest

func (request ResourceAnalyticsInstanceEnableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResourceAnalyticsInstanceEnableOacRequest) RetryPolicy

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

func (ResourceAnalyticsInstanceEnableOacRequest) String

func (ResourceAnalyticsInstanceEnableOacRequest) ValidateEnumValue

func (request ResourceAnalyticsInstanceEnableOacRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceEnableOacResponse

type ResourceAnalyticsInstanceEnableOacResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ResourceAnalyticsInstanceEnableOacResponse wrapper for the ResourceAnalyticsInstanceEnableOac operation

func (ResourceAnalyticsInstanceEnableOacResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResourceAnalyticsInstanceEnableOacResponse) String

type ResourceAnalyticsInstanceLifecycleStateEnum

type ResourceAnalyticsInstanceLifecycleStateEnum string

ResourceAnalyticsInstanceLifecycleStateEnum Enum with underlying type: string

const (
	ResourceAnalyticsInstanceLifecycleStateCreating       ResourceAnalyticsInstanceLifecycleStateEnum = "CREATING"
	ResourceAnalyticsInstanceLifecycleStateUpdating       ResourceAnalyticsInstanceLifecycleStateEnum = "UPDATING"
	ResourceAnalyticsInstanceLifecycleStateActive         ResourceAnalyticsInstanceLifecycleStateEnum = "ACTIVE"
	ResourceAnalyticsInstanceLifecycleStateNeedsAttention ResourceAnalyticsInstanceLifecycleStateEnum = "NEEDS_ATTENTION"
	ResourceAnalyticsInstanceLifecycleStateDeleting       ResourceAnalyticsInstanceLifecycleStateEnum = "DELETING"
	ResourceAnalyticsInstanceLifecycleStateDeleted        ResourceAnalyticsInstanceLifecycleStateEnum = "DELETED"
	ResourceAnalyticsInstanceLifecycleStateFailed         ResourceAnalyticsInstanceLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ResourceAnalyticsInstanceLifecycleStateEnum

func GetMappingResourceAnalyticsInstanceLifecycleStateEnum

func GetMappingResourceAnalyticsInstanceLifecycleStateEnum(val string) (ResourceAnalyticsInstanceLifecycleStateEnum, bool)

GetMappingResourceAnalyticsInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAnalyticsInstanceLifecycleStateEnumValues

func GetResourceAnalyticsInstanceLifecycleStateEnumValues() []ResourceAnalyticsInstanceLifecycleStateEnum

GetResourceAnalyticsInstanceLifecycleStateEnumValues Enumerates the set of values for ResourceAnalyticsInstanceLifecycleStateEnum

type ResourceAnalyticsInstanceOacAttachmentDetails

type ResourceAnalyticsInstanceOacAttachmentDetails struct {

	// IDCS domain OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying a stripe and service administrator user.
	IdcsDomainId *string `mandatory:"true" json:"idcsDomainId"`

	NetworkDetails *ResourceAnalyticsInstanceOacNetworkDetails `mandatory:"false" json:"networkDetails"`

	// Deprecated. Use `networkDetails.subnetId` instead.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// Deprecated. Use `networkDetails.nsgIds` instead.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The Oracle license model that applies to the OAC instance.
	LicenseModel ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`

	// The capacity model to use for the Analytics Instance.
	CapacityType ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum `mandatory:"false" json:"capacityType,omitempty"`

	// The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
	CapacityValue *int `mandatory:"false" json:"capacityValue"`
}

ResourceAnalyticsInstanceOacAttachmentDetails Additional details needed when attaching the OAC instance. Example: `{"idcsDomainId":"ocid...","networkDetails":{...}, ...}`

func (ResourceAnalyticsInstanceOacAttachmentDetails) String

func (ResourceAnalyticsInstanceOacAttachmentDetails) ValidateEnumValue

func (m ResourceAnalyticsInstanceOacAttachmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum added in v65.115.0

type ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum string

ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum Enum with underlying type: string

const (
	ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeOlpuCount ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum = "OLPU_COUNT"
	ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeUserCount ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum = "USER_COUNT"
)

Set of constants representing the allowable values for ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum

func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum added in v65.115.0

func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum(val string) (ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum, bool)

GetMappingResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumValues added in v65.115.0

func GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumValues() []ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum

GetResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnumValues Enumerates the set of values for ResourceAnalyticsInstanceOacAttachmentDetailsCapacityTypeEnum

type ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

type ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum string

ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum Enum with underlying type: string

const (
	ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelLicenseIncluded     ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum = "LICENSE_INCLUDED"
	ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelBringYourOwnLicense ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum(val string) (ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum, bool)

GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues() []ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues Enumerates the set of values for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

type ResourceAnalyticsInstanceOacNetworkDetails

type ResourceAnalyticsInstanceOacNetworkDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for the private network details.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// List of Network Security Group OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)'s for the private network details.
	// Example: `["ocid...", "ocid..."]`
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

ResourceAnalyticsInstanceOacNetworkDetails Details required when provisioning OAC on a private network. Example: `{"subnetId":"ocid...", ...}`

func (ResourceAnalyticsInstanceOacNetworkDetails) String

func (ResourceAnalyticsInstanceOacNetworkDetails) ValidateEnumValue

func (m ResourceAnalyticsInstanceOacNetworkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAnalyticsInstanceSummary

type ResourceAnalyticsInstanceSummary struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the ResourceAnalyticsInstance was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the ResourceAnalyticsInstance.
	LifecycleState ResourceAnalyticsInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

	// A description of the ResourceAnalyticsInstance instance.
	Description *string `mandatory:"false" json:"description"`

	// The date and time the ResourceAnalyticsInstance was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResourceAnalyticsInstanceSummary Summary information about a ResourceAnalyticsInstance.

func (ResourceAnalyticsInstanceSummary) String

func (ResourceAnalyticsInstanceSummary) ValidateEnumValue

func (m ResourceAnalyticsInstanceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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 GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type TenancyAttachment

type TenancyAttachment struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment.
	TenancyId *string `mandatory:"true" json:"tenancyId"`

	// Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
	IsReportingTenancy *bool `mandatory:"true" json:"isReportingTenancy"`

	// List of monitored regions with their data population status.
	MonitoredRegions []TenancyAttachmentMonitoredRegionSummary `mandatory:"true" json:"monitoredRegions"`

	// The overall status of the data population from the tenancy.
	DataPopulationStatus TenancyAttachmentDataPopulationStatusEnum `mandatory:"true" json:"dataPopulationStatus"`

	// The date and time the TenancyAttachment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the TenancyAttachment.
	LifecycleState TenancyAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A description of the tenancy.
	Description *string `mandatory:"false" json:"description"`

	// The date and time the data population tasks started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeDataPopulationStarted *common.SDKTime `mandatory:"false" json:"timeDataPopulationStarted"`

	// The date and time the data population tasks completed, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeDataPopulationEnded *common.SDKTime `mandatory:"false" json:"timeDataPopulationEnded"`

	// The date and time the TenancyAttachment was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the TenancyAttachment in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TenancyAttachment A TenancyAttachment is a customers' tenancy attached to a ResourceAnalyticsInstance. Attached tenancies will be included in analytics collection. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

func (TenancyAttachment) String

func (m TenancyAttachment) String() string

func (TenancyAttachment) ValidateEnumValue

func (m TenancyAttachment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TenancyAttachmentClient

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

TenancyAttachmentClient a client for TenancyAttachment

func NewTenancyAttachmentClientWithConfigurationProvider

func NewTenancyAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TenancyAttachmentClient, err error)

NewTenancyAttachmentClientWithConfigurationProvider Creates a new default TenancyAttachment client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewTenancyAttachmentClientWithOboToken

func NewTenancyAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TenancyAttachmentClient, err error)

NewTenancyAttachmentClientWithOboToken Creates a new default TenancyAttachment 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 (*TenancyAttachmentClient) ConfigurationProvider

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

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

func (TenancyAttachmentClient) CreateTenancyAttachment

func (client TenancyAttachmentClient) CreateTenancyAttachment(ctx context.Context, request CreateTenancyAttachmentRequest) (response CreateTenancyAttachmentResponse, err error)

CreateTenancyAttachment Creates a TenancyAttachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/CreateTenancyAttachment.go.html to see an example of how to use CreateTenancyAttachment API. A default retry strategy applies to this operation CreateTenancyAttachment()

func (TenancyAttachmentClient) DeleteTenancyAttachment

func (client TenancyAttachmentClient) DeleteTenancyAttachment(ctx context.Context, request DeleteTenancyAttachmentRequest) (response DeleteTenancyAttachmentResponse, err error)

DeleteTenancyAttachment Deletes a TenancyAttachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/DeleteTenancyAttachment.go.html to see an example of how to use DeleteTenancyAttachment API. A default retry strategy applies to this operation DeleteTenancyAttachment()

func (TenancyAttachmentClient) GetTenancyAttachment

func (client TenancyAttachmentClient) GetTenancyAttachment(ctx context.Context, request GetTenancyAttachmentRequest) (response GetTenancyAttachmentResponse, err error)

GetTenancyAttachment Gets information about a TenancyAttachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/GetTenancyAttachment.go.html to see an example of how to use GetTenancyAttachment API. A default retry strategy applies to this operation GetTenancyAttachment()

func (TenancyAttachmentClient) ListTenancyAttachments

func (client TenancyAttachmentClient) ListTenancyAttachments(ctx context.Context, request ListTenancyAttachmentsRequest) (response ListTenancyAttachmentsResponse, err error)

ListTenancyAttachments Gets a list of TenancyAttachments.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListTenancyAttachments.go.html to see an example of how to use ListTenancyAttachments API. A default retry strategy applies to this operation ListTenancyAttachments()

func (*TenancyAttachmentClient) SetRegion

func (client *TenancyAttachmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TenancyAttachmentClient) UpdateTenancyAttachment

func (client TenancyAttachmentClient) UpdateTenancyAttachment(ctx context.Context, request UpdateTenancyAttachmentRequest) (response UpdateTenancyAttachmentResponse, err error)

UpdateTenancyAttachment Updates a TenancyAttachment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/UpdateTenancyAttachment.go.html to see an example of how to use UpdateTenancyAttachment API. A default retry strategy applies to this operation UpdateTenancyAttachment()

type TenancyAttachmentCollection

type TenancyAttachmentCollection struct {

	// List of TenancyAttachments.
	Items []TenancyAttachmentSummary `mandatory:"true" json:"items"`
}

TenancyAttachmentCollection Results of a TenancyAttachment search. Contains both TenancyAttachmentSummary items and other information, such as metadata.

func (TenancyAttachmentCollection) String

func (TenancyAttachmentCollection) ValidateEnumValue

func (m TenancyAttachmentCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TenancyAttachmentDataPopulation added in v65.115.0

type TenancyAttachmentDataPopulation struct {

	// The overall status of the data population from the monitored region of the tenancy.
	Status TenancyAttachmentDataPopulationStatusEnum `mandatory:"true" json:"status"`

	// The date and time the data population task was started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The number of data population tasks currently in progress.
	InProgressCount *int `mandatory:"true" json:"inProgressCount"`

	// The number of data population tasks that have succeeded.
	SucceededCount *int `mandatory:"true" json:"succeededCount"`

	// The total number of data population tasks.
	TotalCount *int `mandatory:"true" json:"totalCount"`

	// The date and time the data population task completed, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`
}

TenancyAttachmentDataPopulation Data population status for a monitored region in the tenancy.

func (TenancyAttachmentDataPopulation) String added in v65.115.0

func (TenancyAttachmentDataPopulation) ValidateEnumValue added in v65.115.0

func (m TenancyAttachmentDataPopulation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TenancyAttachmentDataPopulationStatusEnum added in v65.115.0

type TenancyAttachmentDataPopulationStatusEnum string

TenancyAttachmentDataPopulationStatusEnum Enum with underlying type: string

const (
	TenancyAttachmentDataPopulationStatusAccepted           TenancyAttachmentDataPopulationStatusEnum = "ACCEPTED"
	TenancyAttachmentDataPopulationStatusInProgress         TenancyAttachmentDataPopulationStatusEnum = "IN_PROGRESS"
	TenancyAttachmentDataPopulationStatusWaiting            TenancyAttachmentDataPopulationStatusEnum = "WAITING"
	TenancyAttachmentDataPopulationStatusFailed             TenancyAttachmentDataPopulationStatusEnum = "FAILED"
	TenancyAttachmentDataPopulationStatusSucceeded          TenancyAttachmentDataPopulationStatusEnum = "SUCCEEDED"
	TenancyAttachmentDataPopulationStatusCanceling          TenancyAttachmentDataPopulationStatusEnum = "CANCELING"
	TenancyAttachmentDataPopulationStatusCanceled           TenancyAttachmentDataPopulationStatusEnum = "CANCELED"
	TenancyAttachmentDataPopulationStatusNeedsAttention     TenancyAttachmentDataPopulationStatusEnum = "NEEDS_ATTENTION"
	TenancyAttachmentDataPopulationStatusPartiallySucceeded TenancyAttachmentDataPopulationStatusEnum = "PARTIALLY_SUCCEEDED"
)

Set of constants representing the allowable values for TenancyAttachmentDataPopulationStatusEnum

func GetMappingTenancyAttachmentDataPopulationStatusEnum added in v65.115.0

func GetMappingTenancyAttachmentDataPopulationStatusEnum(val string) (TenancyAttachmentDataPopulationStatusEnum, bool)

GetMappingTenancyAttachmentDataPopulationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTenancyAttachmentDataPopulationStatusEnumValues added in v65.115.0

func GetTenancyAttachmentDataPopulationStatusEnumValues() []TenancyAttachmentDataPopulationStatusEnum

GetTenancyAttachmentDataPopulationStatusEnumValues Enumerates the set of values for TenancyAttachmentDataPopulationStatusEnum

type TenancyAttachmentLifecycleStateEnum

type TenancyAttachmentLifecycleStateEnum string

TenancyAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	TenancyAttachmentLifecycleStateCreating       TenancyAttachmentLifecycleStateEnum = "CREATING"
	TenancyAttachmentLifecycleStateUpdating       TenancyAttachmentLifecycleStateEnum = "UPDATING"
	TenancyAttachmentLifecycleStateActive         TenancyAttachmentLifecycleStateEnum = "ACTIVE"
	TenancyAttachmentLifecycleStateNeedsAttention TenancyAttachmentLifecycleStateEnum = "NEEDS_ATTENTION"
	TenancyAttachmentLifecycleStateDeleting       TenancyAttachmentLifecycleStateEnum = "DELETING"
	TenancyAttachmentLifecycleStateDeleted        TenancyAttachmentLifecycleStateEnum = "DELETED"
	TenancyAttachmentLifecycleStateFailed         TenancyAttachmentLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for TenancyAttachmentLifecycleStateEnum

func GetMappingTenancyAttachmentLifecycleStateEnum

func GetMappingTenancyAttachmentLifecycleStateEnum(val string) (TenancyAttachmentLifecycleStateEnum, bool)

GetMappingTenancyAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTenancyAttachmentLifecycleStateEnumValues

func GetTenancyAttachmentLifecycleStateEnumValues() []TenancyAttachmentLifecycleStateEnum

GetTenancyAttachmentLifecycleStateEnumValues Enumerates the set of values for TenancyAttachmentLifecycleStateEnum

type TenancyAttachmentMonitoredRegionSummary added in v65.115.0

type TenancyAttachmentMonitoredRegionSummary struct {

	// The Region Identifier (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of the monitored region. E.g. us-ashburn-1
	RegionId *string `mandatory:"true" json:"regionId"`

	DataPopulation *TenancyAttachmentDataPopulation `mandatory:"true" json:"dataPopulation"`
}

TenancyAttachmentMonitoredRegionSummary Information about a monitored region in a tenancy.

func (TenancyAttachmentMonitoredRegionSummary) String added in v65.115.0

func (TenancyAttachmentMonitoredRegionSummary) ValidateEnumValue added in v65.115.0

func (m TenancyAttachmentMonitoredRegionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TenancyAttachmentSummary

type TenancyAttachmentSummary struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment.
	ResourceAnalyticsInstanceId *string `mandatory:"true" json:"resourceAnalyticsInstanceId"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment.
	TenancyId *string `mandatory:"true" json:"tenancyId"`

	// Whether the tenancy is the tenancy used when creating Resource Analytics Instance.
	IsReportingTenancy *bool `mandatory:"true" json:"isReportingTenancy"`

	// The date and time the TenancyAttachment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the TenancyAttachment.
	LifecycleState TenancyAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A description of the tenancy.
	Description *string `mandatory:"false" json:"description"`

	// The overall status of the data population from the tenancy.
	DataPopulationStatus TenancyAttachmentDataPopulationStatusEnum `mandatory:"false" json:"dataPopulationStatus,omitempty"`

	// The date and time the data population tasks started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeDataPopulationStarted *common.SDKTime `mandatory:"false" json:"timeDataPopulationStarted"`

	// The date and time the data population tasks completed, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeDataPopulationEnded *common.SDKTime `mandatory:"false" json:"timeDataPopulationEnded"`

	// The date and time the TenancyAttachment was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message that describes the current state of the TenancyAttachment in more detail. For example,
	// can be used to provide actionable information for a resource in the Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TenancyAttachmentSummary Summary information about a TenancyAttachment.

func (TenancyAttachmentSummary) String

func (m TenancyAttachmentSummary) String() string

func (TenancyAttachmentSummary) ValidateEnumValue

func (m TenancyAttachmentSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResourceAnalyticsInstanceDetails

type UpdateResourceAnalyticsInstanceDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A description of the ResourceAnalyticsInstance instance.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateResourceAnalyticsInstanceDetails The data to update a ResourceAnalyticsInstance.

func (UpdateResourceAnalyticsInstanceDetails) String

func (UpdateResourceAnalyticsInstanceDetails) ValidateEnumValue

func (m UpdateResourceAnalyticsInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResourceAnalyticsInstanceRequest

type UpdateResourceAnalyticsInstanceRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance.
	ResourceAnalyticsInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourceAnalyticsInstanceId"`

	// The information to be updated.
	UpdateResourceAnalyticsInstanceDetails `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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

UpdateResourceAnalyticsInstanceRequest wrapper for the UpdateResourceAnalyticsInstance operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/UpdateResourceAnalyticsInstance.go.html to see an example of how to use UpdateResourceAnalyticsInstanceRequest.

func (UpdateResourceAnalyticsInstanceRequest) BinaryRequestBody

func (request UpdateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateResourceAnalyticsInstanceRequest) HTTPRequest

func (request UpdateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResourceAnalyticsInstanceRequest) RetryPolicy

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

func (UpdateResourceAnalyticsInstanceRequest) String

func (UpdateResourceAnalyticsInstanceRequest) ValidateEnumValue

func (request UpdateResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResourceAnalyticsInstanceResponse

type UpdateResourceAnalyticsInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResourceAnalyticsInstanceResponse wrapper for the UpdateResourceAnalyticsInstance operation

func (UpdateResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateResourceAnalyticsInstanceResponse) String

type UpdateTenancyAttachmentDetails

type UpdateTenancyAttachmentDetails struct {

	// A description of the tenancy.
	Description *string `mandatory:"true" json:"description"`
}

UpdateTenancyAttachmentDetails The data to update a TenancyAttachment.

func (UpdateTenancyAttachmentDetails) String

func (UpdateTenancyAttachmentDetails) ValidateEnumValue

func (m UpdateTenancyAttachmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTenancyAttachmentRequest

type UpdateTenancyAttachmentRequest struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment.
	TenancyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"tenancyAttachmentId"`

	// The information to be updated.
	UpdateTenancyAttachmentDetails `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 Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	// The only valid characters for request IDs are letters, numbers,
	// underscore, and dash.
	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
}

UpdateTenancyAttachmentRequest wrapper for the UpdateTenancyAttachment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/UpdateTenancyAttachment.go.html to see an example of how to use UpdateTenancyAttachmentRequest.

func (UpdateTenancyAttachmentRequest) BinaryRequestBody

func (request UpdateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTenancyAttachmentRequest) HTTPRequest

func (request UpdateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTenancyAttachmentRequest) RetryPolicy

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

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

func (UpdateTenancyAttachmentRequest) String

func (request UpdateTenancyAttachmentRequest) String() string

func (UpdateTenancyAttachmentRequest) ValidateEnumValue

func (request UpdateTenancyAttachmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTenancyAttachmentResponse

type UpdateTenancyAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
	// Use GetWorkRequest with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTenancyAttachmentResponse wrapper for the UpdateTenancyAttachment operation

func (UpdateTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTenancyAttachmentResponse) String

func (response UpdateTenancyAttachmentResponse) String() string

type VaultSecretPasswordDetails

type VaultSecretPasswordDetails struct {

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault secret to use as the ADW admin password.
	SecretId *string `mandatory:"true" json:"secretId"`
}

VaultSecretPasswordDetails Secret details for the ADW Admin password.

func (VaultSecretPasswordDetails) MarshalJSON

func (m VaultSecretPasswordDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VaultSecretPasswordDetails) String

func (VaultSecretPasswordDetails) ValidateEnumValue

func (m VaultSecretPasswordDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

type WorkRequest struct {

	// The asynchronous operation tracked by this work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The status of the work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by the work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Shows the progress of the operation tracked by the work request, as a percentage of the total work
	// that must be performed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request was started, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request was finished, in the format defined by
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// The date and time the work request was updated, in the format defined by
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occurred. For a list of error codes, see
	// API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm).
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the error occurred, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while performing an operation that is tracked by a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// A list of work request errors.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// A human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the log message was written, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// A list of work request log entries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type that the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the operation tracked in the work request.
	// A resource being created, updated, or deleted remains in the IN_PROGRESS state until
	// work is complete for that resource, at which point it transitions to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that you can use for a GET request to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`

	// Additional information that helps to explain the resource.
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

type WorkRequestSummary struct {

	// The asynchronous operation tracked by this work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The status of the work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Shows the progress of the operation tracked by the work request, as a percentage of the total work
	// that must be performed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was created, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request was started, in the format defined by
	// RFC 3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request was finished, in the format defined by
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// The date and time the work request was updated, in the format defined by
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

WorkRequestSummary Summary information about an asynchronous work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

	// A list of work requests.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL