...

Package resourceanalytics

import "github.com/oracle/oci-go-sdk/resourceanalytics"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues() []string
func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues() []string
func GetListMonitoredRegionsSortByEnumStringValues() []string
func GetListMonitoredRegionsSortOrderEnumStringValues() []string
func GetListResourceAnalyticsInstancesSortByEnumStringValues() []string
func GetListResourceAnalyticsInstancesSortOrderEnumStringValues() []string
func GetListTenancyAttachmentsSortByEnumStringValues() []string
func GetListTenancyAttachmentsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetMonitoredRegionLifecycleStateEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues() []string
func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues() []string
func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetTenancyAttachmentLifecycleStateEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AdwAdminPasswordDetails
type AdwAdminPasswordDetailsPasswordTypeEnum
    func GetAdwAdminPasswordDetailsPasswordTypeEnumValues() []AdwAdminPasswordDetailsPasswordTypeEnum
    func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum(val string) (AdwAdminPasswordDetailsPasswordTypeEnum, bool)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeResourceAnalyticsInstanceCompartmentDetails
    func (m ChangeResourceAnalyticsInstanceCompartmentDetails) String() string
    func (m ChangeResourceAnalyticsInstanceCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeResourceAnalyticsInstanceCompartmentRequest
    func (request ChangeResourceAnalyticsInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeResourceAnalyticsInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeResourceAnalyticsInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeResourceAnalyticsInstanceCompartmentRequest) String() string
    func (request ChangeResourceAnalyticsInstanceCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeResourceAnalyticsInstanceCompartmentResponse
    func (response ChangeResourceAnalyticsInstanceCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeResourceAnalyticsInstanceCompartmentResponse) String() string
type CreateMonitoredRegionDetails
    func (m CreateMonitoredRegionDetails) String() string
    func (m CreateMonitoredRegionDetails) ValidateEnumValue() (bool, error)
type CreateMonitoredRegionRequest
    func (request CreateMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMonitoredRegionRequest) String() string
    func (request CreateMonitoredRegionRequest) ValidateEnumValue() (bool, error)
type CreateMonitoredRegionResponse
    func (response CreateMonitoredRegionResponse) HTTPResponse() *http.Response
    func (response CreateMonitoredRegionResponse) String() string
type CreateResourceAnalyticsInstanceDetails
    func (m CreateResourceAnalyticsInstanceDetails) String() string
    func (m *CreateResourceAnalyticsInstanceDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateResourceAnalyticsInstanceDetails) ValidateEnumValue() (bool, error)
type CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
    func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues() []CreateResourceAnalyticsInstanceDetailsLicenseModelEnum
    func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum(val string) (CreateResourceAnalyticsInstanceDetailsLicenseModelEnum, bool)
type CreateResourceAnalyticsInstanceRequest
    func (request CreateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateResourceAnalyticsInstanceRequest) String() string
    func (request CreateResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)
type CreateResourceAnalyticsInstanceResponse
    func (response CreateResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
    func (response CreateResourceAnalyticsInstanceResponse) String() string
type CreateTenancyAttachmentDetails
    func (m CreateTenancyAttachmentDetails) String() string
    func (m CreateTenancyAttachmentDetails) ValidateEnumValue() (bool, error)
type CreateTenancyAttachmentRequest
    func (request CreateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateTenancyAttachmentRequest) String() string
    func (request CreateTenancyAttachmentRequest) ValidateEnumValue() (bool, error)
type CreateTenancyAttachmentResponse
    func (response CreateTenancyAttachmentResponse) HTTPResponse() *http.Response
    func (response CreateTenancyAttachmentResponse) String() string
type DeleteMonitoredRegionRequest
    func (request DeleteMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMonitoredRegionRequest) String() string
    func (request DeleteMonitoredRegionRequest) ValidateEnumValue() (bool, error)
type DeleteMonitoredRegionResponse
    func (response DeleteMonitoredRegionResponse) HTTPResponse() *http.Response
    func (response DeleteMonitoredRegionResponse) String() string
type DeleteResourceAnalyticsInstanceRequest
    func (request DeleteResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteResourceAnalyticsInstanceRequest) String() string
    func (request DeleteResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)
type DeleteResourceAnalyticsInstanceResponse
    func (response DeleteResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
    func (response DeleteResourceAnalyticsInstanceResponse) String() string
type DeleteTenancyAttachmentRequest
    func (request DeleteTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteTenancyAttachmentRequest) String() string
    func (request DeleteTenancyAttachmentRequest) ValidateEnumValue() (bool, error)
type DeleteTenancyAttachmentResponse
    func (response DeleteTenancyAttachmentResponse) HTTPResponse() *http.Response
    func (response DeleteTenancyAttachmentResponse) String() string
type GetMonitoredRegionRequest
    func (request GetMonitoredRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMonitoredRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMonitoredRegionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMonitoredRegionRequest) String() string
    func (request GetMonitoredRegionRequest) ValidateEnumValue() (bool, error)
type GetMonitoredRegionResponse
    func (response GetMonitoredRegionResponse) HTTPResponse() *http.Response
    func (response GetMonitoredRegionResponse) String() string
type GetResourceAnalyticsInstanceRequest
    func (request GetResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request GetResourceAnalyticsInstanceRequest) String() string
    func (request GetResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)
type GetResourceAnalyticsInstanceResponse
    func (response GetResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
    func (response GetResourceAnalyticsInstanceResponse) String() string
type GetTenancyAttachmentRequest
    func (request GetTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetTenancyAttachmentRequest) String() string
    func (request GetTenancyAttachmentRequest) ValidateEnumValue() (bool, error)
type GetTenancyAttachmentResponse
    func (response GetTenancyAttachmentResponse) HTTPResponse() *http.Response
    func (response GetTenancyAttachmentResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ListMonitoredRegionsRequest
    func (request ListMonitoredRegionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMonitoredRegionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMonitoredRegionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMonitoredRegionsRequest) String() string
    func (request ListMonitoredRegionsRequest) ValidateEnumValue() (bool, error)
type ListMonitoredRegionsResponse
    func (response ListMonitoredRegionsResponse) HTTPResponse() *http.Response
    func (response ListMonitoredRegionsResponse) String() string
type ListMonitoredRegionsSortByEnum
    func GetListMonitoredRegionsSortByEnumValues() []ListMonitoredRegionsSortByEnum
    func GetMappingListMonitoredRegionsSortByEnum(val string) (ListMonitoredRegionsSortByEnum, bool)
type ListMonitoredRegionsSortOrderEnum
    func GetListMonitoredRegionsSortOrderEnumValues() []ListMonitoredRegionsSortOrderEnum
    func GetMappingListMonitoredRegionsSortOrderEnum(val string) (ListMonitoredRegionsSortOrderEnum, bool)
type ListResourceAnalyticsInstancesRequest
    func (request ListResourceAnalyticsInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListResourceAnalyticsInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListResourceAnalyticsInstancesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListResourceAnalyticsInstancesRequest) String() string
    func (request ListResourceAnalyticsInstancesRequest) ValidateEnumValue() (bool, error)
type ListResourceAnalyticsInstancesResponse
    func (response ListResourceAnalyticsInstancesResponse) HTTPResponse() *http.Response
    func (response ListResourceAnalyticsInstancesResponse) String() string
type ListResourceAnalyticsInstancesSortByEnum
    func GetListResourceAnalyticsInstancesSortByEnumValues() []ListResourceAnalyticsInstancesSortByEnum
    func GetMappingListResourceAnalyticsInstancesSortByEnum(val string) (ListResourceAnalyticsInstancesSortByEnum, bool)
type ListResourceAnalyticsInstancesSortOrderEnum
    func GetListResourceAnalyticsInstancesSortOrderEnumValues() []ListResourceAnalyticsInstancesSortOrderEnum
    func GetMappingListResourceAnalyticsInstancesSortOrderEnum(val string) (ListResourceAnalyticsInstancesSortOrderEnum, bool)
type ListTenancyAttachmentsRequest
    func (request ListTenancyAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTenancyAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTenancyAttachmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTenancyAttachmentsRequest) String() string
    func (request ListTenancyAttachmentsRequest) ValidateEnumValue() (bool, error)
type ListTenancyAttachmentsResponse
    func (response ListTenancyAttachmentsResponse) HTTPResponse() *http.Response
    func (response ListTenancyAttachmentsResponse) String() string
type ListTenancyAttachmentsSortByEnum
    func GetListTenancyAttachmentsSortByEnumValues() []ListTenancyAttachmentsSortByEnum
    func GetMappingListTenancyAttachmentsSortByEnum(val string) (ListTenancyAttachmentsSortByEnum, bool)
type ListTenancyAttachmentsSortOrderEnum
    func GetListTenancyAttachmentsSortOrderEnumValues() []ListTenancyAttachmentsSortOrderEnum
    func GetMappingListTenancyAttachmentsSortOrderEnum(val string) (ListTenancyAttachmentsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type MonitoredRegion
    func (m MonitoredRegion) String() string
    func (m MonitoredRegion) ValidateEnumValue() (bool, error)
type MonitoredRegionClient
    func NewMonitoredRegionClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MonitoredRegionClient, err error)
    func NewMonitoredRegionClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MonitoredRegionClient, err error)
    func (client *MonitoredRegionClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client MonitoredRegionClient) CreateMonitoredRegion(ctx context.Context, request CreateMonitoredRegionRequest) (response CreateMonitoredRegionResponse, err error)
    func (client MonitoredRegionClient) DeleteMonitoredRegion(ctx context.Context, request DeleteMonitoredRegionRequest) (response DeleteMonitoredRegionResponse, err error)
    func (client MonitoredRegionClient) GetMonitoredRegion(ctx context.Context, request GetMonitoredRegionRequest) (response GetMonitoredRegionResponse, err error)
    func (client MonitoredRegionClient) ListMonitoredRegions(ctx context.Context, request ListMonitoredRegionsRequest) (response ListMonitoredRegionsResponse, err error)
    func (client *MonitoredRegionClient) SetRegion(region string)
type MonitoredRegionCollection
    func (m MonitoredRegionCollection) String() string
    func (m MonitoredRegionCollection) ValidateEnumValue() (bool, error)
type MonitoredRegionLifecycleStateEnum
    func GetMappingMonitoredRegionLifecycleStateEnum(val string) (MonitoredRegionLifecycleStateEnum, bool)
    func GetMonitoredRegionLifecycleStateEnumValues() []MonitoredRegionLifecycleStateEnum
type MonitoredRegionSummary
    func (m MonitoredRegionSummary) String() string
    func (m MonitoredRegionSummary) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PlainTextPasswordDetails
    func (m PlainTextPasswordDetails) MarshalJSON() (buff []byte, e error)
    func (m PlainTextPasswordDetails) String() string
    func (m PlainTextPasswordDetails) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstance
    func (m ResourceAnalyticsInstance) String() string
    func (m ResourceAnalyticsInstance) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceClient
    func NewResourceAnalyticsInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ResourceAnalyticsInstanceClient, err error)
    func NewResourceAnalyticsInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ResourceAnalyticsInstanceClient, err error)
    func (client ResourceAnalyticsInstanceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ChangeResourceAnalyticsInstanceCompartment(ctx context.Context, request ChangeResourceAnalyticsInstanceCompartmentRequest) (response ChangeResourceAnalyticsInstanceCompartmentResponse, err error)
    func (client *ResourceAnalyticsInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ResourceAnalyticsInstanceClient) CreateResourceAnalyticsInstance(ctx context.Context, request CreateResourceAnalyticsInstanceRequest) (response CreateResourceAnalyticsInstanceResponse, err error)
    func (client ResourceAnalyticsInstanceClient) DeleteResourceAnalyticsInstance(ctx context.Context, request DeleteResourceAnalyticsInstanceRequest) (response DeleteResourceAnalyticsInstanceResponse, err error)
    func (client ResourceAnalyticsInstanceClient) GetResourceAnalyticsInstance(ctx context.Context, request GetResourceAnalyticsInstanceRequest) (response GetResourceAnalyticsInstanceResponse, err error)
    func (client ResourceAnalyticsInstanceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ListResourceAnalyticsInstances(ctx context.Context, request ListResourceAnalyticsInstancesRequest) (response ListResourceAnalyticsInstancesResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceDisableOac(ctx context.Context, request ResourceAnalyticsInstanceDisableOacRequest) (response ResourceAnalyticsInstanceDisableOacResponse, err error)
    func (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceEnableOac(ctx context.Context, request ResourceAnalyticsInstanceEnableOacRequest) (response ResourceAnalyticsInstanceEnableOacResponse, err error)
    func (client *ResourceAnalyticsInstanceClient) SetRegion(region string)
    func (client ResourceAnalyticsInstanceClient) UpdateResourceAnalyticsInstance(ctx context.Context, request UpdateResourceAnalyticsInstanceRequest) (response UpdateResourceAnalyticsInstanceResponse, err error)
type ResourceAnalyticsInstanceCollection
    func (m ResourceAnalyticsInstanceCollection) String() string
    func (m ResourceAnalyticsInstanceCollection) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceDisableOacRequest
    func (request ResourceAnalyticsInstanceDisableOacRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ResourceAnalyticsInstanceDisableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ResourceAnalyticsInstanceDisableOacRequest) RetryPolicy() *common.RetryPolicy
    func (request ResourceAnalyticsInstanceDisableOacRequest) String() string
    func (request ResourceAnalyticsInstanceDisableOacRequest) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceDisableOacResponse
    func (response ResourceAnalyticsInstanceDisableOacResponse) HTTPResponse() *http.Response
    func (response ResourceAnalyticsInstanceDisableOacResponse) String() string
type ResourceAnalyticsInstanceEnableOacDetails
    func (m ResourceAnalyticsInstanceEnableOacDetails) String() string
    func (m ResourceAnalyticsInstanceEnableOacDetails) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
    func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum(val string) (ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum, bool)
    func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues() []ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum
type ResourceAnalyticsInstanceEnableOacRequest
    func (request ResourceAnalyticsInstanceEnableOacRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ResourceAnalyticsInstanceEnableOacRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ResourceAnalyticsInstanceEnableOacRequest) RetryPolicy() *common.RetryPolicy
    func (request ResourceAnalyticsInstanceEnableOacRequest) String() string
    func (request ResourceAnalyticsInstanceEnableOacRequest) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceEnableOacResponse
    func (response ResourceAnalyticsInstanceEnableOacResponse) HTTPResponse() *http.Response
    func (response ResourceAnalyticsInstanceEnableOacResponse) String() string
type ResourceAnalyticsInstanceLifecycleStateEnum
    func GetMappingResourceAnalyticsInstanceLifecycleStateEnum(val string) (ResourceAnalyticsInstanceLifecycleStateEnum, bool)
    func GetResourceAnalyticsInstanceLifecycleStateEnumValues() []ResourceAnalyticsInstanceLifecycleStateEnum
type ResourceAnalyticsInstanceOacAttachmentDetails
    func (m ResourceAnalyticsInstanceOacAttachmentDetails) String() string
    func (m ResourceAnalyticsInstanceOacAttachmentDetails) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
    func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum(val string) (ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum, bool)
    func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues() []ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum
type ResourceAnalyticsInstanceOacNetworkDetails
    func (m ResourceAnalyticsInstanceOacNetworkDetails) String() string
    func (m ResourceAnalyticsInstanceOacNetworkDetails) ValidateEnumValue() (bool, error)
type ResourceAnalyticsInstanceSummary
    func (m ResourceAnalyticsInstanceSummary) String() string
    func (m ResourceAnalyticsInstanceSummary) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type TenancyAttachment
    func (m TenancyAttachment) String() string
    func (m TenancyAttachment) ValidateEnumValue() (bool, error)
type TenancyAttachmentClient
    func NewTenancyAttachmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TenancyAttachmentClient, err error)
    func NewTenancyAttachmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TenancyAttachmentClient, err error)
    func (client *TenancyAttachmentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client TenancyAttachmentClient) CreateTenancyAttachment(ctx context.Context, request CreateTenancyAttachmentRequest) (response CreateTenancyAttachmentResponse, err error)
    func (client TenancyAttachmentClient) DeleteTenancyAttachment(ctx context.Context, request DeleteTenancyAttachmentRequest) (response DeleteTenancyAttachmentResponse, err error)
    func (client TenancyAttachmentClient) GetTenancyAttachment(ctx context.Context, request GetTenancyAttachmentRequest) (response GetTenancyAttachmentResponse, err error)
    func (client TenancyAttachmentClient) ListTenancyAttachments(ctx context.Context, request ListTenancyAttachmentsRequest) (response ListTenancyAttachmentsResponse, err error)
    func (client *TenancyAttachmentClient) SetRegion(region string)
    func (client TenancyAttachmentClient) UpdateTenancyAttachment(ctx context.Context, request UpdateTenancyAttachmentRequest) (response UpdateTenancyAttachmentResponse, err error)
type TenancyAttachmentCollection
    func (m TenancyAttachmentCollection) String() string
    func (m TenancyAttachmentCollection) ValidateEnumValue() (bool, error)
type TenancyAttachmentLifecycleStateEnum
    func GetMappingTenancyAttachmentLifecycleStateEnum(val string) (TenancyAttachmentLifecycleStateEnum, bool)
    func GetTenancyAttachmentLifecycleStateEnumValues() []TenancyAttachmentLifecycleStateEnum
type TenancyAttachmentSummary
    func (m TenancyAttachmentSummary) String() string
    func (m TenancyAttachmentSummary) ValidateEnumValue() (bool, error)
type UpdateResourceAnalyticsInstanceDetails
    func (m UpdateResourceAnalyticsInstanceDetails) String() string
    func (m UpdateResourceAnalyticsInstanceDetails) ValidateEnumValue() (bool, error)
type UpdateResourceAnalyticsInstanceRequest
    func (request UpdateResourceAnalyticsInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateResourceAnalyticsInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateResourceAnalyticsInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateResourceAnalyticsInstanceRequest) String() string
    func (request UpdateResourceAnalyticsInstanceRequest) ValidateEnumValue() (bool, error)
type UpdateResourceAnalyticsInstanceResponse
    func (response UpdateResourceAnalyticsInstanceResponse) HTTPResponse() *http.Response
    func (response UpdateResourceAnalyticsInstanceResponse) String() string
type UpdateTenancyAttachmentDetails
    func (m UpdateTenancyAttachmentDetails) String() string
    func (m UpdateTenancyAttachmentDetails) ValidateEnumValue() (bool, error)
type UpdateTenancyAttachmentRequest
    func (request UpdateTenancyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateTenancyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateTenancyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateTenancyAttachmentRequest) String() string
    func (request UpdateTenancyAttachmentRequest) ValidateEnumValue() (bool, error)
type UpdateTenancyAttachmentResponse
    func (response UpdateTenancyAttachmentResponse) HTTPResponse() *http.Response
    func (response UpdateTenancyAttachmentResponse) String() string
type VaultSecretPasswordDetails
    func (m VaultSecretPasswordDetails) MarshalJSON() (buff []byte, e error)
    func (m VaultSecretPasswordDetails) String() string
    func (m VaultSecretPasswordDetails) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go adw_admin_password_details.go cancel_work_request_request_response.go change_resource_analytics_instance_compartment_details.go change_resource_analytics_instance_compartment_request_response.go create_monitored_region_details.go create_monitored_region_request_response.go create_resource_analytics_instance_details.go create_resource_analytics_instance_request_response.go create_tenancy_attachment_details.go create_tenancy_attachment_request_response.go delete_monitored_region_request_response.go delete_resource_analytics_instance_request_response.go delete_tenancy_attachment_request_response.go get_monitored_region_request_response.go get_resource_analytics_instance_request_response.go get_tenancy_attachment_request_response.go get_work_request_request_response.go list_monitored_regions_request_response.go list_resource_analytics_instances_request_response.go list_tenancy_attachments_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go monitored_region.go monitored_region_collection.go monitored_region_summary.go operation_status.go operation_type.go plain_text_password_details.go resource_analytics_instance.go resource_analytics_instance_collection.go resource_analytics_instance_disable_oac_request_response.go resource_analytics_instance_enable_oac_details.go resource_analytics_instance_enable_oac_request_response.go resource_analytics_instance_oac_attachment_details.go resource_analytics_instance_oac_network_details.go resource_analytics_instance_summary.go resourceanalytics_monitoredregion_client.go resourceanalytics_resourceanalyticsinstance_client.go resourceanalytics_tenancyattachment_client.go sort_order.go tenancy_attachment.go tenancy_attachment_collection.go tenancy_attachment_summary.go update_resource_analytics_instance_details.go update_resource_analytics_instance_request_response.go update_tenancy_attachment_details.go update_tenancy_attachment_request_response.go vault_secret_password_details.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues

func GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues() []string

GetAdwAdminPasswordDetailsPasswordTypeEnumStringValues Enumerates the set of values in String for AdwAdminPasswordDetailsPasswordTypeEnum

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues() []string

GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumStringValues Enumerates the set of values in String for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetListMonitoredRegionsSortByEnumStringValues

func GetListMonitoredRegionsSortByEnumStringValues() []string

GetListMonitoredRegionsSortByEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortByEnum

func GetListMonitoredRegionsSortOrderEnumStringValues

func GetListMonitoredRegionsSortOrderEnumStringValues() []string

GetListMonitoredRegionsSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredRegionsSortOrderEnum

func GetListResourceAnalyticsInstancesSortByEnumStringValues

func GetListResourceAnalyticsInstancesSortByEnumStringValues() []string

GetListResourceAnalyticsInstancesSortByEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortByEnum

func GetListResourceAnalyticsInstancesSortOrderEnumStringValues

func GetListResourceAnalyticsInstancesSortOrderEnumStringValues() []string

GetListResourceAnalyticsInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceAnalyticsInstancesSortOrderEnum

func GetListTenancyAttachmentsSortByEnumStringValues

func GetListTenancyAttachmentsSortByEnumStringValues() []string

GetListTenancyAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortByEnum

func GetListTenancyAttachmentsSortOrderEnumStringValues

func GetListTenancyAttachmentsSortOrderEnumStringValues() []string

GetListTenancyAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyAttachmentsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMonitoredRegionLifecycleStateEnumStringValues

func GetMonitoredRegionLifecycleStateEnumStringValues() []string

GetMonitoredRegionLifecycleStateEnumStringValues Enumerates the set of values in String for MonitoredRegionLifecycleStateEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues() []string

GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues

func GetResourceAnalyticsInstanceLifecycleStateEnumStringValues() []string

GetResourceAnalyticsInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceLifecycleStateEnum

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues() []string

GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumStringValues Enumerates the set of values in String for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTenancyAttachmentLifecycleStateEnumStringValues

func GetTenancyAttachmentLifecycleStateEnumStringValues() []string

GetTenancyAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for TenancyAttachmentLifecycleStateEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type ActionTypeEnum

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

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type AdwAdminPasswordDetails

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 {
}

type AdwAdminPasswordDetailsPasswordTypeEnum

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

func GetAdwAdminPasswordDetailsPasswordTypeEnumValues() []AdwAdminPasswordDetailsPasswordTypeEnum

GetAdwAdminPasswordDetailsPasswordTypeEnumValues Enumerates the set of values for AdwAdminPasswordDetailsPasswordTypeEnum

func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum

func GetMappingAdwAdminPasswordDetailsPasswordTypeEnum(val string) (AdwAdminPasswordDetailsPasswordTypeEnum, bool)

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

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

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

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 (CancelWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

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

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

type CancelWorkRequestResponse

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 (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeResourceAnalyticsInstanceCompartmentDetails

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 (ChangeResourceAnalyticsInstanceCompartmentDetails) String

func (m ChangeResourceAnalyticsInstanceCompartmentDetails) String() string

func (ChangeResourceAnalyticsInstanceCompartmentDetails) ValidateEnumValue

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

type ChangeResourceAnalyticsInstanceCompartmentRequest

ChangeResourceAnalyticsInstanceCompartmentRequest wrapper for the ChangeResourceAnalyticsInstanceCompartment operation

See also

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

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 (ChangeResourceAnalyticsInstanceCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeResourceAnalyticsInstanceCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeResourceAnalyticsInstanceCompartmentRequest) RetryPolicy

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

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

func (ChangeResourceAnalyticsInstanceCompartmentRequest) String

func (request ChangeResourceAnalyticsInstanceCompartmentRequest) String() string

func (ChangeResourceAnalyticsInstanceCompartmentRequest) ValidateEnumValue

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

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

type ChangeResourceAnalyticsInstanceCompartmentResponse

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 (ChangeResourceAnalyticsInstanceCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeResourceAnalyticsInstanceCompartmentResponse) String

func (response ChangeResourceAnalyticsInstanceCompartmentResponse) String() string

type CreateMonitoredRegionDetails

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 (CreateMonitoredRegionDetails) String

func (m CreateMonitoredRegionDetails) String() string

func (CreateMonitoredRegionDetails) ValidateEnumValue

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

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

type CreateMonitoredRegionRequest

CreateMonitoredRegionRequest wrapper for the CreateMonitoredRegion operation

See also

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

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 (CreateMonitoredRegionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateMonitoredRegionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateMonitoredRegionRequest) RetryPolicy

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

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

func (CreateMonitoredRegionRequest) String

func (request CreateMonitoredRegionRequest) String() string

func (CreateMonitoredRegionRequest) ValidateEnumValue

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

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

type CreateMonitoredRegionResponse

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 (CreateMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMonitoredRegionResponse) String

func (response CreateMonitoredRegionResponse) String() string

type CreateResourceAnalyticsInstanceDetails

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 (CreateResourceAnalyticsInstanceDetails) String

func (m CreateResourceAnalyticsInstanceDetails) String() string

func (*CreateResourceAnalyticsInstanceDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateResourceAnalyticsInstanceDetails) ValidateEnumValue

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

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

type CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

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

func GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues() []CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

GetCreateResourceAnalyticsInstanceDetailsLicenseModelEnumValues Enumerates the set of values for CreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum

func GetMappingCreateResourceAnalyticsInstanceDetailsLicenseModelEnum(val string) (CreateResourceAnalyticsInstanceDetailsLicenseModelEnum, bool)

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

type CreateResourceAnalyticsInstanceRequest

CreateResourceAnalyticsInstanceRequest wrapper for the CreateResourceAnalyticsInstance operation

See also

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

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 (CreateResourceAnalyticsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateResourceAnalyticsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateResourceAnalyticsInstanceRequest) RetryPolicy

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

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

func (CreateResourceAnalyticsInstanceRequest) String

func (request CreateResourceAnalyticsInstanceRequest) String() string

func (CreateResourceAnalyticsInstanceRequest) ValidateEnumValue

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

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

type CreateResourceAnalyticsInstanceResponse

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 (CreateResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateResourceAnalyticsInstanceResponse) String

func (response CreateResourceAnalyticsInstanceResponse) String() string

type CreateTenancyAttachmentDetails

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 (CreateTenancyAttachmentDetails) String

func (m CreateTenancyAttachmentDetails) String() string

func (CreateTenancyAttachmentDetails) ValidateEnumValue

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

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

type CreateTenancyAttachmentRequest

CreateTenancyAttachmentRequest wrapper for the CreateTenancyAttachment operation

See also

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

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 (CreateTenancyAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTenancyAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTenancyAttachmentRequest) RetryPolicy

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

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

func (CreateTenancyAttachmentRequest) String

func (request CreateTenancyAttachmentRequest) String() string

func (CreateTenancyAttachmentRequest) ValidateEnumValue

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

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

type CreateTenancyAttachmentResponse

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 (CreateTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTenancyAttachmentResponse) String

func (response CreateTenancyAttachmentResponse) String() string

type DeleteMonitoredRegionRequest

DeleteMonitoredRegionRequest wrapper for the DeleteMonitoredRegion operation

See also

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

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 (DeleteMonitoredRegionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteMonitoredRegionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteMonitoredRegionRequest) RetryPolicy

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

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

func (DeleteMonitoredRegionRequest) String

func (request DeleteMonitoredRegionRequest) String() string

func (DeleteMonitoredRegionRequest) ValidateEnumValue

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

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

type DeleteMonitoredRegionResponse

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 (DeleteMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMonitoredRegionResponse) String

func (response DeleteMonitoredRegionResponse) String() string

type DeleteResourceAnalyticsInstanceRequest

DeleteResourceAnalyticsInstanceRequest wrapper for the DeleteResourceAnalyticsInstance operation

See also

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

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 (DeleteResourceAnalyticsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteResourceAnalyticsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteResourceAnalyticsInstanceRequest) RetryPolicy

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

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

func (DeleteResourceAnalyticsInstanceRequest) String

func (request DeleteResourceAnalyticsInstanceRequest) String() string

func (DeleteResourceAnalyticsInstanceRequest) ValidateEnumValue

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

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

type DeleteResourceAnalyticsInstanceResponse

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 (DeleteResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteResourceAnalyticsInstanceResponse) String

func (response DeleteResourceAnalyticsInstanceResponse) String() string

type DeleteTenancyAttachmentRequest

DeleteTenancyAttachmentRequest wrapper for the DeleteTenancyAttachment operation

See also

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

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 (DeleteTenancyAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTenancyAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTenancyAttachmentRequest) RetryPolicy

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

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

func (DeleteTenancyAttachmentRequest) String

func (request DeleteTenancyAttachmentRequest) String() string

func (DeleteTenancyAttachmentRequest) ValidateEnumValue

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

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

type DeleteTenancyAttachmentResponse

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 (DeleteTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTenancyAttachmentResponse) String

func (response DeleteTenancyAttachmentResponse) String() string

type GetMonitoredRegionRequest

GetMonitoredRegionRequest wrapper for the GetMonitoredRegion operation

See also

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

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 (GetMonitoredRegionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMonitoredRegionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMonitoredRegionRequest) RetryPolicy

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

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

func (GetMonitoredRegionRequest) String

func (request GetMonitoredRegionRequest) String() string

func (GetMonitoredRegionRequest) ValidateEnumValue

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

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

type GetMonitoredRegionResponse

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 (GetMonitoredRegionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitoredRegionResponse) String

func (response GetMonitoredRegionResponse) String() string

type GetResourceAnalyticsInstanceRequest

GetResourceAnalyticsInstanceRequest wrapper for the GetResourceAnalyticsInstance operation

See also

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

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 (GetResourceAnalyticsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetResourceAnalyticsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetResourceAnalyticsInstanceRequest) RetryPolicy

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

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

func (GetResourceAnalyticsInstanceRequest) String

func (request GetResourceAnalyticsInstanceRequest) String() string

func (GetResourceAnalyticsInstanceRequest) ValidateEnumValue

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

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

type GetResourceAnalyticsInstanceResponse

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 (GetResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetResourceAnalyticsInstanceResponse) String

func (response GetResourceAnalyticsInstanceResponse) String() string

type GetTenancyAttachmentRequest

GetTenancyAttachmentRequest wrapper for the GetTenancyAttachment operation

See also

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

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 (GetTenancyAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTenancyAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTenancyAttachmentRequest) RetryPolicy

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

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

func (GetTenancyAttachmentRequest) String

func (request GetTenancyAttachmentRequest) String() string

func (GetTenancyAttachmentRequest) ValidateEnumValue

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

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

type GetTenancyAttachmentResponse

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 (GetTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTenancyAttachmentResponse) String

func (response GetTenancyAttachmentResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

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 (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

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 (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ListMonitoredRegionsRequest

ListMonitoredRegionsRequest wrapper for the ListMonitoredRegions operation

See also

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

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 (ListMonitoredRegionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMonitoredRegionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMonitoredRegionsRequest) RetryPolicy

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

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

func (ListMonitoredRegionsRequest) String

func (request ListMonitoredRegionsRequest) String() string

func (ListMonitoredRegionsRequest) ValidateEnumValue

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

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

type ListMonitoredRegionsResponse

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 (ListMonitoredRegionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMonitoredRegionsResponse) String

func (response ListMonitoredRegionsResponse) String() string

type ListMonitoredRegionsSortByEnum

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

func GetListMonitoredRegionsSortByEnumValues() []ListMonitoredRegionsSortByEnum

GetListMonitoredRegionsSortByEnumValues Enumerates the set of values for ListMonitoredRegionsSortByEnum

func GetMappingListMonitoredRegionsSortByEnum

func GetMappingListMonitoredRegionsSortByEnum(val string) (ListMonitoredRegionsSortByEnum, bool)

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

type ListMonitoredRegionsSortOrderEnum

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

func GetListMonitoredRegionsSortOrderEnumValues() []ListMonitoredRegionsSortOrderEnum

GetListMonitoredRegionsSortOrderEnumValues Enumerates the set of values for ListMonitoredRegionsSortOrderEnum

func GetMappingListMonitoredRegionsSortOrderEnum

func GetMappingListMonitoredRegionsSortOrderEnum(val string) (ListMonitoredRegionsSortOrderEnum, bool)

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

type ListResourceAnalyticsInstancesRequest

ListResourceAnalyticsInstancesRequest wrapper for the ListResourceAnalyticsInstances operation

See also

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

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 (ListResourceAnalyticsInstancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListResourceAnalyticsInstancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListResourceAnalyticsInstancesRequest) RetryPolicy

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

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

func (ListResourceAnalyticsInstancesRequest) String

func (request ListResourceAnalyticsInstancesRequest) String() string

func (ListResourceAnalyticsInstancesRequest) ValidateEnumValue

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

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

type ListResourceAnalyticsInstancesResponse

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 (ListResourceAnalyticsInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListResourceAnalyticsInstancesResponse) String

func (response ListResourceAnalyticsInstancesResponse) String() string

type ListResourceAnalyticsInstancesSortByEnum

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

func GetListResourceAnalyticsInstancesSortByEnumValues() []ListResourceAnalyticsInstancesSortByEnum

GetListResourceAnalyticsInstancesSortByEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortByEnum

func GetMappingListResourceAnalyticsInstancesSortByEnum

func GetMappingListResourceAnalyticsInstancesSortByEnum(val string) (ListResourceAnalyticsInstancesSortByEnum, bool)

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

type ListResourceAnalyticsInstancesSortOrderEnum

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

func GetListResourceAnalyticsInstancesSortOrderEnumValues() []ListResourceAnalyticsInstancesSortOrderEnum

GetListResourceAnalyticsInstancesSortOrderEnumValues Enumerates the set of values for ListResourceAnalyticsInstancesSortOrderEnum

func GetMappingListResourceAnalyticsInstancesSortOrderEnum

func GetMappingListResourceAnalyticsInstancesSortOrderEnum(val string) (ListResourceAnalyticsInstancesSortOrderEnum, bool)

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

type ListTenancyAttachmentsRequest

ListTenancyAttachmentsRequest wrapper for the ListTenancyAttachments operation

See also

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

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 (ListTenancyAttachmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTenancyAttachmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTenancyAttachmentsRequest) RetryPolicy

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

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

func (ListTenancyAttachmentsRequest) String

func (request ListTenancyAttachmentsRequest) String() string

func (ListTenancyAttachmentsRequest) ValidateEnumValue

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

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

type ListTenancyAttachmentsResponse

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 (ListTenancyAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTenancyAttachmentsResponse) String

func (response ListTenancyAttachmentsResponse) String() string

type ListTenancyAttachmentsSortByEnum

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

func GetListTenancyAttachmentsSortByEnumValues() []ListTenancyAttachmentsSortByEnum

GetListTenancyAttachmentsSortByEnumValues Enumerates the set of values for ListTenancyAttachmentsSortByEnum

func GetMappingListTenancyAttachmentsSortByEnum

func GetMappingListTenancyAttachmentsSortByEnum(val string) (ListTenancyAttachmentsSortByEnum, bool)

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

type ListTenancyAttachmentsSortOrderEnum

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

func GetListTenancyAttachmentsSortOrderEnumValues() []ListTenancyAttachmentsSortOrderEnum

GetListTenancyAttachmentsSortOrderEnumValues Enumerates the set of values for ListTenancyAttachmentsSortOrderEnum

func GetMappingListTenancyAttachmentsSortOrderEnum

func GetMappingListTenancyAttachmentsSortOrderEnum(val string) (ListTenancyAttachmentsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

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 (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

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 (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

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 (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

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 (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

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 (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

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 (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

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

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

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

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type MonitoredRegion

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 (MonitoredRegion) String

func (m MonitoredRegion) String() string

func (MonitoredRegion) ValidateEnumValue

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

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

type MonitoredRegionClient

MonitoredRegionClient a client for MonitoredRegion

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

func NewMonitoredRegionClientWithConfigurationProvider

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

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

func NewMonitoredRegionClientWithOboToken

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

NewMonitoredRegionClientWithOboToken Creates a new default MonitoredRegion client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*MonitoredRegionClient) ConfigurationProvider

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

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

func (MonitoredRegionClient) CreateMonitoredRegion

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

CreateMonitoredRegion Creates a MonitoredRegion.

See also

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

func (MonitoredRegionClient) DeleteMonitoredRegion

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

DeleteMonitoredRegion Deletes a MonitoredRegion.

See also

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

func (MonitoredRegionClient) GetMonitoredRegion

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

GetMonitoredRegion Gets information about a MonitoredRegion.

See also

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

func (MonitoredRegionClient) ListMonitoredRegions

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

ListMonitoredRegions Gets a list of MonitoredRegions.

See also

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

func (*MonitoredRegionClient) SetRegion

func (client *MonitoredRegionClient) SetRegion(region string)

SetRegion overrides the region of this client.

type MonitoredRegionCollection

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 (MonitoredRegionCollection) String

func (m MonitoredRegionCollection) String() string

func (MonitoredRegionCollection) ValidateEnumValue

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

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

type MonitoredRegionLifecycleStateEnum

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

func GetMappingMonitoredRegionLifecycleStateEnum(val string) (MonitoredRegionLifecycleStateEnum, bool)

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

func GetMonitoredRegionLifecycleStateEnumValues

func GetMonitoredRegionLifecycleStateEnumValues() []MonitoredRegionLifecycleStateEnum

GetMonitoredRegionLifecycleStateEnumValues Enumerates the set of values for MonitoredRegionLifecycleStateEnum

type MonitoredRegionSummary

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 (MonitoredRegionSummary) String

func (m MonitoredRegionSummary) String() string

func (MonitoredRegionSummary) ValidateEnumValue

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

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

type OperationStatusEnum

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

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

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

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PlainTextPasswordDetails

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 (PlainTextPasswordDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (PlainTextPasswordDetails) String

func (m PlainTextPasswordDetails) String() string

func (PlainTextPasswordDetails) ValidateEnumValue

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

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

type ResourceAnalyticsInstance

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 (ResourceAnalyticsInstance) String

func (m ResourceAnalyticsInstance) String() string

func (ResourceAnalyticsInstance) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceClient

ResourceAnalyticsInstanceClient a client for ResourceAnalyticsInstance

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

func NewResourceAnalyticsInstanceClientWithConfigurationProvider

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

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

func NewResourceAnalyticsInstanceClientWithOboToken

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

NewResourceAnalyticsInstanceClientWithOboToken Creates a new default ResourceAnalyticsInstance client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ResourceAnalyticsInstanceClient) CancelWorkRequest

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

CancelWorkRequest Cancels a work request.

See also

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

func (ResourceAnalyticsInstanceClient) ChangeResourceAnalyticsInstanceCompartment

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

See also

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

func (*ResourceAnalyticsInstanceClient) ConfigurationProvider

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

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

func (ResourceAnalyticsInstanceClient) CreateResourceAnalyticsInstance

func (client ResourceAnalyticsInstanceClient) CreateResourceAnalyticsInstance(ctx context.Context, request CreateResourceAnalyticsInstanceRequest) (response CreateResourceAnalyticsInstanceResponse, err error)

CreateResourceAnalyticsInstance Creates a ResourceAnalyticsInstance.

See also

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

func (ResourceAnalyticsInstanceClient) DeleteResourceAnalyticsInstance

func (client ResourceAnalyticsInstanceClient) DeleteResourceAnalyticsInstance(ctx context.Context, request DeleteResourceAnalyticsInstanceRequest) (response DeleteResourceAnalyticsInstanceResponse, err error)

DeleteResourceAnalyticsInstance Deletes a ResourceAnalyticsInstance.

See also

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

func (ResourceAnalyticsInstanceClient) GetResourceAnalyticsInstance

func (client ResourceAnalyticsInstanceClient) GetResourceAnalyticsInstance(ctx context.Context, request GetResourceAnalyticsInstanceRequest) (response GetResourceAnalyticsInstanceResponse, err error)

GetResourceAnalyticsInstance Gets information about a ResourceAnalyticsInstance.

See also

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

func (ResourceAnalyticsInstanceClient) GetWorkRequest

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

GetWorkRequest Gets the details of a work request.

See also

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

func (ResourceAnalyticsInstanceClient) ListResourceAnalyticsInstances

func (client ResourceAnalyticsInstanceClient) ListResourceAnalyticsInstances(ctx context.Context, request ListResourceAnalyticsInstancesRequest) (response ListResourceAnalyticsInstancesResponse, err error)

ListResourceAnalyticsInstances Gets a list of ResourceAnalyticsInstances.

See also

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

func (ResourceAnalyticsInstanceClient) ListWorkRequestErrors

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

ListWorkRequestErrors Lists the errors for a work request.

See also

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

func (ResourceAnalyticsInstanceClient) ListWorkRequestLogs

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

ListWorkRequestLogs Lists the logs for a work request.

See also

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

func (ResourceAnalyticsInstanceClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceDisableOac

func (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceDisableOac(ctx context.Context, request ResourceAnalyticsInstanceDisableOacRequest) (response ResourceAnalyticsInstanceDisableOacResponse, err error)

ResourceAnalyticsInstanceDisableOac Disable an OAC instance for a ResourceAnalyticsInstance.

See also

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

func (ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceEnableOac

func (client ResourceAnalyticsInstanceClient) ResourceAnalyticsInstanceEnableOac(ctx context.Context, request ResourceAnalyticsInstanceEnableOacRequest) (response ResourceAnalyticsInstanceEnableOacResponse, err error)

ResourceAnalyticsInstanceEnableOac Attaches an OAC instance to a ResourceAnalyticsInstance.

See also

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

func (*ResourceAnalyticsInstanceClient) SetRegion

func (client *ResourceAnalyticsInstanceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ResourceAnalyticsInstanceClient) UpdateResourceAnalyticsInstance

func (client ResourceAnalyticsInstanceClient) UpdateResourceAnalyticsInstance(ctx context.Context, request UpdateResourceAnalyticsInstanceRequest) (response UpdateResourceAnalyticsInstanceResponse, err error)

UpdateResourceAnalyticsInstance Updates a ResourceAnalyticsInstance.

See also

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

type ResourceAnalyticsInstanceCollection

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 (ResourceAnalyticsInstanceCollection) String

func (m ResourceAnalyticsInstanceCollection) String() string

func (ResourceAnalyticsInstanceCollection) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceDisableOacRequest

ResourceAnalyticsInstanceDisableOacRequest wrapper for the ResourceAnalyticsInstanceDisableOac operation

See also

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

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 (ResourceAnalyticsInstanceDisableOacRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ResourceAnalyticsInstanceDisableOacRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ResourceAnalyticsInstanceDisableOacRequest) RetryPolicy

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

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

func (ResourceAnalyticsInstanceDisableOacRequest) String

func (request ResourceAnalyticsInstanceDisableOacRequest) String() string

func (ResourceAnalyticsInstanceDisableOacRequest) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceDisableOacResponse

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 (ResourceAnalyticsInstanceDisableOacResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResourceAnalyticsInstanceDisableOacResponse) String

func (response ResourceAnalyticsInstanceDisableOacResponse) String() string

type ResourceAnalyticsInstanceEnableOacDetails

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 (ResourceAnalyticsInstanceEnableOacDetails) String

func (m ResourceAnalyticsInstanceEnableOacDetails) String() string

func (ResourceAnalyticsInstanceEnableOacDetails) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum Enum with underlying type: string

type ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum string

Set of constants representing the allowable values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

const (
    ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeManaged ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum = "MANAGED"
)

func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

func GetMappingResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum(val string) (ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum, bool)

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

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues

func GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues() []ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

GetResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnumValues Enumerates the set of values for ResourceAnalyticsInstanceEnableOacDetailsAttachmentTypeEnum

type ResourceAnalyticsInstanceEnableOacRequest

ResourceAnalyticsInstanceEnableOacRequest wrapper for the ResourceAnalyticsInstanceEnableOac operation

See also

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

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 (ResourceAnalyticsInstanceEnableOacRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ResourceAnalyticsInstanceEnableOacRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ResourceAnalyticsInstanceEnableOacRequest) RetryPolicy

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

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

func (ResourceAnalyticsInstanceEnableOacRequest) String

func (request ResourceAnalyticsInstanceEnableOacRequest) String() string

func (ResourceAnalyticsInstanceEnableOacRequest) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceEnableOacResponse

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 (ResourceAnalyticsInstanceEnableOacResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResourceAnalyticsInstanceEnableOacResponse) String

func (response ResourceAnalyticsInstanceEnableOacResponse) String() string

type ResourceAnalyticsInstanceLifecycleStateEnum

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

func GetMappingResourceAnalyticsInstanceLifecycleStateEnum(val string) (ResourceAnalyticsInstanceLifecycleStateEnum, bool)

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

func GetResourceAnalyticsInstanceLifecycleStateEnumValues

func GetResourceAnalyticsInstanceLifecycleStateEnumValues() []ResourceAnalyticsInstanceLifecycleStateEnum

GetResourceAnalyticsInstanceLifecycleStateEnumValues Enumerates the set of values for ResourceAnalyticsInstanceLifecycleStateEnum

type ResourceAnalyticsInstanceOacAttachmentDetails

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 (ResourceAnalyticsInstanceOacAttachmentDetails) String

func (m ResourceAnalyticsInstanceOacAttachmentDetails) String() string

func (ResourceAnalyticsInstanceOacAttachmentDetails) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

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

func GetMappingResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum(val string) (ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum, bool)

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

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues

func GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues() []ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

GetResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnumValues Enumerates the set of values for ResourceAnalyticsInstanceOacAttachmentDetailsLicenseModelEnum

type ResourceAnalyticsInstanceOacNetworkDetails

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 (ResourceAnalyticsInstanceOacNetworkDetails) String

func (m ResourceAnalyticsInstanceOacNetworkDetails) String() string

func (ResourceAnalyticsInstanceOacNetworkDetails) ValidateEnumValue

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

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

type ResourceAnalyticsInstanceSummary

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 (ResourceAnalyticsInstanceSummary) String

func (m ResourceAnalyticsInstanceSummary) String() string

func (ResourceAnalyticsInstanceSummary) ValidateEnumValue

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

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

type SortOrderEnum

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

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type TenancyAttachment

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 (TenancyAttachment) String

func (m TenancyAttachment) String() string

func (TenancyAttachment) ValidateEnumValue

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

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

type TenancyAttachmentClient

TenancyAttachmentClient a client for TenancyAttachment

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

func NewTenancyAttachmentClientWithConfigurationProvider

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

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

func NewTenancyAttachmentClientWithOboToken

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

NewTenancyAttachmentClientWithOboToken Creates a new default TenancyAttachment client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*TenancyAttachmentClient) ConfigurationProvider

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

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

func (TenancyAttachmentClient) CreateTenancyAttachment

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

CreateTenancyAttachment Creates a TenancyAttachment.

See also

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

func (TenancyAttachmentClient) DeleteTenancyAttachment

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

DeleteTenancyAttachment Deletes a TenancyAttachment.

See also

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

func (TenancyAttachmentClient) GetTenancyAttachment

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

GetTenancyAttachment Gets information about a TenancyAttachment.

See also

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

func (TenancyAttachmentClient) ListTenancyAttachments

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

ListTenancyAttachments Gets a list of TenancyAttachments.

See also

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

func (*TenancyAttachmentClient) SetRegion

func (client *TenancyAttachmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TenancyAttachmentClient) UpdateTenancyAttachment

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

UpdateTenancyAttachment Updates a TenancyAttachment.

See also

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

type TenancyAttachmentCollection

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 (TenancyAttachmentCollection) String

func (m TenancyAttachmentCollection) String() string

func (TenancyAttachmentCollection) ValidateEnumValue

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

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

type TenancyAttachmentLifecycleStateEnum

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

func GetMappingTenancyAttachmentLifecycleStateEnum(val string) (TenancyAttachmentLifecycleStateEnum, bool)

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

func GetTenancyAttachmentLifecycleStateEnumValues

func GetTenancyAttachmentLifecycleStateEnumValues() []TenancyAttachmentLifecycleStateEnum

GetTenancyAttachmentLifecycleStateEnumValues Enumerates the set of values for TenancyAttachmentLifecycleStateEnum

type TenancyAttachmentSummary

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 (TenancyAttachmentSummary) String

func (m TenancyAttachmentSummary) String() string

func (TenancyAttachmentSummary) ValidateEnumValue

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

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

type UpdateResourceAnalyticsInstanceDetails

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 (UpdateResourceAnalyticsInstanceDetails) String

func (m UpdateResourceAnalyticsInstanceDetails) String() string

func (UpdateResourceAnalyticsInstanceDetails) ValidateEnumValue

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

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

type UpdateResourceAnalyticsInstanceRequest

UpdateResourceAnalyticsInstanceRequest wrapper for the UpdateResourceAnalyticsInstance operation

See also

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

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 (UpdateResourceAnalyticsInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateResourceAnalyticsInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateResourceAnalyticsInstanceRequest) RetryPolicy

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

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

func (UpdateResourceAnalyticsInstanceRequest) String

func (request UpdateResourceAnalyticsInstanceRequest) String() string

func (UpdateResourceAnalyticsInstanceRequest) ValidateEnumValue

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

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

type UpdateResourceAnalyticsInstanceResponse

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 (UpdateResourceAnalyticsInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateResourceAnalyticsInstanceResponse) String

func (response UpdateResourceAnalyticsInstanceResponse) String() string

type UpdateTenancyAttachmentDetails

UpdateTenancyAttachmentDetails The data to update a TenancyAttachment.

type UpdateTenancyAttachmentDetails struct {

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

func (UpdateTenancyAttachmentDetails) String

func (m UpdateTenancyAttachmentDetails) String() string

func (UpdateTenancyAttachmentDetails) ValidateEnumValue

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

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

type UpdateTenancyAttachmentRequest

UpdateTenancyAttachmentRequest wrapper for the UpdateTenancyAttachment operation

See also

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

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 (UpdateTenancyAttachmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTenancyAttachmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTenancyAttachmentRequest) RetryPolicy

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

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

func (UpdateTenancyAttachmentRequest) String

func (request UpdateTenancyAttachmentRequest) String() string

func (UpdateTenancyAttachmentRequest) ValidateEnumValue

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

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

type UpdateTenancyAttachmentResponse

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 (UpdateTenancyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTenancyAttachmentResponse) String

func (response UpdateTenancyAttachmentResponse) String() string

type VaultSecretPasswordDetails

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 (VaultSecretPasswordDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (VaultSecretPasswordDetails) String

func (m VaultSecretPasswordDetails) String() string

func (VaultSecretPasswordDetails) ValidateEnumValue

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

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

type WorkRequest

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 (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

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 (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

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 (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

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 (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

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 (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

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 (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

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

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

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 (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

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 (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

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

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