...

Package apmcontrolplane

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

Overview ▾

Index ▾

func GetActionTypesEnumStringValues() []string
func GetDataKeyTypesEnumStringValues() []string
func GetLifecycleStatesEnumStringValues() []string
func GetListApmDomainsLifecycleStateEnumStringValues() []string
func GetListApmDomainsSortByEnumStringValues() []string
func GetListApmDomainsSortOrderEnumStringValues() []string
func GetListDataKeysDataKeyTypeEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypesEnumStringValues() []string
func GetSortOrdersEnumStringValues() []string
type ActionTypesEnum
    func GetActionTypesEnumValues() []ActionTypesEnum
    func GetMappingActionTypesEnum(val string) (ActionTypesEnum, bool)
type ApmDomain
    func (m ApmDomain) String() string
    func (m ApmDomain) ValidateEnumValue() (bool, error)
type ApmDomainClient
    func NewApmDomainClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApmDomainClient, err error)
    func NewApmDomainClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApmDomainClient, err error)
    func (client ApmDomainClient) ChangeApmDomainCompartment(ctx context.Context, request ChangeApmDomainCompartmentRequest) (response ChangeApmDomainCompartmentResponse, err error)
    func (client *ApmDomainClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ApmDomainClient) CreateApmDomain(ctx context.Context, request CreateApmDomainRequest) (response CreateApmDomainResponse, err error)
    func (client ApmDomainClient) DeleteApmDomain(ctx context.Context, request DeleteApmDomainRequest) (response DeleteApmDomainResponse, err error)
    func (client ApmDomainClient) GenerateDataKeys(ctx context.Context, request GenerateDataKeysRequest) (response GenerateDataKeysResponse, err error)
    func (client ApmDomainClient) GetApmDomain(ctx context.Context, request GetApmDomainRequest) (response GetApmDomainResponse, err error)
    func (client ApmDomainClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client ApmDomainClient) ListApmDomainWorkRequests(ctx context.Context, request ListApmDomainWorkRequestsRequest) (response ListApmDomainWorkRequestsResponse, err error)
    func (client ApmDomainClient) ListApmDomains(ctx context.Context, request ListApmDomainsRequest) (response ListApmDomainsResponse, err error)
    func (client ApmDomainClient) ListDataKeys(ctx context.Context, request ListDataKeysRequest) (response ListDataKeysResponse, err error)
    func (client ApmDomainClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client ApmDomainClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client ApmDomainClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client ApmDomainClient) RemoveDataKeys(ctx context.Context, request RemoveDataKeysRequest) (response RemoveDataKeysResponse, err error)
    func (client *ApmDomainClient) SetRegion(region string)
    func (client ApmDomainClient) UpdateApmDomain(ctx context.Context, request UpdateApmDomainRequest) (response UpdateApmDomainResponse, err error)
type ApmDomainSummary
    func (m ApmDomainSummary) String() string
    func (m ApmDomainSummary) ValidateEnumValue() (bool, error)
type BaseDomainDetails
    func (m BaseDomainDetails) String() string
    func (m BaseDomainDetails) ValidateEnumValue() (bool, error)
type BaseKeyDetails
    func (m BaseKeyDetails) String() string
    func (m BaseKeyDetails) ValidateEnumValue() (bool, error)
type ChangeApmDomainCompartmentDetails
    func (m ChangeApmDomainCompartmentDetails) String() string
    func (m ChangeApmDomainCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeApmDomainCompartmentRequest
    func (request ChangeApmDomainCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeApmDomainCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeApmDomainCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeApmDomainCompartmentRequest) String() string
    func (request ChangeApmDomainCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeApmDomainCompartmentResponse
    func (response ChangeApmDomainCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeApmDomainCompartmentResponse) String() string
type CreateApmDomainDetails
    func (m CreateApmDomainDetails) String() string
    func (m CreateApmDomainDetails) ValidateEnumValue() (bool, error)
type CreateApmDomainRequest
    func (request CreateApmDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateApmDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateApmDomainRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateApmDomainRequest) String() string
    func (request CreateApmDomainRequest) ValidateEnumValue() (bool, error)
type CreateApmDomainResponse
    func (response CreateApmDomainResponse) HTTPResponse() *http.Response
    func (response CreateApmDomainResponse) String() string
type DataKey
    func (m DataKey) String() string
    func (m DataKey) ValidateEnumValue() (bool, error)
type DataKeySummary
    func (m DataKeySummary) String() string
    func (m DataKeySummary) ValidateEnumValue() (bool, error)
type DataKeyTypesEnum
    func GetDataKeyTypesEnumValues() []DataKeyTypesEnum
    func GetMappingDataKeyTypesEnum(val string) (DataKeyTypesEnum, bool)
type DeleteApmDomainRequest
    func (request DeleteApmDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteApmDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteApmDomainRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteApmDomainRequest) String() string
    func (request DeleteApmDomainRequest) ValidateEnumValue() (bool, error)
type DeleteApmDomainResponse
    func (response DeleteApmDomainResponse) HTTPResponse() *http.Response
    func (response DeleteApmDomainResponse) String() string
type GenerateDataKeyDetails
    func (m GenerateDataKeyDetails) String() string
    func (m GenerateDataKeyDetails) ValidateEnumValue() (bool, error)
type GenerateDataKeysRequest
    func (request GenerateDataKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateDataKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateDataKeysRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateDataKeysRequest) String() string
    func (request GenerateDataKeysRequest) ValidateEnumValue() (bool, error)
type GenerateDataKeysResponse
    func (response GenerateDataKeysResponse) HTTPResponse() *http.Response
    func (response GenerateDataKeysResponse) String() string
type GetApmDomainRequest
    func (request GetApmDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetApmDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetApmDomainRequest) RetryPolicy() *common.RetryPolicy
    func (request GetApmDomainRequest) String() string
    func (request GetApmDomainRequest) ValidateEnumValue() (bool, error)
type GetApmDomainResponse
    func (response GetApmDomainResponse) HTTPResponse() *http.Response
    func (response GetApmDomainResponse) 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 LifecycleStatesEnum
    func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
    func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)
type ListApmDomainWorkRequestsRequest
    func (request ListApmDomainWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListApmDomainWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListApmDomainWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListApmDomainWorkRequestsRequest) String() string
    func (request ListApmDomainWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListApmDomainWorkRequestsResponse
    func (response ListApmDomainWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListApmDomainWorkRequestsResponse) String() string
type ListApmDomainsLifecycleStateEnum
    func GetListApmDomainsLifecycleStateEnumValues() []ListApmDomainsLifecycleStateEnum
    func GetMappingListApmDomainsLifecycleStateEnum(val string) (ListApmDomainsLifecycleStateEnum, bool)
type ListApmDomainsRequest
    func (request ListApmDomainsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListApmDomainsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListApmDomainsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListApmDomainsRequest) String() string
    func (request ListApmDomainsRequest) ValidateEnumValue() (bool, error)
type ListApmDomainsResponse
    func (response ListApmDomainsResponse) HTTPResponse() *http.Response
    func (response ListApmDomainsResponse) String() string
type ListApmDomainsSortByEnum
    func GetListApmDomainsSortByEnumValues() []ListApmDomainsSortByEnum
    func GetMappingListApmDomainsSortByEnum(val string) (ListApmDomainsSortByEnum, bool)
type ListApmDomainsSortOrderEnum
    func GetListApmDomainsSortOrderEnumValues() []ListApmDomainsSortOrderEnum
    func GetMappingListApmDomainsSortOrderEnum(val string) (ListApmDomainsSortOrderEnum, bool)
type ListDataKeysDataKeyTypeEnum
    func GetListDataKeysDataKeyTypeEnumValues() []ListDataKeysDataKeyTypeEnum
    func GetMappingListDataKeysDataKeyTypeEnum(val string) (ListDataKeysDataKeyTypeEnum, bool)
type ListDataKeysRequest
    func (request ListDataKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDataKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDataKeysRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDataKeysRequest) String() string
    func (request ListDataKeysRequest) ValidateEnumValue() (bool, error)
type ListDataKeysResponse
    func (response ListDataKeysResponse) HTTPResponse() *http.Response
    func (response ListDataKeysResponse) String() string
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 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 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 OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypesEnum
    func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)
    func GetOperationTypesEnumValues() []OperationTypesEnum
type RemoveDataKeyDetails
    func (m RemoveDataKeyDetails) String() string
    func (m RemoveDataKeyDetails) ValidateEnumValue() (bool, error)
type RemoveDataKeysRequest
    func (request RemoveDataKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RemoveDataKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RemoveDataKeysRequest) RetryPolicy() *common.RetryPolicy
    func (request RemoveDataKeysRequest) String() string
    func (request RemoveDataKeysRequest) ValidateEnumValue() (bool, error)
type RemoveDataKeysResponse
    func (response RemoveDataKeysResponse) HTTPResponse() *http.Response
    func (response RemoveDataKeysResponse) String() string
type SortOrdersEnum
    func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
    func GetSortOrdersEnumValues() []SortOrdersEnum
type UpdateApmDomainDetails
    func (m UpdateApmDomainDetails) String() string
    func (m UpdateApmDomainDetails) ValidateEnumValue() (bool, error)
type UpdateApmDomainRequest
    func (request UpdateApmDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateApmDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateApmDomainRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateApmDomainRequest) String() string
    func (request UpdateApmDomainRequest) ValidateEnumValue() (bool, error)
type UpdateApmDomainResponse
    func (response UpdateApmDomainResponse) HTTPResponse() *http.Response
    func (response UpdateApmDomainResponse) String() string
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 WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)

Package files

action_types.go apm_domain.go apm_domain_summary.go apmcontrolplane_apmdomain_client.go base_domain_details.go base_key_details.go change_apm_domain_compartment_details.go change_apm_domain_compartment_request_response.go create_apm_domain_details.go create_apm_domain_request_response.go data_key.go data_key_summary.go data_key_types.go delete_apm_domain_request_response.go generate_data_key_details.go generate_data_keys_request_response.go get_apm_domain_request_response.go get_work_request_request_response.go lifecycle_states.go list_apm_domain_work_requests_request_response.go list_apm_domains_request_response.go list_data_keys_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go operation_status.go operation_types.go remove_data_key_details.go remove_data_keys_request_response.go sort_orders.go update_apm_domain_details.go update_apm_domain_request_response.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go

func GetActionTypesEnumStringValues

func GetActionTypesEnumStringValues() []string

GetActionTypesEnumStringValues Enumerates the set of values in String for ActionTypesEnum

func GetDataKeyTypesEnumStringValues

func GetDataKeyTypesEnumStringValues() []string

GetDataKeyTypesEnumStringValues Enumerates the set of values in String for DataKeyTypesEnum

func GetLifecycleStatesEnumStringValues

func GetLifecycleStatesEnumStringValues() []string

GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum

func GetListApmDomainsLifecycleStateEnumStringValues

func GetListApmDomainsLifecycleStateEnumStringValues() []string

GetListApmDomainsLifecycleStateEnumStringValues Enumerates the set of values in String for ListApmDomainsLifecycleStateEnum

func GetListApmDomainsSortByEnumStringValues

func GetListApmDomainsSortByEnumStringValues() []string

GetListApmDomainsSortByEnumStringValues Enumerates the set of values in String for ListApmDomainsSortByEnum

func GetListApmDomainsSortOrderEnumStringValues

func GetListApmDomainsSortOrderEnumStringValues() []string

GetListApmDomainsSortOrderEnumStringValues Enumerates the set of values in String for ListApmDomainsSortOrderEnum

func GetListDataKeysDataKeyTypeEnumStringValues

func GetListDataKeysDataKeyTypeEnumStringValues() []string

GetListDataKeysDataKeyTypeEnumStringValues Enumerates the set of values in String for ListDataKeysDataKeyTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

type ActionTypesEnum

ActionTypesEnum Enum with underlying type: string

type ActionTypesEnum string

Set of constants representing the allowable values for ActionTypesEnum

const (
    ActionTypesCreated    ActionTypesEnum = "CREATED"
    ActionTypesUpdated    ActionTypesEnum = "UPDATED"
    ActionTypesDeleted    ActionTypesEnum = "DELETED"
    ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS"
    ActionTypesRelated    ActionTypesEnum = "RELATED"
)

func GetActionTypesEnumValues

func GetActionTypesEnumValues() []ActionTypesEnum

GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum

func GetMappingActionTypesEnum

func GetMappingActionTypesEnum(val string) (ActionTypesEnum, bool)

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

type ApmDomain

ApmDomain Details of an APM domain.

type ApmDomain struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Display name of the APM domain, which can be updated.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment corresponding to the APM domain.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of the APM domain.
    Description *string `mandatory:"false" json:"description"`

    // The current lifecycle state of the APM domain.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Indicates if this is an Always Free resource.
    IsFreeTier *bool `mandatory:"false" json:"isFreeTier"`

    // The time the APM domain was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the APM domain was updated, expressed in RFC 3339 timestamp format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The endpoint where the APM agents upload their observations and metrics.
    DataUploadEndpoint *string `mandatory:"false" json:"dataUploadEndpoint"`
}

func (ApmDomain) String

func (m ApmDomain) String() string

func (ApmDomain) ValidateEnumValue

func (m ApmDomain) 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 ApmDomainClient

ApmDomainClient a client for ApmDomain

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

func NewApmDomainClientWithConfigurationProvider

func NewApmDomainClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApmDomainClient, err error)

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

func NewApmDomainClientWithOboToken

func NewApmDomainClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApmDomainClient, err error)

NewApmDomainClientWithOboToken Creates a new default ApmDomain 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 (ApmDomainClient) ChangeApmDomainCompartment

func (client ApmDomainClient) ChangeApmDomainCompartment(ctx context.Context, request ChangeApmDomainCompartmentRequest) (response ChangeApmDomainCompartmentResponse, err error)

ChangeApmDomainCompartment Moves an APM domain into a different compartment. When provided, If-Match is checked against ETag values of the APM domain.

# See also

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

func (*ApmDomainClient) ConfigurationProvider

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

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

func (ApmDomainClient) CreateApmDomain

func (client ApmDomainClient) CreateApmDomain(ctx context.Context, request CreateApmDomainRequest) (response CreateApmDomainResponse, err error)

CreateApmDomain Creates a new APM domain.

# See also

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

func (ApmDomainClient) DeleteApmDomain

func (client ApmDomainClient) DeleteApmDomain(ctx context.Context, request DeleteApmDomainRequest) (response DeleteApmDomainResponse, err error)

DeleteApmDomain Deletes the specified APM domain asynchronously. The APM domain is placed in the 'Deleting' state and will stop accepting any operation requests. All resources associated with the APM domain are eventually recovered. Use the returned work request ID to track the progress of the background activity to complete deleting the APM domain.

