func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues() []string
GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues Enumerates the set of values in String for AdwAdminPasswordDetailsPasswordTypeEnum
func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues() []string
GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues Enumerates the set of values in String for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
func GetListMonitoredRegionsSortByEnumStringValues() []string
GetListMonitoredRegionsSortByEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortByEnum
func GetListMonitoredRegionsSortOrderEnumStringValues() []string
GetListMonitoredRegionsSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortOrderEnum
func GetListResourceAnalyticsInstancesSortByEnumStringValues() []string
GetListResourceAnalyticsInstancesSortByEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortByEnum
func GetListResourceAnalyticsInstancesSortOrderEnumStringValues() []string
GetListResourceAnalyticsInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortOrderEnum
func GetListTenancyAttachmentsSortByEnumStringValues() []string
GetListTenancyAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortByEnum
func GetListTenancyAttachmentsSortOrderEnumStringValues() []string
GetListTenancyAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMonitoredRegionLifecycleStateEnumStringValues() []string
GetMonitoredRegionLifecycleStateEnumStringValues Enumerates the set of values in String for MonitoredRegionLifecycleStateEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues() []string
GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues() []string
GetResourceAnalyticsInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceLifecycleStateEnum
func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues() []string
GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetTenancyAttachmentLifecycleStateEnumStringValues() []string
GetTenancyAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for TenancyAttachmentLifecycleStateEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 AdwAdminPasswordDetails interface { }
AdwAdminPasswordDetailsPasswordTypeEnum Enum with underlying type: string
type AdwAdminPasswordDetailsPasswordTypeEnum string
Set of constants representing the allowable values for AdwAdminPasswordDetailsPasswordTypeEnum
const ( AdwAdminPasswordDetailsPasswordTypePlainText AdwAdminPasswordDetailsPasswordTypeEnum = "PLAIN_TEXT" AdwAdminPasswordDetailsPasswordTypeVaultSecret AdwAdminPasswordDetailsPasswordTypeEnum = "VAULT_SECRET" )
func GetAdwAdminPasswordDetailsPasswordTypeEnumValues() []AdwAdminPasswordDetailsPasswordTypeEnum
GetAdwAdminPasswordDetailsPasswordTypeEnumValues Enumerates the set of values for AdwAdminPasswordDetailsPasswordTypeEnum
func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum(val string) (AdwAdminPasswordDetailsPasswordTypeEnum, bool)
GetMappingAdwAdminPasswordDetailsPasswordTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
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.
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 }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
ChangeResourceAnalyticsInstanceCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeResourceAnalyticsInstanceCompartmentDetails) String() string
func (m ChangeResourceAnalyticsInstanceCompartmentDetails) 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
ChangeResourceAnalyticsInstanceCompartmentRequest wrapper for the ChangeResourceAnalyticsInstanceCompartment operation
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.
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 }
func (request ChangeResourceAnalyticsInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeResourceAnalyticsInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeResourceAnalyticsInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeResourceAnalyticsInstanceCompartmentRequest) String() string
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
ChangeResourceAnalyticsInstanceCompartmentResponse wrapper for the ChangeResourceAnalyticsInstanceCompartment operation
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"` }
func (response ChangeResourceAnalyticsInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeResourceAnalyticsInstanceCompartmentResponse) String() string
CreateMonitoredRegionDetails The data to create a MonitoredRegion.
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"` }
func (m CreateMonitoredRegionDetails) String() string
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
CreateMonitoredRegionRequest wrapper for the CreateMonitoredRegion operation
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.
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 }
func (request CreateMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMonitoredRegionRequest) String() string
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
CreateMonitoredRegionResponse wrapper for the CreateMonitoredRegion operation
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"` }
func (response CreateMonitoredRegionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMonitoredRegionResponse) String() string
CreateResourceAnalyticsInstanceDetails The data to create a ResourceAnalyticsInstance.
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 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"` }
func (m CreateResourceAnalyticsInstanceDetails) String() string
func (m *CreateResourceAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateResourceAnalyticsInstanceDetailsLicenseModelEnum Enum with underlying type: string
type CreateResourceAnalyticsInstanceDetailsLicenseModelEnum string
Set of constants representing the allowable values for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
const ( CreateResourceAnalyticsInstanceDetailsLicenseModelLicenseIncluded CreateResourceAnalyticsInstanceDetailsLicenseModelEnum = "LICENSE_INCLUDED" CreateResourceAnalyticsInstanceDetailsLicenseModelBringYourOwnLicense CreateResourceAnalyticsInstanceDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" )
func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues() []CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues Enumerates the set of values for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum(val string) (CreateResourceAnalyticsInstanceDetailsLicenseModelEnum, bool)
GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum
CreateResourceAnalyticsInstanceRequest wrapper for the CreateResourceAnalyticsInstance operation
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.
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 }
func (request CreateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateResourceAnalyticsInstanceRequest) String() string
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
CreateResourceAnalyticsInstanceResponse wrapper for the CreateResourceAnalyticsInstance operation
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"` }
func (response CreateResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateResourceAnalyticsInstanceResponse) String() string
CreateTenancyAttachmentDetails The data to create a TenancyAttachment.
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"` }
func (m CreateTenancyAttachmentDetails) String() string
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
CreateTenancyAttachmentRequest wrapper for the CreateTenancyAttachment operation
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.
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 }
func (request CreateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTenancyAttachmentRequest) String() string
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
CreateTenancyAttachmentResponse wrapper for the CreateTenancyAttachment operation
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"` }
func (response CreateTenancyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTenancyAttachmentResponse) String() string
DeleteMonitoredRegionRequest wrapper for the DeleteMonitoredRegion operation
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.
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 }
func (request DeleteMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMonitoredRegionRequest) String() string
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
DeleteMonitoredRegionResponse wrapper for the DeleteMonitoredRegion operation
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"` }
func (response DeleteMonitoredRegionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMonitoredRegionResponse) String() string
DeleteResourceAnalyticsInstanceRequest wrapper for the DeleteResourceAnalyticsInstance operation
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.
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 }
func (request DeleteResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteResourceAnalyticsInstanceRequest) String() string
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
DeleteResourceAnalyticsInstanceResponse wrapper for the DeleteResourceAnalyticsInstance operation
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"` }
func (response DeleteResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteResourceAnalyticsInstanceResponse) String() string
DeleteTenancyAttachmentRequest wrapper for the DeleteTenancyAttachment operation
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.
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 }
func (request DeleteTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTenancyAttachmentRequest) String() string
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
DeleteTenancyAttachmentResponse wrapper for the DeleteTenancyAttachment operation
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"` }
func (response DeleteTenancyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTenancyAttachmentResponse) String() string
GetMonitoredRegionRequest wrapper for the GetMonitoredRegion operation
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.
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 }
func (request GetMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitoredRegionRequest) String() string
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
GetMonitoredRegionResponse wrapper for the GetMonitoredRegion operation
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"` }
func (response GetMonitoredRegionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitoredRegionResponse) String() string
GetResourceAnalyticsInstanceRequest wrapper for the GetResourceAnalyticsInstance operation
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.
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 }
func (request GetResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResourceAnalyticsInstanceRequest) String() string
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
GetResourceAnalyticsInstanceResponse wrapper for the GetResourceAnalyticsInstance operation
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"` }
func (response GetResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResourceAnalyticsInstanceResponse) String() string
GetTenancyAttachmentRequest wrapper for the GetTenancyAttachment operation
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.
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 }
func (request GetTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTenancyAttachmentRequest) String() string
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
GetTenancyAttachmentResponse wrapper for the GetTenancyAttachment operation
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"` }
func (response GetTenancyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTenancyAttachmentResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
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.
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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ListMonitoredRegionsRequest wrapper for the ListMonitoredRegions operation
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.
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 }
func (request ListMonitoredRegionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMonitoredRegionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMonitoredRegionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMonitoredRegionsRequest) String() string
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
ListMonitoredRegionsResponse wrapper for the ListMonitoredRegions operation
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"` }
func (response ListMonitoredRegionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMonitoredRegionsResponse) String() string
ListMonitoredRegionsSortByEnum Enum with underlying type: string
type ListMonitoredRegionsSortByEnum string
Set of constants representing the allowable values for ListMonitoredRegionsSortByEnum
const ( ListMonitoredRegionsSortByTimeCreated ListMonitoredRegionsSortByEnum = "TIME_CREATED" ListMonitoredRegionsSortByRegionId ListMonitoredRegionsSortByEnum = "REGION_ID" )
func GetListMonitoredRegionsSortByEnumValues() []ListMonitoredRegionsSortByEnum
GetListMonitoredRegionsSortByEnumValues Enumerates the set of values for ListMonitoredRegionsSortByEnum
func GetMappingListMonitoredRegionsSortByEnum(val string) (ListMonitoredRegionsSortByEnum, bool)
GetMappingListMonitoredRegionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredRegionsSortOrderEnum Enum with underlying type: string
type ListMonitoredRegionsSortOrderEnum string
Set of constants representing the allowable values for ListMonitoredRegionsSortOrderEnum
const ( ListMonitoredRegionsSortOrderAsc ListMonitoredRegionsSortOrderEnum = "ASC" ListMonitoredRegionsSortOrderDesc ListMonitoredRegionsSortOrderEnum = "DESC" )
func GetListMonitoredRegionsSortOrderEnumValues() []ListMonitoredRegionsSortOrderEnum
GetListMonitoredRegionsSortOrderEnumValues Enumerates the set of values for ListMonitoredRegionsSortOrderEnum
func GetMappingListMonitoredRegionsSortOrderEnum(val string) (ListMonitoredRegionsSortOrderEnum, bool)
GetMappingListMonitoredRegionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceAnalyticsInstancesRequest wrapper for the ListResourceAnalyticsInstances operation
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.
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 }
func (request ListResourceAnalyticsInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceAnalyticsInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceAnalyticsInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceAnalyticsInstancesRequest) String() string
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
ListResourceAnalyticsInstancesResponse wrapper for the ListResourceAnalyticsInstances operation
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"` }
func (response ListResourceAnalyticsInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceAnalyticsInstancesResponse) String() string
ListResourceAnalyticsInstancesSortByEnum Enum with underlying type: string
type ListResourceAnalyticsInstancesSortByEnum string
Set of constants representing the allowable values for ListResourceAnalyticsInstancesSortByEnum
const ( ListResourceAnalyticsInstancesSortByTimeCreated ListResourceAnalyticsInstancesSortByEnum = "TIME_CREATED" ListResourceAnalyticsInstancesSortByDisplayName ListResourceAnalyticsInstancesSortByEnum = "DISPLAY_NAME" )
func GetListResourceAnalyticsInstancesSortByEnumValues() []ListResourceAnalyticsInstancesSortByEnum
GetListResourceAnalyticsInstancesSortByEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortByEnum
func GetMappingListResourceAnalyticsInstancesSortByEnum(val string) (ListResourceAnalyticsInstancesSortByEnum, bool)
GetMappingListResourceAnalyticsInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceAnalyticsInstancesSortOrderEnum Enum with underlying type: string
type ListResourceAnalyticsInstancesSortOrderEnum string
Set of constants representing the allowable values for ListResourceAnalyticsInstancesSortOrderEnum
const ( ListResourceAnalyticsInstancesSortOrderAsc ListResourceAnalyticsInstancesSortOrderEnum = "ASC" ListResourceAnalyticsInstancesSortOrderDesc ListResourceAnalyticsInstancesSortOrderEnum = "DESC" )
func GetListResourceAnalyticsInstancesSortOrderEnumValues() []ListResourceAnalyticsInstancesSortOrderEnum
GetListResourceAnalyticsInstancesSortOrderEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortOrderEnum
func GetMappingListResourceAnalyticsInstancesSortOrderEnum(val string) (ListResourceAnalyticsInstancesSortOrderEnum, bool)
GetMappingListResourceAnalyticsInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTenancyAttachmentsRequest wrapper for the ListTenancyAttachments operation
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.
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 }
func (request ListTenancyAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTenancyAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTenancyAttachmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTenancyAttachmentsRequest) String() string
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
ListTenancyAttachmentsResponse wrapper for the ListTenancyAttachments operation
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"` }
func (response ListTenancyAttachmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTenancyAttachmentsResponse) String() string
ListTenancyAttachmentsSortByEnum Enum with underlying type: string
type ListTenancyAttachmentsSortByEnum string
Set of constants representing the allowable values for ListTenancyAttachmentsSortByEnum
const ( ListTenancyAttachmentsSortByTimeCreated ListTenancyAttachmentsSortByEnum = "TIME_CREATED" ListTenancyAttachmentsSortByDescription ListTenancyAttachmentsSortByEnum = "DESCRIPTION" )
func GetListTenancyAttachmentsSortByEnumValues() []ListTenancyAttachmentsSortByEnum
GetListTenancyAttachmentsSortByEnumValues Enumerates the set of values for ListTenancyAttachmentsSortByEnum
func GetMappingListTenancyAttachmentsSortByEnum(val string) (ListTenancyAttachmentsSortByEnum, bool)
GetMappingListTenancyAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTenancyAttachmentsSortOrderEnum Enum with underlying type: string
type ListTenancyAttachmentsSortOrderEnum string
Set of constants representing the allowable values for ListTenancyAttachmentsSortOrderEnum
const ( ListTenancyAttachmentsSortOrderAsc ListTenancyAttachmentsSortOrderEnum = "ASC" ListTenancyAttachmentsSortOrderDesc ListTenancyAttachmentsSortOrderEnum = "DESC" )
func GetListTenancyAttachmentsSortOrderEnumValues() []ListTenancyAttachmentsSortOrderEnum
GetListTenancyAttachmentsSortOrderEnumValues Enumerates the set of values for ListTenancyAttachmentsSortOrderEnum
func GetMappingListTenancyAttachmentsSortOrderEnum(val string) (ListTenancyAttachmentsSortOrderEnum, bool)
GetMappingListTenancyAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For 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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
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.
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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For 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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
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.
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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For 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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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).
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"` }
func (m MonitoredRegion) String() string
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
MonitoredRegionClient a client for MonitoredRegion
type MonitoredRegionClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client *MonitoredRegionClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MonitoredRegionClient) CreateMonitoredRegion(ctx context.Context, request CreateMonitoredRegionRequest) (response CreateMonitoredRegionResponse, err error)
CreateMonitoredRegion Creates a MonitoredRegion.
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 (client MonitoredRegionClient) DeleteMonitoredRegion(ctx context.Context, request DeleteMonitoredRegionRequest) (response DeleteMonitoredRegionResponse, err error)
DeleteMonitoredRegion Deletes a MonitoredRegion.
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 (client MonitoredRegionClient) GetMonitoredRegion(ctx context.Context, request GetMonitoredRegionRequest) (response GetMonitoredRegionResponse, err error)
GetMonitoredRegion Gets information about a MonitoredRegion.
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 (client MonitoredRegionClient) ListMonitoredRegions(ctx context.Context, request ListMonitoredRegionsRequest) (response ListMonitoredRegionsResponse, err error)
ListMonitoredRegions Gets a list of MonitoredRegions.
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 (client *MonitoredRegionClient) SetRegion(region string)
SetRegion overrides the region of this client.
MonitoredRegionCollection Results of a MonitoredRegion search. Contains both MonitoredRegionSummary items and other information, such as metadata.
type MonitoredRegionCollection struct { // List of MonitoredRegions. Items []MonitoredRegionSummary `mandatory:"true" json:"items"` }
func (m MonitoredRegionCollection) String() string
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
MonitoredRegionLifecycleStateEnum Enum with underlying type: string
type MonitoredRegionLifecycleStateEnum string
Set of constants representing the allowable values for MonitoredRegionLifecycleStateEnum
const ( MonitoredRegionLifecycleStateCreating MonitoredRegionLifecycleStateEnum = "CREATING" MonitoredRegionLifecycleStateUpdating MonitoredRegionLifecycleStateEnum = "UPDATING" MonitoredRegionLifecycleStateActive MonitoredRegionLifecycleStateEnum = "ACTIVE" MonitoredRegionLifecycleStateDeleting MonitoredRegionLifecycleStateEnum = "DELETING" MonitoredRegionLifecycleStateDeleted MonitoredRegionLifecycleStateEnum = "DELETED" MonitoredRegionLifecycleStateFailed MonitoredRegionLifecycleStateEnum = "FAILED" )
func GetMappingMonitoredRegionLifecycleStateEnum(val string) (MonitoredRegionLifecycleStateEnum, bool)
GetMappingMonitoredRegionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredRegionLifecycleStateEnumValues() []MonitoredRegionLifecycleStateEnum
GetMonitoredRegionLifecycleStateEnumValues Enumerates the set of values for MonitoredRegionLifecycleStateEnum
MonitoredRegionSummary Summary information about a MonitoredRegion.
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"` }
func (m MonitoredRegionSummary) String() string
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
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( 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" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
PlainTextPasswordDetails Details for the PLAIN_TEXT ADW Admin password.
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"` }
func (m PlainTextPasswordDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PlainTextPasswordDetails) String() string
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
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).
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"` }
func (m ResourceAnalyticsInstance) String() string
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
ResourceAnalyticsInstanceClient a client for ResourceAnalyticsInstance
type ResourceAnalyticsInstanceClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client ResourceAnalyticsInstanceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request.
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 (client ResourceAnalyticsInstanceClient) ChangeResourceAnalyticsInstanceCompartment(ctx context.Context, request ChangeResourceAnalyticsInstanceCompartmentRequest) (response ChangeResourceAnalyticsInstanceCompartmentResponse, err error)
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).
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 (client *ResourceAnalyticsInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ResourceAnalyticsInstanceClient) CreateResourceAnalyticsInstance(ctx context.Context, request CreateResourceAnalyticsInstanceRequest) (response CreateResourceAnalyticsInstanceResponse, err error)
CreateResourceAnalyticsInstance Creates a ResourceAnalyticsInstance.
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 (client ResourceAnalyticsInstanceClient) DeleteResourceAnalyticsInstance(ctx context.Context, request DeleteResourceAnalyticsInstanceRequest) (response DeleteResourceAnalyticsInstanceResponse, err error)
DeleteResourceAnalyticsInstance Deletes a ResourceAnalyticsInstance.
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 (client ResourceAnalyticsInstanceClient) GetResourceAnalyticsInstance(ctx context.Context, request GetResourceAnalyticsInstanceRequest) (response GetResourceAnalyticsInstanceResponse, err error)
GetResourceAnalyticsInstance Gets information about a ResourceAnalyticsInstance.
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 (client ResourceAnalyticsInstanceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of a work request.
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 (client ResourceAnalyticsInstanceClient) ListResourceAnalyticsInstances(ctx context.Context, request ListResourceAnalyticsInstancesRequest) (response ListResourceAnalyticsInstancesResponse, err error)
ListResourceAnalyticsInstances Gets a list of ResourceAnalyticsInstances.
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 (client ResourceAnalyticsInstanceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists the errors for a work request.
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 (client ResourceAnalyticsInstanceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists the logs for a work request.
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 (client ResourceAnalyticsInstanceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/resourceanalytics/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceDisableOac(ctx context.Context, request ResourceAnalyticsInstanceDisableOacRequest) (response ResourceAnalyticsInstanceDisableOacResponse, err error)
ResourceAnalyticsInstanceDisableOac Disable an OAC instance for a ResourceAnalyticsInstance.
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 (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceEnableOac(ctx context.Context, request ResourceAnalyticsInstanceEnableOacRequest) (response ResourceAnalyticsInstanceEnableOacResponse, err error)
ResourceAnalyticsInstanceEnableOac Attaches an OAC instance to a ResourceAnalyticsInstance.
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 (client *ResourceAnalyticsInstanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ResourceAnalyticsInstanceClient) UpdateResourceAnalyticsInstance(ctx context.Context, request UpdateResourceAnalyticsInstanceRequest) (response UpdateResourceAnalyticsInstanceResponse, err error)
UpdateResourceAnalyticsInstance Updates a ResourceAnalyticsInstance.
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()
ResourceAnalyticsInstanceCollection Results of a ResourceAnalyticsInstance search. Contains both ResourceAnalyticsInstanceSummary items and other information, such as metadata.
type ResourceAnalyticsInstanceCollection struct { // List of ResourceAnalyticsInstanceSummary's. Items []ResourceAnalyticsInstanceSummary `mandatory:"true" json:"items"` }
func (m ResourceAnalyticsInstanceCollection) String() string
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
ResourceAnalyticsInstanceDisableOacRequest wrapper for the ResourceAnalyticsInstanceDisableOac operation
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.
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 }
func (request ResourceAnalyticsInstanceDisableOacRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResourceAnalyticsInstanceDisableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResourceAnalyticsInstanceDisableOacRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResourceAnalyticsInstanceDisableOacRequest) String() string
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
ResourceAnalyticsInstanceDisableOacResponse wrapper for the ResourceAnalyticsInstanceDisableOac operation
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"` }
func (response ResourceAnalyticsInstanceDisableOacResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResourceAnalyticsInstanceDisableOacResponse) String() string
ResourceAnalyticsInstanceEnableOacDetails The configuration details for the enable OAC operation. Example: `{"attachmentType":"MANAGED","attachmentDetails":{...}}`
type ResourceAnalyticsInstanceEnableOacDetails struct { // The type of attachment the OAC instance is using. AttachmentType ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum `mandatory:"true" json:"attachmentType"` AttachmentDetails *ResourceAnalyticsInstanceOacAttachmentDetails `mandatory:"true" json:"attachmentDetails"` }
func (m ResourceAnalyticsInstanceEnableOacDetails) String() string
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
ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum Enum with underlying type: string
type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum string
Set of constants representing the allowable values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
const ( ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeManaged ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum = "MANAGED" )
func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum(val string) (ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum, bool)
GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues() []ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues Enumerates the set of values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
ResourceAnalyticsInstanceEnableOacRequest wrapper for the ResourceAnalyticsInstanceEnableOac operation
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.
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 }
func (request ResourceAnalyticsInstanceEnableOacRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResourceAnalyticsInstanceEnableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResourceAnalyticsInstanceEnableOacRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResourceAnalyticsInstanceEnableOacRequest) String() string
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
ResourceAnalyticsInstanceEnableOacResponse wrapper for the ResourceAnalyticsInstanceEnableOac operation
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"` }
func (response ResourceAnalyticsInstanceEnableOacResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResourceAnalyticsInstanceEnableOacResponse) String() string
ResourceAnalyticsInstanceLifecycleStateEnum Enum with underlying type: string
type ResourceAnalyticsInstanceLifecycleStateEnum string
Set of constants representing the allowable values for ResourceAnalyticsInstanceLifecycleStateEnum
const ( ResourceAnalyticsInstanceLifecycleStateCreating ResourceAnalyticsInstanceLifecycleStateEnum = "CREATING" ResourceAnalyticsInstanceLifecycleStateUpdating ResourceAnalyticsInstanceLifecycleStateEnum = "UPDATING" ResourceAnalyticsInstanceLifecycleStateActive ResourceAnalyticsInstanceLifecycleStateEnum = "ACTIVE" ResourceAnalyticsInstanceLifecycleStateNeedsAttention ResourceAnalyticsInstanceLifecycleStateEnum = "NEEDS_ATTENTION" ResourceAnalyticsInstanceLifecycleStateDeleting ResourceAnalyticsInstanceLifecycleStateEnum = "DELETING" ResourceAnalyticsInstanceLifecycleStateDeleted ResourceAnalyticsInstanceLifecycleStateEnum = "DELETED" ResourceAnalyticsInstanceLifecycleStateFailed ResourceAnalyticsInstanceLifecycleStateEnum = "FAILED" )
func GetMappingResourceAnalyticsInstanceLifecycleStateEnum(val string) (ResourceAnalyticsInstanceLifecycleStateEnum, bool)
GetMappingResourceAnalyticsInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceAnalyticsInstanceLifecycleStateEnumValues() []ResourceAnalyticsInstanceLifecycleStateEnum
GetResourceAnalyticsInstanceLifecycleStateEnumValues Enumerates the set of values for ResourceAnalyticsInstanceLifecycleStateEnum
ResourceAnalyticsInstanceOacAttachmentDetails Additional details needed when attaching the OAC instance. Example: `{"idcsDomainId":"ocid...","networkDetails":{...}, ...}`
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"` }
func (m ResourceAnalyticsInstanceOacAttachmentDetails) String() string
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
ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum Enum with underlying type: string
type ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum string
Set of constants representing the allowable values for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
const ( ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelLicenseIncluded ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum = "LICENSE_INCLUDED" ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelBringYourOwnLicense ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" )
func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum(val string) (ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum, bool)
GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues() []ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues Enumerates the set of values for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
ResourceAnalyticsInstanceOacNetworkDetails Details required when provisioning OAC on a private network. Example: `{"subnetId":"ocid...", ...}`
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"` }
func (m ResourceAnalyticsInstanceOacNetworkDetails) String() string
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
ResourceAnalyticsInstanceSummary Summary information about a ResourceAnalyticsInstance.
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"` }
func (m ResourceAnalyticsInstanceSummary) String() string
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
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
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).
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"` // 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 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"` }
func (m TenancyAttachment) String() string
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
TenancyAttachmentClient a client for TenancyAttachment
type TenancyAttachmentClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client *TenancyAttachmentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client TenancyAttachmentClient) CreateTenancyAttachment(ctx context.Context, request CreateTenancyAttachmentRequest) (response CreateTenancyAttachmentResponse, err error)
CreateTenancyAttachment Creates a TenancyAttachment.
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 (client TenancyAttachmentClient) DeleteTenancyAttachment(ctx context.Context, request DeleteTenancyAttachmentRequest) (response DeleteTenancyAttachmentResponse, err error)
DeleteTenancyAttachment Deletes a TenancyAttachment.
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 (client TenancyAttachmentClient) GetTenancyAttachment(ctx context.Context, request GetTenancyAttachmentRequest) (response GetTenancyAttachmentResponse, err error)
GetTenancyAttachment Gets information about a TenancyAttachment.
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 (client TenancyAttachmentClient) ListTenancyAttachments(ctx context.Context, request ListTenancyAttachmentsRequest) (response ListTenancyAttachmentsResponse, err error)
ListTenancyAttachments Gets a list of TenancyAttachments.
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 (client *TenancyAttachmentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client TenancyAttachmentClient) UpdateTenancyAttachment(ctx context.Context, request UpdateTenancyAttachmentRequest) (response UpdateTenancyAttachmentResponse, err error)
UpdateTenancyAttachment Updates a TenancyAttachment.
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()
TenancyAttachmentCollection Results of a TenancyAttachment search. Contains both TenancyAttachmentSummary items and other information, such as metadata.
type TenancyAttachmentCollection struct { // List of TenancyAttachments. Items []TenancyAttachmentSummary `mandatory:"true" json:"items"` }
func (m TenancyAttachmentCollection) String() string
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
TenancyAttachmentLifecycleStateEnum Enum with underlying type: string
type TenancyAttachmentLifecycleStateEnum string
Set of constants representing the allowable values for TenancyAttachmentLifecycleStateEnum
const ( TenancyAttachmentLifecycleStateCreating TenancyAttachmentLifecycleStateEnum = "CREATING" TenancyAttachmentLifecycleStateUpdating TenancyAttachmentLifecycleStateEnum = "UPDATING" TenancyAttachmentLifecycleStateActive TenancyAttachmentLifecycleStateEnum = "ACTIVE" TenancyAttachmentLifecycleStateNeedsAttention TenancyAttachmentLifecycleStateEnum = "NEEDS_ATTENTION" TenancyAttachmentLifecycleStateDeleting TenancyAttachmentLifecycleStateEnum = "DELETING" TenancyAttachmentLifecycleStateDeleted TenancyAttachmentLifecycleStateEnum = "DELETED" TenancyAttachmentLifecycleStateFailed TenancyAttachmentLifecycleStateEnum = "FAILED" )
func GetMappingTenancyAttachmentLifecycleStateEnum(val string) (TenancyAttachmentLifecycleStateEnum, bool)
GetMappingTenancyAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTenancyAttachmentLifecycleStateEnumValues() []TenancyAttachmentLifecycleStateEnum
GetTenancyAttachmentLifecycleStateEnumValues Enumerates the set of values for TenancyAttachmentLifecycleStateEnum
TenancyAttachmentSummary Summary information about a TenancyAttachment.
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 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"` }
func (m TenancyAttachmentSummary) String() string
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
UpdateResourceAnalyticsInstanceDetails The data to update a ResourceAnalyticsInstance.
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"` }
func (m UpdateResourceAnalyticsInstanceDetails) String() string
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
UpdateResourceAnalyticsInstanceRequest wrapper for the UpdateResourceAnalyticsInstance operation
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.
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 }
func (request UpdateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateResourceAnalyticsInstanceRequest) String() string
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
UpdateResourceAnalyticsInstanceResponse wrapper for the UpdateResourceAnalyticsInstance operation
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"` }
func (response UpdateResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateResourceAnalyticsInstanceResponse) String() string
UpdateTenancyAttachmentDetails The data to update a TenancyAttachment.
type UpdateTenancyAttachmentDetails struct { // A description of the tenancy. Description *string `mandatory:"true" json:"description"` }
func (m UpdateTenancyAttachmentDetails) String() string
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
UpdateTenancyAttachmentRequest wrapper for the UpdateTenancyAttachment operation
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.
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 }
func (request UpdateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTenancyAttachmentRequest) String() string
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
UpdateTenancyAttachmentResponse wrapper for the UpdateTenancyAttachment operation
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"` }
func (response UpdateTenancyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTenancyAttachmentResponse) String() string
VaultSecretPasswordDetails Secret details for the ADW Admin password.
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"` }
func (m VaultSecretPasswordDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VaultSecretPasswordDetails) String() string
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
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.
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"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while performing an operation that is tracked by a work request.
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"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.
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"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type 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"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary Summary information about an asynchronous work request.
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"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.
type WorkRequestSummaryCollection struct { // A list of work requests. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly