Documentation ¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetConnectionDetailsProtocolEnumStringValues() []string
- func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues() []string
- func GetDiscoveryDetailsResourceTypeEnumStringValues() []string
- func GetDiscoveryJobDiscoveryTypeEnumStringValues() []string
- func GetDiscoveryJobLogSummaryLogTypeEnumStringValues() []string
- func GetDiscoveryJobStatusEnumStringValues() []string
- func GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues() []string
- func GetDiscoveryJobSummaryResourceTypeEnumStringValues() []string
- func GetDiscoveryJobSummaryStatusEnumStringValues() []string
- func GetLifecycleStateEnumStringValues() []string
- func GetListDiscoveryJobLogsLogTypeEnumStringValues() []string
- func GetListDiscoveryJobLogsSortByEnumStringValues() []string
- func GetListDiscoveryJobLogsSortOrderEnumStringValues() []string
- func GetListDiscoveryJobsSortByEnumStringValues() []string
- func GetListDiscoveryJobsSortOrderEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetMonitoredResourceCredentialCredentialTypeEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetResourceLifecycleStateEnumStringValues() []string
- func GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues() []string
- func GetSearchMonitoredResourceMembersSortByEnumStringValues() []string
- func GetSearchMonitoredResourceMembersSortOrderEnumStringValues() []string
- func GetSearchMonitoredResourcesDetailsSortByEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- type ActionTypeEnum
- type AssociateMonitoredResourcesDetails
- type AssociateMonitoredResourcesRequest
- func (request AssociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request AssociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request AssociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request AssociateMonitoredResourcesRequest) String() string
- func (request AssociateMonitoredResourcesRequest) ValidateEnumValue() (bool, error)
- type AssociateMonitoredResourcesResponse
- type AssociatedMonitoredResource
- type AssociatedResourcesCollection
- type AssociatedResourcesSummary
- type AssociationDetails
- type AssociationResourceDetails
- type ChangeMonitoredResourceCompartmentDetails
- type ChangeMonitoredResourceCompartmentRequest
- func (request ChangeMonitoredResourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeMonitoredResourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeMonitoredResourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeMonitoredResourceCompartmentRequest) String() string
- func (request ChangeMonitoredResourceCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeMonitoredResourceCompartmentResponse
- type ConnectionDetails
- type ConnectionDetailsProtocolEnum
- type CreateDiscoveryJobDetails
- type CreateDiscoveryJobDetailsDiscoveryTypeEnum
- type CreateDiscoveryJobRequest
- func (request CreateDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDiscoveryJobRequest) String() string
- func (request CreateDiscoveryJobRequest) ValidateEnumValue() (bool, error)
- type CreateDiscoveryJobResponse
- type CreateMonitoredResourceDetails
- type CreateMonitoredResourceRequest
- func (request CreateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateMonitoredResourceRequest) String() string
- func (request CreateMonitoredResourceRequest) ValidateEnumValue() (bool, error)
- type CreateMonitoredResourceResponse
- type CredentialCollection
- type CredentialDetails
- type CredentialProperty
- type DeleteDiscoveryJobRequest
- func (request DeleteDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDiscoveryJobRequest) String() string
- func (request DeleteDiscoveryJobRequest) ValidateEnumValue() (bool, error)
- type DeleteDiscoveryJobResponse
- type DeleteMonitoredResourceRequest
- func (request DeleteMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteMonitoredResourceRequest) String() string
- func (request DeleteMonitoredResourceRequest) ValidateEnumValue() (bool, error)
- type DeleteMonitoredResourceResponse
- type DisableExternalDatabaseRequest
- func (request DisableExternalDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisableExternalDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisableExternalDatabaseRequest) RetryPolicy() *common.RetryPolicy
- func (request DisableExternalDatabaseRequest) String() string
- func (request DisableExternalDatabaseRequest) ValidateEnumValue() (bool, error)
- type DisableExternalDatabaseResponse
- type DisassociateMonitoredResourcesDetails
- type DisassociateMonitoredResourcesRequest
- func (request DisassociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisassociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisassociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request DisassociateMonitoredResourcesRequest) String() string
- func (request DisassociateMonitoredResourcesRequest) ValidateEnumValue() (bool, error)
- type DisassociateMonitoredResourcesResponse
- type DiscoveryDetails
- type DiscoveryDetailsResourceTypeEnum
- type DiscoveryJob
- type DiscoveryJobCollection
- type DiscoveryJobDiscoveryTypeEnum
- type DiscoveryJobLogCollection
- type DiscoveryJobLogSummary
- type DiscoveryJobLogSummaryLogTypeEnum
- type DiscoveryJobStatusEnum
- type DiscoveryJobSummary
- type DiscoveryJobSummaryDiscoveryTypeEnum
- type DiscoveryJobSummaryResourceTypeEnum
- type DiscoveryJobSummaryStatusEnum
- type EncryptedCredentials
- func (m EncryptedCredentials) GetDescription() *string
- func (m EncryptedCredentials) GetName() *string
- func (m EncryptedCredentials) GetSource() *string
- func (m EncryptedCredentials) GetType() *string
- func (m EncryptedCredentials) MarshalJSON() (buff []byte, e error)
- func (m EncryptedCredentials) String() string
- func (m EncryptedCredentials) ValidateEnumValue() (bool, error)
- type GetDiscoveryJobRequest
- func (request GetDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDiscoveryJobRequest) String() string
- func (request GetDiscoveryJobRequest) ValidateEnumValue() (bool, error)
- type GetDiscoveryJobResponse
- type GetMonitoredResourceRequest
- func (request GetMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetMonitoredResourceRequest) String() string
- func (request GetMonitoredResourceRequest) ValidateEnumValue() (bool, error)
- type GetMonitoredResourceResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type LifecycleStateEnum
- type ListDiscoveryJobLogsLogTypeEnum
- type ListDiscoveryJobLogsRequest
- func (request ListDiscoveryJobLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDiscoveryJobLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDiscoveryJobLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDiscoveryJobLogsRequest) String() string
- func (request ListDiscoveryJobLogsRequest) ValidateEnumValue() (bool, error)
- type ListDiscoveryJobLogsResponse
- type ListDiscoveryJobLogsSortByEnum
- type ListDiscoveryJobLogsSortOrderEnum
- type ListDiscoveryJobsRequest
- func (request ListDiscoveryJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDiscoveryJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDiscoveryJobsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDiscoveryJobsRequest) String() string
- func (request ListDiscoveryJobsRequest) ValidateEnumValue() (bool, error)
- type ListDiscoveryJobsResponse
- type ListDiscoveryJobsSortByEnum
- type ListDiscoveryJobsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type MonitoredResource
- type MonitoredResourceAliasCredential
- type MonitoredResourceAliasSourceCredential
- type MonitoredResourceAssociation
- type MonitoredResourceAssociationSummary
- type MonitoredResourceAssociationsCollection
- type MonitoredResourceCollection
- type MonitoredResourceCredential
- type MonitoredResourceCredentialCredentialTypeEnum
- type MonitoredResourceMemberSummary
- type MonitoredResourceMembersCollection
- type MonitoredResourceProperty
- type MonitoredResourceSummary
- type OperationStatusEnum
- type OperationTypeEnum
- type PlainTextCredentials
- func (m PlainTextCredentials) GetDescription() *string
- func (m PlainTextCredentials) GetName() *string
- func (m PlainTextCredentials) GetSource() *string
- func (m PlainTextCredentials) GetType() *string
- func (m PlainTextCredentials) MarshalJSON() (buff []byte, e error)
- func (m PlainTextCredentials) String() string
- func (m PlainTextCredentials) ValidateEnumValue() (bool, error)
- type PreExistingCredentials
- func (m PreExistingCredentials) GetDescription() *string
- func (m PreExistingCredentials) GetName() *string
- func (m PreExistingCredentials) GetSource() *string
- func (m PreExistingCredentials) GetType() *string
- func (m PreExistingCredentials) MarshalJSON() (buff []byte, e error)
- func (m PreExistingCredentials) String() string
- func (m PreExistingCredentials) ValidateEnumValue() (bool, error)
- type PropertyDetails
- type ResourceLifecycleStateEnum
- type SearchAssociatedResourcesDetails
- type SearchAssociatedResourcesRequest
- func (request SearchAssociatedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SearchAssociatedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SearchAssociatedResourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request SearchAssociatedResourcesRequest) String() string
- func (request SearchAssociatedResourcesRequest) ValidateEnumValue() (bool, error)
- type SearchAssociatedResourcesResponse
- type SearchMonitoredResourceAssociationsDetails
- type SearchMonitoredResourceAssociationsDetailsSortByEnum
- type SearchMonitoredResourceAssociationsRequest
- func (request SearchMonitoredResourceAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SearchMonitoredResourceAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SearchMonitoredResourceAssociationsRequest) RetryPolicy() *common.RetryPolicy
- func (request SearchMonitoredResourceAssociationsRequest) String() string
- func (request SearchMonitoredResourceAssociationsRequest) ValidateEnumValue() (bool, error)
- type SearchMonitoredResourceAssociationsResponse
- type SearchMonitoredResourceMembersDetails
- type SearchMonitoredResourceMembersRequest
- func (request SearchMonitoredResourceMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SearchMonitoredResourceMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SearchMonitoredResourceMembersRequest) RetryPolicy() *common.RetryPolicy
- func (request SearchMonitoredResourceMembersRequest) String() string
- func (request SearchMonitoredResourceMembersRequest) ValidateEnumValue() (bool, error)
- type SearchMonitoredResourceMembersResponse
- type SearchMonitoredResourceMembersSortByEnum
- type SearchMonitoredResourceMembersSortOrderEnum
- type SearchMonitoredResourcesDetails
- type SearchMonitoredResourcesDetailsSortByEnum
- type SearchMonitoredResourcesRequest
- func (request SearchMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SearchMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SearchMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request SearchMonitoredResourcesRequest) String() string
- func (request SearchMonitoredResourcesRequest) ValidateEnumValue() (bool, error)
- type SearchMonitoredResourcesResponse
- type SortOrderEnum
- type StackMonitoringClient
- func (client StackMonitoringClient) AssociateMonitoredResources(ctx context.Context, request AssociateMonitoredResourcesRequest) (response AssociateMonitoredResourcesResponse, err error)
- func (client StackMonitoringClient) ChangeMonitoredResourceCompartment(ctx context.Context, request ChangeMonitoredResourceCompartmentRequest) (response ChangeMonitoredResourceCompartmentResponse, err error)
- func (client *StackMonitoringClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client StackMonitoringClient) CreateDiscoveryJob(ctx context.Context, request CreateDiscoveryJobRequest) (response CreateDiscoveryJobResponse, err error)
- func (client StackMonitoringClient) CreateMonitoredResource(ctx context.Context, request CreateMonitoredResourceRequest) (response CreateMonitoredResourceResponse, err error)
- func (client StackMonitoringClient) DeleteDiscoveryJob(ctx context.Context, request DeleteDiscoveryJobRequest) (response DeleteDiscoveryJobResponse, err error)
- func (client StackMonitoringClient) DeleteMonitoredResource(ctx context.Context, request DeleteMonitoredResourceRequest) (response DeleteMonitoredResourceResponse, err error)
- func (client StackMonitoringClient) DisableExternalDatabase(ctx context.Context, request DisableExternalDatabaseRequest) (response DisableExternalDatabaseResponse, err error)
- func (client StackMonitoringClient) DisassociateMonitoredResources(ctx context.Context, request DisassociateMonitoredResourcesRequest) (response DisassociateMonitoredResourcesResponse, err error)
- func (client StackMonitoringClient) GetDiscoveryJob(ctx context.Context, request GetDiscoveryJobRequest) (response GetDiscoveryJobResponse, err error)
- func (client StackMonitoringClient) GetMonitoredResource(ctx context.Context, request GetMonitoredResourceRequest) (response GetMonitoredResourceResponse, err error)
- func (client StackMonitoringClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client StackMonitoringClient) ListDiscoveryJobLogs(ctx context.Context, request ListDiscoveryJobLogsRequest) (response ListDiscoveryJobLogsResponse, err error)
- func (client StackMonitoringClient) ListDiscoveryJobs(ctx context.Context, request ListDiscoveryJobsRequest) (response ListDiscoveryJobsResponse, err error)
- func (client StackMonitoringClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client StackMonitoringClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client StackMonitoringClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client StackMonitoringClient) SearchAssociatedResources(ctx context.Context, request SearchAssociatedResourcesRequest) (response SearchAssociatedResourcesResponse, err error)
- func (client StackMonitoringClient) SearchMonitoredResourceAssociations(ctx context.Context, request SearchMonitoredResourceAssociationsRequest) (response SearchMonitoredResourceAssociationsResponse, err error)
- func (client StackMonitoringClient) SearchMonitoredResourceMembers(ctx context.Context, request SearchMonitoredResourceMembersRequest) (response SearchMonitoredResourceMembersResponse, err error)
- func (client StackMonitoringClient) SearchMonitoredResources(ctx context.Context, request SearchMonitoredResourcesRequest) (response SearchMonitoredResourcesResponse, err error)
- func (client *StackMonitoringClient) SetRegion(region string)
- func (client StackMonitoringClient) UpdateMonitoredResource(ctx context.Context, request UpdateMonitoredResourceRequest) (response UpdateMonitoredResourceResponse, err error)
- type UpdateMonitoredResourceDetails
- type UpdateMonitoredResourceRequest
- func (request UpdateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateMonitoredResourceRequest) String() string
- func (request UpdateMonitoredResourceRequest) ValidateEnumValue() (bool, error)
- type UpdateMonitoredResourceResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetConnectionDetailsProtocolEnumStringValues ¶
func GetConnectionDetailsProtocolEnumStringValues() []string
GetConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for ConnectionDetailsProtocolEnum
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues ¶
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues() []string
GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues Enumerates the set of values in String for CreateDiscoveryJobDetailsDiscoveryTypeEnum
func GetDiscoveryDetailsResourceTypeEnumStringValues ¶
func GetDiscoveryDetailsResourceTypeEnumStringValues() []string
GetDiscoveryDetailsResourceTypeEnumStringValues Enumerates the set of values in String for DiscoveryDetailsResourceTypeEnum
func GetDiscoveryJobDiscoveryTypeEnumStringValues ¶
func GetDiscoveryJobDiscoveryTypeEnumStringValues() []string
GetDiscoveryJobDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobDiscoveryTypeEnum
func GetDiscoveryJobLogSummaryLogTypeEnumStringValues ¶
func GetDiscoveryJobLogSummaryLogTypeEnumStringValues() []string
GetDiscoveryJobLogSummaryLogTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobLogSummaryLogTypeEnum
func GetDiscoveryJobStatusEnumStringValues ¶
func GetDiscoveryJobStatusEnumStringValues() []string
GetDiscoveryJobStatusEnumStringValues Enumerates the set of values in String for DiscoveryJobStatusEnum
func GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues ¶
func GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues() []string
GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryDiscoveryTypeEnum
func GetDiscoveryJobSummaryResourceTypeEnumStringValues ¶
func GetDiscoveryJobSummaryResourceTypeEnumStringValues() []string
GetDiscoveryJobSummaryResourceTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryResourceTypeEnum
func GetDiscoveryJobSummaryStatusEnumStringValues ¶
func GetDiscoveryJobSummaryStatusEnumStringValues() []string
GetDiscoveryJobSummaryStatusEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryStatusEnum
func GetLifecycleStateEnumStringValues ¶
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListDiscoveryJobLogsLogTypeEnumStringValues ¶
func GetListDiscoveryJobLogsLogTypeEnumStringValues() []string
GetListDiscoveryJobLogsLogTypeEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsLogTypeEnum
func GetListDiscoveryJobLogsSortByEnumStringValues ¶
func GetListDiscoveryJobLogsSortByEnumStringValues() []string
GetListDiscoveryJobLogsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsSortByEnum
func GetListDiscoveryJobLogsSortOrderEnumStringValues ¶
func GetListDiscoveryJobLogsSortOrderEnumStringValues() []string
GetListDiscoveryJobLogsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsSortOrderEnum
func GetListDiscoveryJobsSortByEnumStringValues ¶
func GetListDiscoveryJobsSortByEnumStringValues() []string
GetListDiscoveryJobsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortByEnum
func GetListDiscoveryJobsSortOrderEnumStringValues ¶
func GetListDiscoveryJobsSortOrderEnumStringValues() []string
GetListDiscoveryJobsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMonitoredResourceCredentialCredentialTypeEnumStringValues ¶
func GetMonitoredResourceCredentialCredentialTypeEnumStringValues() []string
GetMonitoredResourceCredentialCredentialTypeEnumStringValues Enumerates the set of values in String for MonitoredResourceCredentialCredentialTypeEnum
func GetOperationStatusEnumStringValues ¶
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetResourceLifecycleStateEnumStringValues ¶
func GetResourceLifecycleStateEnumStringValues() []string
GetResourceLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceLifecycleStateEnum
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues ¶
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues() []string
GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceAssociationsDetailsSortByEnum
func GetSearchMonitoredResourceMembersSortByEnumStringValues ¶
func GetSearchMonitoredResourceMembersSortByEnumStringValues() []string
GetSearchMonitoredResourceMembersSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceMembersSortByEnum
func GetSearchMonitoredResourceMembersSortOrderEnumStringValues ¶
func GetSearchMonitoredResourceMembersSortOrderEnumStringValues() []string
GetSearchMonitoredResourceMembersSortOrderEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceMembersSortOrderEnum
func GetSearchMonitoredResourcesDetailsSortByEnumStringValues ¶
func GetSearchMonitoredResourcesDetailsSortByEnumStringValues() []string
GetSearchMonitoredResourcesDetailsSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourcesDetailsSortByEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AssociateMonitoredResourcesDetails ¶
type AssociateMonitoredResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Association type to be created between source and destination resources AssociationType *string `mandatory:"true" json:"associationType"` // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"true" json:"sourceResourceId"` // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"true" json:"destinationResourceId"` }
AssociateMonitoredResourcesDetails The information required to create new monitored resource association.
func (AssociateMonitoredResourcesDetails) String ¶
func (m AssociateMonitoredResourcesDetails) String() string
func (AssociateMonitoredResourcesDetails) ValidateEnumValue ¶
func (m AssociateMonitoredResourcesDetails) 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 AssociateMonitoredResourcesRequest ¶
type AssociateMonitoredResourcesRequest struct { // Associate resources. AssociateMonitoredResourcesDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
AssociateMonitoredResourcesRequest wrapper for the AssociateMonitoredResources operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/AssociateMonitoredResources.go.html to see an example of how to use AssociateMonitoredResourcesRequest.
func (AssociateMonitoredResourcesRequest) BinaryRequestBody ¶
func (request AssociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (AssociateMonitoredResourcesRequest) HTTPRequest ¶
func (request AssociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AssociateMonitoredResourcesRequest) RetryPolicy ¶
func (request AssociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AssociateMonitoredResourcesRequest) String ¶
func (request AssociateMonitoredResourcesRequest) String() string
func (AssociateMonitoredResourcesRequest) ValidateEnumValue ¶
func (request AssociateMonitoredResourcesRequest) 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 AssociateMonitoredResourcesResponse ¶
type AssociateMonitoredResourcesResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceAssociation instance MonitoredResourceAssociation `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"` }
AssociateMonitoredResourcesResponse wrapper for the AssociateMonitoredResources operation
func (AssociateMonitoredResourcesResponse) HTTPResponse ¶
func (response AssociateMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AssociateMonitoredResourcesResponse) String ¶
func (response AssociateMonitoredResourcesResponse) String() string
type AssociatedMonitoredResource ¶ added in v65.22.0
type AssociatedMonitoredResource struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. Id *string `mandatory:"true" json:"id"` // Name of the monitored resource Name *string `mandatory:"false" json:"name"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Type of the monitored resource Type *string `mandatory:"false" json:"type"` // Resource Host Name HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Management Agent Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // The current state of the monitored resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Association details of the resource Association *interface{} `mandatory:"false" json:"association"` }
AssociatedMonitoredResource The information about monitored resource.
func (AssociatedMonitoredResource) String ¶ added in v65.22.0
func (m AssociatedMonitoredResource) String() string
func (AssociatedMonitoredResource) ValidateEnumValue ¶ added in v65.22.0
func (m AssociatedMonitoredResource) 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 AssociatedResourcesCollection ¶ added in v65.22.0
type AssociatedResourcesCollection struct { // List of associated monitored resources. Items []AssociatedResourcesSummary `mandatory:"true" json:"items"` }
AssociatedResourcesCollection Results of a resources search. Contains AssociatedResourcesSummary items.
func (AssociatedResourcesCollection) String ¶ added in v65.22.0
func (m AssociatedResourcesCollection) String() string
func (AssociatedResourcesCollection) ValidateEnumValue ¶ added in v65.22.0
func (m AssociatedResourcesCollection) 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 AssociatedResourcesSummary ¶ added in v65.22.0
type AssociatedResourcesSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. Id *string `mandatory:"true" json:"id"` // Name of the monitored resource Name *string `mandatory:"false" json:"name"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Type of the monitored resource Type *string `mandatory:"false" json:"type"` // Resource Host Name HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Management Agent Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // The current state of the monitored resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // List of associated monitored resources AssociatedResources []AssociatedMonitoredResource `mandatory:"false" json:"associatedResources"` }
AssociatedResourcesSummary The information about monitored resource.
func (AssociatedResourcesSummary) String ¶ added in v65.22.0
func (m AssociatedResourcesSummary) String() string
func (AssociatedResourcesSummary) ValidateEnumValue ¶ added in v65.22.0
func (m AssociatedResourcesSummary) 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 AssociationDetails ¶ added in v65.22.0
type AssociationDetails struct { // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"true" json:"sourceResourceId"` // Association Type AssociationType *string `mandatory:"true" json:"associationType"` }
AssociationDetails The information about monitored resource association.
func (AssociationDetails) String ¶ added in v65.22.0
func (m AssociationDetails) String() string
func (AssociationDetails) ValidateEnumValue ¶ added in v65.22.0
func (m AssociationDetails) 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 AssociationResourceDetails ¶
type AssociationResourceDetails struct { // Monitored Resource Name Name *string `mandatory:"false" json:"name"` // Monitored Resource Type Type *string `mandatory:"false" json:"type"` }
AssociationResourceDetails Association Resource Details
func (AssociationResourceDetails) String ¶
func (m AssociationResourceDetails) String() string
func (AssociationResourceDetails) ValidateEnumValue ¶
func (m AssociationResourceDetails) 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 ChangeMonitoredResourceCompartmentDetails ¶
type ChangeMonitoredResourceCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeMonitoredResourceCompartmentDetails The information to be updated.
func (ChangeMonitoredResourceCompartmentDetails) String ¶
func (m ChangeMonitoredResourceCompartmentDetails) String() string
func (ChangeMonitoredResourceCompartmentDetails) ValidateEnumValue ¶
func (m ChangeMonitoredResourceCompartmentDetails) 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 ChangeMonitoredResourceCompartmentRequest ¶
type ChangeMonitoredResourceCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // The information to be updated. ChangeMonitoredResourceCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // 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 }
ChangeMonitoredResourceCompartmentRequest wrapper for the ChangeMonitoredResourceCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ChangeMonitoredResourceCompartment.go.html to see an example of how to use ChangeMonitoredResourceCompartmentRequest.
func (ChangeMonitoredResourceCompartmentRequest) BinaryRequestBody ¶
func (request ChangeMonitoredResourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeMonitoredResourceCompartmentRequest) HTTPRequest ¶
func (request ChangeMonitoredResourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeMonitoredResourceCompartmentRequest) RetryPolicy ¶
func (request ChangeMonitoredResourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeMonitoredResourceCompartmentRequest) String ¶
func (request ChangeMonitoredResourceCompartmentRequest) String() string
func (ChangeMonitoredResourceCompartmentRequest) ValidateEnumValue ¶
func (request ChangeMonitoredResourceCompartmentRequest) 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 ChangeMonitoredResourceCompartmentResponse ¶
type ChangeMonitoredResourceCompartmentResponse 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"` }
ChangeMonitoredResourceCompartmentResponse wrapper for the ChangeMonitoredResourceCompartment operation
func (ChangeMonitoredResourceCompartmentResponse) HTTPResponse ¶
func (response ChangeMonitoredResourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeMonitoredResourceCompartmentResponse) String ¶
func (response ChangeMonitoredResourceCompartmentResponse) String() string
type ConnectionDetails ¶
type ConnectionDetails struct { // Protocol used in DB connection string when connecting to external database service. Protocol ConnectionDetailsProtocolEnum `mandatory:"true" json:"protocol"` // Listener Port number used for connection requests. Port *int `mandatory:"true" json:"port"` // Service name used for connection requests. ServiceName *string `mandatory:"true" json:"serviceName"` // Database connector Identifier ConnectorId *string `mandatory:"false" json:"connectorId"` // UniqueName used for database connection requests. DbUniqueName *string `mandatory:"false" json:"dbUniqueName"` // dbId of the database DbId *string `mandatory:"false" json:"dbId"` // SSL Secret Identifier for TCPS connector in OCI VaultOCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SslSecretId *string `mandatory:"false" json:"sslSecretId"` }
ConnectionDetails Connection details to connect to the database. HostName, protocol, and port should be specified.
func (ConnectionDetails) String ¶
func (m ConnectionDetails) String() string
func (ConnectionDetails) ValidateEnumValue ¶
func (m ConnectionDetails) 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 ConnectionDetailsProtocolEnum ¶
type ConnectionDetailsProtocolEnum string
ConnectionDetailsProtocolEnum Enum with underlying type: string
const ( ConnectionDetailsProtocolTcp ConnectionDetailsProtocolEnum = "TCP" ConnectionDetailsProtocolTcps ConnectionDetailsProtocolEnum = "TCPS" )
Set of constants representing the allowable values for ConnectionDetailsProtocolEnum
func GetConnectionDetailsProtocolEnumValues ¶
func GetConnectionDetailsProtocolEnumValues() []ConnectionDetailsProtocolEnum
GetConnectionDetailsProtocolEnumValues Enumerates the set of values for ConnectionDetailsProtocolEnum
func GetMappingConnectionDetailsProtocolEnum ¶
func GetMappingConnectionDetailsProtocolEnum(val string) (ConnectionDetailsProtocolEnum, bool)
GetMappingConnectionDetailsProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateDiscoveryJobDetails ¶
type CreateDiscoveryJobDetails struct { // The OCID of Compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` DiscoveryDetails *DiscoveryDetails `mandatory:"true" json:"discoveryDetails"` // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. DiscoveryType CreateDiscoveryJobDetailsDiscoveryTypeEnum `mandatory:"false" json:"discoveryType,omitempty"` // Client who submits discovery job. DiscoveryClient *string `mandatory:"false" json:"discoveryClient"` // 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"` }
CreateDiscoveryJobDetails The request of DiscoveryJob details.
func (CreateDiscoveryJobDetails) String ¶
func (m CreateDiscoveryJobDetails) String() string
func (CreateDiscoveryJobDetails) ValidateEnumValue ¶
func (m CreateDiscoveryJobDetails) 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 CreateDiscoveryJobDetailsDiscoveryTypeEnum ¶
type CreateDiscoveryJobDetailsDiscoveryTypeEnum string
CreateDiscoveryJobDetailsDiscoveryTypeEnum Enum with underlying type: string
const ( CreateDiscoveryJobDetailsDiscoveryTypeAdd CreateDiscoveryJobDetailsDiscoveryTypeEnum = "ADD" CreateDiscoveryJobDetailsDiscoveryTypeAddWithRetry CreateDiscoveryJobDetailsDiscoveryTypeEnum = "ADD_WITH_RETRY" CreateDiscoveryJobDetailsDiscoveryTypeRefresh CreateDiscoveryJobDetailsDiscoveryTypeEnum = "REFRESH" )
Set of constants representing the allowable values for CreateDiscoveryJobDetailsDiscoveryTypeEnum
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumValues ¶
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumValues() []CreateDiscoveryJobDetailsDiscoveryTypeEnum
GetCreateDiscoveryJobDetailsDiscoveryTypeEnumValues Enumerates the set of values for CreateDiscoveryJobDetailsDiscoveryTypeEnum
func GetMappingCreateDiscoveryJobDetailsDiscoveryTypeEnum ¶
func GetMappingCreateDiscoveryJobDetailsDiscoveryTypeEnum(val string) (CreateDiscoveryJobDetailsDiscoveryTypeEnum, bool)
GetMappingCreateDiscoveryJobDetailsDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateDiscoveryJobRequest ¶
type CreateDiscoveryJobRequest struct { // Summary of source and credential discovery details. CreateDiscoveryJobDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // 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 }
CreateDiscoveryJobRequest wrapper for the CreateDiscoveryJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/CreateDiscoveryJob.go.html to see an example of how to use CreateDiscoveryJobRequest.
func (CreateDiscoveryJobRequest) BinaryRequestBody ¶
func (request CreateDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDiscoveryJobRequest) HTTPRequest ¶
func (request CreateDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDiscoveryJobRequest) RetryPolicy ¶
func (request CreateDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDiscoveryJobRequest) String ¶
func (request CreateDiscoveryJobRequest) String() string
func (CreateDiscoveryJobRequest) ValidateEnumValue ¶
func (request CreateDiscoveryJobRequest) 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 CreateDiscoveryJobResponse ¶
type CreateDiscoveryJobResponse struct { // The underlying http response RawResponse *http.Response // The DiscoveryJob instance DiscoveryJob `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"` }
CreateDiscoveryJobResponse wrapper for the CreateDiscoveryJob operation
func (CreateDiscoveryJobResponse) HTTPResponse ¶
func (response CreateDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDiscoveryJobResponse) String ¶
func (response CreateDiscoveryJobResponse) String() string
type CreateMonitoredResourceDetails ¶
type CreateMonitoredResourceDetails struct { // Monitored resource name Name *string `mandatory:"true" json:"name"` // Monitored resource type Type *string `mandatory:"true" json:"type"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Host name of the monitored resource HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Management Agent Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // Time zone in the form of tz database canonical zone ID. ResourceTimeZone *string `mandatory:"false" json:"resourceTimeZone"` // List of monitored resource properties Properties []MonitoredResourceProperty `mandatory:"false" json:"properties"` DatabaseConnectionDetails *ConnectionDetails `mandatory:"false" json:"databaseConnectionDetails"` Credentials MonitoredResourceCredential `mandatory:"false" json:"credentials"` Aliases *MonitoredResourceAliasCredential `mandatory:"false" json:"aliases"` }
CreateMonitoredResourceDetails The information about new monitored resource. The combination of monitored resource name and type should be unique across tenancy.
func (CreateMonitoredResourceDetails) String ¶
func (m CreateMonitoredResourceDetails) String() string
func (*CreateMonitoredResourceDetails) UnmarshalJSON ¶
func (m *CreateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateMonitoredResourceDetails) ValidateEnumValue ¶
func (m CreateMonitoredResourceDetails) 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 CreateMonitoredResourceRequest ¶
type CreateMonitoredResourceRequest struct { // Details for the new Resource. CreateMonitoredResourceDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Generally used by DBaaS to send the Database OCID stored on the DBaaS. // The same will be passed to resource service to enable Stack Monitoring Service on DBM. // This will be stored in Stack Monitoring Resource Service data store as identifier for monitored resource. // If this header is not set as part of the request, then an id will be generated and stored for the resource. ExternalResourceId *string `mandatory:"false" contributesTo:"header" name:"external-resource-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 }
CreateMonitoredResourceRequest wrapper for the CreateMonitoredResource operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/CreateMonitoredResource.go.html to see an example of how to use CreateMonitoredResourceRequest.
func (CreateMonitoredResourceRequest) BinaryRequestBody ¶
func (request CreateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateMonitoredResourceRequest) HTTPRequest ¶
func (request CreateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateMonitoredResourceRequest) RetryPolicy ¶
func (request CreateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateMonitoredResourceRequest) String ¶
func (request CreateMonitoredResourceRequest) String() string
func (CreateMonitoredResourceRequest) ValidateEnumValue ¶
func (request CreateMonitoredResourceRequest) 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 CreateMonitoredResourceResponse ¶
type CreateMonitoredResourceResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResource instance MonitoredResource `presentIn:"body"` // 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"` // Unique identifier for the monitored resource. This is sent to user in response headers for create monitored resource. OpcMonitoredResourceId *string `presentIn:"header" name:"opc-monitored-resource-id"` // Location of the resource. Location *string `presentIn:"header" name:"location"` // Content location of the resource. ContentLocation *string `presentIn:"header" name:"content-location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateMonitoredResourceResponse wrapper for the CreateMonitoredResource operation
func (CreateMonitoredResourceResponse) HTTPResponse ¶
func (response CreateMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateMonitoredResourceResponse) String ¶
func (response CreateMonitoredResourceResponse) String() string
type CredentialCollection ¶
type CredentialCollection struct { // List of DiscoveryJob credentials. Items []CredentialDetails `mandatory:"true" json:"items"` }
CredentialCollection List of DiscoveryJOb Credential Details.
func (CredentialCollection) String ¶
func (m CredentialCollection) String() string
func (CredentialCollection) ValidateEnumValue ¶
func (m CredentialCollection) 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 CredentialDetails ¶
type CredentialDetails struct { // Name of Credential CredentialName *string `mandatory:"true" json:"credentialName"` // Name of Credential Type CredentialType *string `mandatory:"true" json:"credentialType"` Properties *PropertyDetails `mandatory:"true" json:"properties"` }
CredentialDetails DiscoveryJob Credential Details.
func (CredentialDetails) String ¶
func (m CredentialDetails) String() string
func (CredentialDetails) ValidateEnumValue ¶
func (m CredentialDetails) 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 CredentialProperty ¶
type CredentialProperty struct { // The name of the credential property, should confirm with names of properties of this credential's type. Ex. For JMXCreds type , credential property name for weblogic user is 'Username'. Name *string `mandatory:"true" json:"name"` // The value of the credential property name. Ex. For JMXCreds type, credential property value for 'Username' property is 'weblogic'. Value *string `mandatory:"true" json:"value"` }
CredentialProperty Monitored resource credential property.
func (CredentialProperty) String ¶
func (m CredentialProperty) String() string
func (CredentialProperty) ValidateEnumValue ¶
func (m CredentialProperty) 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 DeleteDiscoveryJobRequest ¶
type DeleteDiscoveryJobRequest struct { // The Discovery Job ID DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteDiscoveryJobRequest wrapper for the DeleteDiscoveryJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DeleteDiscoveryJob.go.html to see an example of how to use DeleteDiscoveryJobRequest.
func (DeleteDiscoveryJobRequest) BinaryRequestBody ¶
func (request DeleteDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDiscoveryJobRequest) HTTPRequest ¶
func (request DeleteDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDiscoveryJobRequest) RetryPolicy ¶
func (request DeleteDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDiscoveryJobRequest) String ¶
func (request DeleteDiscoveryJobRequest) String() string
func (DeleteDiscoveryJobRequest) ValidateEnumValue ¶
func (request DeleteDiscoveryJobRequest) 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 DeleteDiscoveryJobResponse ¶
type DeleteDiscoveryJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteDiscoveryJobResponse wrapper for the DeleteDiscoveryJob operation
func (DeleteDiscoveryJobResponse) HTTPResponse ¶
func (response DeleteDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDiscoveryJobResponse) String ¶
func (response DeleteDiscoveryJobResponse) String() string
type DeleteMonitoredResourceRequest ¶
type DeleteMonitoredResourceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to delete the associated children or not for given resource. IsDeleteMembers *bool `mandatory:"false" contributesTo:"query" name:"isDeleteMembers"` // 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 }
DeleteMonitoredResourceRequest wrapper for the DeleteMonitoredResource operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DeleteMonitoredResource.go.html to see an example of how to use DeleteMonitoredResourceRequest.
func (DeleteMonitoredResourceRequest) BinaryRequestBody ¶
func (request DeleteMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteMonitoredResourceRequest) HTTPRequest ¶
func (request DeleteMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteMonitoredResourceRequest) RetryPolicy ¶
func (request DeleteMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteMonitoredResourceRequest) String ¶
func (request DeleteMonitoredResourceRequest) String() string
func (DeleteMonitoredResourceRequest) ValidateEnumValue ¶
func (request DeleteMonitoredResourceRequest) 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 DeleteMonitoredResourceResponse ¶
type DeleteMonitoredResourceResponse 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"` }
DeleteMonitoredResourceResponse wrapper for the DeleteMonitoredResource operation
func (DeleteMonitoredResourceResponse) HTTPResponse ¶
func (response DeleteMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteMonitoredResourceResponse) String ¶
func (response DeleteMonitoredResourceResponse) String() string
type DisableExternalDatabaseRequest ¶
type DisableExternalDatabaseRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
DisableExternalDatabaseRequest wrapper for the DisableExternalDatabase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DisableExternalDatabase.go.html to see an example of how to use DisableExternalDatabaseRequest.
func (DisableExternalDatabaseRequest) BinaryRequestBody ¶
func (request DisableExternalDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisableExternalDatabaseRequest) HTTPRequest ¶
func (request DisableExternalDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisableExternalDatabaseRequest) RetryPolicy ¶
func (request DisableExternalDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisableExternalDatabaseRequest) String ¶
func (request DisableExternalDatabaseRequest) String() string
func (DisableExternalDatabaseRequest) ValidateEnumValue ¶
func (request DisableExternalDatabaseRequest) 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 DisableExternalDatabaseResponse ¶
type DisableExternalDatabaseResponse 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"` }
DisableExternalDatabaseResponse wrapper for the DisableExternalDatabase operation
func (DisableExternalDatabaseResponse) HTTPResponse ¶
func (response DisableExternalDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisableExternalDatabaseResponse) String ¶
func (response DisableExternalDatabaseResponse) String() string
type DisassociateMonitoredResourcesDetails ¶
type DisassociateMonitoredResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Association type to be created between source and destination resources AssociationType *string `mandatory:"false" json:"associationType"` // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"false" json:"sourceResourceId"` // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"false" json:"destinationResourceId"` }
DisassociateMonitoredResourcesDetails The information required to create new monitored resource association.
func (DisassociateMonitoredResourcesDetails) String ¶
func (m DisassociateMonitoredResourcesDetails) String() string
func (DisassociateMonitoredResourcesDetails) ValidateEnumValue ¶
func (m DisassociateMonitoredResourcesDetails) 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 DisassociateMonitoredResourcesRequest ¶
type DisassociateMonitoredResourcesRequest struct { // Disassociate resources. DisassociateMonitoredResourcesDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
DisassociateMonitoredResourcesRequest wrapper for the DisassociateMonitoredResources operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DisassociateMonitoredResources.go.html to see an example of how to use DisassociateMonitoredResourcesRequest.
func (DisassociateMonitoredResourcesRequest) BinaryRequestBody ¶
func (request DisassociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisassociateMonitoredResourcesRequest) HTTPRequest ¶
func (request DisassociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisassociateMonitoredResourcesRequest) RetryPolicy ¶
func (request DisassociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisassociateMonitoredResourcesRequest) String ¶
func (request DisassociateMonitoredResourcesRequest) String() string
func (DisassociateMonitoredResourcesRequest) ValidateEnumValue ¶
func (request DisassociateMonitoredResourcesRequest) 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 DisassociateMonitoredResourcesResponse ¶
type DisassociateMonitoredResourcesResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DisassociateMonitoredResourcesResponse wrapper for the DisassociateMonitoredResources operation
func (DisassociateMonitoredResourcesResponse) HTTPResponse ¶
func (response DisassociateMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisassociateMonitoredResourcesResponse) String ¶
func (response DisassociateMonitoredResourcesResponse) String() string
type DiscoveryDetails ¶
type DiscoveryDetails struct { // The OCID of Management Agent AgentId *string `mandatory:"true" json:"agentId"` // Resource Type. ResourceType DiscoveryDetailsResourceTypeEnum `mandatory:"true" json:"resourceType"` // The Name of resource type ResourceName *string `mandatory:"true" json:"resourceName"` Properties *PropertyDetails `mandatory:"true" json:"properties"` Credentials *CredentialCollection `mandatory:"false" json:"credentials"` Tags *PropertyDetails `mandatory:"false" json:"tags"` }
DiscoveryDetails The request of DiscoveryJob Resource details.
func (DiscoveryDetails) String ¶
func (m DiscoveryDetails) String() string
func (DiscoveryDetails) ValidateEnumValue ¶
func (m DiscoveryDetails) 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 DiscoveryDetailsResourceTypeEnum ¶
type DiscoveryDetailsResourceTypeEnum string
DiscoveryDetailsResourceTypeEnum Enum with underlying type: string
const ( DiscoveryDetailsResourceTypeWeblogicDomain DiscoveryDetailsResourceTypeEnum = "WEBLOGIC_DOMAIN" DiscoveryDetailsResourceTypeEbsInstance DiscoveryDetailsResourceTypeEnum = "EBS_INSTANCE" DiscoveryDetailsResourceTypeSqlServer DiscoveryDetailsResourceTypeEnum = "SQL_SERVER" DiscoveryDetailsResourceTypeApacheTomcat DiscoveryDetailsResourceTypeEnum = "APACHE_TOMCAT" DiscoveryDetailsResourceTypeOracleDatabase DiscoveryDetailsResourceTypeEnum = "ORACLE_DATABASE" DiscoveryDetailsResourceTypeOciOracleDb DiscoveryDetailsResourceTypeEnum = "OCI_ORACLE_DB" DiscoveryDetailsResourceTypeOciOracleCdb DiscoveryDetailsResourceTypeEnum = "OCI_ORACLE_CDB" DiscoveryDetailsResourceTypeOciOraclePdb DiscoveryDetailsResourceTypeEnum = "OCI_ORACLE_PDB" DiscoveryDetailsResourceTypeHost DiscoveryDetailsResourceTypeEnum = "HOST" DiscoveryDetailsResourceTypeOraclePsft DiscoveryDetailsResourceTypeEnum = "ORACLE_PSFT" )
Set of constants representing the allowable values for DiscoveryDetailsResourceTypeEnum
func GetDiscoveryDetailsResourceTypeEnumValues ¶
func GetDiscoveryDetailsResourceTypeEnumValues() []DiscoveryDetailsResourceTypeEnum
GetDiscoveryDetailsResourceTypeEnumValues Enumerates the set of values for DiscoveryDetailsResourceTypeEnum
func GetMappingDiscoveryDetailsResourceTypeEnum ¶
func GetMappingDiscoveryDetailsResourceTypeEnum(val string) (DiscoveryDetailsResourceTypeEnum, bool)
GetMappingDiscoveryDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJob ¶
type DiscoveryJob struct { // The OCID of Discovery job Id *string `mandatory:"true" json:"id"` // The OCID of the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. DiscoveryType DiscoveryJobDiscoveryTypeEnum `mandatory:"false" json:"discoveryType,omitempty"` // Specifies the status of the discovery job Status DiscoveryJobStatusEnum `mandatory:"false" json:"status,omitempty"` // The short summary of the status of the discovery job StatusMessage *string `mandatory:"false" json:"statusMessage"` // The OCID of Tenant TenantId *string `mandatory:"false" json:"tenantId"` // The OCID of user in which the job is submitted UserId *string `mandatory:"false" json:"userId"` // Client who submits discovery job. DiscoveryClient *string `mandatory:"false" json:"discoveryClient"` DiscoveryDetails *DiscoveryDetails `mandatory:"false" json:"discoveryDetails"` // The time the discovery Job was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the DiscoveryJob Resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DiscoveryJob The DiscoveryJob details.
func (DiscoveryJob) String ¶
func (m DiscoveryJob) String() string
func (DiscoveryJob) ValidateEnumValue ¶
func (m DiscoveryJob) 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 DiscoveryJobCollection ¶
type DiscoveryJobCollection struct { // List of Discovery jobs Items []DiscoveryJobSummary `mandatory:"true" json:"items"` }
DiscoveryJobCollection Result of the discovery Job search
func (DiscoveryJobCollection) String ¶
func (m DiscoveryJobCollection) String() string
func (DiscoveryJobCollection) ValidateEnumValue ¶
func (m DiscoveryJobCollection) 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 DiscoveryJobDiscoveryTypeEnum ¶
type DiscoveryJobDiscoveryTypeEnum string
DiscoveryJobDiscoveryTypeEnum Enum with underlying type: string
const ( DiscoveryJobDiscoveryTypeAdd DiscoveryJobDiscoveryTypeEnum = "ADD" DiscoveryJobDiscoveryTypeAddWithRetry DiscoveryJobDiscoveryTypeEnum = "ADD_WITH_RETRY" DiscoveryJobDiscoveryTypeRefresh DiscoveryJobDiscoveryTypeEnum = "REFRESH" )
Set of constants representing the allowable values for DiscoveryJobDiscoveryTypeEnum
func GetDiscoveryJobDiscoveryTypeEnumValues ¶
func GetDiscoveryJobDiscoveryTypeEnumValues() []DiscoveryJobDiscoveryTypeEnum
GetDiscoveryJobDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobDiscoveryTypeEnum
func GetMappingDiscoveryJobDiscoveryTypeEnum ¶
func GetMappingDiscoveryJobDiscoveryTypeEnum(val string) (DiscoveryJobDiscoveryTypeEnum, bool)
GetMappingDiscoveryJobDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJobLogCollection ¶
type DiscoveryJobLogCollection struct { // List of logs Items []DiscoveryJobLogSummary `mandatory:"true" json:"items"` }
DiscoveryJobLogCollection List of logs of a job
func (DiscoveryJobLogCollection) String ¶
func (m DiscoveryJobLogCollection) String() string
func (DiscoveryJobLogCollection) ValidateEnumValue ¶
func (m DiscoveryJobLogCollection) 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 DiscoveryJobLogSummary ¶
type DiscoveryJobLogSummary struct { // The OCID of Discovery job Id *string `mandatory:"true" json:"id"` // Type of log (INFO, WARNING, ERROR or SUCCESS) LogType DiscoveryJobLogSummaryLogTypeEnum `mandatory:"true" json:"logType"` // Log message LogMessage *string `mandatory:"true" json:"logMessage"` // Time the Job log was created TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` }
DiscoveryJobLogSummary Log of a specific job
func (DiscoveryJobLogSummary) String ¶
func (m DiscoveryJobLogSummary) String() string
func (DiscoveryJobLogSummary) ValidateEnumValue ¶
func (m DiscoveryJobLogSummary) 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 DiscoveryJobLogSummaryLogTypeEnum ¶
type DiscoveryJobLogSummaryLogTypeEnum string
DiscoveryJobLogSummaryLogTypeEnum Enum with underlying type: string
const ( DiscoveryJobLogSummaryLogTypeInfo DiscoveryJobLogSummaryLogTypeEnum = "INFO" DiscoveryJobLogSummaryLogTypeWarning DiscoveryJobLogSummaryLogTypeEnum = "WARNING" DiscoveryJobLogSummaryLogTypeError DiscoveryJobLogSummaryLogTypeEnum = "ERROR" DiscoveryJobLogSummaryLogTypeSuccess DiscoveryJobLogSummaryLogTypeEnum = "SUCCESS" )
Set of constants representing the allowable values for DiscoveryJobLogSummaryLogTypeEnum
func GetDiscoveryJobLogSummaryLogTypeEnumValues ¶
func GetDiscoveryJobLogSummaryLogTypeEnumValues() []DiscoveryJobLogSummaryLogTypeEnum
GetDiscoveryJobLogSummaryLogTypeEnumValues Enumerates the set of values for DiscoveryJobLogSummaryLogTypeEnum
func GetMappingDiscoveryJobLogSummaryLogTypeEnum ¶
func GetMappingDiscoveryJobLogSummaryLogTypeEnum(val string) (DiscoveryJobLogSummaryLogTypeEnum, bool)
GetMappingDiscoveryJobLogSummaryLogTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJobStatusEnum ¶
type DiscoveryJobStatusEnum string
DiscoveryJobStatusEnum Enum with underlying type: string
const ( DiscoveryJobStatusSuccess DiscoveryJobStatusEnum = "SUCCESS" DiscoveryJobStatusFailure DiscoveryJobStatusEnum = "FAILURE" DiscoveryJobStatusInprogress DiscoveryJobStatusEnum = "INPROGRESS" DiscoveryJobStatusInactive DiscoveryJobStatusEnum = "INACTIVE" DiscoveryJobStatusCreated DiscoveryJobStatusEnum = "CREATED" DiscoveryJobStatusDeleted DiscoveryJobStatusEnum = "DELETED" )
Set of constants representing the allowable values for DiscoveryJobStatusEnum
func GetDiscoveryJobStatusEnumValues ¶
func GetDiscoveryJobStatusEnumValues() []DiscoveryJobStatusEnum
GetDiscoveryJobStatusEnumValues Enumerates the set of values for DiscoveryJobStatusEnum
func GetMappingDiscoveryJobStatusEnum ¶
func GetMappingDiscoveryJobStatusEnum(val string) (DiscoveryJobStatusEnum, bool)
GetMappingDiscoveryJobStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJobSummary ¶
type DiscoveryJobSummary struct { // The OCID of Discovery job Id *string `mandatory:"true" json:"id"` // Resource Type ResourceType DiscoveryJobSummaryResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` // The name of resource type ResourceName *string `mandatory:"false" json:"resourceName"` // The OCID of the Compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. DiscoveryType DiscoveryJobSummaryDiscoveryTypeEnum `mandatory:"false" json:"discoveryType,omitempty"` // Specifies the status of the discovery job Status DiscoveryJobSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // The short summary of the status of the discovery job StatusMessage *string `mandatory:"false" json:"statusMessage"` // The OCID of Tenant TenantId *string `mandatory:"false" json:"tenantId"` // The OCID of user in which the job is submitted UserId *string `mandatory:"false" json:"userId"` // The time the discovery Job was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the DiscoveryJob Resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DiscoveryJobSummary The Summary of DiscoveryJob details.
func (DiscoveryJobSummary) String ¶
func (m DiscoveryJobSummary) String() string
func (DiscoveryJobSummary) ValidateEnumValue ¶
func (m DiscoveryJobSummary) 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 DiscoveryJobSummaryDiscoveryTypeEnum ¶
type DiscoveryJobSummaryDiscoveryTypeEnum string
DiscoveryJobSummaryDiscoveryTypeEnum Enum with underlying type: string
const ( DiscoveryJobSummaryDiscoveryTypeAdd DiscoveryJobSummaryDiscoveryTypeEnum = "ADD" DiscoveryJobSummaryDiscoveryTypeAddWithRetry DiscoveryJobSummaryDiscoveryTypeEnum = "ADD_WITH_RETRY" DiscoveryJobSummaryDiscoveryTypeRefresh DiscoveryJobSummaryDiscoveryTypeEnum = "REFRESH" )
Set of constants representing the allowable values for DiscoveryJobSummaryDiscoveryTypeEnum
func GetDiscoveryJobSummaryDiscoveryTypeEnumValues ¶
func GetDiscoveryJobSummaryDiscoveryTypeEnumValues() []DiscoveryJobSummaryDiscoveryTypeEnum
GetDiscoveryJobSummaryDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobSummaryDiscoveryTypeEnum
func GetMappingDiscoveryJobSummaryDiscoveryTypeEnum ¶
func GetMappingDiscoveryJobSummaryDiscoveryTypeEnum(val string) (DiscoveryJobSummaryDiscoveryTypeEnum, bool)
GetMappingDiscoveryJobSummaryDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJobSummaryResourceTypeEnum ¶
type DiscoveryJobSummaryResourceTypeEnum string
DiscoveryJobSummaryResourceTypeEnum Enum with underlying type: string
const ( DiscoveryJobSummaryResourceTypeWeblogicDomain DiscoveryJobSummaryResourceTypeEnum = "WEBLOGIC_DOMAIN" DiscoveryJobSummaryResourceTypeEbsInstance DiscoveryJobSummaryResourceTypeEnum = "EBS_INSTANCE" DiscoveryJobSummaryResourceTypeSqlServer DiscoveryJobSummaryResourceTypeEnum = "SQL_SERVER" DiscoveryJobSummaryResourceTypeApacheTomcat DiscoveryJobSummaryResourceTypeEnum = "APACHE_TOMCAT" DiscoveryJobSummaryResourceTypeOracleDatabase DiscoveryJobSummaryResourceTypeEnum = "ORACLE_DATABASE" DiscoveryJobSummaryResourceTypeOciOracleDb DiscoveryJobSummaryResourceTypeEnum = "OCI_ORACLE_DB" DiscoveryJobSummaryResourceTypeOciOracleCdb DiscoveryJobSummaryResourceTypeEnum = "OCI_ORACLE_CDB" DiscoveryJobSummaryResourceTypeOciOraclePdb DiscoveryJobSummaryResourceTypeEnum = "OCI_ORACLE_PDB" DiscoveryJobSummaryResourceTypeHost DiscoveryJobSummaryResourceTypeEnum = "HOST" DiscoveryJobSummaryResourceTypeOraclePsft DiscoveryJobSummaryResourceTypeEnum = "ORACLE_PSFT" )
Set of constants representing the allowable values for DiscoveryJobSummaryResourceTypeEnum
func GetDiscoveryJobSummaryResourceTypeEnumValues ¶
func GetDiscoveryJobSummaryResourceTypeEnumValues() []DiscoveryJobSummaryResourceTypeEnum
GetDiscoveryJobSummaryResourceTypeEnumValues Enumerates the set of values for DiscoveryJobSummaryResourceTypeEnum
func GetMappingDiscoveryJobSummaryResourceTypeEnum ¶
func GetMappingDiscoveryJobSummaryResourceTypeEnum(val string) (DiscoveryJobSummaryResourceTypeEnum, bool)
GetMappingDiscoveryJobSummaryResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DiscoveryJobSummaryStatusEnum ¶
type DiscoveryJobSummaryStatusEnum string
DiscoveryJobSummaryStatusEnum Enum with underlying type: string
const ( DiscoveryJobSummaryStatusSuccess DiscoveryJobSummaryStatusEnum = "SUCCESS" DiscoveryJobSummaryStatusFailure DiscoveryJobSummaryStatusEnum = "FAILURE" DiscoveryJobSummaryStatusInprogress DiscoveryJobSummaryStatusEnum = "INPROGRESS" DiscoveryJobSummaryStatusInactive DiscoveryJobSummaryStatusEnum = "INACTIVE" DiscoveryJobSummaryStatusCreated DiscoveryJobSummaryStatusEnum = "CREATED" DiscoveryJobSummaryStatusDeleted DiscoveryJobSummaryStatusEnum = "DELETED" )
Set of constants representing the allowable values for DiscoveryJobSummaryStatusEnum
func GetDiscoveryJobSummaryStatusEnumValues ¶
func GetDiscoveryJobSummaryStatusEnumValues() []DiscoveryJobSummaryStatusEnum
GetDiscoveryJobSummaryStatusEnumValues Enumerates the set of values for DiscoveryJobSummaryStatusEnum
func GetMappingDiscoveryJobSummaryStatusEnum ¶
func GetMappingDiscoveryJobSummaryStatusEnum(val string) (DiscoveryJobSummaryStatusEnum, bool)
GetMappingDiscoveryJobSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type EncryptedCredentials ¶
type EncryptedCredentials struct { // The master key OCID and applicable only for property value type ENCRYPTION. Key OCID is passed as input to Key management service decrypt API to retrieve the encrypted property value text. KeyId *string `mandatory:"true" json:"keyId"` // The credential properties list. Credential property values will be encrypted format. Properties []CredentialProperty `mandatory:"true" json:"properties"` // The source type and source name combination,delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. Source *string `mandatory:"false" json:"source"` // The name of the credential, within the context of the source. Name *string `mandatory:"false" json:"name"` // The type of the credential ( ex. JMXCreds,DBCreds). Type *string `mandatory:"false" json:"type"` // The user-specified textual description of the credential. Description *string `mandatory:"false" json:"description"` }
EncryptedCredentials Encypted credentials [indicated by the type property in CredentialStore].
func (EncryptedCredentials) GetDescription ¶
func (m EncryptedCredentials) GetDescription() *string
GetDescription returns Description
func (EncryptedCredentials) GetName ¶
func (m EncryptedCredentials) GetName() *string
GetName returns Name
func (EncryptedCredentials) GetSource ¶
func (m EncryptedCredentials) GetSource() *string
GetSource returns Source
func (EncryptedCredentials) GetType ¶
func (m EncryptedCredentials) GetType() *string
GetType returns Type
func (EncryptedCredentials) MarshalJSON ¶
func (m EncryptedCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EncryptedCredentials) String ¶
func (m EncryptedCredentials) String() string
func (EncryptedCredentials) ValidateEnumValue ¶
func (m EncryptedCredentials) 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 GetDiscoveryJobRequest ¶
type GetDiscoveryJobRequest struct { // The Discovery Job ID DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDiscoveryJobRequest wrapper for the GetDiscoveryJob operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetDiscoveryJob.go.html to see an example of how to use GetDiscoveryJobRequest.
func (GetDiscoveryJobRequest) BinaryRequestBody ¶
func (request GetDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDiscoveryJobRequest) HTTPRequest ¶
func (request GetDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDiscoveryJobRequest) RetryPolicy ¶
func (request GetDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDiscoveryJobRequest) String ¶
func (request GetDiscoveryJobRequest) String() string
func (GetDiscoveryJobRequest) ValidateEnumValue ¶
func (request GetDiscoveryJobRequest) 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 GetDiscoveryJobResponse ¶
type GetDiscoveryJobResponse struct { // The underlying http response RawResponse *http.Response // The DiscoveryJob instance DiscoveryJob `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"` }
GetDiscoveryJobResponse wrapper for the GetDiscoveryJob operation
func (GetDiscoveryJobResponse) HTTPResponse ¶
func (response GetDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDiscoveryJobResponse) String ¶
func (response GetDiscoveryJobResponse) String() string
type GetMonitoredResourceRequest ¶
type GetMonitoredResourceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetMonitoredResourceRequest wrapper for the GetMonitoredResource operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetMonitoredResource.go.html to see an example of how to use GetMonitoredResourceRequest.
func (GetMonitoredResourceRequest) BinaryRequestBody ¶
func (request GetMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetMonitoredResourceRequest) HTTPRequest ¶
func (request GetMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetMonitoredResourceRequest) RetryPolicy ¶
func (request GetMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetMonitoredResourceRequest) String ¶
func (request GetMonitoredResourceRequest) String() string
func (GetMonitoredResourceRequest) ValidateEnumValue ¶
func (request GetMonitoredResourceRequest) 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 GetMonitoredResourceResponse ¶
type GetMonitoredResourceResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResource instance MonitoredResource `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"` }
GetMonitoredResourceResponse wrapper for the GetMonitoredResource operation
func (GetMonitoredResourceResponse) HTTPResponse ¶
func (response GetMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetMonitoredResourceResponse) String ¶
func (response GetMonitoredResourceResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type LifecycleStateEnum ¶
type LifecycleStateEnum string
LifecycleStateEnum Enum with underlying type: string
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for LifecycleStateEnum
func GetLifecycleStateEnumValues ¶
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum ¶
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoveryJobLogsLogTypeEnum ¶
type ListDiscoveryJobLogsLogTypeEnum string
ListDiscoveryJobLogsLogTypeEnum Enum with underlying type: string
const ( ListDiscoveryJobLogsLogTypeInfo ListDiscoveryJobLogsLogTypeEnum = "INFO" ListDiscoveryJobLogsLogTypeWarning ListDiscoveryJobLogsLogTypeEnum = "WARNING" ListDiscoveryJobLogsLogTypeError ListDiscoveryJobLogsLogTypeEnum = "ERROR" ListDiscoveryJobLogsLogTypeSuccess ListDiscoveryJobLogsLogTypeEnum = "SUCCESS" )
Set of constants representing the allowable values for ListDiscoveryJobLogsLogTypeEnum
func GetListDiscoveryJobLogsLogTypeEnumValues ¶
func GetListDiscoveryJobLogsLogTypeEnumValues() []ListDiscoveryJobLogsLogTypeEnum
GetListDiscoveryJobLogsLogTypeEnumValues Enumerates the set of values for ListDiscoveryJobLogsLogTypeEnum
func GetMappingListDiscoveryJobLogsLogTypeEnum ¶
func GetMappingListDiscoveryJobLogsLogTypeEnum(val string) (ListDiscoveryJobLogsLogTypeEnum, bool)
GetMappingListDiscoveryJobLogsLogTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoveryJobLogsRequest ¶
type ListDiscoveryJobLogsRequest struct { // The Discovery Job ID DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"` // The log type like INFO, WARNING, ERROR, SUCCESS LogType ListDiscoveryJobLogsLogTypeEnum `mandatory:"false" contributesTo:"query" name:"logType" omitEmpty:"true"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListDiscoveryJobLogsSortOrderEnum `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 logType is ascending. SortBy ListDiscoveryJobLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListDiscoveryJobLogsRequest wrapper for the ListDiscoveryJobLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListDiscoveryJobLogs.go.html to see an example of how to use ListDiscoveryJobLogsRequest.
func (ListDiscoveryJobLogsRequest) BinaryRequestBody ¶
func (request ListDiscoveryJobLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDiscoveryJobLogsRequest) HTTPRequest ¶
func (request ListDiscoveryJobLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDiscoveryJobLogsRequest) RetryPolicy ¶
func (request ListDiscoveryJobLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDiscoveryJobLogsRequest) String ¶
func (request ListDiscoveryJobLogsRequest) String() string
func (ListDiscoveryJobLogsRequest) ValidateEnumValue ¶
func (request ListDiscoveryJobLogsRequest) 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 ListDiscoveryJobLogsResponse ¶
type ListDiscoveryJobLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of DiscoveryJobLogCollection instances DiscoveryJobLogCollection `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"` }
ListDiscoveryJobLogsResponse wrapper for the ListDiscoveryJobLogs operation
func (ListDiscoveryJobLogsResponse) HTTPResponse ¶
func (response ListDiscoveryJobLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDiscoveryJobLogsResponse) String ¶
func (response ListDiscoveryJobLogsResponse) String() string
type ListDiscoveryJobLogsSortByEnum ¶
type ListDiscoveryJobLogsSortByEnum string
ListDiscoveryJobLogsSortByEnum Enum with underlying type: string
const ( ListDiscoveryJobLogsSortByTimecreated ListDiscoveryJobLogsSortByEnum = "timeCreated" ListDiscoveryJobLogsSortByLogtype ListDiscoveryJobLogsSortByEnum = "logType" )
Set of constants representing the allowable values for ListDiscoveryJobLogsSortByEnum
func GetListDiscoveryJobLogsSortByEnumValues ¶
func GetListDiscoveryJobLogsSortByEnumValues() []ListDiscoveryJobLogsSortByEnum
GetListDiscoveryJobLogsSortByEnumValues Enumerates the set of values for ListDiscoveryJobLogsSortByEnum
func GetMappingListDiscoveryJobLogsSortByEnum ¶
func GetMappingListDiscoveryJobLogsSortByEnum(val string) (ListDiscoveryJobLogsSortByEnum, bool)
GetMappingListDiscoveryJobLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoveryJobLogsSortOrderEnum ¶
type ListDiscoveryJobLogsSortOrderEnum string
ListDiscoveryJobLogsSortOrderEnum Enum with underlying type: string
const ( ListDiscoveryJobLogsSortOrderAsc ListDiscoveryJobLogsSortOrderEnum = "ASC" ListDiscoveryJobLogsSortOrderDesc ListDiscoveryJobLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDiscoveryJobLogsSortOrderEnum
func GetListDiscoveryJobLogsSortOrderEnumValues ¶
func GetListDiscoveryJobLogsSortOrderEnumValues() []ListDiscoveryJobLogsSortOrderEnum
GetListDiscoveryJobLogsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobLogsSortOrderEnum
func GetMappingListDiscoveryJobLogsSortOrderEnum ¶
func GetMappingListDiscoveryJobLogsSortOrderEnum(val string) (ListDiscoveryJobLogsSortOrderEnum, bool)
GetMappingListDiscoveryJobLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoveryJobsRequest ¶
type ListDiscoveryJobsRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only discovery jobs that match the entire resource name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListDiscoveryJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeUpdated is descending. Default order for resourceName is ascending. SortBy ListDiscoveryJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListDiscoveryJobsRequest wrapper for the ListDiscoveryJobs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListDiscoveryJobs.go.html to see an example of how to use ListDiscoveryJobsRequest.
func (ListDiscoveryJobsRequest) BinaryRequestBody ¶
func (request ListDiscoveryJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDiscoveryJobsRequest) HTTPRequest ¶
func (request ListDiscoveryJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDiscoveryJobsRequest) RetryPolicy ¶
func (request ListDiscoveryJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDiscoveryJobsRequest) String ¶
func (request ListDiscoveryJobsRequest) String() string
func (ListDiscoveryJobsRequest) ValidateEnumValue ¶
func (request ListDiscoveryJobsRequest) 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 ListDiscoveryJobsResponse ¶
type ListDiscoveryJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of DiscoveryJobCollection instances DiscoveryJobCollection `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"` }
ListDiscoveryJobsResponse wrapper for the ListDiscoveryJobs operation
func (ListDiscoveryJobsResponse) HTTPResponse ¶
func (response ListDiscoveryJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDiscoveryJobsResponse) String ¶
func (response ListDiscoveryJobsResponse) String() string
type ListDiscoveryJobsSortByEnum ¶
type ListDiscoveryJobsSortByEnum string
ListDiscoveryJobsSortByEnum Enum with underlying type: string
const ( ListDiscoveryJobsSortByTimeupdated ListDiscoveryJobsSortByEnum = "timeUpdated" ListDiscoveryJobsSortByResourcename ListDiscoveryJobsSortByEnum = "resourceName" )
Set of constants representing the allowable values for ListDiscoveryJobsSortByEnum
func GetListDiscoveryJobsSortByEnumValues ¶
func GetListDiscoveryJobsSortByEnumValues() []ListDiscoveryJobsSortByEnum
GetListDiscoveryJobsSortByEnumValues Enumerates the set of values for ListDiscoveryJobsSortByEnum
func GetMappingListDiscoveryJobsSortByEnum ¶
func GetMappingListDiscoveryJobsSortByEnum(val string) (ListDiscoveryJobsSortByEnum, bool)
GetMappingListDiscoveryJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDiscoveryJobsSortOrderEnum ¶
type ListDiscoveryJobsSortOrderEnum string
ListDiscoveryJobsSortOrderEnum Enum with underlying type: string
const ( ListDiscoveryJobsSortOrderAsc ListDiscoveryJobsSortOrderEnum = "ASC" ListDiscoveryJobsSortOrderDesc ListDiscoveryJobsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDiscoveryJobsSortOrderEnum
func GetListDiscoveryJobsSortOrderEnumValues ¶
func GetListDiscoveryJobsSortOrderEnumValues() []ListDiscoveryJobsSortOrderEnum
GetListDiscoveryJobsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobsSortOrderEnum
func GetMappingListDiscoveryJobsSortOrderEnum ¶
func GetMappingListDiscoveryJobsSortOrderEnum(val string) (ListDiscoveryJobsSortOrderEnum, bool)
GetMappingListDiscoveryJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. If no value is specified timestamp is default. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For 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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. If no value is specified timestamp is default. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For 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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources their lifecycleState matches the given OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The ID of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For 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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type MonitoredResource ¶
type MonitoredResource struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. Id *string `mandatory:"true" json:"id"` // Monitored resource name. Name *string `mandatory:"true" json:"name"` // Monitored resource type Type *string `mandatory:"true" json:"type"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Tenancy Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) TenantId *string `mandatory:"true" json:"tenantId"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Monitored resource host name. HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Management Agent Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // Time zone in the form of tz database canonical zone ID. ResourceTimeZone *string `mandatory:"false" json:"resourceTimeZone"` // The time the the resource was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the the resource was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Lifecycle state of the monitored resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // List of monitored resource properties Properties []MonitoredResourceProperty `mandatory:"false" json:"properties"` DatabaseConnectionDetails *ConnectionDetails `mandatory:"false" json:"databaseConnectionDetails"` Credentials MonitoredResourceCredential `mandatory:"false" json:"credentials"` Aliases *MonitoredResourceAliasCredential `mandatory:"false" json:"aliases"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
MonitoredResource The information about monitored resource.
func (MonitoredResource) String ¶
func (m MonitoredResource) String() string
func (*MonitoredResource) UnmarshalJSON ¶
func (m *MonitoredResource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (MonitoredResource) ValidateEnumValue ¶
func (m MonitoredResource) 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 MonitoredResourceAliasCredential ¶
type MonitoredResourceAliasCredential struct { // The source type and source name combination,delimited with (.) separator. Ex. {source type}.{source name} and source type max char limit is 63. Source *string `mandatory:"true" json:"source"` // The name of the alias, within the context of the source. Name *string `mandatory:"true" json:"name"` Credential *MonitoredResourceAliasSourceCredential `mandatory:"true" json:"credential"` }
MonitoredResourceAliasCredential Monitored Resource Alias Credential Details
func (MonitoredResourceAliasCredential) String ¶
func (m MonitoredResourceAliasCredential) String() string
func (MonitoredResourceAliasCredential) ValidateEnumValue ¶
func (m MonitoredResourceAliasCredential) 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 MonitoredResourceAliasSourceCredential ¶
type MonitoredResourceAliasSourceCredential struct { // The source type and source name combination,delimited with (.) separator. This refers to the pre-existing source which alias cred should point to. Ex. {source type}.{source name} and source type max char limit is 63. Source *string `mandatory:"true" json:"source"` // The name of the pre-existing source credential which alias cred should point to. This should refer to the pre-existing source attribute binded credential name. Name *string `mandatory:"true" json:"name"` // The name of the service owning the credential. Ex stack-monitoring or dbmgmt Service *string `mandatory:"true" json:"service"` }
MonitoredResourceAliasSourceCredential Monitored Resource Alias Reference Source Credential
func (MonitoredResourceAliasSourceCredential) String ¶
func (m MonitoredResourceAliasSourceCredential) String() string
func (MonitoredResourceAliasSourceCredential) ValidateEnumValue ¶
func (m MonitoredResourceAliasSourceCredential) 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 MonitoredResourceAssociation ¶
type MonitoredResourceAssociation struct { // Association Type AssociationType *string `mandatory:"true" json:"associationType"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Tenancy Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) TenantId *string `mandatory:"true" json:"tenantId"` // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"true" json:"sourceResourceId"` // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"true" json:"destinationResourceId"` SourceResourceDetails *AssociationResourceDetails `mandatory:"false" json:"sourceResourceDetails"` DestinationResourceDetails *AssociationResourceDetails `mandatory:"false" json:"destinationResourceDetails"` // The time when the association was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
MonitoredResourceAssociation Association between two monitored resources.
func (MonitoredResourceAssociation) String ¶
func (m MonitoredResourceAssociation) String() string
func (MonitoredResourceAssociation) ValidateEnumValue ¶
func (m MonitoredResourceAssociation) 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 MonitoredResourceAssociationSummary ¶
type MonitoredResourceAssociationSummary struct { // Association type to be created between source and destination resources AssociationType *string `mandatory:"true" json:"associationType"` // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"true" json:"sourceResourceId"` // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"true" json:"destinationResourceId"` // The time the the association was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` SourceResourceDetails *AssociationResourceDetails `mandatory:"false" json:"sourceResourceDetails"` DestinationResourceDetails *AssociationResourceDetails `mandatory:"false" json:"destinationResourceDetails"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
MonitoredResourceAssociationSummary Summary of the monitored resource association.
func (MonitoredResourceAssociationSummary) String ¶
func (m MonitoredResourceAssociationSummary) String() string
func (MonitoredResourceAssociationSummary) ValidateEnumValue ¶
func (m MonitoredResourceAssociationSummary) 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 MonitoredResourceAssociationsCollection ¶
type MonitoredResourceAssociationsCollection struct { // List of Monitored Resource Associations. Items []MonitoredResourceAssociationSummary `mandatory:"true" json:"items"` }
MonitoredResourceAssociationsCollection List of MonitoredResourceAssociationSummary elements.
func (MonitoredResourceAssociationsCollection) String ¶
func (m MonitoredResourceAssociationsCollection) String() string
func (MonitoredResourceAssociationsCollection) ValidateEnumValue ¶
func (m MonitoredResourceAssociationsCollection) 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 MonitoredResourceCollection ¶
type MonitoredResourceCollection struct { // List of monitored resources. Items []MonitoredResourceSummary `mandatory:"true" json:"items"` }
MonitoredResourceCollection Results of a resources search. Contains MonitoredResourceSummary items and other data.
func (MonitoredResourceCollection) String ¶
func (m MonitoredResourceCollection) String() string
func (MonitoredResourceCollection) ValidateEnumValue ¶
func (m MonitoredResourceCollection) 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 MonitoredResourceCredential ¶
type MonitoredResourceCredential interface { // The source type and source name combination,delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. GetSource() *string // The name of the credential, within the context of the source. GetName() *string // The type of the credential ( ex. JMXCreds,DBCreds). GetType() *string // The user-specified textual description of the credential. GetDescription() *string }
MonitoredResourceCredential Monitored Resource Credential Details
type MonitoredResourceCredentialCredentialTypeEnum ¶
type MonitoredResourceCredentialCredentialTypeEnum string
MonitoredResourceCredentialCredentialTypeEnum Enum with underlying type: string
const ( MonitoredResourceCredentialCredentialTypeExisting MonitoredResourceCredentialCredentialTypeEnum = "EXISTING" MonitoredResourceCredentialCredentialTypePlaintext MonitoredResourceCredentialCredentialTypeEnum = "PLAINTEXT" MonitoredResourceCredentialCredentialTypeEncrypted MonitoredResourceCredentialCredentialTypeEnum = "ENCRYPTED" )
Set of constants representing the allowable values for MonitoredResourceCredentialCredentialTypeEnum
func GetMappingMonitoredResourceCredentialCredentialTypeEnum ¶
func GetMappingMonitoredResourceCredentialCredentialTypeEnum(val string) (MonitoredResourceCredentialCredentialTypeEnum, bool)
GetMappingMonitoredResourceCredentialCredentialTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceCredentialCredentialTypeEnumValues ¶
func GetMonitoredResourceCredentialCredentialTypeEnumValues() []MonitoredResourceCredentialCredentialTypeEnum
GetMonitoredResourceCredentialCredentialTypeEnumValues Enumerates the set of values for MonitoredResourceCredentialCredentialTypeEnum
type MonitoredResourceMemberSummary ¶
type MonitoredResourceMemberSummary struct { // Monitored resource identifier ResourceId *string `mandatory:"false" json:"resourceId"` // Monitored resource name ResourceName *string `mandatory:"false" json:"resourceName"` // Monitored resource display name. ResourceDisplayName *string `mandatory:"false" json:"resourceDisplayName"` // Monitored resource type ResourceType *string `mandatory:"false" json:"resourceType"` // Monitored Resource Host HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Parent monitored resource identifier ParentId *string `mandatory:"false" json:"parentId"` // The current state of the Resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
MonitoredResourceMemberSummary Monitored resource member
func (MonitoredResourceMemberSummary) String ¶
func (m MonitoredResourceMemberSummary) String() string
func (MonitoredResourceMemberSummary) ValidateEnumValue ¶
func (m MonitoredResourceMemberSummary) 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 MonitoredResourceMembersCollection ¶
type MonitoredResourceMembersCollection struct { // List of Members. Items []MonitoredResourceMemberSummary `mandatory:"true" json:"items"` }
MonitoredResourceMembersCollection Results of a member search.
func (MonitoredResourceMembersCollection) String ¶
func (m MonitoredResourceMembersCollection) String() string
func (MonitoredResourceMembersCollection) ValidateEnumValue ¶
func (m MonitoredResourceMembersCollection) 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 MonitoredResourceProperty ¶
type MonitoredResourceProperty struct { // property name Name *string `mandatory:"false" json:"name"` // property value Value *string `mandatory:"false" json:"value"` }
MonitoredResourceProperty Property of monitored resource
func (MonitoredResourceProperty) String ¶
func (m MonitoredResourceProperty) String() string
func (MonitoredResourceProperty) ValidateEnumValue ¶
func (m MonitoredResourceProperty) 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 MonitoredResourceSummary ¶
type MonitoredResourceSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. Id *string `mandatory:"true" json:"id"` // Name of the monitored resource Name *string `mandatory:"true" json:"name"` // Type of the monitored resource Type *string `mandatory:"true" json:"type"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Resource Host Name HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Management Agent Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // Monitored resource creation time. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Monitored resource updation time. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the monitored resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // List of monitored resource properties Properties []MonitoredResourceProperty `mandatory:"false" json:"properties"` // 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"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
MonitoredResourceSummary The information about monitored resource.
func (MonitoredResourceSummary) String ¶
func (m MonitoredResourceSummary) String() string
func (MonitoredResourceSummary) ValidateEnumValue ¶
func (m MonitoredResourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateResources OperationTypeEnum = "CREATE_RESOURCES" OperationTypeUpdateResources OperationTypeEnum = "UPDATE_RESOURCES" OperationTypeDeleteResources OperationTypeEnum = "DELETE_RESOURCES" OperationTypeMoveResources OperationTypeEnum = "MOVE_RESOURCES" OperationTypeEnableExternalDatabase OperationTypeEnum = "ENABLE_EXTERNAL_DATABASE" OperationTypeDisableExternalDatabase OperationTypeEnum = "DISABLE_EXTERNAL_DATABASE" OperationTypeAddSourcesToAgent OperationTypeEnum = "ADD_SOURCES_TO_AGENT" OperationTypeBulkAddResources OperationTypeEnum = "BULK_ADD_RESOURCES" OperationTypeBulkDeleteResources OperationTypeEnum = "BULK_DELETE_RESOURCES" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type PlainTextCredentials ¶
type PlainTextCredentials struct { // The credential properties list. Credential property values will be either in plain text format. Properties []CredentialProperty `mandatory:"true" json:"properties"` // The source type and source name combination,delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. Source *string `mandatory:"false" json:"source"` // The name of the credential, within the context of the source. Name *string `mandatory:"false" json:"name"` // The type of the credential ( ex. JMXCreds,DBCreds). Type *string `mandatory:"false" json:"type"` // The user-specified textual description of the credential. Description *string `mandatory:"false" json:"description"` }
PlainTextCredentials Plain text credentials [indicated by the type property in CredentialStore].
func (PlainTextCredentials) GetDescription ¶
func (m PlainTextCredentials) GetDescription() *string
GetDescription returns Description
func (PlainTextCredentials) GetName ¶
func (m PlainTextCredentials) GetName() *string
GetName returns Name
func (PlainTextCredentials) GetSource ¶
func (m PlainTextCredentials) GetSource() *string
GetSource returns Source
func (PlainTextCredentials) GetType ¶
func (m PlainTextCredentials) GetType() *string
GetType returns Type
func (PlainTextCredentials) MarshalJSON ¶
func (m PlainTextCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PlainTextCredentials) String ¶
func (m PlainTextCredentials) String() string
func (PlainTextCredentials) ValidateEnumValue ¶
func (m PlainTextCredentials) 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 PreExistingCredentials ¶
type PreExistingCredentials struct { // The source type and source name combination,delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. Source *string `mandatory:"false" json:"source"` // The name of the credential, within the context of the source. Name *string `mandatory:"false" json:"name"` // The type of the credential ( ex. JMXCreds,DBCreds). Type *string `mandatory:"false" json:"type"` // The user-specified textual description of the credential. Description *string `mandatory:"false" json:"description"` }
PreExistingCredentials Plain text credentials [indicated by the type property in CredentialStore].
func (PreExistingCredentials) GetDescription ¶
func (m PreExistingCredentials) GetDescription() *string
GetDescription returns Description
func (PreExistingCredentials) GetName ¶
func (m PreExistingCredentials) GetName() *string
GetName returns Name
func (PreExistingCredentials) GetSource ¶
func (m PreExistingCredentials) GetSource() *string
GetSource returns Source
func (PreExistingCredentials) GetType ¶
func (m PreExistingCredentials) GetType() *string
GetType returns Type
func (PreExistingCredentials) MarshalJSON ¶
func (m PreExistingCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PreExistingCredentials) String ¶
func (m PreExistingCredentials) String() string
func (PreExistingCredentials) ValidateEnumValue ¶
func (m PreExistingCredentials) 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 PropertyDetails ¶
type PropertyDetails struct { // Key/Value pair of Property PropertiesMap map[string]string `mandatory:"false" json:"propertiesMap"` }
PropertyDetails Property Details
func (PropertyDetails) String ¶
func (m PropertyDetails) String() string
func (PropertyDetails) ValidateEnumValue ¶
func (m PropertyDetails) 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 ResourceLifecycleStateEnum ¶
type ResourceLifecycleStateEnum string
ResourceLifecycleStateEnum Enum with underlying type: string
const ( ResourceLifecycleStateCreating ResourceLifecycleStateEnum = "CREATING" ResourceLifecycleStateUpdating ResourceLifecycleStateEnum = "UPDATING" ResourceLifecycleStateActive ResourceLifecycleStateEnum = "ACTIVE" ResourceLifecycleStateDeleting ResourceLifecycleStateEnum = "DELETING" ResourceLifecycleStateDeleted ResourceLifecycleStateEnum = "DELETED" ResourceLifecycleStateFailed ResourceLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ResourceLifecycleStateEnum
func GetMappingResourceLifecycleStateEnum ¶
func GetMappingResourceLifecycleStateEnum(val string) (ResourceLifecycleStateEnum, bool)
GetMappingResourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceLifecycleStateEnumValues ¶
func GetResourceLifecycleStateEnumValues() []ResourceLifecycleStateEnum
GetResourceLifecycleStateEnumValues Enumerates the set of values for ResourceLifecycleStateEnum
type SearchAssociatedResourcesDetails ¶ added in v65.22.0
type SearchAssociatedResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // A filter to return associated resources that match resources of type. // Either resourceId or resourceType should be provided. ResourceType *string `mandatory:"false" json:"resourceType"` // Monitored resource identifier for which the associated resources should be fetched. // Either resourceId or resourceType should be provided. ResourceId *string `mandatory:"false" json:"resourceId"` // The field which determines the depth of hierarchy while searching for associated resources. // Possible values - 0 for all levels. And positive number to indicate different levels. // Default value is 1, which indicates 1st level associations. LimitLevel *int `mandatory:"false" json:"limitLevel"` // List of association types to be searched for finding associated resources AssociationTypes []string `mandatory:"false" json:"associationTypes"` }
SearchAssociatedResourcesDetails The criteria for searching associated monitored resources.
func (SearchAssociatedResourcesDetails) String ¶ added in v65.22.0
func (m SearchAssociatedResourcesDetails) String() string
func (SearchAssociatedResourcesDetails) ValidateEnumValue ¶ added in v65.22.0
func (m SearchAssociatedResourcesDetails) 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 SearchAssociatedResourcesRequest ¶ added in v65.22.0
type SearchAssociatedResourcesRequest struct { // Search Criteria for the listing the monitored resources for given type and compartmentId. SearchAssociatedResourcesDetails `contributesTo:"body"` // Partial response refers to an optimization technique offered // by the RESTful web APIs, to return only the information // (fields) required by the client. In this mechanism, the client // sends the required field names as the query parameters for // an API to the server, and the server trims down the default // response content by removing the fields that are not required // by the client. The parameter controls which fields to // return and should be a query string parameter called "fields" of // an array type, provide the values as enums, and use collectionFormat. Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"` // Partial response refers to an optimization technique offered // by the RESTful web APIs, to return all the information except // the fields requested to be excluded (excludeFields) by the client. // In this mechanism, the client // sends the exclude field names as the query parameters for // an API to the server, and the server trims down the default // response content by removing the fields that are not required // by the client. The parameter controls which fields to // exlude and to return and should be a query string parameter // called "excludeFields" of an array type, provide the values // as enums, and use collectionFormat. ExcludeFields []string `contributesTo:"query" name:"excludeFields" collectionFormat:"multi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
SearchAssociatedResourcesRequest wrapper for the SearchAssociatedResources operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchAssociatedResources.go.html to see an example of how to use SearchAssociatedResourcesRequest.
func (SearchAssociatedResourcesRequest) BinaryRequestBody ¶ added in v65.22.0
func (request SearchAssociatedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SearchAssociatedResourcesRequest) HTTPRequest ¶ added in v65.22.0
func (request SearchAssociatedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SearchAssociatedResourcesRequest) RetryPolicy ¶ added in v65.22.0
func (request SearchAssociatedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SearchAssociatedResourcesRequest) String ¶ added in v65.22.0
func (request SearchAssociatedResourcesRequest) String() string
func (SearchAssociatedResourcesRequest) ValidateEnumValue ¶ added in v65.22.0
func (request SearchAssociatedResourcesRequest) 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 SearchAssociatedResourcesResponse ¶ added in v65.22.0
type SearchAssociatedResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of AssociatedResourcesCollection instances AssociatedResourcesCollection `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"` // For pagination of a list of items. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` }
SearchAssociatedResourcesResponse wrapper for the SearchAssociatedResources operation
func (SearchAssociatedResourcesResponse) HTTPResponse ¶ added in v65.22.0
func (response SearchAssociatedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SearchAssociatedResourcesResponse) String ¶ added in v65.22.0
func (response SearchAssociatedResourcesResponse) String() string
type SearchMonitoredResourceAssociationsDetails ¶
type SearchMonitoredResourceAssociationsDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Source Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) SourceResourceId *string `mandatory:"false" json:"sourceResourceId"` // Source Monitored Resource Name SourceResourceName *string `mandatory:"false" json:"sourceResourceName"` // Source Monitored Resource Type SourceResourceType *string `mandatory:"false" json:"sourceResourceType"` // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"false" json:"destinationResourceId"` // Source Monitored Resource Name DestinationResourceName *string `mandatory:"false" json:"destinationResourceName"` // Source Monitored Resource Type DestinationResourceType *string `mandatory:"false" json:"destinationResourceType"` // Association type to be created between source and destination resources AssociationType *string `mandatory:"false" json:"associationType"` // The field to sort by. Only one sort order may be provided. // Default order for timeCreated is descending. Default order for assocType is descending. SortBy SearchMonitoredResourceAssociationsDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` }
SearchMonitoredResourceAssociationsDetails The information required to search monitored resource associations.
func (SearchMonitoredResourceAssociationsDetails) String ¶
func (m SearchMonitoredResourceAssociationsDetails) String() string
func (SearchMonitoredResourceAssociationsDetails) ValidateEnumValue ¶
func (m SearchMonitoredResourceAssociationsDetails) 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 SearchMonitoredResourceAssociationsDetailsSortByEnum ¶
type SearchMonitoredResourceAssociationsDetailsSortByEnum string
SearchMonitoredResourceAssociationsDetailsSortByEnum Enum with underlying type: string
const ( SearchMonitoredResourceAssociationsDetailsSortByTimeCreated SearchMonitoredResourceAssociationsDetailsSortByEnum = "TIME_CREATED" SearchMonitoredResourceAssociationsDetailsSortByAssocType SearchMonitoredResourceAssociationsDetailsSortByEnum = "ASSOC_TYPE" )
Set of constants representing the allowable values for SearchMonitoredResourceAssociationsDetailsSortByEnum
func GetMappingSearchMonitoredResourceAssociationsDetailsSortByEnum ¶
func GetMappingSearchMonitoredResourceAssociationsDetailsSortByEnum(val string) (SearchMonitoredResourceAssociationsDetailsSortByEnum, bool)
GetMappingSearchMonitoredResourceAssociationsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumValues ¶
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumValues() []SearchMonitoredResourceAssociationsDetailsSortByEnum
GetSearchMonitoredResourceAssociationsDetailsSortByEnumValues Enumerates the set of values for SearchMonitoredResourceAssociationsDetailsSortByEnum
type SearchMonitoredResourceAssociationsRequest ¶
type SearchMonitoredResourceAssociationsRequest struct { // Search Criteria for the listing the monitored resource associations. SearchMonitoredResourceAssociationsDetails `contributesTo:"body"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
SearchMonitoredResourceAssociationsRequest wrapper for the SearchMonitoredResourceAssociations operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResourceAssociations.go.html to see an example of how to use SearchMonitoredResourceAssociationsRequest.
func (SearchMonitoredResourceAssociationsRequest) BinaryRequestBody ¶
func (request SearchMonitoredResourceAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SearchMonitoredResourceAssociationsRequest) HTTPRequest ¶
func (request SearchMonitoredResourceAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SearchMonitoredResourceAssociationsRequest) RetryPolicy ¶
func (request SearchMonitoredResourceAssociationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SearchMonitoredResourceAssociationsRequest) String ¶
func (request SearchMonitoredResourceAssociationsRequest) String() string
func (SearchMonitoredResourceAssociationsRequest) ValidateEnumValue ¶
func (request SearchMonitoredResourceAssociationsRequest) 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 SearchMonitoredResourceAssociationsResponse ¶
type SearchMonitoredResourceAssociationsResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourceAssociationsCollection instances MonitoredResourceAssociationsCollection `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"` // For pagination of a list of items. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` }
SearchMonitoredResourceAssociationsResponse wrapper for the SearchMonitoredResourceAssociations operation
func (SearchMonitoredResourceAssociationsResponse) HTTPResponse ¶
func (response SearchMonitoredResourceAssociationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SearchMonitoredResourceAssociationsResponse) String ¶
func (response SearchMonitoredResourceAssociationsResponse) String() string
type SearchMonitoredResourceMembersDetails ¶
type SearchMonitoredResourceMembersDetails struct { // Destination Monitored Resource Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) DestinationResourceId *string `mandatory:"false" json:"destinationResourceId"` // The field which determines the depth of hierarchy while searching for members LimitLevel *int `mandatory:"false" json:"limitLevel"` }
SearchMonitoredResourceMembersDetails The search criteria for listing monitored resource member targets.
func (SearchMonitoredResourceMembersDetails) String ¶
func (m SearchMonitoredResourceMembersDetails) String() string
func (SearchMonitoredResourceMembersDetails) ValidateEnumValue ¶
func (m SearchMonitoredResourceMembersDetails) 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 SearchMonitoredResourceMembersRequest ¶
type SearchMonitoredResourceMembersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // Search criteria for the listing the member monitored resources. SearchMonitoredResourceMembersDetails `contributesTo:"body"` // If this query parameter is specified, the result is sorted by this query parameter value. SortBy SearchMonitoredResourceMembersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder SearchMonitoredResourceMembersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
SearchMonitoredResourceMembersRequest wrapper for the SearchMonitoredResourceMembers operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResourceMembers.go.html to see an example of how to use SearchMonitoredResourceMembersRequest.
func (SearchMonitoredResourceMembersRequest) BinaryRequestBody ¶
func (request SearchMonitoredResourceMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SearchMonitoredResourceMembersRequest) HTTPRequest ¶
func (request SearchMonitoredResourceMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SearchMonitoredResourceMembersRequest) RetryPolicy ¶
func (request SearchMonitoredResourceMembersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SearchMonitoredResourceMembersRequest) String ¶
func (request SearchMonitoredResourceMembersRequest) String() string
func (SearchMonitoredResourceMembersRequest) ValidateEnumValue ¶
func (request SearchMonitoredResourceMembersRequest) 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 SearchMonitoredResourceMembersResponse ¶
type SearchMonitoredResourceMembersResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourceMembersCollection instances MonitoredResourceMembersCollection `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"` // For pagination of a list of items. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` }
SearchMonitoredResourceMembersResponse wrapper for the SearchMonitoredResourceMembers operation
func (SearchMonitoredResourceMembersResponse) HTTPResponse ¶
func (response SearchMonitoredResourceMembersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SearchMonitoredResourceMembersResponse) String ¶
func (response SearchMonitoredResourceMembersResponse) String() string
type SearchMonitoredResourceMembersSortByEnum ¶
type SearchMonitoredResourceMembersSortByEnum string
SearchMonitoredResourceMembersSortByEnum Enum with underlying type: string
const ( SearchMonitoredResourceMembersSortByResourcename SearchMonitoredResourceMembersSortByEnum = "resourceName" SearchMonitoredResourceMembersSortByResourcetype SearchMonitoredResourceMembersSortByEnum = "resourceType" SearchMonitoredResourceMembersSortBySourceresourcetype SearchMonitoredResourceMembersSortByEnum = "sourceResourceType" )
Set of constants representing the allowable values for SearchMonitoredResourceMembersSortByEnum
func GetMappingSearchMonitoredResourceMembersSortByEnum ¶
func GetMappingSearchMonitoredResourceMembersSortByEnum(val string) (SearchMonitoredResourceMembersSortByEnum, bool)
GetMappingSearchMonitoredResourceMembersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceMembersSortByEnumValues ¶
func GetSearchMonitoredResourceMembersSortByEnumValues() []SearchMonitoredResourceMembersSortByEnum
GetSearchMonitoredResourceMembersSortByEnumValues Enumerates the set of values for SearchMonitoredResourceMembersSortByEnum
type SearchMonitoredResourceMembersSortOrderEnum ¶
type SearchMonitoredResourceMembersSortOrderEnum string
SearchMonitoredResourceMembersSortOrderEnum Enum with underlying type: string
const ( SearchMonitoredResourceMembersSortOrderAsc SearchMonitoredResourceMembersSortOrderEnum = "ASC" SearchMonitoredResourceMembersSortOrderDesc SearchMonitoredResourceMembersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SearchMonitoredResourceMembersSortOrderEnum
func GetMappingSearchMonitoredResourceMembersSortOrderEnum ¶
func GetMappingSearchMonitoredResourceMembersSortOrderEnum(val string) (SearchMonitoredResourceMembersSortOrderEnum, bool)
GetMappingSearchMonitoredResourceMembersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceMembersSortOrderEnumValues ¶
func GetSearchMonitoredResourceMembersSortOrderEnumValues() []SearchMonitoredResourceMembersSortOrderEnum
GetSearchMonitoredResourceMembersSortOrderEnumValues Enumerates the set of values for SearchMonitoredResourceMembersSortOrderEnum
type SearchMonitoredResourcesDetails ¶
type SearchMonitoredResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // A filter to return resources that match exact resource name Name *string `mandatory:"false" json:"name"` // A filter to return resources that match resource name pattern given. The match is not case sensitive. NameContains *string `mandatory:"false" json:"nameContains"` // A filter to return resources that match resource type Type *string `mandatory:"false" json:"type"` // A filter to return resources with host name match HostName *string `mandatory:"false" json:"hostName"` // External resource is any OCI resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) // which is not a Stack Monitoring service resource. // Currently supports only following resource type identifiers - externalcontainerdatabase, // externalnoncontainerdatabase, externalpluggabledatabase and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // A filter to return resources with host name pattern HostNameContains *string `mandatory:"false" json:"hostNameContains"` // A filter to return resources with matching management agent id. ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // A filter to return resources with matching lifecycle state. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Search for resources that were created within a specific date range, // using this parameter to specify the earliest creation date for the // returned list (inclusive). Specifying this parameter without the // corresponding `timeCreatedLessThan` parameter will retrieve resources created from the // given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a // Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" json:"timeCreatedGreaterThanOrEqualTo"` // Search for resources that were created within a specific date range, // using this parameter to specify the latest creation date for the returned // list (exclusive). Specifying this parameter without the corresponding // `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all resources created before the // specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as // defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeCreatedLessThan *common.SDKTime `mandatory:"false" json:"timeCreatedLessThan"` // Search for resources that were updated within a specific date range, // using this parameter to specify the earliest update date for the // returned list (inclusive). Specifying this parameter without the // corresponding `timeUpdatedLessThan` parameter will retrieve resources updated from the // given `timeUpdatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a // Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeUpdatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" json:"timeUpdatedGreaterThanOrEqualTo"` // Search for resources that were updated within a specific date range, // using this parameter to specify the latest creation date for the returned // list (exclusive). Specifying this parameter without the corresponding // `timeUpdatedGreaterThanOrEqualTo` parameter will retrieve all resources updated before the // specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as // defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeUpdatedLessThan *common.SDKTime `mandatory:"false" json:"timeUpdatedLessThan"` // Time zone in the form of tz database canonical zone ID. ResourceTimeZone *string `mandatory:"false" json:"resourceTimeZone"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort by. Only one sort order may be provided. // Default order for timeCreated is descending. Default order for resources is ascending. SortBy SearchMonitoredResourcesDetailsSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // Criteria based on resource property. PropertyEquals map[string]string `mandatory:"false" json:"propertyEquals"` }
SearchMonitoredResourcesDetails The property search criteria for listing monitored resources.
func (SearchMonitoredResourcesDetails) String ¶
func (m SearchMonitoredResourcesDetails) String() string
func (SearchMonitoredResourcesDetails) ValidateEnumValue ¶
func (m SearchMonitoredResourcesDetails) 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 SearchMonitoredResourcesDetailsSortByEnum ¶
type SearchMonitoredResourcesDetailsSortByEnum string
SearchMonitoredResourcesDetailsSortByEnum Enum with underlying type: string
const ( SearchMonitoredResourcesDetailsSortByTimeCreated SearchMonitoredResourcesDetailsSortByEnum = "TIME_CREATED" SearchMonitoredResourcesDetailsSortByResourceName SearchMonitoredResourcesDetailsSortByEnum = "RESOURCE_NAME" )
Set of constants representing the allowable values for SearchMonitoredResourcesDetailsSortByEnum
func GetMappingSearchMonitoredResourcesDetailsSortByEnum ¶
func GetMappingSearchMonitoredResourcesDetailsSortByEnum(val string) (SearchMonitoredResourcesDetailsSortByEnum, bool)
GetMappingSearchMonitoredResourcesDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourcesDetailsSortByEnumValues ¶
func GetSearchMonitoredResourcesDetailsSortByEnumValues() []SearchMonitoredResourcesDetailsSortByEnum
GetSearchMonitoredResourcesDetailsSortByEnumValues Enumerates the set of values for SearchMonitoredResourcesDetailsSortByEnum
type SearchMonitoredResourcesRequest ¶
type SearchMonitoredResourcesRequest struct { // Property Search Criteria for the listing the monitored resources. SearchMonitoredResourcesDetails `contributesTo:"body"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the // previous "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Partial response refers to an optimization technique offered // by the RESTful web APIs, to return only the information // (fields) required by the client. In this mechanism, the client // sends the required field names as the query parameters for // an API to the server, and the server trims down the default // response content by removing the fields that are not required // by the client. The parameter controls which fields to // return and should be a query string parameter called "fields" of // an array type, provide the values as enums, and use collectionFormat. Fields []string `contributesTo:"query" name:"fields" collectionFormat:"multi"` // Partial response refers to an optimization technique offered // by the RESTful web APIs, to return all the information except // the fields requested to be excluded (excludeFields) by the client. // In this mechanism, the client // sends the exclude field names as the query parameters for // an API to the server, and the server trims down the default // response content by removing the fields that are not required // by the client. The parameter controls which fields to // exlude and to return and should be a query string parameter // called "excludeFields" of an array type, provide the values // as enums, and use collectionFormat. ExcludeFields []string `contributesTo:"query" name:"excludeFields" collectionFormat:"multi"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
SearchMonitoredResourcesRequest wrapper for the SearchMonitoredResources operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResources.go.html to see an example of how to use SearchMonitoredResourcesRequest.
func (SearchMonitoredResourcesRequest) BinaryRequestBody ¶
func (request SearchMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SearchMonitoredResourcesRequest) HTTPRequest ¶
func (request SearchMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SearchMonitoredResourcesRequest) RetryPolicy ¶
func (request SearchMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SearchMonitoredResourcesRequest) String ¶
func (request SearchMonitoredResourcesRequest) String() string
func (SearchMonitoredResourcesRequest) ValidateEnumValue ¶
func (request SearchMonitoredResourcesRequest) 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 SearchMonitoredResourcesResponse ¶
type SearchMonitoredResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourceCollection instances MonitoredResourceCollection `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"` // For pagination of a list of items. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` }
SearchMonitoredResourcesResponse wrapper for the SearchMonitoredResources operation
func (SearchMonitoredResourcesResponse) HTTPResponse ¶
func (response SearchMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SearchMonitoredResourcesResponse) String ¶
func (response SearchMonitoredResourcesResponse) String() string
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type StackMonitoringClient ¶
type StackMonitoringClient struct { common.BaseClient // contains filtered or unexported fields }
StackMonitoringClient a client for StackMonitoring
func NewStackMonitoringClientWithConfigurationProvider ¶
func NewStackMonitoringClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client StackMonitoringClient, err error)
NewStackMonitoringClientWithConfigurationProvider Creates a new default StackMonitoring client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewStackMonitoringClientWithOboToken ¶
func NewStackMonitoringClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client StackMonitoringClient, err error)
NewStackMonitoringClientWithOboToken Creates a new default StackMonitoring 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 (StackMonitoringClient) AssociateMonitoredResources ¶
func (client StackMonitoringClient) AssociateMonitoredResources(ctx context.Context, request AssociateMonitoredResourcesRequest) (response AssociateMonitoredResourcesResponse, err error)
AssociateMonitoredResources Create an association between two monitored resources.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/AssociateMonitoredResources.go.html to see an example of how to use AssociateMonitoredResources API.
func (StackMonitoringClient) ChangeMonitoredResourceCompartment ¶
func (client StackMonitoringClient) ChangeMonitoredResourceCompartment(ctx context.Context, request ChangeMonitoredResourceCompartmentRequest) (response ChangeMonitoredResourceCompartmentResponse, err error)
ChangeMonitoredResourceCompartment Moves a MonitoredResource resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ChangeMonitoredResourceCompartment.go.html to see an example of how to use ChangeMonitoredResourceCompartment API.
func (*StackMonitoringClient) ConfigurationProvider ¶
func (client *StackMonitoringClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (StackMonitoringClient) CreateDiscoveryJob ¶
func (client StackMonitoringClient) CreateDiscoveryJob(ctx context.Context, request CreateDiscoveryJobRequest) (response CreateDiscoveryJobResponse, err error)
CreateDiscoveryJob API to create discovery Job and submit discovery Details to agent.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/CreateDiscoveryJob.go.html to see an example of how to use CreateDiscoveryJob API.
func (StackMonitoringClient) CreateMonitoredResource ¶
func (client StackMonitoringClient) CreateMonitoredResource(ctx context.Context, request CreateMonitoredResourceRequest) (response CreateMonitoredResourceResponse, err error)
CreateMonitoredResource Creates a new monitored resource for the given resource type
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/CreateMonitoredResource.go.html to see an example of how to use CreateMonitoredResource API.
func (StackMonitoringClient) DeleteDiscoveryJob ¶
func (client StackMonitoringClient) DeleteDiscoveryJob(ctx context.Context, request DeleteDiscoveryJobRequest) (response DeleteDiscoveryJobResponse, err error)
DeleteDiscoveryJob Deletes a DiscoveryJob by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DeleteDiscoveryJob.go.html to see an example of how to use DeleteDiscoveryJob API. A default retry strategy applies to this operation DeleteDiscoveryJob()
func (StackMonitoringClient) DeleteMonitoredResource ¶
func (client StackMonitoringClient) DeleteMonitoredResource(ctx context.Context, request DeleteMonitoredResourceRequest) (response DeleteMonitoredResourceResponse, err error)
DeleteMonitoredResource Deletes a monitored resource by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DeleteMonitoredResource.go.html to see an example of how to use DeleteMonitoredResource API.
func (StackMonitoringClient) DisableExternalDatabase ¶
func (client StackMonitoringClient) DisableExternalDatabase(ctx context.Context, request DisableExternalDatabaseRequest) (response DisableExternalDatabaseResponse, err error)
DisableExternalDatabase Disable external database resource monitoring.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DisableExternalDatabase.go.html to see an example of how to use DisableExternalDatabase API.
func (StackMonitoringClient) DisassociateMonitoredResources ¶
func (client StackMonitoringClient) DisassociateMonitoredResources(ctx context.Context, request DisassociateMonitoredResourcesRequest) (response DisassociateMonitoredResourcesResponse, err error)
DisassociateMonitoredResources Removes associations between two monitored resources.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/DisassociateMonitoredResources.go.html to see an example of how to use DisassociateMonitoredResources API.
func (StackMonitoringClient) GetDiscoveryJob ¶
func (client StackMonitoringClient) GetDiscoveryJob(ctx context.Context, request GetDiscoveryJobRequest) (response GetDiscoveryJobResponse, err error)
GetDiscoveryJob API to get the details of discovery Job by identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetDiscoveryJob.go.html to see an example of how to use GetDiscoveryJob API. A default retry strategy applies to this operation GetDiscoveryJob()
func (StackMonitoringClient) GetMonitoredResource ¶
func (client StackMonitoringClient) GetMonitoredResource(ctx context.Context, request GetMonitoredResourceRequest) (response GetMonitoredResourceResponse, err error)
GetMonitoredResource Gets a monitored resource by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetMonitoredResource.go.html to see an example of how to use GetMonitoredResource API. A default retry strategy applies to this operation GetMonitoredResource()
func (StackMonitoringClient) GetWorkRequest ¶
func (client StackMonitoringClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (StackMonitoringClient) ListDiscoveryJobLogs ¶
func (client StackMonitoringClient) ListDiscoveryJobLogs(ctx context.Context, request ListDiscoveryJobLogsRequest) (response ListDiscoveryJobLogsResponse, err error)
ListDiscoveryJobLogs API to get all the logs of a Discovery Job.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListDiscoveryJobLogs.go.html to see an example of how to use ListDiscoveryJobLogs API. A default retry strategy applies to this operation ListDiscoveryJobLogs()
func (StackMonitoringClient) ListDiscoveryJobs ¶
func (client StackMonitoringClient) ListDiscoveryJobs(ctx context.Context, request ListDiscoveryJobsRequest) (response ListDiscoveryJobsResponse, err error)
ListDiscoveryJobs API to get the details of all Discovery Jobs.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListDiscoveryJobs.go.html to see an example of how to use ListDiscoveryJobs API. A default retry strategy applies to this operation ListDiscoveryJobs()
func (StackMonitoringClient) ListWorkRequestErrors ¶
func (client StackMonitoringClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return 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/latest/stackmonitoring/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (StackMonitoringClient) ListWorkRequestLogs ¶
func (client StackMonitoringClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return 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/latest/stackmonitoring/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (StackMonitoringClient) ListWorkRequests ¶
func (client StackMonitoringClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (StackMonitoringClient) SearchAssociatedResources ¶ added in v65.22.0
func (client StackMonitoringClient) SearchAssociatedResources(ctx context.Context, request SearchAssociatedResourcesRequest) (response SearchAssociatedResourcesResponse, err error)
SearchAssociatedResources List associated monitored resources.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchAssociatedResources.go.html to see an example of how to use SearchAssociatedResources API. A default retry strategy applies to this operation SearchAssociatedResources()
func (StackMonitoringClient) SearchMonitoredResourceAssociations ¶
func (client StackMonitoringClient) SearchMonitoredResourceAssociations(ctx context.Context, request SearchMonitoredResourceAssociationsRequest) (response SearchMonitoredResourceAssociationsResponse, err error)
SearchMonitoredResourceAssociations Returns a list of monitored resource associations.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResourceAssociations.go.html to see an example of how to use SearchMonitoredResourceAssociations API. A default retry strategy applies to this operation SearchMonitoredResourceAssociations()
func (StackMonitoringClient) SearchMonitoredResourceMembers ¶
func (client StackMonitoringClient) SearchMonitoredResourceMembers(ctx context.Context, request SearchMonitoredResourceMembersRequest) (response SearchMonitoredResourceMembersResponse, err error)
SearchMonitoredResourceMembers List resources which are members of the given monitored resource
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResourceMembers.go.html to see an example of how to use SearchMonitoredResourceMembers API. A default retry strategy applies to this operation SearchMonitoredResourceMembers()
func (StackMonitoringClient) SearchMonitoredResources ¶
func (client StackMonitoringClient) SearchMonitoredResources(ctx context.Context, request SearchMonitoredResourcesRequest) (response SearchMonitoredResourcesResponse, err error)
SearchMonitoredResources Returns a list of monitored resources.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/SearchMonitoredResources.go.html to see an example of how to use SearchMonitoredResources API. A default retry strategy applies to this operation SearchMonitoredResources()
func (*StackMonitoringClient) SetRegion ¶
func (client *StackMonitoringClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (StackMonitoringClient) UpdateMonitoredResource ¶
func (client StackMonitoringClient) UpdateMonitoredResource(ctx context.Context, request UpdateMonitoredResourceRequest) (response UpdateMonitoredResourceResponse, err error)
UpdateMonitoredResource Updates the Monitored Resource
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/UpdateMonitoredResource.go.html to see an example of how to use UpdateMonitoredResource API.
type UpdateMonitoredResourceDetails ¶
type UpdateMonitoredResourceDetails struct { // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Host name of the monitored resource HostName *string `mandatory:"false" json:"hostName"` // Time zone in the form of tz database canonical zone ID. ResourceTimeZone *string `mandatory:"false" json:"resourceTimeZone"` // List of monitored resource properties Properties []MonitoredResourceProperty `mandatory:"false" json:"properties"` DatabaseConnectionDetails *ConnectionDetails `mandatory:"false" json:"databaseConnectionDetails"` Credentials MonitoredResourceCredential `mandatory:"false" json:"credentials"` Aliases *MonitoredResourceAliasCredential `mandatory:"false" json:"aliases"` }
UpdateMonitoredResourceDetails The information about updating a monitored resource.
func (UpdateMonitoredResourceDetails) String ¶
func (m UpdateMonitoredResourceDetails) String() string
func (*UpdateMonitoredResourceDetails) UnmarshalJSON ¶
func (m *UpdateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateMonitoredResourceDetails) ValidateEnumValue ¶
func (m UpdateMonitoredResourceDetails) 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 UpdateMonitoredResourceRequest ¶
type UpdateMonitoredResourceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // The information to be updated. UpdateMonitoredResourceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
UpdateMonitoredResourceRequest wrapper for the UpdateMonitoredResource operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/stackmonitoring/UpdateMonitoredResource.go.html to see an example of how to use UpdateMonitoredResourceRequest.
func (UpdateMonitoredResourceRequest) BinaryRequestBody ¶
func (request UpdateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateMonitoredResourceRequest) HTTPRequest ¶
func (request UpdateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateMonitoredResourceRequest) RetryPolicy ¶
func (request UpdateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateMonitoredResourceRequest) String ¶
func (request UpdateMonitoredResourceRequest) String() string
func (UpdateMonitoredResourceRequest) ValidateEnumValue ¶
func (request UpdateMonitoredResourceRequest) 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 UpdateMonitoredResourceResponse ¶
type UpdateMonitoredResourceResponse 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"` }
UpdateMonitoredResourceResponse wrapper for the UpdateMonitoredResource operation
func (UpdateMonitoredResourceResponse) HTTPResponse ¶
func (response UpdateMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateMonitoredResourceResponse) String ¶
func (response UpdateMonitoredResourceResponse) String() string
type WorkRequest ¶
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `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. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this 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). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/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 occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
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 ActionTypeEnum `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"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummary ¶
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypeEnum `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. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this 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). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files ¶
- action_type.go
- associate_monitored_resources_details.go
- associate_monitored_resources_request_response.go
- associated_monitored_resource.go
- associated_resources_collection.go
- associated_resources_summary.go
- association_details.go
- association_resource_details.go
- change_monitored_resource_compartment_details.go
- change_monitored_resource_compartment_request_response.go
- connection_details.go
- create_discovery_job_details.go
- create_discovery_job_request_response.go
- create_monitored_resource_details.go
- create_monitored_resource_request_response.go
- credential_collection.go
- credential_details.go
- credential_property.go
- delete_discovery_job_request_response.go
- delete_monitored_resource_request_response.go
- disable_external_database_request_response.go
- disassociate_monitored_resources_details.go
- disassociate_monitored_resources_request_response.go
- discovery_details.go
- discovery_job.go
- discovery_job_collection.go
- discovery_job_log_collection.go
- discovery_job_log_summary.go
- discovery_job_summary.go
- encrypted_credentials.go
- get_discovery_job_request_response.go
- get_monitored_resource_request_response.go
- get_work_request_request_response.go
- lifecycle_state.go
- list_discovery_job_logs_request_response.go
- list_discovery_jobs_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- monitored_resource.go
- monitored_resource_alias_credential.go
- monitored_resource_alias_source_credential.go
- monitored_resource_association.go
- monitored_resource_association_summary.go
- monitored_resource_associations_collection.go
- monitored_resource_collection.go
- monitored_resource_credential.go
- monitored_resource_member_summary.go
- monitored_resource_members_collection.go
- monitored_resource_property.go
- monitored_resource_summary.go
- operation_status.go
- operation_type.go
- plain_text_credentials.go
- pre_existing_credentials.go
- property_details.go
- resource_lifecycle_state.go
- search_associated_resources_details.go
- search_associated_resources_request_response.go
- search_monitored_resource_associations_details.go
- search_monitored_resource_associations_request_response.go
- search_monitored_resource_members_details.go
- search_monitored_resource_members_request_response.go
- search_monitored_resources_details.go
- search_monitored_resources_request_response.go
- sort_order.go
- stackmonitoring_client.go
- update_monitored_resource_details.go
- update_monitored_resource_request_response.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_summary.go
- work_request_summary_collection.go