# See also

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

func (ApmDomainClient) GenerateDataKeys

func (client ApmDomainClient) GenerateDataKeys(ctx context.Context, request GenerateDataKeysRequest) (response GenerateDataKeysResponse, err error)

GenerateDataKeys Generates a set of new Data Keys for the specified APM domain with the specified names and types. These will be added to the existing set of Data Keys for the specified APM domain.

# See also

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

func (ApmDomainClient) GetApmDomain

func (client ApmDomainClient) GetApmDomain(ctx context.Context, request GetApmDomainRequest) (response GetApmDomainResponse, err error)

GetApmDomain Gets the details of the APM domain specified by OCID.

# See also

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

func (ApmDomainClient) GetWorkRequest

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

GetWorkRequest Gets the details of the work request with the given ID.

# See also

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

func (ApmDomainClient) ListApmDomainWorkRequests

func (client ApmDomainClient) ListApmDomainWorkRequests(ctx context.Context, request ListApmDomainWorkRequestsRequest) (response ListApmDomainWorkRequestsResponse, err error)

ListApmDomainWorkRequests Returns a (paginated) list of work requests related to a specific APM domain.

# See also

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

func (ApmDomainClient) ListApmDomains

func (client ApmDomainClient) ListApmDomains(ctx context.Context, request ListApmDomainsRequest) (response ListApmDomainsResponse, err error)

ListApmDomains Lists all APM domains for the specified tenant compartment.

# See also

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

func (ApmDomainClient) ListDataKeys

func (client ApmDomainClient) ListDataKeys(ctx context.Context, request ListDataKeysRequest) (response ListDataKeysResponse, err error)

ListDataKeys Lists all Data Keys for the specified APM domain. The caller may filter the list by specifying the 'dataKeyType' query parameter.

# See also

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

func (ApmDomainClient) ListWorkRequestErrors

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

ListWorkRequestErrors Returns a (paginated) list of errors for a given work request.

# See also

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

func (ApmDomainClient) ListWorkRequestLogs

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

ListWorkRequestLogs Returns a (paginated) list of logs for a given work request.

# See also

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

func (ApmDomainClient) ListWorkRequests

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

ListWorkRequests Returns a (paginated) list of work requests in a given compartment.

# See also

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

func (ApmDomainClient) RemoveDataKeys

func (client ApmDomainClient) RemoveDataKeys(ctx context.Context, request RemoveDataKeysRequest) (response RemoveDataKeysResponse, err error)

RemoveDataKeys Removes the set of specified Data Keys from the specified APM domain. Agents would no longer be able to use these data keys to upload to the APM domain once this operation is completed.

# See also

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

func (*ApmDomainClient) SetRegion

func (client *ApmDomainClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApmDomainClient) UpdateApmDomain

func (client ApmDomainClient) UpdateApmDomain(ctx context.Context, request UpdateApmDomainRequest) (response UpdateApmDomainResponse, err error)

UpdateApmDomain Updates the APM domain.

# See also

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

type ApmDomainSummary

ApmDomainSummary Summary of an APM domain.

type ApmDomainSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Display name of the APM domain, which can be updated.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment corresponding to the APM domain.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of the APM domain.
    Description *string `mandatory:"false" json:"description"`

    // The current lifecycle state of the APM domain.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Indicates if this is an Always Free resource.
    IsFreeTier *bool `mandatory:"false" json:"isFreeTier"`

    // The time the APM domain was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the APM domain was updated, expressed in RFC 3339 timestamp format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (ApmDomainSummary) String

func (m ApmDomainSummary) String() string

func (ApmDomainSummary) ValidateEnumValue

func (m ApmDomainSummary) 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 BaseDomainDetails

BaseDomainDetails Details for an APM domain.

type BaseDomainDetails struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Display name of the APM domain, which can be updated.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment corresponding to the APM domain.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of the APM domain.
    Description *string `mandatory:"false" json:"description"`

    // The current lifecycle state of the APM domain.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Indicates if this is an Always Free resource.
    IsFreeTier *bool `mandatory:"false" json:"isFreeTier"`

    // The time the APM domain was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the APM domain was updated, expressed in RFC 3339 timestamp format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (BaseDomainDetails) String

func (m BaseDomainDetails) String() string

func (BaseDomainDetails) ValidateEnumValue

func (m BaseDomainDetails) 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 BaseKeyDetails

BaseKeyDetails The information about a Data Key.

type BaseKeyDetails struct {

    // Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.
    Name *string `mandatory:"true" json:"name"`

    // Type of the Data Key.
    Type DataKeyTypesEnum `mandatory:"true" json:"type"`
}

func (BaseKeyDetails) String

func (m BaseKeyDetails) String() string

func (BaseKeyDetails) ValidateEnumValue

func (m BaseKeyDetails) 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 ChangeApmDomainCompartmentDetails

ChangeApmDomainCompartmentDetails The information needed for the change compartment operation.

type ChangeApmDomainCompartmentDetails struct {

    // The OCID of the destination compartment for the APM domain.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeApmDomainCompartmentDetails) String

func (m ChangeApmDomainCompartmentDetails) String() string

func (ChangeApmDomainCompartmentDetails) ValidateEnumValue

func (m ChangeApmDomainCompartmentDetails) 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 ChangeApmDomainCompartmentRequest

ChangeApmDomainCompartmentRequest wrapper for the ChangeApmDomainCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/ChangeApmDomainCompartment.go.html to see an example of how to use ChangeApmDomainCompartmentRequest.

type ChangeApmDomainCompartmentRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // The information to be used in changing compartment.
    ChangeApmDomainCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. 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"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request therefore it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ChangeApmDomainCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeApmDomainCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeApmDomainCompartmentRequest) RetryPolicy

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

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

func (ChangeApmDomainCompartmentRequest) String

func (request ChangeApmDomainCompartmentRequest) String() string

func (ChangeApmDomainCompartmentRequest) ValidateEnumValue

func (request ChangeApmDomainCompartmentRequest) 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 ChangeApmDomainCompartmentResponse

ChangeApmDomainCompartmentResponse wrapper for the ChangeApmDomainCompartment operation

type ChangeApmDomainCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (ChangeApmDomainCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeApmDomainCompartmentResponse) String

func (response ChangeApmDomainCompartmentResponse) String() string

type CreateApmDomainDetails

CreateApmDomainDetails The information about the new APM domain.

type CreateApmDomainDetails struct {

    // Display name of the APM domain.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the compartment corresponding to the APM domain.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of the APM domain.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Indicates whether this is an "Always Free" resource. The default value is false.
    IsFreeTier *bool `mandatory:"false" json:"isFreeTier"`
}

func (CreateApmDomainDetails) String

func (m CreateApmDomainDetails) String() string

func (CreateApmDomainDetails) ValidateEnumValue

func (m CreateApmDomainDetails) 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 CreateApmDomainRequest

CreateApmDomainRequest wrapper for the CreateApmDomain operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/CreateApmDomain.go.html to see an example of how to use CreateApmDomainRequest.

type CreateApmDomainRequest struct {

    // Details for the new APM domain.
    CreateApmDomainDetails `contributesTo:"body"`

    // A token that uniquely identifies a request therefore it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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 (CreateApmDomainRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateApmDomainRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateApmDomainRequest) RetryPolicy

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

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

func (CreateApmDomainRequest) String

func (request CreateApmDomainRequest) String() string

func (CreateApmDomainRequest) ValidateEnumValue

func (request CreateApmDomainRequest) 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 CreateApmDomainResponse

CreateApmDomainResponse wrapper for the CreateApmDomain operation

type CreateApmDomainResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (CreateApmDomainResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateApmDomainResponse) String

func (response CreateApmDomainResponse) String() string

type DataKey

DataKey The information about a Data Key, including the Data Key's value.

type DataKey struct {

    // Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.
    Name *string `mandatory:"true" json:"name"`

    // Type of the Data Key.
    Type DataKeyTypesEnum `mandatory:"true" json:"type"`

    // Value of the Data Key.
    Value *string `mandatory:"false" json:"value"`
}

func (DataKey) String

func (m DataKey) String() string

func (DataKey) ValidateEnumValue

func (m DataKey) 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 DataKeySummary

DataKeySummary Summary of Data Key.

type DataKeySummary struct {

    // Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.
    Name *string `mandatory:"true" json:"name"`

    // Type of the Data Key.
    Type DataKeyTypesEnum `mandatory:"true" json:"type"`

    // Value of the Data Key.
    Value *string `mandatory:"false" json:"value"`
}

func (DataKeySummary) String

func (m DataKeySummary) String() string

func (DataKeySummary) ValidateEnumValue

func (m DataKeySummary) 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 DataKeyTypesEnum

DataKeyTypesEnum Enum with underlying type: string

type DataKeyTypesEnum string

Set of constants representing the allowable values for DataKeyTypesEnum

const (
    DataKeyTypesPrivate DataKeyTypesEnum = "PRIVATE"
    DataKeyTypesPublic  DataKeyTypesEnum = "PUBLIC"
)

func GetDataKeyTypesEnumValues

func GetDataKeyTypesEnumValues() []DataKeyTypesEnum

GetDataKeyTypesEnumValues Enumerates the set of values for DataKeyTypesEnum

func GetMappingDataKeyTypesEnum

func GetMappingDataKeyTypesEnum(val string) (DataKeyTypesEnum, bool)

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

type DeleteApmDomainRequest

DeleteApmDomainRequest wrapper for the DeleteApmDomain operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/DeleteApmDomain.go.html to see an example of how to use DeleteApmDomainRequest.

type DeleteApmDomainRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // For optimistic concurrency control. 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"`

    // The client request ID for tracing.
    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 (DeleteApmDomainRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteApmDomainRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteApmDomainRequest) RetryPolicy

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

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

func (DeleteApmDomainRequest) String

func (request DeleteApmDomainRequest) String() string

func (DeleteApmDomainRequest) ValidateEnumValue

func (request DeleteApmDomainRequest) 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 DeleteApmDomainResponse

DeleteApmDomainResponse wrapper for the DeleteApmDomain operation

type DeleteApmDomainResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (DeleteApmDomainResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteApmDomainResponse) String

func (response DeleteApmDomainResponse) String() string

type GenerateDataKeyDetails

GenerateDataKeyDetails Details of the Data Key to be generated.

type GenerateDataKeyDetails struct {

    // Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.
    Name *string `mandatory:"true" json:"name"`

    // Type of the Data Key.
    Type DataKeyTypesEnum `mandatory:"true" json:"type"`
}

func (GenerateDataKeyDetails) String

func (m GenerateDataKeyDetails) String() string

func (GenerateDataKeyDetails) ValidateEnumValue

func (m GenerateDataKeyDetails) 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 GenerateDataKeysRequest

GenerateDataKeysRequest wrapper for the GenerateDataKeys operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/GenerateDataKeys.go.html to see an example of how to use GenerateDataKeysRequest.

type GenerateDataKeysRequest struct {

    // List of new Data Keys to be generated.
    GenerateDataKeysListDetails []GenerateDataKeyDetails `contributesTo:"body"`

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // For optimistic concurrency control. 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"`

    // The client request ID for tracing.
    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 (GenerateDataKeysRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateDataKeysRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateDataKeysRequest) RetryPolicy

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

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

func (GenerateDataKeysRequest) String

func (request GenerateDataKeysRequest) String() string

func (GenerateDataKeysRequest) ValidateEnumValue

func (request GenerateDataKeysRequest) 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 GenerateDataKeysResponse

GenerateDataKeysResponse wrapper for the GenerateDataKeys operation

type GenerateDataKeysResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (GenerateDataKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateDataKeysResponse) String

func (response GenerateDataKeysResponse) String() string

type GetApmDomainRequest

GetApmDomainRequest wrapper for the GetApmDomain operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/GetApmDomain.go.html to see an example of how to use GetApmDomainRequest.

type GetApmDomainRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // The client request ID for tracing.
    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 (GetApmDomainRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetApmDomainRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetApmDomainRequest) RetryPolicy

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

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

func (GetApmDomainRequest) String

func (request GetApmDomainRequest) String() string

func (GetApmDomainRequest) ValidateEnumValue

func (request GetApmDomainRequest) 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 GetApmDomainResponse

GetApmDomainResponse wrapper for the GetApmDomain operation

type GetApmDomainResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ApmDomain instance
    ApmDomain `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 (GetApmDomainResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetApmDomainResponse) String

func (response GetApmDomainResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

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

type GetWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    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 *float32 `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 LifecycleStatesEnum

LifecycleStatesEnum Enum with underlying type: string

type LifecycleStatesEnum string

Set of constants representing the allowable values for LifecycleStatesEnum

const (
    LifecycleStatesCreating LifecycleStatesEnum = "CREATING"
    LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING"
    LifecycleStatesActive   LifecycleStatesEnum = "ACTIVE"
    LifecycleStatesDeleting LifecycleStatesEnum = "DELETING"
    LifecycleStatesDeleted  LifecycleStatesEnum = "DELETED"
    LifecycleStatesFailed   LifecycleStatesEnum = "FAILED"
)

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

func GetMappingLifecycleStatesEnum

func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)

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

type ListApmDomainWorkRequestsRequest

ListApmDomainWorkRequestsRequest wrapper for the ListApmDomainWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/ListApmDomainWorkRequests.go.html to see an example of how to use ListApmDomainWorkRequestsRequest.

type ListApmDomainWorkRequestsRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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 (ListApmDomainWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListApmDomainWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListApmDomainWorkRequestsRequest) RetryPolicy

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

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

func (ListApmDomainWorkRequestsRequest) String

func (request ListApmDomainWorkRequestsRequest) String() string

func (ListApmDomainWorkRequestsRequest) ValidateEnumValue

func (request ListApmDomainWorkRequestsRequest) 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 ListApmDomainWorkRequestsResponse

ListApmDomainWorkRequestsResponse wrapper for the ListApmDomainWorkRequests operation

type ListApmDomainWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequest instances
    Items []WorkRequest `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListApmDomainWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListApmDomainWorkRequestsResponse) String

func (response ListApmDomainWorkRequestsResponse) String() string

type ListApmDomainsLifecycleStateEnum

ListApmDomainsLifecycleStateEnum Enum with underlying type: string

type ListApmDomainsLifecycleStateEnum string

Set of constants representing the allowable values for ListApmDomainsLifecycleStateEnum

const (
    ListApmDomainsLifecycleStateCreating ListApmDomainsLifecycleStateEnum = "CREATING"
    ListApmDomainsLifecycleStateUpdating ListApmDomainsLifecycleStateEnum = "UPDATING"
    ListApmDomainsLifecycleStateActive   ListApmDomainsLifecycleStateEnum = "ACTIVE"
    ListApmDomainsLifecycleStateDeleting ListApmDomainsLifecycleStateEnum = "DELETING"
    ListApmDomainsLifecycleStateDeleted  ListApmDomainsLifecycleStateEnum = "DELETED"
    ListApmDomainsLifecycleStateFailed   ListApmDomainsLifecycleStateEnum = "FAILED"
)

func GetListApmDomainsLifecycleStateEnumValues

func GetListApmDomainsLifecycleStateEnumValues() []ListApmDomainsLifecycleStateEnum

GetListApmDomainsLifecycleStateEnumValues Enumerates the set of values for ListApmDomainsLifecycleStateEnum

func GetMappingListApmDomainsLifecycleStateEnum

func GetMappingListApmDomainsLifecycleStateEnum(val string) (ListApmDomainsLifecycleStateEnum, bool)

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

type ListApmDomainsRequest

ListApmDomainsRequest wrapper for the ListApmDomains operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/ListApmDomains.go.html to see an example of how to use ListApmDomainsRequest.

type ListApmDomainsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return only resources that match the given life-cycle state.
    LifecycleState ListApmDomainsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListApmDomainsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, timeCreated is default.
    SortBy ListApmDomainsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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 (ListApmDomainsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListApmDomainsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListApmDomainsRequest) RetryPolicy

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

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

func (ListApmDomainsRequest) String

func (request ListApmDomainsRequest) String() string

func (ListApmDomainsRequest) ValidateEnumValue

func (request ListApmDomainsRequest) 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 ListApmDomainsResponse

ListApmDomainsResponse wrapper for the ListApmDomains operation

type ListApmDomainsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ApmDomainSummary instances
    Items []ApmDomainSummary `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListApmDomainsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListApmDomainsResponse) String

func (response ListApmDomainsResponse) String() string

type ListApmDomainsSortByEnum

ListApmDomainsSortByEnum Enum with underlying type: string

type ListApmDomainsSortByEnum string

Set of constants representing the allowable values for ListApmDomainsSortByEnum

const (
    ListApmDomainsSortByTimecreated ListApmDomainsSortByEnum = "timeCreated"
    ListApmDomainsSortByDisplayname ListApmDomainsSortByEnum = "displayName"
)

func GetListApmDomainsSortByEnumValues

func GetListApmDomainsSortByEnumValues() []ListApmDomainsSortByEnum

GetListApmDomainsSortByEnumValues Enumerates the set of values for ListApmDomainsSortByEnum

func GetMappingListApmDomainsSortByEnum

func GetMappingListApmDomainsSortByEnum(val string) (ListApmDomainsSortByEnum, bool)

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

type ListApmDomainsSortOrderEnum

ListApmDomainsSortOrderEnum Enum with underlying type: string

type ListApmDomainsSortOrderEnum string

Set of constants representing the allowable values for ListApmDomainsSortOrderEnum

const (
    ListApmDomainsSortOrderAsc  ListApmDomainsSortOrderEnum = "ASC"
    ListApmDomainsSortOrderDesc ListApmDomainsSortOrderEnum = "DESC"
)

func GetListApmDomainsSortOrderEnumValues

func GetListApmDomainsSortOrderEnumValues() []ListApmDomainsSortOrderEnum

GetListApmDomainsSortOrderEnumValues Enumerates the set of values for ListApmDomainsSortOrderEnum

func GetMappingListApmDomainsSortOrderEnum

func GetMappingListApmDomainsSortOrderEnum(val string) (ListApmDomainsSortOrderEnum, bool)

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

type ListDataKeysDataKeyTypeEnum

ListDataKeysDataKeyTypeEnum Enum with underlying type: string

type ListDataKeysDataKeyTypeEnum string

Set of constants representing the allowable values for ListDataKeysDataKeyTypeEnum

const (
    ListDataKeysDataKeyTypePrivate ListDataKeysDataKeyTypeEnum = "PRIVATE"
    ListDataKeysDataKeyTypePublic  ListDataKeysDataKeyTypeEnum = "PUBLIC"
)

func GetListDataKeysDataKeyTypeEnumValues

func GetListDataKeysDataKeyTypeEnumValues() []ListDataKeysDataKeyTypeEnum

GetListDataKeysDataKeyTypeEnumValues Enumerates the set of values for ListDataKeysDataKeyTypeEnum

func GetMappingListDataKeysDataKeyTypeEnum

func GetMappingListDataKeysDataKeyTypeEnum(val string) (ListDataKeysDataKeyTypeEnum, bool)

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

type ListDataKeysRequest

ListDataKeysRequest wrapper for the ListDataKeys operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/ListDataKeys.go.html to see an example of how to use ListDataKeysRequest.

type ListDataKeysRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // Data key type.
    DataKeyType ListDataKeysDataKeyTypeEnum `mandatory:"false" contributesTo:"query" name:"dataKeyType" omitEmpty:"true"`

    // The client request ID for tracing.
    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 (ListDataKeysRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListDataKeysRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListDataKeysRequest) RetryPolicy

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

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

func (ListDataKeysRequest) String

func (request ListDataKeysRequest) String() string

func (ListDataKeysRequest) ValidateEnumValue

func (request ListDataKeysRequest) 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 ListDataKeysResponse

ListDataKeysResponse wrapper for the ListDataKeys operation

type ListDataKeysResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The []DataKeySummary instance
    Items []DataKeySummary `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"`
}

func (ListDataKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDataKeysResponse) String

func (response ListDataKeysResponse) String() string

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

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

type ListWorkRequestErrorsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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 []WorkRequestError instances
    Items []WorkRequestError `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    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 ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

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

type ListWorkRequestLogsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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 []WorkRequestLogEntry instances
    Items []WorkRequestLogEntry `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    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 ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

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

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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 []WorkRequest instances
    Items []WorkRequest `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 pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    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 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"
    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 OperationTypesEnum

OperationTypesEnum Enum with underlying type: string

type OperationTypesEnum string

Set of constants representing the allowable values for OperationTypesEnum

const (
    OperationTypesCreateApmDomain  OperationTypesEnum = "CREATE_APM_DOMAIN"
    OperationTypesUpdateApmDomain  OperationTypesEnum = "UPDATE_APM_DOMAIN"
    OperationTypesDeleteApmDomain  OperationTypesEnum = "DELETE_APM_DOMAIN"
    OperationTypesGenerateDataKeys OperationTypesEnum = "GENERATE_DATA_KEYS"
    OperationTypesRemoveDataKeys   OperationTypesEnum = "REMOVE_DATA_KEYS"
)

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

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

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type RemoveDataKeyDetails

RemoveDataKeyDetails Details of the Data Key to be removed.

type RemoveDataKeyDetails struct {

    // Name of the Data Key. The name uniquely identifies a Data Key within an APM domain.
    Name *string `mandatory:"true" json:"name"`
}

func (RemoveDataKeyDetails) String

func (m RemoveDataKeyDetails) String() string

func (RemoveDataKeyDetails) ValidateEnumValue

func (m RemoveDataKeyDetails) 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 RemoveDataKeysRequest

RemoveDataKeysRequest wrapper for the RemoveDataKeys operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/RemoveDataKeys.go.html to see an example of how to use RemoveDataKeysRequest.

type RemoveDataKeysRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // List of Data Keys to be removed.
    RemoveDataKeysListDetails []RemoveDataKeyDetails `contributesTo:"body"`

    // For optimistic concurrency control. 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"`

    // The client request ID for tracing.
    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 (RemoveDataKeysRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RemoveDataKeysRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RemoveDataKeysRequest) RetryPolicy

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

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

func (RemoveDataKeysRequest) String

func (request RemoveDataKeysRequest) String() string

func (RemoveDataKeysRequest) ValidateEnumValue

func (request RemoveDataKeysRequest) 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 RemoveDataKeysResponse

RemoveDataKeysResponse wrapper for the RemoveDataKeys operation

type RemoveDataKeysResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (RemoveDataKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RemoveDataKeysResponse) String

func (response RemoveDataKeysResponse) String() string

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

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

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type UpdateApmDomainDetails

UpdateApmDomainDetails The information that can be updated by update APM domain operation.

type UpdateApmDomainDetails struct {

    // Display name of the APM domain.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the APM domain.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateApmDomainDetails) String

func (m UpdateApmDomainDetails) String() string

func (UpdateApmDomainDetails) ValidateEnumValue

func (m UpdateApmDomainDetails) 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 UpdateApmDomainRequest

UpdateApmDomainRequest wrapper for the UpdateApmDomain operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/apmcontrolplane/UpdateApmDomain.go.html to see an example of how to use UpdateApmDomainRequest.

type UpdateApmDomainRequest struct {

    // The OCID of the APM domain.
    ApmDomainId *string `mandatory:"true" contributesTo:"path" name:"apmDomainId"`

    // The information to be updated for the APM domain.
    UpdateApmDomainDetails `contributesTo:"body"`

    // For optimistic concurrency control. 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"`

    // The client request ID for tracing.
    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 (UpdateApmDomainRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateApmDomainRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateApmDomainRequest) RetryPolicy

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

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

func (UpdateApmDomainRequest) String

func (request UpdateApmDomainRequest) String() string

func (UpdateApmDomainRequest) ValidateEnumValue

func (request UpdateApmDomainRequest) 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 UpdateApmDomainResponse

UpdateApmDomainResponse wrapper for the UpdateApmDomain operation

type UpdateApmDomainResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    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 (UpdateApmDomainResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateApmDomainResponse) String

func (response UpdateApmDomainResponse) String() string

type WorkRequest

WorkRequest A description of work request.

type WorkRequest struct {

    // The type of the work request.
    OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

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

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

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 executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. Error codes are listed at
    // API Errors (https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occurred, expressed in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    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 WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

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

    // The time the error occurred, expressed in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    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 WorkRequestResource

WorkRequestResource The details of the resource that the work request affects.

type WorkRequestResource struct {

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

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

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

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