func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAutoPromoteConfigDetailsResourceTypeEnumStringValues() []string
GetAutoPromoteConfigDetailsResourceTypeEnumStringValues Enumerates the set of values in String for AutoPromoteConfigDetailsResourceTypeEnum
func GetAutoPromoteConfigSummaryResourceTypeEnumStringValues() []string
GetAutoPromoteConfigSummaryResourceTypeEnumStringValues Enumerates the set of values in String for AutoPromoteConfigSummaryResourceTypeEnum
func GetBaselineableMetricLifeCycleStatesEnumStringValues() []string
GetBaselineableMetricLifeCycleStatesEnumStringValues Enumerates the set of values in String for BaselineableMetricLifeCycleStatesEnum
func GetConfigConfigTypeEnumStringValues() []string
GetConfigConfigTypeEnumStringValues Enumerates the set of values in String for ConfigConfigTypeEnum
func GetConfigLifecycleStateEnumStringValues() []string
GetConfigLifecycleStateEnumStringValues Enumerates the set of values in String for ConfigLifecycleStateEnum
func GetConnectionDetailsProtocolEnumStringValues() []string
GetConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for ConnectionDetailsProtocolEnum
func GetCreateAutoPromoteConfigDetailsResourceTypeEnumStringValues() []string
GetCreateAutoPromoteConfigDetailsResourceTypeEnumStringValues Enumerates the set of values in String for CreateAutoPromoteConfigDetailsResourceTypeEnum
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues() []string
GetCreateDiscoveryJobDetailsDiscoveryTypeEnumStringValues Enumerates the set of values in String for CreateDiscoveryJobDetailsDiscoveryTypeEnum
func GetDiscoveryDetailsResourceTypeEnumStringValues() []string
GetDiscoveryDetailsResourceTypeEnumStringValues Enumerates the set of values in String for DiscoveryDetailsResourceTypeEnum
func GetDiscoveryJobDiscoveryTypeEnumStringValues() []string
GetDiscoveryJobDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobDiscoveryTypeEnum
func GetDiscoveryJobLogSummaryLogTypeEnumStringValues() []string
GetDiscoveryJobLogSummaryLogTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobLogSummaryLogTypeEnum
func GetDiscoveryJobStatusEnumStringValues() []string
GetDiscoveryJobStatusEnumStringValues Enumerates the set of values in String for DiscoveryJobStatusEnum
func GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues() []string
GetDiscoveryJobSummaryDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryDiscoveryTypeEnum
func GetDiscoveryJobSummaryResourceTypeEnumStringValues() []string
GetDiscoveryJobSummaryResourceTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryResourceTypeEnum
func GetDiscoveryJobSummaryStatusEnumStringValues() []string
GetDiscoveryJobSummaryStatusEnumStringValues Enumerates the set of values in String for DiscoveryJobSummaryStatusEnum
func GetImportOciTelemetryResourcesTaskDetailsSourceEnumStringValues() []string
GetImportOciTelemetryResourcesTaskDetailsSourceEnumStringValues Enumerates the set of values in String for ImportOciTelemetryResourcesTaskDetailsSourceEnum
func GetLicenseTypeEnumStringValues() []string
GetLicenseTypeEnumStringValues Enumerates the set of values in String for LicenseTypeEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListBaselineableMetricsSortByEnumStringValues() []string
GetListBaselineableMetricsSortByEnumStringValues Enumerates the set of values in String for ListBaselineableMetricsSortByEnum
func GetListBaselineableMetricsSortOrderEnumStringValues() []string
GetListBaselineableMetricsSortOrderEnumStringValues Enumerates the set of values in String for ListBaselineableMetricsSortOrderEnum
func GetListConfigsSortByEnumStringValues() []string
GetListConfigsSortByEnumStringValues Enumerates the set of values in String for ListConfigsSortByEnum
func GetListConfigsSortOrderEnumStringValues() []string
GetListConfigsSortOrderEnumStringValues Enumerates the set of values in String for ListConfigsSortOrderEnum
func GetListDiscoveryJobLogsLogTypeEnumStringValues() []string
GetListDiscoveryJobLogsLogTypeEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsLogTypeEnum
func GetListDiscoveryJobLogsSortByEnumStringValues() []string
GetListDiscoveryJobLogsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsSortByEnum
func GetListDiscoveryJobLogsSortOrderEnumStringValues() []string
GetListDiscoveryJobLogsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobLogsSortOrderEnum
func GetListDiscoveryJobsSortByEnumStringValues() []string
GetListDiscoveryJobsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortByEnum
func GetListDiscoveryJobsSortOrderEnumStringValues() []string
GetListDiscoveryJobsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortOrderEnum
func GetListMetricExtensionsLifecycleStateEnumStringValues() []string
GetListMetricExtensionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMetricExtensionsLifecycleStateEnum
func GetListMetricExtensionsSortByEnumStringValues() []string
GetListMetricExtensionsSortByEnumStringValues Enumerates the set of values in String for ListMetricExtensionsSortByEnum
func GetListMetricExtensionsSortOrderEnumStringValues() []string
GetListMetricExtensionsSortOrderEnumStringValues Enumerates the set of values in String for ListMetricExtensionsSortOrderEnum
func GetListMetricExtensionsStatusEnumStringValues() []string
GetListMetricExtensionsStatusEnumStringValues Enumerates the set of values in String for ListMetricExtensionsStatusEnum
func GetListMonitoredResourceTasksSortByEnumStringValues() []string
GetListMonitoredResourceTasksSortByEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTasksSortByEnum
func GetListMonitoredResourceTasksSortOrderEnumStringValues() []string
GetListMonitoredResourceTasksSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTasksSortOrderEnum
func GetListMonitoredResourceTasksStatusEnumStringValues() []string
GetListMonitoredResourceTasksStatusEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTasksStatusEnum
func GetListMonitoredResourceTypesSortByEnumStringValues() []string
GetListMonitoredResourceTypesSortByEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTypesSortByEnum
func GetListMonitoredResourceTypesSortOrderEnumStringValues() []string
GetListMonitoredResourceTypesSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTypesSortOrderEnum
func GetListMonitoredResourceTypesStatusEnumStringValues() []string
GetListMonitoredResourceTypesStatusEnumStringValues Enumerates the set of values in String for ListMonitoredResourceTypesStatusEnum
func GetListMonitoredResourcesSortByEnumStringValues() []string
GetListMonitoredResourcesSortByEnumStringValues Enumerates the set of values in String for ListMonitoredResourcesSortByEnum
func GetListMonitoredResourcesSortOrderEnumStringValues() []string
GetListMonitoredResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListMonitoredResourcesSortOrderEnum
func GetListMonitoredResourcesStatusEnumStringValues() []string
GetListMonitoredResourcesStatusEnumStringValues Enumerates the set of values in String for ListMonitoredResourcesStatusEnum
func GetListProcessSetsSortByEnumStringValues() []string
GetListProcessSetsSortByEnumStringValues Enumerates the set of values in String for ListProcessSetsSortByEnum
func GetListProcessSetsSortOrderEnumStringValues() []string
GetListProcessSetsSortOrderEnumStringValues Enumerates the set of values in String for ListProcessSetsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMetricDataTypeEnumStringValues() []string
GetMetricDataTypeEnumStringValues Enumerates the set of values in String for MetricDataTypeEnum
func GetMetricExtensionCollectionMethodsEnumStringValues() []string
GetMetricExtensionCollectionMethodsEnumStringValues Enumerates the set of values in String for MetricExtensionCollectionMethodsEnum
func GetMetricExtensionLifeCycleDetailsEnumStringValues() []string
GetMetricExtensionLifeCycleDetailsEnumStringValues Enumerates the set of values in String for MetricExtensionLifeCycleDetailsEnum
func GetMetricExtensionLifeCycleStatesEnumStringValues() []string
GetMetricExtensionLifeCycleStatesEnumStringValues Enumerates the set of values in String for MetricExtensionLifeCycleStatesEnum
func GetMetricExtensionSortByEnumStringValues() []string
GetMetricExtensionSortByEnumStringValues Enumerates the set of values in String for MetricExtensionSortByEnum
func GetMetricMetricCategoryEnumStringValues() []string
GetMetricMetricCategoryEnumStringValues Enumerates the set of values in String for MetricMetricCategoryEnum
func GetMonitoredResourceAssociationCategoryEnumStringValues() []string
GetMonitoredResourceAssociationCategoryEnumStringValues Enumerates the set of values in String for MonitoredResourceAssociationCategoryEnum
func GetMonitoredResourceCredentialCredentialTypeEnumStringValues() []string
GetMonitoredResourceCredentialCredentialTypeEnumStringValues Enumerates the set of values in String for MonitoredResourceCredentialCredentialTypeEnum
func GetMonitoredResourceSortByEnumStringValues() []string
GetMonitoredResourceSortByEnumStringValues Enumerates the set of values in String for MonitoredResourceSortByEnum
func GetMonitoredResourceTaskDetailsTypeEnumStringValues() []string
GetMonitoredResourceTaskDetailsTypeEnumStringValues Enumerates the set of values in String for MonitoredResourceTaskDetailsTypeEnum
func GetMonitoredResourceTaskLifecycleStateEnumStringValues() []string
GetMonitoredResourceTaskLifecycleStateEnumStringValues Enumerates the set of values in String for MonitoredResourceTaskLifecycleStateEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetRequestMonitoredResourcesSummarizedCountGroupByEnumStringValues() []string
GetRequestMonitoredResourcesSummarizedCountGroupByEnumStringValues Enumerates the set of values in String for RequestMonitoredResourcesSummarizedCountGroupByEnum
func GetRequestMonitoredResourcesSummarizedCountLicenseEnumStringValues() []string
GetRequestMonitoredResourcesSummarizedCountLicenseEnumStringValues Enumerates the set of values in String for RequestMonitoredResourcesSummarizedCountLicenseEnum
func GetRequestMonitoredResourcesSummarizedCountSortByEnumStringValues() []string
GetRequestMonitoredResourcesSummarizedCountSortByEnumStringValues Enumerates the set of values in String for RequestMonitoredResourcesSummarizedCountSortByEnum
func GetRequestMonitoredResourcesSummarizedCountSortOrderEnumStringValues() []string
GetRequestMonitoredResourcesSummarizedCountSortOrderEnumStringValues Enumerates the set of values in String for RequestMonitoredResourcesSummarizedCountSortOrderEnum
func GetResourceCategoryEnumStringValues() []string
GetResourceCategoryEnumStringValues Enumerates the set of values in String for ResourceCategoryEnum
func GetResourceLifecycleStateEnumStringValues() []string
GetResourceLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceLifecycleStateEnum
func GetResourceTypeLifecycleStateEnumStringValues() []string
GetResourceTypeLifecycleStateEnumStringValues Enumerates the set of values in String for ResourceTypeLifecycleStateEnum
func GetResourceTypeMetadataDetailsFormatEnumStringValues() []string
GetResourceTypeMetadataDetailsFormatEnumStringValues Enumerates the set of values in String for ResourceTypeMetadataDetailsFormatEnum
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues() []string
GetSearchMonitoredResourceAssociationsDetailsSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceAssociationsDetailsSortByEnum
func GetSearchMonitoredResourceMembersSortByEnumStringValues() []string
GetSearchMonitoredResourceMembersSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceMembersSortByEnum
func GetSearchMonitoredResourceMembersSortOrderEnumStringValues() []string
GetSearchMonitoredResourceMembersSortOrderEnumStringValues Enumerates the set of values in String for SearchMonitoredResourceMembersSortOrderEnum
func GetSearchMonitoredResourcesDetailsSortByEnumStringValues() []string
GetSearchMonitoredResourcesDetailsSortByEnumStringValues Enumerates the set of values in String for SearchMonitoredResourcesDetailsSortByEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSourceTypeEnumStringValues() []string
GetSourceTypeEnumStringValues Enumerates the set of values in String for SourceTypeEnum
func GetSqlOutParamTypesEnumStringValues() []string
GetSqlOutParamTypesEnumStringValues Enumerates the set of values in String for SqlOutParamTypesEnum
func GetSqlQueryTypesEnumStringValues() []string
GetSqlQueryTypesEnumStringValues Enumerates the set of values in String for SqlQueryTypesEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AnomalyDataPoint anomaly evaluation result fo the data point
type AnomalyDataPoint struct { // timestamp of when the metric was collected Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` // value for the metric data point Value *float64 `mandatory:"true" json:"value"` // if the value is anomaly or not 0 indicates not an anomaly -1 indicates value is below the threshold +1 indicates value is above the threshold Anomaly *float64 `mandatory:"true" json:"anomaly"` // lower threshold for the metric value Low *float64 `mandatory:"false" json:"low"` // upper threshold for the metric value High *float64 `mandatory:"false" json:"high"` }
func (m AnomalyDataPoint) String() string
func (m AnomalyDataPoint) 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
AnomalyMetricData Anomaly Metric Details
type AnomalyMetricData struct { // list of anomaly data points for the metric DataPoints []AnomalyDataPoint `mandatory:"true" json:"dataPoints"` // list of dimensions for the metric Dimensions map[string]string `mandatory:"false" json:"dimensions"` }
func (m AnomalyMetricData) String() string
func (m AnomalyMetricData) 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
AssociateMonitoredResourcesDetails The information required to create new monitored resource association.
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"` }
func (m AssociateMonitoredResourcesDetails) String() string
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
AssociateMonitoredResourcesRequest wrapper for the AssociateMonitoredResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/AssociateMonitoredResources.go.html to see an example of how to use AssociateMonitoredResourcesRequest.
type AssociateMonitoredResourcesRequest struct { // Details to create association between two 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 }
func (request AssociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AssociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AssociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AssociateMonitoredResourcesRequest) String() string
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
AssociateMonitoredResourcesResponse wrapper for the AssociateMonitoredResources operation
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"` }
func (response AssociateMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AssociateMonitoredResourcesResponse) String() string
AssociatedMonitoredResource The information about monitored resource.
type AssociatedMonitoredResource struct { // Monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Monitored Resource Name. Name *string `mandatory:"false" json:"name"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Monitored Resource Type. Type *string `mandatory:"false" json:"type"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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 types - Container database, non-container database, // pluggable database 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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` // Association details of the resource. Association *interface{} `mandatory:"false" json:"association"` }
func (m AssociatedMonitoredResource) String() string
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
AssociatedResourcesCollection Results of a resources search. Contains AssociatedResourcesSummary items.
type AssociatedResourcesCollection struct { // List of associated monitored resources. Items []AssociatedResourcesSummary `mandatory:"true" json:"items"` }
func (m AssociatedResourcesCollection) String() string
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
AssociatedResourcesSummary The information about monitored resource.
type AssociatedResourcesSummary struct { // Monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Monitored Resource Name. Name *string `mandatory:"false" json:"name"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Monitored Resource Type. Type *string `mandatory:"false" json:"type"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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 types - Container database, non-container database, // pluggable database 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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` // List of associated monitored resources. AssociatedResources []AssociatedMonitoredResource `mandatory:"false" json:"associatedResources"` }
func (m AssociatedResourcesSummary) String() string
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
AssociationDetails The information about monitored resource association.
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"` }
func (m AssociationDetails) String() string
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
AssociationResourceDetails Association Resource Details.
type AssociationResourceDetails struct { // Monitored Resource Name. Name *string `mandatory:"false" json:"name"` // Monitored Resource Type. Type *string `mandatory:"false" json:"type"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m AssociationResourceDetails) String() string
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
AutoPromoteConfigDetails A configuration of the AUTO_PROMOTE type, consists of a resource type and a boolean value that determines if this resource needs to be automatically promoted/discovered. For example, when a Management Agent registration event occurs and if isEnabled is TRUE for a HOST resource type, a HOST resource will be automatically discovered using that Management Agent.
type AutoPromoteConfigDetails struct { // The Unique Oracle ID (OCID) that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if automatic promotion is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the Config was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The type of resource to configure for automatic promotion. ResourceType AutoPromoteConfigDetailsResourceTypeEnum `mandatory:"true" json:"resourceType"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m AutoPromoteConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutoPromoteConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutoPromoteConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AutoPromoteConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutoPromoteConfigDetails) GetId() *string
GetId returns Id
func (m AutoPromoteConfigDetails) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutoPromoteConfigDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutoPromoteConfigDetails) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutoPromoteConfigDetails) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutoPromoteConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutoPromoteConfigDetails) String() string
func (m AutoPromoteConfigDetails) 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
AutoPromoteConfigDetailsResourceTypeEnum Enum with underlying type: string
type AutoPromoteConfigDetailsResourceTypeEnum string
Set of constants representing the allowable values for AutoPromoteConfigDetailsResourceTypeEnum
const ( AutoPromoteConfigDetailsResourceTypeHost AutoPromoteConfigDetailsResourceTypeEnum = "HOST" )
func GetAutoPromoteConfigDetailsResourceTypeEnumValues() []AutoPromoteConfigDetailsResourceTypeEnum
GetAutoPromoteConfigDetailsResourceTypeEnumValues Enumerates the set of values for AutoPromoteConfigDetailsResourceTypeEnum
func GetMappingAutoPromoteConfigDetailsResourceTypeEnum(val string) (AutoPromoteConfigDetailsResourceTypeEnum, bool)
GetMappingAutoPromoteConfigDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AutoPromoteConfigSummary Summary of an AUTO_PROMOTE config.
type AutoPromoteConfigSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if automatic promotion is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // Config Identifier, can be renamed. DisplayName *string `mandatory:"false" json:"displayName"` // The time the the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the configuration was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The type of resource to configure for automatic promotion. ResourceType AutoPromoteConfigSummaryResourceTypeEnum `mandatory:"true" json:"resourceType"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m AutoPromoteConfigSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutoPromoteConfigSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutoPromoteConfigSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m AutoPromoteConfigSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutoPromoteConfigSummary) GetId() *string
GetId returns Id
func (m AutoPromoteConfigSummary) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutoPromoteConfigSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutoPromoteConfigSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutoPromoteConfigSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutoPromoteConfigSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutoPromoteConfigSummary) String() string
func (m AutoPromoteConfigSummary) 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
AutoPromoteConfigSummaryResourceTypeEnum Enum with underlying type: string
type AutoPromoteConfigSummaryResourceTypeEnum string
Set of constants representing the allowable values for AutoPromoteConfigSummaryResourceTypeEnum
const ( AutoPromoteConfigSummaryResourceTypeHost AutoPromoteConfigSummaryResourceTypeEnum = "HOST" )
func GetAutoPromoteConfigSummaryResourceTypeEnumValues() []AutoPromoteConfigSummaryResourceTypeEnum
GetAutoPromoteConfigSummaryResourceTypeEnumValues Enumerates the set of values for AutoPromoteConfigSummaryResourceTypeEnum
func GetMappingAutoPromoteConfigSummaryResourceTypeEnum(val string) (AutoPromoteConfigSummaryResourceTypeEnum, bool)
GetMappingAutoPromoteConfigSummaryResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BaselineableMetric Summary for the baseline-able metric
type BaselineableMetric struct { // OCID of the metric Id *string `mandatory:"true" json:"id"` // name of the metric Name *string `mandatory:"true" json:"name"` // metric column name Column *string `mandatory:"true" json:"column"` // namespace of the metric Namespace *string `mandatory:"true" json:"namespace"` // Resource group of the metric ResourceGroup *string `mandatory:"true" json:"resourceGroup"` // Is the metric created out of box, default false IsOutOfBox *bool `mandatory:"true" json:"isOutOfBox"` // The current lifecycle state of the metric extension LifecycleState BaselineableMetricLifeCycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID of the tenancy TenancyId *string `mandatory:"false" json:"tenancyId"` // OCID of the compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Resource type of the metric ResourceType *string `mandatory:"false" json:"resourceType"` // Created user id CreatedBy *string `mandatory:"false" json:"createdBy"` // last Updated user id LastUpdatedBy *string `mandatory:"false" json:"lastUpdatedBy"` // creation date TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // last updated time TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"` // 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"` }
func (m BaselineableMetric) String() string
func (m BaselineableMetric) 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
BaselineableMetricLifeCycleStatesEnum Enum with underlying type: string
type BaselineableMetricLifeCycleStatesEnum string
Set of constants representing the allowable values for BaselineableMetricLifeCycleStatesEnum
const ( BaselineableMetricLifeCycleStatesActive BaselineableMetricLifeCycleStatesEnum = "ACTIVE" BaselineableMetricLifeCycleStatesDeleted BaselineableMetricLifeCycleStatesEnum = "DELETED" )
func GetBaselineableMetricLifeCycleStatesEnumValues() []BaselineableMetricLifeCycleStatesEnum
GetBaselineableMetricLifeCycleStatesEnumValues Enumerates the set of values for BaselineableMetricLifeCycleStatesEnum
func GetMappingBaselineableMetricLifeCycleStatesEnum(val string) (BaselineableMetricLifeCycleStatesEnum, bool)
GetMappingBaselineableMetricLifeCycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
BaselineableMetricSummary Summary for the baseline-able metric
type BaselineableMetricSummary struct { // OCID of the metric Id *string `mandatory:"true" json:"id"` // name of the metric Name *string `mandatory:"true" json:"name"` // metric column name Column *string `mandatory:"true" json:"column"` // namespace of the metric Namespace *string `mandatory:"true" json:"namespace"` // Resource group of the metric ResourceGroup *string `mandatory:"true" json:"resourceGroup"` // Is the metric created out of box, default false IsOutOfBox *bool `mandatory:"true" json:"isOutOfBox"` // The current lifecycle state of the metric extension LifecycleState BaselineableMetricLifeCycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID of the tenancy TenancyId *string `mandatory:"false" json:"tenancyId"` // OCID of the compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Resource type of the metric ResourceType *string `mandatory:"false" json:"resourceType"` // 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"` }
func (m BaselineableMetricSummary) String() string
func (m BaselineableMetricSummary) 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
BaselineableMetricSummaryCollection List summary of Baseline-able metrics
type BaselineableMetricSummaryCollection struct { // list of baseline-able metric summary Items []BaselineableMetricSummary `mandatory:"true" json:"items"` }
func (m BaselineableMetricSummaryCollection) String() string
func (m BaselineableMetricSummaryCollection) 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
ChangeConfigCompartmentDetails Details for which compartment to move the resource to.
type ChangeConfigCompartmentDetails 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"` }
func (m ChangeConfigCompartmentDetails) String() string
func (m ChangeConfigCompartmentDetails) 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
ChangeConfigCompartmentRequest wrapper for the ChangeConfigCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeConfigCompartment.go.html to see an example of how to use ChangeConfigCompartmentRequest.
type ChangeConfigCompartmentRequest struct { // Unique Config identifier. ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"` // Details for the compartment move. ChangeConfigCompartmentDetails `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 }
func (request ChangeConfigCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeConfigCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeConfigCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeConfigCompartmentRequest) String() string
func (request ChangeConfigCompartmentRequest) 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
ChangeConfigCompartmentResponse wrapper for the ChangeConfigCompartment operation
type ChangeConfigCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeConfigCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeConfigCompartmentResponse) String() string
ChangeMetricExtensionCompartmentDetails The information to be updated.
type ChangeMetricExtensionCompartmentDetails 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"` }
func (m ChangeMetricExtensionCompartmentDetails) String() string
func (m ChangeMetricExtensionCompartmentDetails) 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
ChangeMetricExtensionCompartmentRequest wrapper for the ChangeMetricExtensionCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMetricExtensionCompartment.go.html to see an example of how to use ChangeMetricExtensionCompartmentRequest.
type ChangeMetricExtensionCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // The information required to change compartment of given Metric Extension resource ChangeMetricExtensionCompartmentDetails `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 }
func (request ChangeMetricExtensionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMetricExtensionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMetricExtensionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMetricExtensionCompartmentRequest) String() string
func (request ChangeMetricExtensionCompartmentRequest) 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
ChangeMetricExtensionCompartmentResponse wrapper for the ChangeMetricExtensionCompartment operation
type ChangeMetricExtensionCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeMetricExtensionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMetricExtensionCompartmentResponse) String() string
ChangeMonitoredResourceCompartmentDetails The information to be updated.
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"` }
func (m ChangeMonitoredResourceCompartmentDetails) String() string
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
ChangeMonitoredResourceCompartmentRequest wrapper for the ChangeMonitoredResourceCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMonitoredResourceCompartment.go.html to see an example of how to use 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 }
func (request ChangeMonitoredResourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMonitoredResourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMonitoredResourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMonitoredResourceCompartmentRequest) String() string
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
ChangeMonitoredResourceCompartmentResponse wrapper for the ChangeMonitoredResourceCompartment operation
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"` }
func (response ChangeMonitoredResourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMonitoredResourceCompartmentResponse) String() string
ChangeMonitoredResourceTaskCompartmentDetails The information required for change of compartment for stack monitoring resource task.
type ChangeMonitoredResourceTaskCompartmentDetails 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"` }
func (m ChangeMonitoredResourceTaskCompartmentDetails) String() string
func (m ChangeMonitoredResourceTaskCompartmentDetails) 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
ChangeMonitoredResourceTaskCompartmentRequest wrapper for the ChangeMonitoredResourceTaskCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMonitoredResourceTaskCompartment.go.html to see an example of how to use ChangeMonitoredResourceTaskCompartmentRequest.
type ChangeMonitoredResourceTaskCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of stack monitoring resource task. MonitoredResourceTaskId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTaskId"` // The information to be updated. ChangeMonitoredResourceTaskCompartmentDetails `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 }
func (request ChangeMonitoredResourceTaskCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMonitoredResourceTaskCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMonitoredResourceTaskCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMonitoredResourceTaskCompartmentRequest) String() string
func (request ChangeMonitoredResourceTaskCompartmentRequest) 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
ChangeMonitoredResourceTaskCompartmentResponse wrapper for the ChangeMonitoredResourceTaskCompartment operation
type ChangeMonitoredResourceTaskCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeMonitoredResourceTaskCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMonitoredResourceTaskCompartmentResponse) String() string
ChangeProcessSetCompartmentDetails Payload describing to which compartment the resource should be moved.
type ChangeProcessSetCompartmentDetails 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"` }
func (m ChangeProcessSetCompartmentDetails) String() string
func (m ChangeProcessSetCompartmentDetails) 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
ChangeProcessSetCompartmentRequest wrapper for the ChangeProcessSetCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeProcessSetCompartment.go.html to see an example of how to use ChangeProcessSetCompartmentRequest.
type ChangeProcessSetCompartmentRequest struct { // The Process Set ID ProcessSetId *string `mandatory:"true" contributesTo:"path" name:"processSetId"` // The information to be updated. ChangeProcessSetCompartmentDetails `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 }
func (request ChangeProcessSetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProcessSetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProcessSetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProcessSetCompartmentRequest) String() string
func (request ChangeProcessSetCompartmentRequest) 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
ChangeProcessSetCompartmentResponse wrapper for the ChangeProcessSetCompartment operation
type ChangeProcessSetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeProcessSetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeProcessSetCompartmentResponse) String() string
Config A configuration item that, for example defines whether resources of a specific type should be discovered automatically. In this case, the 'configType' is set to 'AUTO_PROMOTE' and additional fields like 'resourceType' and 'isEnabled' determine if such resources are to be discovered automatically (also referred to as 'Automatic Promotion').
type Config interface { // The Unique Oracle ID (OCID) that is immutable on creation. GetId() *string // The OCID of the compartment containing the configuration. GetCompartmentId() *string // The current state of the configuration. GetLifecycleState() ConfigLifecycleStateEnum // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. GetDisplayName() *string // The time the configuration was created. An RFC3339 formatted datetime string. GetTimeCreated() *common.SDKTime // The time the Config was updated. GetTimeUpdated() *common.SDKTime // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
ConfigCollection Contains a list of configurations.
type ConfigCollection struct { // List of configurations. Items []ConfigSummary `mandatory:"true" json:"items"` }
func (m ConfigCollection) String() string
func (m *ConfigCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ConfigCollection) 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
ConfigConfigTypeEnum Enum with underlying type: string
type ConfigConfigTypeEnum string
Set of constants representing the allowable values for ConfigConfigTypeEnum
const ( ConfigConfigTypeAutoPromote ConfigConfigTypeEnum = "AUTO_PROMOTE" ConfigConfigTypeLicenseAutoAssign ConfigConfigTypeEnum = "LICENSE_AUTO_ASSIGN" ConfigConfigTypeLicenseEnterpriseExtensibility ConfigConfigTypeEnum = "LICENSE_ENTERPRISE_EXTENSIBILITY" )
func GetConfigConfigTypeEnumValues() []ConfigConfigTypeEnum
GetConfigConfigTypeEnumValues Enumerates the set of values for ConfigConfigTypeEnum
func GetMappingConfigConfigTypeEnum(val string) (ConfigConfigTypeEnum, bool)
GetMappingConfigConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigLifecycleStateEnum Enum with underlying type: string
type ConfigLifecycleStateEnum string
Set of constants representing the allowable values for ConfigLifecycleStateEnum
const ( ConfigLifecycleStateCreating ConfigLifecycleStateEnum = "CREATING" ConfigLifecycleStateUpdating ConfigLifecycleStateEnum = "UPDATING" ConfigLifecycleStateActive ConfigLifecycleStateEnum = "ACTIVE" ConfigLifecycleStateDeleting ConfigLifecycleStateEnum = "DELETING" ConfigLifecycleStateDeleted ConfigLifecycleStateEnum = "DELETED" ConfigLifecycleStateFailed ConfigLifecycleStateEnum = "FAILED" )
func GetConfigLifecycleStateEnumValues() []ConfigLifecycleStateEnum
GetConfigLifecycleStateEnumValues Enumerates the set of values for ConfigLifecycleStateEnum
func GetMappingConfigLifecycleStateEnum(val string) (ConfigLifecycleStateEnum, bool)
GetMappingConfigLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigSummary Summary of the configuration.
type ConfigSummary interface { // Unique identifier that is immutable on creation. GetId() *string // Compartment Identifier. GetCompartmentId() *string // The current state of the configuration. GetLifecycleState() ConfigLifecycleStateEnum // Config Identifier, can be renamed. GetDisplayName() *string // The time the the configuration was created. An RFC3339 formatted datetime string. GetTimeCreated() *common.SDKTime // The time the configuration was updated. GetTimeUpdated() *common.SDKTime // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
ConnectionDetails Connection details for the database.
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 OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). 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"` }
func (m ConnectionDetails) String() string
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
ConnectionDetailsProtocolEnum Enum with underlying type: string
type ConnectionDetailsProtocolEnum string
Set of constants representing the allowable values for ConnectionDetailsProtocolEnum
const ( ConnectionDetailsProtocolTcp ConnectionDetailsProtocolEnum = "TCP" ConnectionDetailsProtocolTcps ConnectionDetailsProtocolEnum = "TCPS" )
func GetConnectionDetailsProtocolEnumValues() []ConnectionDetailsProtocolEnum
GetConnectionDetailsProtocolEnumValues Enumerates the set of values for ConnectionDetailsProtocolEnum
func GetMappingConnectionDetailsProtocolEnum(val string) (ConnectionDetailsProtocolEnum, bool)
GetMappingConnectionDetailsProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
CreateAutoPromoteConfigDetails The details of an AUTO_PROMOTE configuration.
type CreateAutoPromoteConfigDetails struct { // Compartment in which the configuration is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if automatic promotion is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The type of resource to configure for automatic promotion. ResourceType CreateAutoPromoteConfigDetailsResourceTypeEnum `mandatory:"true" json:"resourceType"` }
func (m CreateAutoPromoteConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateAutoPromoteConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateAutoPromoteConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateAutoPromoteConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateAutoPromoteConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAutoPromoteConfigDetails) String() string
func (m CreateAutoPromoteConfigDetails) 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
CreateAutoPromoteConfigDetailsResourceTypeEnum Enum with underlying type: string
type CreateAutoPromoteConfigDetailsResourceTypeEnum string
Set of constants representing the allowable values for CreateAutoPromoteConfigDetailsResourceTypeEnum
const ( CreateAutoPromoteConfigDetailsResourceTypeHost CreateAutoPromoteConfigDetailsResourceTypeEnum = "HOST" )
func GetCreateAutoPromoteConfigDetailsResourceTypeEnumValues() []CreateAutoPromoteConfigDetailsResourceTypeEnum
GetCreateAutoPromoteConfigDetailsResourceTypeEnumValues Enumerates the set of values for CreateAutoPromoteConfigDetailsResourceTypeEnum
func GetMappingCreateAutoPromoteConfigDetailsResourceTypeEnum(val string) (CreateAutoPromoteConfigDetailsResourceTypeEnum, bool)
GetMappingCreateAutoPromoteConfigDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateBaselineableMetricDetails Summary for the baseline-able metric
type CreateBaselineableMetricDetails struct { // OCID of the compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // metric column name Column *string `mandatory:"true" json:"column"` // namespace of the metric Namespace *string `mandatory:"true" json:"namespace"` // name of the metric Name *string `mandatory:"false" json:"name"` // Resource group of the metric ResourceGroup *string `mandatory:"false" json:"resourceGroup"` // Resource type of the metric ResourceType *string `mandatory:"false" json:"resourceType"` }
func (m CreateBaselineableMetricDetails) String() string
func (m CreateBaselineableMetricDetails) 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
CreateBaselineableMetricRequest wrapper for the CreateBaselineableMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateBaselineableMetric.go.html to see an example of how to use CreateBaselineableMetricRequest.
type CreateBaselineableMetricRequest struct { // Baseline metric CreateBaselineableMetricDetails `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 }
func (request CreateBaselineableMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateBaselineableMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBaselineableMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBaselineableMetricRequest) String() string
func (request CreateBaselineableMetricRequest) 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
CreateBaselineableMetricResponse wrapper for the CreateBaselineableMetric operation
type CreateBaselineableMetricResponse struct { // The underlying http response RawResponse *http.Response // The BaselineableMetric instance BaselineableMetric `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response CreateBaselineableMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBaselineableMetricResponse) String() string
CreateConfigDetails Create a configuration.
type CreateConfigDetails interface { // Compartment in which the configuration is created. GetCompartmentId() *string // The display name of the configuration. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateConfigRequest wrapper for the CreateConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateConfig.go.html to see an example of how to use CreateConfigRequest.
type CreateConfigRequest struct { // Details for the new configuration. CreateConfigDetails `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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateConfigRequest) String() string
func (request CreateConfigRequest) 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
CreateConfigResponse wrapper for the CreateConfig operation
type CreateConfigResponse struct { // The underlying http response RawResponse *http.Response // The Config instance Config `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateConfigResponse) String() string
CreateDiscoveryJobDetails The request of DiscoveryJob details.
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"` // If this parameter set to true, the specified tags will be applied // to all resources discovered in the current request. // Default is true. ShouldPropagateTagsToDiscoveredResources *bool `mandatory:"false" json:"shouldPropagateTagsToDiscoveredResources"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDiscoveryJobDetails) String() string
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
CreateDiscoveryJobDetailsDiscoveryTypeEnum Enum with underlying type: string
type CreateDiscoveryJobDetailsDiscoveryTypeEnum string
Set of constants representing the allowable values for CreateDiscoveryJobDetailsDiscoveryTypeEnum
const ( CreateDiscoveryJobDetailsDiscoveryTypeAdd CreateDiscoveryJobDetailsDiscoveryTypeEnum = "ADD" CreateDiscoveryJobDetailsDiscoveryTypeAddWithRetry CreateDiscoveryJobDetailsDiscoveryTypeEnum = "ADD_WITH_RETRY" CreateDiscoveryJobDetailsDiscoveryTypeRefresh CreateDiscoveryJobDetailsDiscoveryTypeEnum = "REFRESH" )
func GetCreateDiscoveryJobDetailsDiscoveryTypeEnumValues() []CreateDiscoveryJobDetailsDiscoveryTypeEnum
GetCreateDiscoveryJobDetailsDiscoveryTypeEnumValues Enumerates the set of values for CreateDiscoveryJobDetailsDiscoveryTypeEnum
func GetMappingCreateDiscoveryJobDetailsDiscoveryTypeEnum(val string) (CreateDiscoveryJobDetailsDiscoveryTypeEnum, bool)
GetMappingCreateDiscoveryJobDetailsDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDiscoveryJobRequest wrapper for the CreateDiscoveryJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateDiscoveryJob.go.html to see an example of how to use 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 }
func (request CreateDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDiscoveryJobRequest) String() string
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
CreateDiscoveryJobResponse wrapper for the CreateDiscoveryJob operation
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"` }
func (response CreateDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDiscoveryJobResponse) String() string
CreateLicenseAutoAssignConfigDetails The details of a LICENSE_AUTO_ASSIGN configuration.
type CreateLicenseAutoAssignConfigDetails struct { // Compartment in which the configuration is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // 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"` // License edition. License LicenseTypeEnum `mandatory:"true" json:"license"` }
func (m CreateLicenseAutoAssignConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateLicenseAutoAssignConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateLicenseAutoAssignConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateLicenseAutoAssignConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateLicenseAutoAssignConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateLicenseAutoAssignConfigDetails) String() string
func (m CreateLicenseAutoAssignConfigDetails) 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
CreateLicenseEnterpriseExtensibilityConfigDetails The details of a LICENSE_ENTERPRISE_EXTENSIBILITY configuration.
type CreateLicenseEnterpriseExtensibilityConfigDetails struct { // Compartment in which the configuration is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if enterprise extensibility is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) String() string
func (m CreateLicenseEnterpriseExtensibilityConfigDetails) 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
CreateMetricExtensionDetails The information about new metric extension resource. The combination of metric extension name and resource type should be unique in a compartment.
type CreateMetricExtensionDetails struct { // Metric Extension Resource name. Name *string `mandatory:"true" json:"name"` // Metric Extension display name. DisplayName *string `mandatory:"true" json:"displayName"` // Resource type to which Metric Extension applies ResourceType *string `mandatory:"true" json:"resourceType"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 CollectionRecurrences *string `mandatory:"true" json:"collectionRecurrences"` // List of metrics which are part of this metric extension MetricList []Metric `mandatory:"true" json:"metricList"` QueryProperties MetricExtensionQueryProperties `mandatory:"true" json:"queryProperties"` // Description of the metric extension. Description *string `mandatory:"false" json:"description"` }
func (m CreateMetricExtensionDetails) String() string
func (m *CreateMetricExtensionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMetricExtensionDetails) 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
CreateMetricExtensionRequest wrapper for the CreateMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMetricExtension.go.html to see an example of how to use CreateMetricExtensionRequest.
type CreateMetricExtensionRequest struct { // Details required for creating new Metric Extension CreateMetricExtensionDetails `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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMetricExtensionRequest) String() string
func (request CreateMetricExtensionRequest) 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
CreateMetricExtensionResponse wrapper for the CreateMetricExtension operation
type CreateMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The MetricExtension instance MetricExtension `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"` // Content location of the resource. ContentLocation *string `presentIn:"header" name:"content-location"` }
func (response CreateMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMetricExtensionResponse) String() string
CreateMonitoredResourceDetails The information about new monitored resource to be created. The combination of monitored resource name and type should be unique across tenancy.
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. Specifies the preference with // a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). // For example - America/Los_Angeles ResourceTimeZone *string `mandatory:"false" json:"resourceTimeZone"` // License edition of the monitored resource. If not provided // the default license type for the compartment will be used. License LicenseTypeEnum `mandatory:"false" json:"license,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"` // List of MonitoredResourceCredentials. This property complements the existing // "credentials" property by allowing user to specify more than one credential. // If both "credential" and "additionalCredentials" are specified, union of the // values is used as list of credentials applicable for this resource. // If any duplicate found in the combined list of "credentials" and "additionalCredentials", // an error will be thrown. AdditionalCredentials []MonitoredResourceCredential `mandatory:"false" json:"additionalCredentials"` // List of MonitoredResourceAliasCredentials. This property complements the existing // "aliases" property by allowing user to specify more than one credential alias. // If both "aliases" and "additionalAliases" are specified, union of the // values is used as list of aliases applicable for this resource. // If any duplicate found in the combined list of "alias" and "additionalAliases", // an error will be thrown. AdditionalAliases []MonitoredResourceAliasCredential `mandatory:"false" json:"additionalAliases"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateMonitoredResourceDetails) String() string
func (m *CreateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateMonitoredResourceRequest wrapper for the CreateMonitoredResource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResource.go.html to see an example of how to use CreateMonitoredResourceRequest.
type CreateMonitoredResourceRequest struct { // Details for the new monitored 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 }
func (request CreateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMonitoredResourceRequest) String() string
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
CreateMonitoredResourceResponse wrapper for the CreateMonitoredResource operation
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"` }
func (response CreateMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMonitoredResourceResponse) String() string
CreateMonitoredResourceTaskDetails The request details for the stack monitoring resource task.
type CreateMonitoredResourceTaskDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` TaskDetails MonitoredResourceTaskDetails `mandatory:"true" json:"taskDetails"` // Name of the task. If not provided by default the following names will be taken // OCI tasks - namespace plus timestamp. Name *string `mandatory:"false" json:"name"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateMonitoredResourceTaskDetails) String() string
func (m *CreateMonitoredResourceTaskDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMonitoredResourceTaskDetails) 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
CreateMonitoredResourceTaskRequest wrapper for the CreateMonitoredResourceTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResourceTask.go.html to see an example of how to use CreateMonitoredResourceTaskRequest.
type CreateMonitoredResourceTaskRequest struct { // Details to create the new stack monitoring resource task. CreateMonitoredResourceTaskDetails `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 }
func (request CreateMonitoredResourceTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMonitoredResourceTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMonitoredResourceTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMonitoredResourceTaskRequest) String() string
func (request CreateMonitoredResourceTaskRequest) 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
CreateMonitoredResourceTaskResponse wrapper for the CreateMonitoredResourceTask operation
type CreateMonitoredResourceTaskResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceTask instance MonitoredResourceTask `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // 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"` }
func (response CreateMonitoredResourceTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMonitoredResourceTaskResponse) String() string
CreateMonitoredResourceTypeDetails The information about new monitored resource type. The resource type name should be unique across tenancy. A set of resource types are created by the service by default. These resource types are available for all tenancies. Service provided resource types can not be duplicated or overwritten in any tenancy.
type CreateMonitoredResourceTypeDetails struct { // A unique monitored resource type name. The name must be unique across tenancy. // Name can not be changed. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Monitored resource type display name. DisplayName *string `mandatory:"false" json:"displayName"` // A friendly description. Description *string `mandatory:"false" json:"description"` // Metric namespace for resource type. MetricNamespace *string `mandatory:"false" json:"metricNamespace"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` Metadata ResourceTypeMetadataDetails `mandatory:"false" json:"metadata"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateMonitoredResourceTypeDetails) String() string
func (m *CreateMonitoredResourceTypeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMonitoredResourceTypeDetails) 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
CreateMonitoredResourceTypeRequest wrapper for the CreateMonitoredResourceType operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResourceType.go.html to see an example of how to use CreateMonitoredResourceTypeRequest.
type CreateMonitoredResourceTypeRequest struct { // Details for the new monitored resource type. CreateMonitoredResourceTypeDetails `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 }
func (request CreateMonitoredResourceTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMonitoredResourceTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMonitoredResourceTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMonitoredResourceTypeRequest) String() string
func (request CreateMonitoredResourceTypeRequest) 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
CreateMonitoredResourceTypeResponse wrapper for the CreateMonitoredResourceType operation
type CreateMonitoredResourceTypeResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceType instance MonitoredResourceType `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateMonitoredResourceTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMonitoredResourceTypeResponse) String() string
CreateProcessSetDetails Process Set create payload model.
type CreateProcessSetDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the Process Set. DisplayName *string `mandatory:"true" json:"displayName"` Specification *ProcessSetSpecification `mandatory:"true" json:"specification"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProcessSetDetails) String() string
func (m CreateProcessSetDetails) 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
CreateProcessSetRequest wrapper for the CreateProcessSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateProcessSet.go.html to see an example of how to use CreateProcessSetRequest.
type CreateProcessSetRequest struct { // Summary of process set details. CreateProcessSetDetails `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 }
func (request CreateProcessSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProcessSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProcessSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProcessSetRequest) String() string
func (request CreateProcessSetRequest) 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
CreateProcessSetResponse wrapper for the CreateProcessSet operation
type CreateProcessSetResponse struct { // The underlying http response RawResponse *http.Response // The ProcessSet instance ProcessSet `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProcessSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProcessSetResponse) String() string
CredentialCollection List of DiscoveryJOb Credential Details.
type CredentialCollection struct { // List of DiscoveryJob credentials. Items []CredentialDetails `mandatory:"true" json:"items"` }
func (m CredentialCollection) String() string
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
CredentialDetails DiscoveryJob Credential Details.
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"` }
func (m CredentialDetails) String() string
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
CredentialProperty Monitored resource credential property.
type CredentialProperty struct { // The name of the credential property, should confirm with names of properties of this credential's type. // Example: For JMXCreds type, credential property name for weblogic user is 'Username'. Name *string `mandatory:"true" json:"name"` // The value of the credential property name. // Example: For JMXCreds type, credential property value for 'Username' property is 'weblogic'. Value *string `mandatory:"true" json:"value"` }
func (m CredentialProperty) String() string
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
DataPoint metric data point
type DataPoint struct { // timestamp of when the metric was collected Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` // value for the metric data point Value *float64 `mandatory:"true" json:"value"` }
func (m DataPoint) String() string
func (m DataPoint) 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
DeleteBaselineableMetricRequest wrapper for the DeleteBaselineableMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteBaselineableMetric.go.html to see an example of how to use DeleteBaselineableMetricRequest.
type DeleteBaselineableMetricRequest struct { // Identifier for the metric BaselineableMetricId *string `mandatory:"true" contributesTo:"path" name:"baselineableMetricId"` // 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 }
func (request DeleteBaselineableMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteBaselineableMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBaselineableMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBaselineableMetricRequest) String() string
func (request DeleteBaselineableMetricRequest) 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
DeleteBaselineableMetricResponse wrapper for the DeleteBaselineableMetric operation
type DeleteBaselineableMetricResponse 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"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response DeleteBaselineableMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBaselineableMetricResponse) String() string
DeleteConfigRequest wrapper for the DeleteConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteConfig.go.html to see an example of how to use DeleteConfigRequest.
type DeleteConfigRequest struct { // Unique Config identifier. ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"` // 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 }
func (request DeleteConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteConfigRequest) String() string
func (request DeleteConfigRequest) 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
DeleteConfigResponse wrapper for the DeleteConfig operation
type DeleteConfigResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteConfigResponse) String() string
DeleteDiscoveryJobRequest wrapper for the DeleteDiscoveryJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteDiscoveryJob.go.html to see an example of how to use 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 }
func (request DeleteDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDiscoveryJobRequest) String() string
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
DeleteDiscoveryJobResponse wrapper for the DeleteDiscoveryJob operation
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"` }
func (response DeleteDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDiscoveryJobResponse) String() string
DeleteMetricExtensionRequest wrapper for the DeleteMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMetricExtension.go.html to see an example of how to use DeleteMetricExtensionRequest.
type DeleteMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // 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 }
func (request DeleteMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMetricExtensionRequest) String() string
func (request DeleteMetricExtensionRequest) 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
DeleteMetricExtensionResponse wrapper for the DeleteMetricExtension operation
type DeleteMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMetricExtensionResponse) String() string
DeleteMonitoredResourceRequest wrapper for the DeleteMonitoredResource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMonitoredResource.go.html to see an example of how to use 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"` // If this query parameter is specified and set to true, all the member // resources will be deleted before deleting the specified 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 }
func (request DeleteMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMonitoredResourceRequest) String() string
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
DeleteMonitoredResourceResponse wrapper for the DeleteMonitoredResource operation
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"` }
func (response DeleteMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMonitoredResourceResponse) String() string
DeleteMonitoredResourceTypeRequest wrapper for the DeleteMonitoredResourceType operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMonitoredResourceType.go.html to see an example of how to use DeleteMonitoredResourceTypeRequest.
type DeleteMonitoredResourceTypeRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource type. MonitoredResourceTypeId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTypeId"` // 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 }
func (request DeleteMonitoredResourceTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMonitoredResourceTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMonitoredResourceTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMonitoredResourceTypeRequest) String() string
func (request DeleteMonitoredResourceTypeRequest) 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
DeleteMonitoredResourceTypeResponse wrapper for the DeleteMonitoredResourceType operation
type DeleteMonitoredResourceTypeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteMonitoredResourceTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMonitoredResourceTypeResponse) String() string
DeleteProcessSetRequest wrapper for the DeleteProcessSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteProcessSet.go.html to see an example of how to use DeleteProcessSetRequest.
type DeleteProcessSetRequest struct { // The Process Set ID ProcessSetId *string `mandatory:"true" contributesTo:"path" name:"processSetId"` // 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 }
func (request DeleteProcessSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProcessSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProcessSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProcessSetRequest) String() string
func (request DeleteProcessSetRequest) 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
DeleteProcessSetResponse wrapper for the DeleteProcessSet operation
type DeleteProcessSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProcessSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProcessSetResponse) String() string
DisableExternalDatabaseRequest wrapper for the DisableExternalDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisableExternalDatabase.go.html to see an example of how to use 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 }
func (request DisableExternalDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableExternalDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableExternalDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableExternalDatabaseRequest) String() string
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
DisableExternalDatabaseResponse wrapper for the DisableExternalDatabase operation
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"` }
func (response DisableExternalDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableExternalDatabaseResponse) String() string
DisableMetricExtensionDetails The Resource IDs for which metric extension will be disabled
type DisableMetricExtensionDetails struct { // List of Resource IDs [OCIDs]. Currently supports upto 20 resources per request ResourceIds []string `mandatory:"true" json:"resourceIds"` }
func (m DisableMetricExtensionDetails) String() string
func (m DisableMetricExtensionDetails) 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
DisableMetricExtensionRequest wrapper for the DisableMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisableMetricExtension.go.html to see an example of how to use DisableMetricExtensionRequest.
type DisableMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // The list of Resource IDs for which given metric extension needs to be disabled DisableMetricExtensionDetails `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 }
func (request DisableMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableMetricExtensionRequest) String() string
func (request DisableMetricExtensionRequest) 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
DisableMetricExtensionResponse wrapper for the DisableMetricExtension operation
type DisableMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DisableMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableMetricExtensionResponse) String() string
DisassociateMonitoredResourcesDetails The information required to create new monitored resource association.
type DisassociateMonitoredResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Association type 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"` }
func (m DisassociateMonitoredResourcesDetails) String() string
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
DisassociateMonitoredResourcesRequest wrapper for the DisassociateMonitoredResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisassociateMonitoredResources.go.html to see an example of how to use 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 }
func (request DisassociateMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisassociateMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisassociateMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisassociateMonitoredResourcesRequest) String() string
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
DisassociateMonitoredResourcesResponse wrapper for the DisassociateMonitoredResources operation
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"` }
func (response DisassociateMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisassociateMonitoredResourcesResponse) String() string
DiscoveryDetails The request of DiscoveryJob Resource details.
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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` Credentials *CredentialCollection `mandatory:"false" json:"credentials"` Tags *PropertyDetails `mandatory:"false" json:"tags"` }
func (m DiscoveryDetails) String() string
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
DiscoveryDetailsResourceTypeEnum Enum with underlying type: string
type DiscoveryDetailsResourceTypeEnum string
Set of constants representing the allowable values for DiscoveryDetailsResourceTypeEnum
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" DiscoveryDetailsResourceTypeOracleMft DiscoveryDetailsResourceTypeEnum = "ORACLE_MFT" DiscoveryDetailsResourceTypeApacheHttpServer DiscoveryDetailsResourceTypeEnum = "APACHE_HTTP_SERVER" DiscoveryDetailsResourceTypeOracleGoldengate DiscoveryDetailsResourceTypeEnum = "ORACLE_GOLDENGATE" DiscoveryDetailsResourceTypeCustomResource DiscoveryDetailsResourceTypeEnum = "CUSTOM_RESOURCE" DiscoveryDetailsResourceTypeOracleHttpServer DiscoveryDetailsResourceTypeEnum = "ORACLE_HTTP_SERVER" DiscoveryDetailsResourceTypeMicrosoftIis DiscoveryDetailsResourceTypeEnum = "MICROSOFT_IIS" )
func GetDiscoveryDetailsResourceTypeEnumValues() []DiscoveryDetailsResourceTypeEnum
GetDiscoveryDetailsResourceTypeEnumValues Enumerates the set of values for DiscoveryDetailsResourceTypeEnum
func GetMappingDiscoveryDetailsResourceTypeEnum(val string) (DiscoveryDetailsResourceTypeEnum, bool)
GetMappingDiscoveryDetailsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJob The DiscoveryJob details.
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"` }
func (m DiscoveryJob) String() string
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
DiscoveryJobCollection Result of the discovery Job search
type DiscoveryJobCollection struct { // List of Discovery jobs Items []DiscoveryJobSummary `mandatory:"true" json:"items"` }
func (m DiscoveryJobCollection) String() string
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
DiscoveryJobDiscoveryTypeEnum Enum with underlying type: string
type DiscoveryJobDiscoveryTypeEnum string
Set of constants representing the allowable values for DiscoveryJobDiscoveryTypeEnum
const ( DiscoveryJobDiscoveryTypeAdd DiscoveryJobDiscoveryTypeEnum = "ADD" DiscoveryJobDiscoveryTypeAddWithRetry DiscoveryJobDiscoveryTypeEnum = "ADD_WITH_RETRY" DiscoveryJobDiscoveryTypeRefresh DiscoveryJobDiscoveryTypeEnum = "REFRESH" )
func GetDiscoveryJobDiscoveryTypeEnumValues() []DiscoveryJobDiscoveryTypeEnum
GetDiscoveryJobDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobDiscoveryTypeEnum
func GetMappingDiscoveryJobDiscoveryTypeEnum(val string) (DiscoveryJobDiscoveryTypeEnum, bool)
GetMappingDiscoveryJobDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJobLogCollection List of logs of a job
type DiscoveryJobLogCollection struct { // List of logs Items []DiscoveryJobLogSummary `mandatory:"true" json:"items"` }
func (m DiscoveryJobLogCollection) String() string
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
DiscoveryJobLogSummary Log of a specific job
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"` // 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"` }
func (m DiscoveryJobLogSummary) String() string
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
DiscoveryJobLogSummaryLogTypeEnum Enum with underlying type: string
type DiscoveryJobLogSummaryLogTypeEnum string
Set of constants representing the allowable values for DiscoveryJobLogSummaryLogTypeEnum
const ( DiscoveryJobLogSummaryLogTypeInfo DiscoveryJobLogSummaryLogTypeEnum = "INFO" DiscoveryJobLogSummaryLogTypeWarning DiscoveryJobLogSummaryLogTypeEnum = "WARNING" DiscoveryJobLogSummaryLogTypeError DiscoveryJobLogSummaryLogTypeEnum = "ERROR" DiscoveryJobLogSummaryLogTypeSuccess DiscoveryJobLogSummaryLogTypeEnum = "SUCCESS" )
func GetDiscoveryJobLogSummaryLogTypeEnumValues() []DiscoveryJobLogSummaryLogTypeEnum
GetDiscoveryJobLogSummaryLogTypeEnumValues Enumerates the set of values for DiscoveryJobLogSummaryLogTypeEnum
func GetMappingDiscoveryJobLogSummaryLogTypeEnum(val string) (DiscoveryJobLogSummaryLogTypeEnum, bool)
GetMappingDiscoveryJobLogSummaryLogTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJobStatusEnum Enum with underlying type: string
type DiscoveryJobStatusEnum string
Set of constants representing the allowable values for DiscoveryJobStatusEnum
const ( DiscoveryJobStatusSuccess DiscoveryJobStatusEnum = "SUCCESS" DiscoveryJobStatusFailure DiscoveryJobStatusEnum = "FAILURE" DiscoveryJobStatusInprogress DiscoveryJobStatusEnum = "INPROGRESS" DiscoveryJobStatusInactive DiscoveryJobStatusEnum = "INACTIVE" DiscoveryJobStatusCreated DiscoveryJobStatusEnum = "CREATED" DiscoveryJobStatusDeleted DiscoveryJobStatusEnum = "DELETED" )
func GetDiscoveryJobStatusEnumValues() []DiscoveryJobStatusEnum
GetDiscoveryJobStatusEnumValues Enumerates the set of values for DiscoveryJobStatusEnum
func GetMappingDiscoveryJobStatusEnum(val string) (DiscoveryJobStatusEnum, bool)
GetMappingDiscoveryJobStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJobSummary The Summary of DiscoveryJob details.
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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // 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"` }
func (m DiscoveryJobSummary) String() string
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
DiscoveryJobSummaryDiscoveryTypeEnum Enum with underlying type: string
type DiscoveryJobSummaryDiscoveryTypeEnum string
Set of constants representing the allowable values for DiscoveryJobSummaryDiscoveryTypeEnum
const ( DiscoveryJobSummaryDiscoveryTypeAdd DiscoveryJobSummaryDiscoveryTypeEnum = "ADD" DiscoveryJobSummaryDiscoveryTypeAddWithRetry DiscoveryJobSummaryDiscoveryTypeEnum = "ADD_WITH_RETRY" DiscoveryJobSummaryDiscoveryTypeRefresh DiscoveryJobSummaryDiscoveryTypeEnum = "REFRESH" )
func GetDiscoveryJobSummaryDiscoveryTypeEnumValues() []DiscoveryJobSummaryDiscoveryTypeEnum
GetDiscoveryJobSummaryDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobSummaryDiscoveryTypeEnum
func GetMappingDiscoveryJobSummaryDiscoveryTypeEnum(val string) (DiscoveryJobSummaryDiscoveryTypeEnum, bool)
GetMappingDiscoveryJobSummaryDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJobSummaryResourceTypeEnum Enum with underlying type: string
type DiscoveryJobSummaryResourceTypeEnum string
Set of constants representing the allowable values for DiscoveryJobSummaryResourceTypeEnum
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" DiscoveryJobSummaryResourceTypeOracleMft DiscoveryJobSummaryResourceTypeEnum = "ORACLE_MFT" DiscoveryJobSummaryResourceTypeApacheHttpServer DiscoveryJobSummaryResourceTypeEnum = "APACHE_HTTP_SERVER" DiscoveryJobSummaryResourceTypeOracleGoldengate DiscoveryJobSummaryResourceTypeEnum = "ORACLE_GOLDENGATE" DiscoveryJobSummaryResourceTypeCustomResource DiscoveryJobSummaryResourceTypeEnum = "CUSTOM_RESOURCE" DiscoveryJobSummaryResourceTypeOracleHttpServer DiscoveryJobSummaryResourceTypeEnum = "ORACLE_HTTP_SERVER" DiscoveryJobSummaryResourceTypeMicrosoftIis DiscoveryJobSummaryResourceTypeEnum = "MICROSOFT_IIS" )
func GetDiscoveryJobSummaryResourceTypeEnumValues() []DiscoveryJobSummaryResourceTypeEnum
GetDiscoveryJobSummaryResourceTypeEnumValues Enumerates the set of values for DiscoveryJobSummaryResourceTypeEnum
func GetMappingDiscoveryJobSummaryResourceTypeEnum(val string) (DiscoveryJobSummaryResourceTypeEnum, bool)
GetMappingDiscoveryJobSummaryResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DiscoveryJobSummaryStatusEnum Enum with underlying type: string
type DiscoveryJobSummaryStatusEnum string
Set of constants representing the allowable values for DiscoveryJobSummaryStatusEnum
const ( DiscoveryJobSummaryStatusSuccess DiscoveryJobSummaryStatusEnum = "SUCCESS" DiscoveryJobSummaryStatusFailure DiscoveryJobSummaryStatusEnum = "FAILURE" DiscoveryJobSummaryStatusInprogress DiscoveryJobSummaryStatusEnum = "INPROGRESS" DiscoveryJobSummaryStatusInactive DiscoveryJobSummaryStatusEnum = "INACTIVE" DiscoveryJobSummaryStatusCreated DiscoveryJobSummaryStatusEnum = "CREATED" DiscoveryJobSummaryStatusDeleted DiscoveryJobSummaryStatusEnum = "DELETED" )
func GetDiscoveryJobSummaryStatusEnumValues() []DiscoveryJobSummaryStatusEnum
GetDiscoveryJobSummaryStatusEnumValues Enumerates the set of values for DiscoveryJobSummaryStatusEnum
func GetMappingDiscoveryJobSummaryStatusEnum(val string) (DiscoveryJobSummaryStatusEnum, bool)
GetMappingDiscoveryJobSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
EnableMetricExtensionDetails The Resource IDs for which metric extension will be enabled
type EnableMetricExtensionDetails struct { // List of Resource IDs [OCIDs]. Currently supports upto 20 resources per request ResourceIds []string `mandatory:"true" json:"resourceIds"` }
func (m EnableMetricExtensionDetails) String() string
func (m EnableMetricExtensionDetails) 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
EnableMetricExtensionRequest wrapper for the EnableMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/EnableMetricExtension.go.html to see an example of how to use EnableMetricExtensionRequest.
type EnableMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // The list of Resource IDs for which given metric extension needs to be enabled EnableMetricExtensionDetails `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 }
func (request EnableMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableMetricExtensionRequest) String() string
func (request EnableMetricExtensionRequest) 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
EnableMetricExtensionResponse wrapper for the EnableMetricExtension operation
type EnableMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response EnableMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableMetricExtensionResponse) String() string
EnabledResourceDetails Details of a resource on which Metric Extension is enabled
type EnabledResourceDetails struct { // The OCID of the resource on which Metric Extension is enabled ResourceId *string `mandatory:"true" json:"resourceId"` }
func (m EnabledResourceDetails) String() string
func (m EnabledResourceDetails) 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
EncryptedCredentials Encrypted credentials [indicated by the type property in CredentialStore].
type EncryptedCredentials struct { // The master key should be created in OCI Vault owned by the client of this API. // The user should have permission to access the vault key. 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"` }
func (m EncryptedCredentials) GetDescription() *string
GetDescription returns Description
func (m EncryptedCredentials) GetName() *string
GetName returns Name
func (m EncryptedCredentials) GetSource() *string
GetSource returns Source
func (m EncryptedCredentials) GetType() *string
GetType returns Type
func (m EncryptedCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EncryptedCredentials) String() string
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
EvaluateBaselineableMetricDetails Details for Baseline Metric Data to evaluate
type EvaluateBaselineableMetricDetails struct { // OCID of the resource ResourceId *string `mandatory:"true" json:"resourceId"` // List of Metric data Items []MetricData `mandatory:"true" json:"items"` }
func (m EvaluateBaselineableMetricDetails) String() string
func (m EvaluateBaselineableMetricDetails) 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
EvaluateBaselineableMetricRequest wrapper for the EvaluateBaselineableMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/EvaluateBaselineableMetric.go.html to see an example of how to use EvaluateBaselineableMetricRequest.
type EvaluateBaselineableMetricRequest struct { // Metric details EvaluateBaselineableMetricDetails `contributesTo:"body"` // Identifier for the metric BaselineableMetricId *string `mandatory:"true" contributesTo:"path" name:"baselineableMetricId"` // 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"` // 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 }
func (request EvaluateBaselineableMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EvaluateBaselineableMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EvaluateBaselineableMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EvaluateBaselineableMetricRequest) String() string
func (request EvaluateBaselineableMetricRequest) 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
EvaluateBaselineableMetricResponse wrapper for the EvaluateBaselineableMetric operation
type EvaluateBaselineableMetricResponse struct { // The underlying http response RawResponse *http.Response // The EvaluateBaselineableMetricResult instance EvaluateBaselineableMetricResult `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response EvaluateBaselineableMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EvaluateBaselineableMetricResponse) String() string
EvaluateBaselineableMetricResult Result for Baseline Metric Data evaluation
type EvaluateBaselineableMetricResult struct { // OCID of the resource ResourceId *string `mandatory:"true" json:"resourceId"` // List of Metric data Items []AnomalyMetricData `mandatory:"true" json:"items"` }
func (m EvaluateBaselineableMetricResult) String() string
func (m EvaluateBaselineableMetricResult) 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
ExportMetricExtensionRequest wrapper for the ExportMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ExportMetricExtension.go.html to see an example of how to use ExportMetricExtensionRequest.
type ExportMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // 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 }
func (request ExportMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExportMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExportMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExportMetricExtensionRequest) String() string
func (request ExportMetricExtensionRequest) 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
ExportMetricExtensionResponse wrapper for the ExportMetricExtension operation
type ExportMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ExportMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExportMetricExtensionResponse) String() string
GetBaselineableMetricRequest wrapper for the GetBaselineableMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetBaselineableMetric.go.html to see an example of how to use GetBaselineableMetricRequest.
type GetBaselineableMetricRequest struct { // Identifier for the metric BaselineableMetricId *string `mandatory:"true" contributesTo:"path" name:"baselineableMetricId"` // 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 }
func (request GetBaselineableMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetBaselineableMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBaselineableMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBaselineableMetricRequest) String() string
func (request GetBaselineableMetricRequest) 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
GetBaselineableMetricResponse wrapper for the GetBaselineableMetric operation
type GetBaselineableMetricResponse struct { // The underlying http response RawResponse *http.Response // The BaselineableMetric instance BaselineableMetric `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetBaselineableMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBaselineableMetricResponse) String() string
GetConfigRequest wrapper for the GetConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetConfig.go.html to see an example of how to use GetConfigRequest.
type GetConfigRequest struct { // Unique Config identifier. ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"` // 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 }
func (request GetConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConfigRequest) String() string
func (request GetConfigRequest) 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
GetConfigResponse wrapper for the GetConfig operation
type GetConfigResponse struct { // The underlying http response RawResponse *http.Response // The Config instance Config `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConfigResponse) String() string
GetDiscoveryJobRequest wrapper for the GetDiscoveryJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetDiscoveryJob.go.html to see an example of how to use 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 }
func (request GetDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDiscoveryJobRequest) String() string
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
GetDiscoveryJobResponse wrapper for the GetDiscoveryJob operation
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"` }
func (response GetDiscoveryJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDiscoveryJobResponse) String() string
GetMetricExtensionRequest wrapper for the GetMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMetricExtension.go.html to see an example of how to use GetMetricExtensionRequest.
type GetMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // 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 }
func (request GetMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMetricExtensionRequest) String() string
func (request GetMetricExtensionRequest) 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
GetMetricExtensionResponse wrapper for the GetMetricExtension operation
type GetMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The MetricExtension instance MetricExtension `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMetricExtensionResponse) String() string
GetMonitoredResourceRequest wrapper for the GetMonitoredResource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResource.go.html to see an example of how to use 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 }
func (request GetMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitoredResourceRequest) String() string
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
GetMonitoredResourceResponse wrapper for the GetMonitoredResource operation
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"` }
func (response GetMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitoredResourceResponse) String() string
GetMonitoredResourceTaskRequest wrapper for the GetMonitoredResourceTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResourceTask.go.html to see an example of how to use GetMonitoredResourceTaskRequest.
type GetMonitoredResourceTaskRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of stack monitoring resource task. MonitoredResourceTaskId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTaskId"` // 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 }
func (request GetMonitoredResourceTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitoredResourceTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitoredResourceTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitoredResourceTaskRequest) String() string
func (request GetMonitoredResourceTaskRequest) 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
GetMonitoredResourceTaskResponse wrapper for the GetMonitoredResourceTask operation
type GetMonitoredResourceTaskResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceTask instance MonitoredResourceTask `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetMonitoredResourceTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitoredResourceTaskResponse) String() string
GetMonitoredResourceTypeRequest wrapper for the GetMonitoredResourceType operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResourceType.go.html to see an example of how to use GetMonitoredResourceTypeRequest.
type GetMonitoredResourceTypeRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource type. MonitoredResourceTypeId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTypeId"` // 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 }
func (request GetMonitoredResourceTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitoredResourceTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitoredResourceTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitoredResourceTypeRequest) String() string
func (request GetMonitoredResourceTypeRequest) 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
GetMonitoredResourceTypeResponse wrapper for the GetMonitoredResourceType operation
type GetMonitoredResourceTypeResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceType instance MonitoredResourceType `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetMonitoredResourceTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitoredResourceTypeResponse) String() string
GetProcessSetRequest wrapper for the GetProcessSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetProcessSet.go.html to see an example of how to use GetProcessSetRequest.
type GetProcessSetRequest struct { // The Process Set ID ProcessSetId *string `mandatory:"true" contributesTo:"path" name:"processSetId"` // 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 }
func (request GetProcessSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProcessSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProcessSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProcessSetRequest) String() string
func (request GetProcessSetRequest) 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
GetProcessSetResponse wrapper for the GetProcessSet operation
type GetProcessSetResponse struct { // The underlying http response RawResponse *http.Response // The ProcessSet instance ProcessSet `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProcessSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProcessSetResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ImportOciTelemetryResourcesTaskDetails Request details for importing resources from Telemetry like resources from OCI Native Services and prometheus.
type ImportOciTelemetryResourcesTaskDetails struct { // Name space to be used for OCI Native service resources discovery. Namespace *string `mandatory:"true" json:"namespace"` // The resource group to use while fetching metrics from telemetry. // If not specified, resource group will be skipped in the list metrics request. ResourceGroup *string `mandatory:"false" json:"resourceGroup"` // Flag to indicate whether status is calculated using metrics or // LifeCycleState attribute of the resource in OCI service. ShouldUseMetricsFlowForStatus *bool `mandatory:"false" json:"shouldUseMetricsFlowForStatus"` // The base URL of the OCI service to which the resource belongs to. // Also this property is applicable only when source is OCI_TELEMETRY_NATIVE. ServiceBaseUrl *string `mandatory:"false" json:"serviceBaseUrl"` // The console path prefix to use for providing service home url page navigation. // For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be // https://<cloudhostname>/security/bastion/bastions/<resourceOcid>. If not provided, service home page link // will not be shown in the stack monitoring home page. ConsolePathPrefix *string `mandatory:"false" json:"consolePathPrefix"` // Lifecycle states of the external resource which reflects the status of the resource being up. LifecycleStatusMappingsForUpStatus []string `mandatory:"false" json:"lifecycleStatusMappingsForUpStatus"` // The resource name property in the metric dimensions. // Resources imported will be using this property value for resource name. ResourceNameMapping *string `mandatory:"false" json:"resourceNameMapping"` // The external resource identifier property in the metric dimensions. // Resources imported will be using this property value for external id. ExternalIdMapping *string `mandatory:"false" json:"externalIdMapping"` // The resource type property in the metric dimensions. // Resources imported will be using this property value for resource type. // If not specified, namespace will be used for resource type. ResourceTypeMapping *string `mandatory:"false" json:"resourceTypeMapping"` // The resource name filter. Resources matching with the resource name filter will be imported. // Regular expressions will be accepted. ResourceNameFilter *string `mandatory:"false" json:"resourceNameFilter"` // The resource type filter. Resources matching with the resource type filter will be imported. // Regular expressions will be accepted. ResourceTypeFilter *string `mandatory:"false" json:"resourceTypeFilter"` // List of metrics to be used to calculate the availability of the resource. // Resource is considered to be up if at least one of the specified metrics is available for // the resource during the specified interval using the property // 'availabilityProxyMetricCollectionIntervalInSeconds'. // If no metrics are specified, availability will not be calculated for the resource. AvailabilityProxyMetrics []string `mandatory:"false" json:"availabilityProxyMetrics"` // Metrics collection interval in seconds used when calculating the availability of the // resource based on metrics specified using the property 'availabilityProxyMetrics'. AvailabilityProxyMetricCollectionInterval *int `mandatory:"false" json:"availabilityProxyMetricCollectionInterval"` // Source from where the metrics pushed to telemetry. // Possible values: // * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from OCI Native Services. // * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. Source ImportOciTelemetryResourcesTaskDetailsSourceEnum `mandatory:"true" json:"source"` }
func (m ImportOciTelemetryResourcesTaskDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImportOciTelemetryResourcesTaskDetails) String() string
func (m ImportOciTelemetryResourcesTaskDetails) 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
ImportOciTelemetryResourcesTaskDetailsSourceEnum Enum with underlying type: string
type ImportOciTelemetryResourcesTaskDetailsSourceEnum string
Set of constants representing the allowable values for ImportOciTelemetryResourcesTaskDetailsSourceEnum
const ( ImportOciTelemetryResourcesTaskDetailsSourceNative ImportOciTelemetryResourcesTaskDetailsSourceEnum = "OCI_TELEMETRY_NATIVE" ImportOciTelemetryResourcesTaskDetailsSourcePrometheus ImportOciTelemetryResourcesTaskDetailsSourceEnum = "OCI_TELEMETRY_PROMETHEUS" )
func GetImportOciTelemetryResourcesTaskDetailsSourceEnumValues() []ImportOciTelemetryResourcesTaskDetailsSourceEnum
GetImportOciTelemetryResourcesTaskDetailsSourceEnumValues Enumerates the set of values for ImportOciTelemetryResourcesTaskDetailsSourceEnum
func GetMappingImportOciTelemetryResourcesTaskDetailsSourceEnum(val string) (ImportOciTelemetryResourcesTaskDetailsSourceEnum, bool)
GetMappingImportOciTelemetryResourcesTaskDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
JmxQueryProperties Query Properties applicable to JMX type of collection method
type JmxQueryProperties struct { // JMX Managed Bean Query or Metric Service Table name ManagedBeanQuery *string `mandatory:"true" json:"managedBeanQuery"` // List of JMX attributes or Metric Service Table columns separated by semi-colon JmxAttributes *string `mandatory:"true" json:"jmxAttributes"` // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics IdentityMetric *string `mandatory:"false" json:"identityMetric"` // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned AutoRowPrefix *string `mandatory:"false" json:"autoRowPrefix"` // Indicates if Metric Service is enabled on server domain IsMetricServiceEnabled *bool `mandatory:"false" json:"isMetricServiceEnabled"` }
func (m JmxQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m JmxQueryProperties) String() string
func (m JmxQueryProperties) 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
JmxUpdateQueryProperties Query Properties applicable to JMX type of collection method
type JmxUpdateQueryProperties struct { // JMX Managed Bean Query or Metric Service Table name ManagedBeanQuery *string `mandatory:"false" json:"managedBeanQuery"` // List of JMX attributes or Metric Service Table columns separated by semi-colon JmxAttributes *string `mandatory:"false" json:"jmxAttributes"` // Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics IdentityMetric *string `mandatory:"false" json:"identityMetric"` // Prefix for an auto generated metric, in case multiple rows with non unique key values are returned AutoRowPrefix *string `mandatory:"false" json:"autoRowPrefix"` // Indicates if Metric Service is enabled on server domain IsMetricServiceEnabled *bool `mandatory:"false" json:"isMetricServiceEnabled"` }
func (m JmxUpdateQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m JmxUpdateQueryProperties) String() string
func (m JmxUpdateQueryProperties) 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
LicenseAutoAssignConfigDetails A configuration of the LICENSE_AUTO_ASSIGN type, consists of an enumeration value which indicates which license should be assigned by default to new resources.
type LicenseAutoAssignConfigDetails struct { // The Unique Oracle ID (OCID) that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the Config was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // License edition. License LicenseTypeEnum `mandatory:"true" json:"license"` }
func (m LicenseAutoAssignConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LicenseAutoAssignConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LicenseAutoAssignConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LicenseAutoAssignConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LicenseAutoAssignConfigDetails) GetId() *string
GetId returns Id
func (m LicenseAutoAssignConfigDetails) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LicenseAutoAssignConfigDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LicenseAutoAssignConfigDetails) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LicenseAutoAssignConfigDetails) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LicenseAutoAssignConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LicenseAutoAssignConfigDetails) String() string
func (m LicenseAutoAssignConfigDetails) 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
LicenseAutoAssignConfigSummary Summary of a LICENSE_AUTO_ASSIGN configuration.
type LicenseAutoAssignConfigSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Config Identifier, can be renamed. DisplayName *string `mandatory:"false" json:"displayName"` // The time the the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the configuration was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // License edition. License LicenseTypeEnum `mandatory:"true" json:"license"` }
func (m LicenseAutoAssignConfigSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LicenseAutoAssignConfigSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LicenseAutoAssignConfigSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LicenseAutoAssignConfigSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LicenseAutoAssignConfigSummary) GetId() *string
GetId returns Id
func (m LicenseAutoAssignConfigSummary) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LicenseAutoAssignConfigSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LicenseAutoAssignConfigSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LicenseAutoAssignConfigSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LicenseAutoAssignConfigSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LicenseAutoAssignConfigSummary) String() string
func (m LicenseAutoAssignConfigSummary) 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
LicenseEnterpriseExtensibilityConfigDetails A configuration of the LICENSE_ENTERPRISE_EXTENSIBILITY type, consists of a boolean which determines whether enterprise extensibility is enabled.
type LicenseEnterpriseExtensibilityConfigDetails struct { // The Unique Oracle ID (OCID) that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if enterprise extensibility is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the Config was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m LicenseEnterpriseExtensibilityConfigDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LicenseEnterpriseExtensibilityConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LicenseEnterpriseExtensibilityConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LicenseEnterpriseExtensibilityConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LicenseEnterpriseExtensibilityConfigDetails) GetId() *string
GetId returns Id
func (m LicenseEnterpriseExtensibilityConfigDetails) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LicenseEnterpriseExtensibilityConfigDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LicenseEnterpriseExtensibilityConfigDetails) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LicenseEnterpriseExtensibilityConfigDetails) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LicenseEnterpriseExtensibilityConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LicenseEnterpriseExtensibilityConfigDetails) String() string
func (m LicenseEnterpriseExtensibilityConfigDetails) 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
LicenseEnterpriseExtensibilityConfigSummary Summary of a LICENSE_ENTERPRISE_EXTENSIBILITY configuration.
type LicenseEnterpriseExtensibilityConfigSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // True if enterprise extensibility is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"true" json:"isEnabled"` // Config Identifier, can be renamed. DisplayName *string `mandatory:"false" json:"displayName"` // The time the the configuration was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the configuration was updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // The current state of the configuration. LifecycleState ConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m LicenseEnterpriseExtensibilityConfigSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LicenseEnterpriseExtensibilityConfigSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LicenseEnterpriseExtensibilityConfigSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LicenseEnterpriseExtensibilityConfigSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LicenseEnterpriseExtensibilityConfigSummary) GetId() *string
GetId returns Id
func (m LicenseEnterpriseExtensibilityConfigSummary) GetLifecycleState() ConfigLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LicenseEnterpriseExtensibilityConfigSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LicenseEnterpriseExtensibilityConfigSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LicenseEnterpriseExtensibilityConfigSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LicenseEnterpriseExtensibilityConfigSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LicenseEnterpriseExtensibilityConfigSummary) String() string
func (m LicenseEnterpriseExtensibilityConfigSummary) 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
LicenseTypeEnum Enum with underlying type: string
type LicenseTypeEnum string
Set of constants representing the allowable values for LicenseTypeEnum
const ( LicenseTypeStandardEdition LicenseTypeEnum = "STANDARD_EDITION" LicenseTypeEnterpriseEdition LicenseTypeEnum = "ENTERPRISE_EDITION" )
func GetLicenseTypeEnumValues() []LicenseTypeEnum
GetLicenseTypeEnumValues Enumerates the set of values for LicenseTypeEnum
func GetMappingLicenseTypeEnum(val string) (LicenseTypeEnum, bool)
GetMappingLicenseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListBaselineableMetricsRequest wrapper for the ListBaselineableMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListBaselineableMetrics.go.html to see an example of how to use ListBaselineableMetricsRequest.
type ListBaselineableMetricsRequest struct { // 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"` // Resource Group ResourceGroup *string `mandatory:"false" contributesTo:"query" name:"resourceGroup"` // Resource Type ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // Is the baseline enabled metric defined out of box by Oracle or by end-user IsOutOfBox *bool `mandatory:"false" contributesTo:"query" name:"isOutOfBox"` // Metric Name Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return monitored resource types that has the matching namespace. MetricNamespace *string `mandatory:"false" contributesTo:"query" name:"metricNamespace"` // 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 ID of the compartment in which data is listed. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Identifier for the metric BaselineableMetricId *string `mandatory:"false" contributesTo:"query" name:"baselineableMetricId"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListBaselineableMetricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order is ascending. SortBy ListBaselineableMetricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListBaselineableMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListBaselineableMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBaselineableMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBaselineableMetricsRequest) String() string
func (request ListBaselineableMetricsRequest) 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
ListBaselineableMetricsResponse wrapper for the ListBaselineableMetrics operation
type ListBaselineableMetricsResponse struct { // The underlying http response RawResponse *http.Response // A list of BaselineableMetricSummaryCollection instances BaselineableMetricSummaryCollection `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"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response ListBaselineableMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBaselineableMetricsResponse) String() string
ListBaselineableMetricsSortByEnum Enum with underlying type: string
type ListBaselineableMetricsSortByEnum string
Set of constants representing the allowable values for ListBaselineableMetricsSortByEnum
const ( ListBaselineableMetricsSortByName ListBaselineableMetricsSortByEnum = "name" ListBaselineableMetricsSortByNamespace ListBaselineableMetricsSortByEnum = "namespace" ListBaselineableMetricsSortByResourcegroup ListBaselineableMetricsSortByEnum = "resourceGroup" )
func GetListBaselineableMetricsSortByEnumValues() []ListBaselineableMetricsSortByEnum
GetListBaselineableMetricsSortByEnumValues Enumerates the set of values for ListBaselineableMetricsSortByEnum
func GetMappingListBaselineableMetricsSortByEnum(val string) (ListBaselineableMetricsSortByEnum, bool)
GetMappingListBaselineableMetricsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListBaselineableMetricsSortOrderEnum Enum with underlying type: string
type ListBaselineableMetricsSortOrderEnum string
Set of constants representing the allowable values for ListBaselineableMetricsSortOrderEnum
const ( ListBaselineableMetricsSortOrderAsc ListBaselineableMetricsSortOrderEnum = "ASC" ListBaselineableMetricsSortOrderDesc ListBaselineableMetricsSortOrderEnum = "DESC" )
func GetListBaselineableMetricsSortOrderEnumValues() []ListBaselineableMetricsSortOrderEnum
GetListBaselineableMetricsSortOrderEnumValues Enumerates the set of values for ListBaselineableMetricsSortOrderEnum
func GetMappingListBaselineableMetricsSortOrderEnum(val string) (ListBaselineableMetricsSortOrderEnum, bool)
GetMappingListBaselineableMetricsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListConfigsRequest wrapper for the ListConfigs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListConfigs.go.html to see an example of how to use ListConfigsRequest.
type ListConfigsRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only configuration items for a given config type. Type ConfigConfigTypeEnum `mandatory:"false" contributesTo:"query" name:"type" 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 current state of the Config. LifecycleState ConfigLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListConfigsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. // Default order for 'timeCreated' is descending. // Default order for 'displayName' and 'configType' is ascending. SortBy ListConfigsSortByEnum `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 }
func (request ListConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConfigsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConfigsRequest) String() string
func (request ListConfigsRequest) 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
ListConfigsResponse wrapper for the ListConfigs operation
type ListConfigsResponse struct { // The underlying http response RawResponse *http.Response // A list of ConfigCollection instances ConfigCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListConfigsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConfigsResponse) String() string
ListConfigsSortByEnum Enum with underlying type: string
type ListConfigsSortByEnum string
Set of constants representing the allowable values for ListConfigsSortByEnum
const ( ListConfigsSortByTimecreated ListConfigsSortByEnum = "timeCreated" ListConfigsSortByConfigtype ListConfigsSortByEnum = "configType" ListConfigsSortByDisplayname ListConfigsSortByEnum = "displayName" )
func GetListConfigsSortByEnumValues() []ListConfigsSortByEnum
GetListConfigsSortByEnumValues Enumerates the set of values for ListConfigsSortByEnum
func GetMappingListConfigsSortByEnum(val string) (ListConfigsSortByEnum, bool)
GetMappingListConfigsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListConfigsSortOrderEnum Enum with underlying type: string
type ListConfigsSortOrderEnum string
Set of constants representing the allowable values for ListConfigsSortOrderEnum
const ( ListConfigsSortOrderAsc ListConfigsSortOrderEnum = "ASC" ListConfigsSortOrderDesc ListConfigsSortOrderEnum = "DESC" )
func GetListConfigsSortOrderEnumValues() []ListConfigsSortOrderEnum
GetListConfigsSortOrderEnumValues Enumerates the set of values for ListConfigsSortOrderEnum
func GetMappingListConfigsSortOrderEnum(val string) (ListConfigsSortOrderEnum, bool)
GetMappingListConfigsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoveryJobLogsLogTypeEnum Enum with underlying type: string
type ListDiscoveryJobLogsLogTypeEnum string
Set of constants representing the allowable values for ListDiscoveryJobLogsLogTypeEnum
const ( ListDiscoveryJobLogsLogTypeInfo ListDiscoveryJobLogsLogTypeEnum = "INFO" ListDiscoveryJobLogsLogTypeWarning ListDiscoveryJobLogsLogTypeEnum = "WARNING" ListDiscoveryJobLogsLogTypeError ListDiscoveryJobLogsLogTypeEnum = "ERROR" ListDiscoveryJobLogsLogTypeSuccess ListDiscoveryJobLogsLogTypeEnum = "SUCCESS" )
func GetListDiscoveryJobLogsLogTypeEnumValues() []ListDiscoveryJobLogsLogTypeEnum
GetListDiscoveryJobLogsLogTypeEnumValues Enumerates the set of values for ListDiscoveryJobLogsLogTypeEnum
func GetMappingListDiscoveryJobLogsLogTypeEnum(val string) (ListDiscoveryJobLogsLogTypeEnum, bool)
GetMappingListDiscoveryJobLogsLogTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoveryJobLogsRequest wrapper for the ListDiscoveryJobLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListDiscoveryJobLogs.go.html to see an example of how to use 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 }
func (request ListDiscoveryJobLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDiscoveryJobLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDiscoveryJobLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDiscoveryJobLogsRequest) String() string
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
ListDiscoveryJobLogsResponse wrapper for the ListDiscoveryJobLogs operation
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"` }
func (response ListDiscoveryJobLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDiscoveryJobLogsResponse) String() string
ListDiscoveryJobLogsSortByEnum Enum with underlying type: string
type ListDiscoveryJobLogsSortByEnum string
Set of constants representing the allowable values for ListDiscoveryJobLogsSortByEnum
const ( ListDiscoveryJobLogsSortByTimecreated ListDiscoveryJobLogsSortByEnum = "timeCreated" ListDiscoveryJobLogsSortByLogtype ListDiscoveryJobLogsSortByEnum = "logType" )
func GetListDiscoveryJobLogsSortByEnumValues() []ListDiscoveryJobLogsSortByEnum
GetListDiscoveryJobLogsSortByEnumValues Enumerates the set of values for ListDiscoveryJobLogsSortByEnum
func GetMappingListDiscoveryJobLogsSortByEnum(val string) (ListDiscoveryJobLogsSortByEnum, bool)
GetMappingListDiscoveryJobLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoveryJobLogsSortOrderEnum Enum with underlying type: string
type ListDiscoveryJobLogsSortOrderEnum string
Set of constants representing the allowable values for ListDiscoveryJobLogsSortOrderEnum
const ( ListDiscoveryJobLogsSortOrderAsc ListDiscoveryJobLogsSortOrderEnum = "ASC" ListDiscoveryJobLogsSortOrderDesc ListDiscoveryJobLogsSortOrderEnum = "DESC" )
func GetListDiscoveryJobLogsSortOrderEnumValues() []ListDiscoveryJobLogsSortOrderEnum
GetListDiscoveryJobLogsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobLogsSortOrderEnum
func GetMappingListDiscoveryJobLogsSortOrderEnum(val string) (ListDiscoveryJobLogsSortOrderEnum, bool)
GetMappingListDiscoveryJobLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoveryJobsRequest wrapper for the ListDiscoveryJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListDiscoveryJobs.go.html to see an example of how to use 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 }
func (request ListDiscoveryJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDiscoveryJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDiscoveryJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDiscoveryJobsRequest) String() string
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
ListDiscoveryJobsResponse wrapper for the ListDiscoveryJobs operation
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"` }
func (response ListDiscoveryJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDiscoveryJobsResponse) String() string
ListDiscoveryJobsSortByEnum Enum with underlying type: string
type ListDiscoveryJobsSortByEnum string
Set of constants representing the allowable values for ListDiscoveryJobsSortByEnum
const ( ListDiscoveryJobsSortByTimeupdated ListDiscoveryJobsSortByEnum = "timeUpdated" ListDiscoveryJobsSortByResourcename ListDiscoveryJobsSortByEnum = "resourceName" )
func GetListDiscoveryJobsSortByEnumValues() []ListDiscoveryJobsSortByEnum
GetListDiscoveryJobsSortByEnumValues Enumerates the set of values for ListDiscoveryJobsSortByEnum
func GetMappingListDiscoveryJobsSortByEnum(val string) (ListDiscoveryJobsSortByEnum, bool)
GetMappingListDiscoveryJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDiscoveryJobsSortOrderEnum Enum with underlying type: string
type ListDiscoveryJobsSortOrderEnum string
Set of constants representing the allowable values for ListDiscoveryJobsSortOrderEnum
const ( ListDiscoveryJobsSortOrderAsc ListDiscoveryJobsSortOrderEnum = "ASC" ListDiscoveryJobsSortOrderDesc ListDiscoveryJobsSortOrderEnum = "DESC" )
func GetListDiscoveryJobsSortOrderEnumValues() []ListDiscoveryJobsSortOrderEnum
GetListDiscoveryJobsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobsSortOrderEnum
func GetMappingListDiscoveryJobsSortOrderEnum(val string) (ListDiscoveryJobsSortOrderEnum, bool)
GetMappingListDiscoveryJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMetricExtensionsLifecycleStateEnum Enum with underlying type: string
type ListMetricExtensionsLifecycleStateEnum string
Set of constants representing the allowable values for ListMetricExtensionsLifecycleStateEnum
const ( ListMetricExtensionsLifecycleStateActive ListMetricExtensionsLifecycleStateEnum = "ACTIVE" ListMetricExtensionsLifecycleStateDeleted ListMetricExtensionsLifecycleStateEnum = "DELETED" )
func GetListMetricExtensionsLifecycleStateEnumValues() []ListMetricExtensionsLifecycleStateEnum
GetListMetricExtensionsLifecycleStateEnumValues Enumerates the set of values for ListMetricExtensionsLifecycleStateEnum
func GetMappingListMetricExtensionsLifecycleStateEnum(val string) (ListMetricExtensionsLifecycleStateEnum, bool)
GetMappingListMetricExtensionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListMetricExtensionsRequest wrapper for the ListMetricExtensions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMetricExtensions.go.html to see an example of how to use ListMetricExtensionsRequest.
type ListMetricExtensionsRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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 field to sort by. Only one sort order may be provided. // Default order for timeCreated is descending. Default order for resources is ascending. SortBy ListMetricExtensionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListMetricExtensionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return resources based on resource type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // A filter to return resources based on name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources based on status e.g. Draft or Published Status ListMetricExtensionsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // A filter to return metric extensions based on Lifecycle State LifecycleState ListMetricExtensionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return metric extensions based on input resource Id on which metric extension is enabled EnabledOnResourceId *string `mandatory:"false" contributesTo:"query" name:"enabledOnResourceId"` // 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 }
func (request ListMetricExtensionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMetricExtensionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMetricExtensionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMetricExtensionsRequest) String() string
func (request ListMetricExtensionsRequest) 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
ListMetricExtensionsResponse wrapper for the ListMetricExtensions operation
type ListMetricExtensionsResponse struct { // The underlying http response RawResponse *http.Response // A list of MetricExtensionCollection instances MetricExtensionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListMetricExtensionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMetricExtensionsResponse) String() string
ListMetricExtensionsSortByEnum Enum with underlying type: string
type ListMetricExtensionsSortByEnum string
Set of constants representing the allowable values for ListMetricExtensionsSortByEnum
const ( ListMetricExtensionsSortByName ListMetricExtensionsSortByEnum = "NAME" ListMetricExtensionsSortByTimeCreated ListMetricExtensionsSortByEnum = "TIME_CREATED" )
func GetListMetricExtensionsSortByEnumValues() []ListMetricExtensionsSortByEnum
GetListMetricExtensionsSortByEnumValues Enumerates the set of values for ListMetricExtensionsSortByEnum
func GetMappingListMetricExtensionsSortByEnum(val string) (ListMetricExtensionsSortByEnum, bool)
GetMappingListMetricExtensionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMetricExtensionsSortOrderEnum Enum with underlying type: string
type ListMetricExtensionsSortOrderEnum string
Set of constants representing the allowable values for ListMetricExtensionsSortOrderEnum
const ( ListMetricExtensionsSortOrderAsc ListMetricExtensionsSortOrderEnum = "ASC" ListMetricExtensionsSortOrderDesc ListMetricExtensionsSortOrderEnum = "DESC" )
func GetListMetricExtensionsSortOrderEnumValues() []ListMetricExtensionsSortOrderEnum
GetListMetricExtensionsSortOrderEnumValues Enumerates the set of values for ListMetricExtensionsSortOrderEnum
func GetMappingListMetricExtensionsSortOrderEnum(val string) (ListMetricExtensionsSortOrderEnum, bool)
GetMappingListMetricExtensionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMetricExtensionsStatusEnum Enum with underlying type: string
type ListMetricExtensionsStatusEnum string
Set of constants representing the allowable values for ListMetricExtensionsStatusEnum
const ( ListMetricExtensionsStatusDraft ListMetricExtensionsStatusEnum = "DRAFT" ListMetricExtensionsStatusPublished ListMetricExtensionsStatusEnum = "PUBLISHED" )
func GetListMetricExtensionsStatusEnumValues() []ListMetricExtensionsStatusEnum
GetListMetricExtensionsStatusEnumValues Enumerates the set of values for ListMetricExtensionsStatusEnum
func GetMappingListMetricExtensionsStatusEnum(val string) (ListMetricExtensionsStatusEnum, bool)
GetMappingListMetricExtensionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTasksRequest wrapper for the ListMonitoredResourceTasks operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResourceTasks.go.html to see an example of how to use ListMonitoredResourceTasksRequest.
type ListMonitoredResourceTasksRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for which // stack monitoring resource tasks should be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that matches with lifecycleState given. Status ListMonitoredResourceTasksStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. // Default order for 'timeUpdated' is descending. SortBy ListMonitoredResourceTasksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListMonitoredResourceTasksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"` // 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 }
func (request ListMonitoredResourceTasksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMonitoredResourceTasksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMonitoredResourceTasksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMonitoredResourceTasksRequest) String() string
func (request ListMonitoredResourceTasksRequest) 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
ListMonitoredResourceTasksResponse wrapper for the ListMonitoredResourceTasks operation
type ListMonitoredResourceTasksResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourceTasksCollection instances MonitoredResourceTasksCollection `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"` }
func (response ListMonitoredResourceTasksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMonitoredResourceTasksResponse) String() string
ListMonitoredResourceTasksSortByEnum Enum with underlying type: string
type ListMonitoredResourceTasksSortByEnum string
Set of constants representing the allowable values for ListMonitoredResourceTasksSortByEnum
const ( ListMonitoredResourceTasksSortByTimeupdated ListMonitoredResourceTasksSortByEnum = "timeUpdated" )
func GetListMonitoredResourceTasksSortByEnumValues() []ListMonitoredResourceTasksSortByEnum
GetListMonitoredResourceTasksSortByEnumValues Enumerates the set of values for ListMonitoredResourceTasksSortByEnum
func GetMappingListMonitoredResourceTasksSortByEnum(val string) (ListMonitoredResourceTasksSortByEnum, bool)
GetMappingListMonitoredResourceTasksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTasksSortOrderEnum Enum with underlying type: string
type ListMonitoredResourceTasksSortOrderEnum string
Set of constants representing the allowable values for ListMonitoredResourceTasksSortOrderEnum
const ( ListMonitoredResourceTasksSortOrderAsc ListMonitoredResourceTasksSortOrderEnum = "ASC" ListMonitoredResourceTasksSortOrderDesc ListMonitoredResourceTasksSortOrderEnum = "DESC" )
func GetListMonitoredResourceTasksSortOrderEnumValues() []ListMonitoredResourceTasksSortOrderEnum
GetListMonitoredResourceTasksSortOrderEnumValues Enumerates the set of values for ListMonitoredResourceTasksSortOrderEnum
func GetMappingListMonitoredResourceTasksSortOrderEnum(val string) (ListMonitoredResourceTasksSortOrderEnum, bool)
GetMappingListMonitoredResourceTasksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTasksStatusEnum Enum with underlying type: string
type ListMonitoredResourceTasksStatusEnum string
Set of constants representing the allowable values for ListMonitoredResourceTasksStatusEnum
const ( ListMonitoredResourceTasksStatusAccepted ListMonitoredResourceTasksStatusEnum = "ACCEPTED" ListMonitoredResourceTasksStatusInProgress ListMonitoredResourceTasksStatusEnum = "IN_PROGRESS" ListMonitoredResourceTasksStatusWaiting ListMonitoredResourceTasksStatusEnum = "WAITING" ListMonitoredResourceTasksStatusFailed ListMonitoredResourceTasksStatusEnum = "FAILED" ListMonitoredResourceTasksStatusSucceeded ListMonitoredResourceTasksStatusEnum = "SUCCEEDED" ListMonitoredResourceTasksStatusCanceling ListMonitoredResourceTasksStatusEnum = "CANCELING" ListMonitoredResourceTasksStatusCanceled ListMonitoredResourceTasksStatusEnum = "CANCELED" ListMonitoredResourceTasksStatusNeedsAttention ListMonitoredResourceTasksStatusEnum = "NEEDS_ATTENTION" )
func GetListMonitoredResourceTasksStatusEnumValues() []ListMonitoredResourceTasksStatusEnum
GetListMonitoredResourceTasksStatusEnumValues Enumerates the set of values for ListMonitoredResourceTasksStatusEnum
func GetMappingListMonitoredResourceTasksStatusEnum(val string) (ListMonitoredResourceTasksStatusEnum, bool)
GetMappingListMonitoredResourceTasksStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTypesRequest wrapper for the ListMonitoredResourceTypes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResourceTypes.go.html to see an example of how to use ListMonitoredResourceTypesRequest.
type ListMonitoredResourceTypesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy for which // monitored resource types should be listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return monitored resource types that match exactly with the resource type name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return only resources that matches with lifecycleState given. Status ListMonitoredResourceTypesStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // A filter to exclude system resource types. If set to true, system resource types will be excluded. IsExcludeSystemTypes *bool `mandatory:"false" contributesTo:"query" name:"isExcludeSystemTypes"` // A filter to return monitored resource types that has the matching namespace. MetricNamespace *string `mandatory:"false" contributesTo:"query" name:"metricNamespace"` // The field to sort by. Only one sort order may be provided. // Default order for 'timeUpdated' is descending. Default order for 'name' is ascending. SortBy ListMonitoredResourceTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListMonitoredResourceTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"` // 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"` // 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. // MonitoredResourceType Id, name and compartment will be added by default. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListMonitoredResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMonitoredResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMonitoredResourceTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMonitoredResourceTypesRequest) String() string
func (request ListMonitoredResourceTypesRequest) 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
ListMonitoredResourceTypesResponse wrapper for the ListMonitoredResourceTypes operation
type ListMonitoredResourceTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourceTypesCollection instances MonitoredResourceTypesCollection `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"` }
func (response ListMonitoredResourceTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMonitoredResourceTypesResponse) String() string
ListMonitoredResourceTypesSortByEnum Enum with underlying type: string
type ListMonitoredResourceTypesSortByEnum string
Set of constants representing the allowable values for ListMonitoredResourceTypesSortByEnum
const ( ListMonitoredResourceTypesSortByTimeupdated ListMonitoredResourceTypesSortByEnum = "timeUpdated" ListMonitoredResourceTypesSortByName ListMonitoredResourceTypesSortByEnum = "name" )
func GetListMonitoredResourceTypesSortByEnumValues() []ListMonitoredResourceTypesSortByEnum
GetListMonitoredResourceTypesSortByEnumValues Enumerates the set of values for ListMonitoredResourceTypesSortByEnum
func GetMappingListMonitoredResourceTypesSortByEnum(val string) (ListMonitoredResourceTypesSortByEnum, bool)
GetMappingListMonitoredResourceTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTypesSortOrderEnum Enum with underlying type: string
type ListMonitoredResourceTypesSortOrderEnum string
Set of constants representing the allowable values for ListMonitoredResourceTypesSortOrderEnum
const ( ListMonitoredResourceTypesSortOrderAsc ListMonitoredResourceTypesSortOrderEnum = "ASC" ListMonitoredResourceTypesSortOrderDesc ListMonitoredResourceTypesSortOrderEnum = "DESC" )
func GetListMonitoredResourceTypesSortOrderEnumValues() []ListMonitoredResourceTypesSortOrderEnum
GetListMonitoredResourceTypesSortOrderEnumValues Enumerates the set of values for ListMonitoredResourceTypesSortOrderEnum
func GetMappingListMonitoredResourceTypesSortOrderEnum(val string) (ListMonitoredResourceTypesSortOrderEnum, bool)
GetMappingListMonitoredResourceTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourceTypesStatusEnum Enum with underlying type: string
type ListMonitoredResourceTypesStatusEnum string
Set of constants representing the allowable values for ListMonitoredResourceTypesStatusEnum
const ( ListMonitoredResourceTypesStatusCreating ListMonitoredResourceTypesStatusEnum = "CREATING" ListMonitoredResourceTypesStatusUpdating ListMonitoredResourceTypesStatusEnum = "UPDATING" ListMonitoredResourceTypesStatusActive ListMonitoredResourceTypesStatusEnum = "ACTIVE" ListMonitoredResourceTypesStatusDeleting ListMonitoredResourceTypesStatusEnum = "DELETING" ListMonitoredResourceTypesStatusDeleted ListMonitoredResourceTypesStatusEnum = "DELETED" ListMonitoredResourceTypesStatusFailed ListMonitoredResourceTypesStatusEnum = "FAILED" )
func GetListMonitoredResourceTypesStatusEnumValues() []ListMonitoredResourceTypesStatusEnum
GetListMonitoredResourceTypesStatusEnumValues Enumerates the set of values for ListMonitoredResourceTypesStatusEnum
func GetMappingListMonitoredResourceTypesStatusEnum(val string) (ListMonitoredResourceTypesStatusEnum, bool)
GetMappingListMonitoredResourceTypesStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourcesRequest wrapper for the ListMonitoredResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResources.go.html to see an example of how to use ListMonitoredResourcesRequest.
type ListMonitoredResourcesRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return resources that match exact resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return resources which were impacted as part of this work request identifier. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources with matching lifecycleState. Status ListMonitoredResourcesStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // 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 ListMonitoredResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListMonitoredResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"` // 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 }
func (request ListMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMonitoredResourcesRequest) String() string
func (request ListMonitoredResourcesRequest) 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
ListMonitoredResourcesResponse wrapper for the ListMonitoredResources operation
type ListMonitoredResourcesResponse 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"` }
func (response ListMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMonitoredResourcesResponse) String() string
ListMonitoredResourcesSortByEnum Enum with underlying type: string
type ListMonitoredResourcesSortByEnum string
Set of constants representing the allowable values for ListMonitoredResourcesSortByEnum
const ( ListMonitoredResourcesSortByName ListMonitoredResourcesSortByEnum = "NAME" ListMonitoredResourcesSortByTimeCreated ListMonitoredResourcesSortByEnum = "TIME_CREATED" )
func GetListMonitoredResourcesSortByEnumValues() []ListMonitoredResourcesSortByEnum
GetListMonitoredResourcesSortByEnumValues Enumerates the set of values for ListMonitoredResourcesSortByEnum
func GetMappingListMonitoredResourcesSortByEnum(val string) (ListMonitoredResourcesSortByEnum, bool)
GetMappingListMonitoredResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourcesSortOrderEnum Enum with underlying type: string
type ListMonitoredResourcesSortOrderEnum string
Set of constants representing the allowable values for ListMonitoredResourcesSortOrderEnum
const ( ListMonitoredResourcesSortOrderAsc ListMonitoredResourcesSortOrderEnum = "ASC" ListMonitoredResourcesSortOrderDesc ListMonitoredResourcesSortOrderEnum = "DESC" )
func GetListMonitoredResourcesSortOrderEnumValues() []ListMonitoredResourcesSortOrderEnum
GetListMonitoredResourcesSortOrderEnumValues Enumerates the set of values for ListMonitoredResourcesSortOrderEnum
func GetMappingListMonitoredResourcesSortOrderEnum(val string) (ListMonitoredResourcesSortOrderEnum, bool)
GetMappingListMonitoredResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitoredResourcesStatusEnum Enum with underlying type: string
type ListMonitoredResourcesStatusEnum string
Set of constants representing the allowable values for ListMonitoredResourcesStatusEnum
const ( ListMonitoredResourcesStatusCreating ListMonitoredResourcesStatusEnum = "CREATING" ListMonitoredResourcesStatusUpdating ListMonitoredResourcesStatusEnum = "UPDATING" ListMonitoredResourcesStatusActive ListMonitoredResourcesStatusEnum = "ACTIVE" ListMonitoredResourcesStatusDeleting ListMonitoredResourcesStatusEnum = "DELETING" ListMonitoredResourcesStatusDeleted ListMonitoredResourcesStatusEnum = "DELETED" ListMonitoredResourcesStatusFailed ListMonitoredResourcesStatusEnum = "FAILED" )
func GetListMonitoredResourcesStatusEnumValues() []ListMonitoredResourcesStatusEnum
GetListMonitoredResourcesStatusEnumValues Enumerates the set of values for ListMonitoredResourcesStatusEnum
func GetMappingListMonitoredResourcesStatusEnum(val string) (ListMonitoredResourcesStatusEnum, bool)
GetMappingListMonitoredResourcesStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListProcessSetsRequest wrapper for the ListProcessSets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListProcessSets.go.html to see an example of how to use ListProcessSetsRequest.
type ListProcessSetsRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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 ListProcessSetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"` // The field to sort by. Only one sort order may be provided. Default order for timeUpdated is descending. Default order for name is ascending. SortBy ListProcessSetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProcessSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProcessSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProcessSetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProcessSetsRequest) String() string
func (request ListProcessSetsRequest) 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
ListProcessSetsResponse wrapper for the ListProcessSets operation
type ListProcessSetsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProcessSetCollection instances ProcessSetCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListProcessSetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProcessSetsResponse) String() string
ListProcessSetsSortByEnum Enum with underlying type: string
type ListProcessSetsSortByEnum string
Set of constants representing the allowable values for ListProcessSetsSortByEnum
const ( ListProcessSetsSortByTimeupdated ListProcessSetsSortByEnum = "timeUpdated" ListProcessSetsSortByName ListProcessSetsSortByEnum = "name" )
func GetListProcessSetsSortByEnumValues() []ListProcessSetsSortByEnum
GetListProcessSetsSortByEnumValues Enumerates the set of values for ListProcessSetsSortByEnum
func GetMappingListProcessSetsSortByEnum(val string) (ListProcessSetsSortByEnum, bool)
GetMappingListProcessSetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProcessSetsSortOrderEnum Enum with underlying type: string
type ListProcessSetsSortOrderEnum string
Set of constants representing the allowable values for ListProcessSetsSortOrderEnum
const ( ListProcessSetsSortOrderAsc ListProcessSetsSortOrderEnum = "ASC" ListProcessSetsSortOrderDesc ListProcessSetsSortOrderEnum = "DESC" )
func GetListProcessSetsSortOrderEnumValues() []ListProcessSetsSortOrderEnum
GetListProcessSetsSortOrderEnumValues Enumerates the set of values for ListProcessSetsSortOrderEnum
func GetMappingListProcessSetsSortOrderEnum(val string) (ListProcessSetsSortOrderEnum, bool)
GetMappingListProcessSetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ManageLicenseDetails License information for a given resource.
type ManageLicenseDetails struct { // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"true" json:"license"` }
func (m ManageLicenseDetails) String() string
func (m ManageLicenseDetails) 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
ManageLicenseRequest wrapper for the ManageLicense operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ManageLicense.go.html to see an example of how to use ManageLicenseRequest.
type ManageLicenseRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource. MonitoredResourceId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceId"` // New license information. ManageLicenseDetails `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"` // 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 }
func (request ManageLicenseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ManageLicenseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ManageLicenseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ManageLicenseRequest) String() string
func (request ManageLicenseRequest) 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
ManageLicenseResponse wrapper for the ManageLicense operation
type ManageLicenseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ManageLicenseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ManageLicenseResponse) String() string
Metric Details of a metric which is part of this metric extension
type Metric struct { // Name of the metric. Name *string `mandatory:"true" json:"name"` // Data type of value of this metric DataType MetricDataTypeEnum `mandatory:"true" json:"dataType"` // Display name of the metric. DisplayName *string `mandatory:"false" json:"displayName"` // Current metric need to be included as dimension or not IsDimension *bool `mandatory:"false" json:"isDimension"` // Compute Expression to calculate the value of this metric ComputeExpression *string `mandatory:"false" json:"computeExpression"` // Flag to marks whether a metric has to be uploaded or not. When isHidden = false -> Metric is uploaded, isHidden = true -> Metric is NOT uploaded IsHidden *bool `mandatory:"false" json:"isHidden"` // Metric category MetricCategory MetricMetricCategoryEnum `mandatory:"false" json:"metricCategory,omitempty"` // Unit of metric value Unit *string `mandatory:"false" json:"unit"` }
func (m Metric) String() string
func (m Metric) 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
MetricData Metric Details
type MetricData struct { // list of data points for the metric for training of baseline TrainingDataPoints []DataPoint `mandatory:"true" json:"trainingDataPoints"` // list of data points for the metric for evaluation of anomalies EvaluationDataPoints []DataPoint `mandatory:"true" json:"evaluationDataPoints"` // list of dimensions for the metric Dimensions map[string]string `mandatory:"false" json:"dimensions"` }
func (m MetricData) String() string
func (m MetricData) 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
MetricDataTypeEnum Enum with underlying type: string
type MetricDataTypeEnum string
Set of constants representing the allowable values for MetricDataTypeEnum
const ( MetricDataTypeString MetricDataTypeEnum = "STRING" MetricDataTypeNumber MetricDataTypeEnum = "NUMBER" )
func GetMappingMetricDataTypeEnum(val string) (MetricDataTypeEnum, bool)
GetMappingMetricDataTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricDataTypeEnumValues() []MetricDataTypeEnum
GetMetricDataTypeEnumValues Enumerates the set of values for MetricDataTypeEnum
MetricExtension Detailed information of the Metric Extension resource
type MetricExtension struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Metric Extension resource Id *string `mandatory:"true" json:"id"` // Metric Extension resource name Name *string `mandatory:"true" json:"name"` // Metric Extension resource display name DisplayName *string `mandatory:"true" json:"displayName"` // Resource type to which Metric Extension applies ResourceType *string `mandatory:"true" json:"resourceType"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // Tenant Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) TenantId *string `mandatory:"true" json:"tenantId"` // Collection Method Metric Extension applies CollectionMethod *string `mandatory:"true" json:"collectionMethod"` // The current status of the metric extension i.e. whether it is Draft or Published Status MetricExtensionLifeCycleDetailsEnum `mandatory:"true" json:"status"` // Schedule of metric extension should use RFC 5545 format -> recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 CollectionRecurrences *string `mandatory:"true" json:"collectionRecurrences"` // List of metrics which are part of this metric extension MetricList []Metric `mandatory:"true" json:"metricList"` QueryProperties MetricExtensionQueryProperties `mandatory:"true" json:"queryProperties"` // Description of the metric extension. Description *string `mandatory:"false" json:"description"` // The current lifecycle state of the metric extension LifecycleState MetricExtensionLifeCycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Created by user CreatedBy *string `mandatory:"false" json:"createdBy"` // Last updated by user LastUpdatedBy *string `mandatory:"false" json:"lastUpdatedBy"` // Metric Extension creation time. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Metric Extension update time. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // List of resource objects on which this metric extension is enabled. EnabledOnResources []EnabledResourceDetails `mandatory:"false" json:"enabledOnResources"` // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount *int `mandatory:"false" json:"enabledOnResourcesCount"` // The URI path that the user can do a GET on to access the metric extension metadata ResourceUri *string `mandatory:"false" json:"resourceUri"` }
func (m MetricExtension) String() string
func (m *MetricExtension) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MetricExtension) 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
MetricExtensionCollection Results of a metric extension search. Contains list of MetricExtension items.
type MetricExtensionCollection struct { // List of metric extensions. Items []MetricExtensionSummary `mandatory:"true" json:"items"` }
func (m MetricExtensionCollection) String() string
func (m MetricExtensionCollection) 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
MetricExtensionCollectionMethodsEnum Enum with underlying type: string
type MetricExtensionCollectionMethodsEnum string
Set of constants representing the allowable values for MetricExtensionCollectionMethodsEnum
const ( MetricExtensionCollectionMethodsOsCommand MetricExtensionCollectionMethodsEnum = "OS_COMMAND" MetricExtensionCollectionMethodsSql MetricExtensionCollectionMethodsEnum = "SQL" MetricExtensionCollectionMethodsJmx MetricExtensionCollectionMethodsEnum = "JMX" )
func GetMappingMetricExtensionCollectionMethodsEnum(val string) (MetricExtensionCollectionMethodsEnum, bool)
GetMappingMetricExtensionCollectionMethodsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricExtensionCollectionMethodsEnumValues() []MetricExtensionCollectionMethodsEnum
GetMetricExtensionCollectionMethodsEnumValues Enumerates the set of values for MetricExtensionCollectionMethodsEnum
MetricExtensionLifeCycleDetailsEnum Enum with underlying type: string
type MetricExtensionLifeCycleDetailsEnum string
Set of constants representing the allowable values for MetricExtensionLifeCycleDetailsEnum
const ( MetricExtensionLifeCycleDetailsDraft MetricExtensionLifeCycleDetailsEnum = "DRAFT" MetricExtensionLifeCycleDetailsPublished MetricExtensionLifeCycleDetailsEnum = "PUBLISHED" )
func GetMappingMetricExtensionLifeCycleDetailsEnum(val string) (MetricExtensionLifeCycleDetailsEnum, bool)
GetMappingMetricExtensionLifeCycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricExtensionLifeCycleDetailsEnumValues() []MetricExtensionLifeCycleDetailsEnum
GetMetricExtensionLifeCycleDetailsEnumValues Enumerates the set of values for MetricExtensionLifeCycleDetailsEnum
MetricExtensionLifeCycleStatesEnum Enum with underlying type: string
type MetricExtensionLifeCycleStatesEnum string
Set of constants representing the allowable values for MetricExtensionLifeCycleStatesEnum
const ( MetricExtensionLifeCycleStatesActive MetricExtensionLifeCycleStatesEnum = "ACTIVE" MetricExtensionLifeCycleStatesDeleted MetricExtensionLifeCycleStatesEnum = "DELETED" )
func GetMappingMetricExtensionLifeCycleStatesEnum(val string) (MetricExtensionLifeCycleStatesEnum, bool)
GetMappingMetricExtensionLifeCycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricExtensionLifeCycleStatesEnumValues() []MetricExtensionLifeCycleStatesEnum
GetMetricExtensionLifeCycleStatesEnumValues Enumerates the set of values for MetricExtensionLifeCycleStatesEnum
MetricExtensionQueryProperties Collection method and query properties details of metric extension
type MetricExtensionQueryProperties interface { }
MetricExtensionSortByEnum Enum with underlying type: string
type MetricExtensionSortByEnum string
Set of constants representing the allowable values for MetricExtensionSortByEnum
const ( MetricExtensionSortByName MetricExtensionSortByEnum = "NAME" MetricExtensionSortByTimeCreated MetricExtensionSortByEnum = "TIME_CREATED" )
func GetMappingMetricExtensionSortByEnum(val string) (MetricExtensionSortByEnum, bool)
GetMappingMetricExtensionSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricExtensionSortByEnumValues() []MetricExtensionSortByEnum
GetMetricExtensionSortByEnumValues Enumerates the set of values for MetricExtensionSortByEnum
MetricExtensionSummary Summary information about metric extension resources
type MetricExtensionSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of metric extension. Id *string `mandatory:"true" json:"id"` // Metric Extension Resource name. Name *string `mandatory:"true" json:"name"` // Resource type to which Metric Extension applies ResourceType *string `mandatory:"true" json:"resourceType"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the metric extension. Status MetricExtensionLifeCycleDetailsEnum `mandatory:"true" json:"status"` // Metric Extension resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the metric extension. Description *string `mandatory:"false" json:"description"` // The current lifecycle state of the metric extension LifecycleState MetricExtensionLifeCycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Metric Extension creation time. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Metric Extension updation time. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Type of possible collection methods. CollectionMethod MetricExtensionCollectionMethodsEnum `mandatory:"false" json:"collectionMethod,omitempty"` // Count of resources on which this metric extension is enabled. EnabledOnResourcesCount *int `mandatory:"false" json:"enabledOnResourcesCount"` // The URI path that the user can do a GET on to access the metric extension metadata ResourceUri *string `mandatory:"false" json:"resourceUri"` }
func (m MetricExtensionSummary) String() string
func (m MetricExtensionSummary) 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
MetricExtensionUpdateQueryProperties Collection method and query properties details of metric extension during update
type MetricExtensionUpdateQueryProperties interface { }
MetricMetricCategoryEnum Enum with underlying type: string
type MetricMetricCategoryEnum string
Set of constants representing the allowable values for MetricMetricCategoryEnum
const ( MetricMetricCategoryLoad MetricMetricCategoryEnum = "LOAD" MetricMetricCategoryUtilization MetricMetricCategoryEnum = "UTILIZATION" MetricMetricCategoryCapacity MetricMetricCategoryEnum = "CAPACITY" MetricMetricCategoryAvailability MetricMetricCategoryEnum = "AVAILABILITY" )
func GetMappingMetricMetricCategoryEnum(val string) (MetricMetricCategoryEnum, bool)
GetMappingMetricMetricCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetricMetricCategoryEnumValues() []MetricMetricCategoryEnum
GetMetricMetricCategoryEnumValues Enumerates the set of values for MetricMetricCategoryEnum
MonitoredResource The response object for create monitored resource and get monitored resource operations. This contains information about the monitored resource. Credentials and credential aliases attributes will be returned as null due to security reasons.
type MonitoredResource struct { // Monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). 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"` // The external resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // External resource is any OCI resource which is not a Stack Monitoring service resource. // Currently supports only following resource types - Container database, non-container database, // pluggable database 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 date and time when the monitored resource was created, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the monitored resource was last updated, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Lifecycle state of the monitored resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,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"` }
func (m MonitoredResource) String() string
func (m *MonitoredResource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
MonitoredResourceAliasCredential Monitored Resource Alias Credential Details
type MonitoredResourceAliasCredential struct { // The source type and source name combination,delimited with (.) separator. // Example: {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"` }
func (m MonitoredResourceAliasCredential) String() string
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
MonitoredResourceAliasSourceCredential Monitored Resource Alias Reference Source Credential.
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 which is bound to credential name. Name *string `mandatory:"true" json:"name"` // The name of the service owning the credential. // Example: stack-monitoring or dbmgmt Service *string `mandatory:"true" json:"service"` }
func (m MonitoredResourceAliasSourceCredential) String() string
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
MonitoredResourceAssociation Association details between two monitored resources.
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"` // Association category. Possible values are: // - System created (SYSTEM), // - User created using API (USER_API) // - User created using tags (USER_TAG_ASSOC). Category MonitoredResourceAssociationCategoryEnum `mandatory:"false" json:"category,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"` }
func (m MonitoredResourceAssociation) String() string
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
MonitoredResourceAssociationCategoryEnum Enum with underlying type: string
type MonitoredResourceAssociationCategoryEnum string
Set of constants representing the allowable values for MonitoredResourceAssociationCategoryEnum
const ( MonitoredResourceAssociationCategorySystem MonitoredResourceAssociationCategoryEnum = "SYSTEM" MonitoredResourceAssociationCategoryUserApi MonitoredResourceAssociationCategoryEnum = "USER_API" MonitoredResourceAssociationCategoryUserTagAssoc MonitoredResourceAssociationCategoryEnum = "USER_TAG_ASSOC" )
func GetMappingMonitoredResourceAssociationCategoryEnum(val string) (MonitoredResourceAssociationCategoryEnum, bool)
GetMappingMonitoredResourceAssociationCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceAssociationCategoryEnumValues() []MonitoredResourceAssociationCategoryEnum
GetMonitoredResourceAssociationCategoryEnumValues Enumerates the set of values for MonitoredResourceAssociationCategoryEnum
MonitoredResourceAssociationSummary Summary of the monitored resource association.
type MonitoredResourceAssociationSummary struct { // Association type 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 association creation time. 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"` }
func (m MonitoredResourceAssociationSummary) String() string
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
MonitoredResourceAssociationsCollection List of MonitoredResourceAssociationSummary elements.
type MonitoredResourceAssociationsCollection struct { // List of Monitored Resource Associations. Items []MonitoredResourceAssociationSummary `mandatory:"true" json:"items"` }
func (m MonitoredResourceAssociationsCollection) String() string
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
MonitoredResourceCollection Results of a resources search. Contains MonitoredResourceSummary items and other data.
type MonitoredResourceCollection struct { // List of monitored resources. Items []MonitoredResourceSummary `mandatory:"true" json:"items"` }
func (m MonitoredResourceCollection) String() string
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
MonitoredResourceCredential Monitored Resource Credential Details.
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 }
MonitoredResourceCredentialCredentialTypeEnum Enum with underlying type: string
type MonitoredResourceCredentialCredentialTypeEnum string
Set of constants representing the allowable values for MonitoredResourceCredentialCredentialTypeEnum
const ( MonitoredResourceCredentialCredentialTypeExisting MonitoredResourceCredentialCredentialTypeEnum = "EXISTING" MonitoredResourceCredentialCredentialTypePlaintext MonitoredResourceCredentialCredentialTypeEnum = "PLAINTEXT" MonitoredResourceCredentialCredentialTypeEncrypted MonitoredResourceCredentialCredentialTypeEnum = "ENCRYPTED" )
func GetMappingMonitoredResourceCredentialCredentialTypeEnum(val string) (MonitoredResourceCredentialCredentialTypeEnum, bool)
GetMappingMonitoredResourceCredentialCredentialTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceCredentialCredentialTypeEnumValues() []MonitoredResourceCredentialCredentialTypeEnum
GetMonitoredResourceCredentialCredentialTypeEnumValues Enumerates the set of values for MonitoredResourceCredentialCredentialTypeEnum
MonitoredResourceMemberSummary Monitored resource member details.
type MonitoredResourceMemberSummary struct { // Monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). 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 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 types - Container database, non-container database, // pluggable database and OCI compute instance. ExternalId *string `mandatory:"false" json:"externalId"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" json:"compartmentId"` // Parent monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ParentId *string `mandatory:"false" json:"parentId"` // The current state of the Resource. LifecycleState ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,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"` }
func (m MonitoredResourceMemberSummary) String() string
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
MonitoredResourceMembersCollection Results of a member search.
type MonitoredResourceMembersCollection struct { // List of member resources. Items []MonitoredResourceMemberSummary `mandatory:"true" json:"items"` }
func (m MonitoredResourceMembersCollection) String() string
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
MonitoredResourceProperty Property of monitored resource.
type MonitoredResourceProperty struct { // Property Name. Name *string `mandatory:"false" json:"name"` // Property Value. Value *string `mandatory:"false" json:"value"` }
func (m MonitoredResourceProperty) String() string
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
MonitoredResourceSortByEnum Enum with underlying type: string
type MonitoredResourceSortByEnum string
Set of constants representing the allowable values for MonitoredResourceSortByEnum
const ( MonitoredResourceSortByName MonitoredResourceSortByEnum = "NAME" MonitoredResourceSortByTimeCreated MonitoredResourceSortByEnum = "TIME_CREATED" )
func GetMappingMonitoredResourceSortByEnum(val string) (MonitoredResourceSortByEnum, bool)
GetMappingMonitoredResourceSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceSortByEnumValues() []MonitoredResourceSortByEnum
GetMonitoredResourceSortByEnumValues Enumerates the set of values for MonitoredResourceSortByEnum
MonitoredResourceSummary The information about monitored resource.
type MonitoredResourceSummary struct { // Monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Monitored Resource Name. Name *string `mandatory:"true" json:"name"` // Monitored Resource Type. Type *string `mandatory:"true" json:"type"` // Monitored resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" json:"compartmentId"` // 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. 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 update 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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,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"` }
func (m MonitoredResourceSummary) String() string
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
MonitoredResourceTask The request details for importing resources from Telemetry.
type MonitoredResourceTask struct { // Task identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Name of the task. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` TaskDetails MonitoredResourceTaskDetails `mandatory:"true" json:"taskDetails"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy. TenantId *string `mandatory:"false" json:"tenantId"` // Identifiers OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. WorkRequestIds []string `mandatory:"false" json:"workRequestIds"` // The date and time when the stack monitoring resource task was created, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the stack monitoring resource task was last updated, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the stack monitoring resource task. LifecycleState MonitoredResourceTaskLifecycleStateEnum `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"` }
func (m MonitoredResourceTask) String() string
func (m *MonitoredResourceTask) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MonitoredResourceTask) 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
MonitoredResourceTaskDetails The request details for the performing the task.
type MonitoredResourceTaskDetails interface { }
MonitoredResourceTaskDetailsTypeEnum Enum with underlying type: string
type MonitoredResourceTaskDetailsTypeEnum string
Set of constants representing the allowable values for MonitoredResourceTaskDetailsTypeEnum
const ( MonitoredResourceTaskDetailsTypeImportOciTelemetryResources MonitoredResourceTaskDetailsTypeEnum = "IMPORT_OCI_TELEMETRY_RESOURCES" )
func GetMappingMonitoredResourceTaskDetailsTypeEnum(val string) (MonitoredResourceTaskDetailsTypeEnum, bool)
GetMappingMonitoredResourceTaskDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceTaskDetailsTypeEnumValues() []MonitoredResourceTaskDetailsTypeEnum
GetMonitoredResourceTaskDetailsTypeEnumValues Enumerates the set of values for MonitoredResourceTaskDetailsTypeEnum
MonitoredResourceTaskLifecycleStateEnum Enum with underlying type: string
type MonitoredResourceTaskLifecycleStateEnum string
Set of constants representing the allowable values for MonitoredResourceTaskLifecycleStateEnum
const ( MonitoredResourceTaskLifecycleStateAccepted MonitoredResourceTaskLifecycleStateEnum = "ACCEPTED" MonitoredResourceTaskLifecycleStateInProgress MonitoredResourceTaskLifecycleStateEnum = "IN_PROGRESS" MonitoredResourceTaskLifecycleStateWaiting MonitoredResourceTaskLifecycleStateEnum = "WAITING" MonitoredResourceTaskLifecycleStateFailed MonitoredResourceTaskLifecycleStateEnum = "FAILED" MonitoredResourceTaskLifecycleStateSucceeded MonitoredResourceTaskLifecycleStateEnum = "SUCCEEDED" MonitoredResourceTaskLifecycleStateCanceling MonitoredResourceTaskLifecycleStateEnum = "CANCELING" MonitoredResourceTaskLifecycleStateCanceled MonitoredResourceTaskLifecycleStateEnum = "CANCELED" MonitoredResourceTaskLifecycleStateNeedsAttention MonitoredResourceTaskLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetMappingMonitoredResourceTaskLifecycleStateEnum(val string) (MonitoredResourceTaskLifecycleStateEnum, bool)
GetMappingMonitoredResourceTaskLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitoredResourceTaskLifecycleStateEnumValues() []MonitoredResourceTaskLifecycleStateEnum
GetMonitoredResourceTaskLifecycleStateEnumValues Enumerates the set of values for MonitoredResourceTaskLifecycleStateEnum
MonitoredResourceTaskSummary The summary details for the task.
type MonitoredResourceTaskSummary struct { // Task identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Name of the task. Name *string `mandatory:"true" json:"name"` TaskDetails MonitoredResourceTaskDetails `mandatory:"true" json:"taskDetails"` // Identifiers OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for work requests submitted for this task. WorkRequestIds []string `mandatory:"false" json:"workRequestIds"` // The date and time when the stack monitoring resource task was created, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the stack monitoring resource task was last updated, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the stack monitoring resource task. LifecycleState MonitoredResourceTaskLifecycleStateEnum `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"` }
func (m MonitoredResourceTaskSummary) String() string
func (m *MonitoredResourceTaskSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MonitoredResourceTaskSummary) 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
MonitoredResourceTasksCollection A Collection of stack monitoring resource task summaries.
type MonitoredResourceTasksCollection struct { // List of stack monitoring resource task summaries. Items []MonitoredResourceTaskSummary `mandatory:"true" json:"items"` }
func (m MonitoredResourceTasksCollection) String() string
func (m MonitoredResourceTasksCollection) 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
MonitoredResourceType The response object for create monitored resource type and get monitored resource type operations.
type MonitoredResourceType struct { // Monitored resource type identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // A unique monitored resource type name. The name must be unique across tenancy. // Name can not be changed. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Monitored resource type display name. DisplayName *string `mandatory:"false" json:"displayName"` // A friendly description. Description *string `mandatory:"false" json:"description"` // Metric namespace for resource type. MetricNamespace *string `mandatory:"false" json:"metricNamespace"` // Lifecycle state of the monitored resource type. LifecycleState ResourceTypeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` // The date and time when the monitored resource type was created, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the monitored resource was updated, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` Metadata ResourceTypeMetadataDetails `mandatory:"false" json:"metadata"` // 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"` }
func (m MonitoredResourceType) String() string
func (m *MonitoredResourceType) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MonitoredResourceType) 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
MonitoredResourceTypeSummary The summary of monitored resource type.
type MonitoredResourceTypeSummary struct { // Monitored resource type identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // A unique monitored resource type name. The name must be unique across tenancy. // Name can not be changed. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy containing the resource type. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Monitored resource type display name. DisplayName *string `mandatory:"false" json:"displayName"` // A friendly description. Description *string `mandatory:"false" json:"description"` // Metric namespace for resource type. MetricNamespace *string `mandatory:"false" json:"metricNamespace"` // Lifecycle state of the monitored resource type. LifecycleState ResourceTypeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` Metadata ResourceTypeMetadataDetails `mandatory:"false" json:"metadata"` // The date and time when the monitored resource type was created, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the monitored resource was updated, expressed in // RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` }
func (m MonitoredResourceTypeSummary) String() string
func (m *MonitoredResourceTypeSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MonitoredResourceTypeSummary) 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
MonitoredResourceTypesCollection A Collection of monitored resource type summaries.
type MonitoredResourceTypesCollection struct { // List of monitored resource type summaries. Items []MonitoredResourceTypeSummary `mandatory:"true" json:"items"` }
func (m MonitoredResourceTypesCollection) String() string
func (m MonitoredResourceTypesCollection) 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
MonitoredResourcesCountAggregation The count of resources for specified dimension.
type MonitoredResourcesCountAggregation struct { // Qualifiers provided in a metric definition. // Available dimensions vary based on groupBy parameter. // Each dimension takes the form of a key-value pair. // Example: `"resourceType": "oci_autonomous_database"` Dimensions map[string]string `mandatory:"true" json:"dimensions"` // the value of this metric Count *int `mandatory:"true" json:"count"` }
func (m MonitoredResourcesCountAggregation) String() string
func (m MonitoredResourcesCountAggregation) 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
MonitoredResourcesCountAggregationCollection The resource count grouped by given criteria.
type MonitoredResourcesCountAggregationCollection struct { // The counts related to the resource and resource types. Items []MonitoredResourcesCountAggregation `mandatory:"true" json:"items"` }
func (m MonitoredResourcesCountAggregationCollection) String() string
func (m MonitoredResourcesCountAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( 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" OperationTypeEnableMetricExtension OperationTypeEnum = "ENABLE_METRIC_EXTENSION" OperationTypeDisableMetricExtension OperationTypeEnum = "DISABLE_METRIC_EXTENSION" OperationTypeTestMetricExtension OperationTypeEnum = "TEST_METRIC_EXTENSION" OperationTypeBulkAddResources OperationTypeEnum = "BULK_ADD_RESOURCES" OperationTypeBulkDeleteResources OperationTypeEnum = "BULK_DELETE_RESOURCES" OperationTypeUpdateAndPropagateTags OperationTypeEnum = "UPDATE_AND_PROPAGATE_TAGS" OperationTypeImportResources OperationTypeEnum = "IMPORT_RESOURCES" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OsCommandQueryProperties Query Properties applicable to OS_COMMAND type of collection method
type OsCommandQueryProperties struct { // OS command to execute without arguments Command *string `mandatory:"true" json:"command"` // Character used to delimit multiple metric values in single line of output Delimiter *string `mandatory:"true" json:"delimiter"` ScriptDetails *ScriptFileDetails `mandatory:"false" json:"scriptDetails"` // Arguments required by either command or script Arguments *string `mandatory:"false" json:"arguments"` // String prefix used to identify metric output of the OS Command StartsWith *string `mandatory:"false" json:"startsWith"` }
func (m OsCommandQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OsCommandQueryProperties) String() string
func (m OsCommandQueryProperties) 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
OsCommandUpdateQueryProperties Query Properties applicable to OS_COMMAND type of collection method
type OsCommandUpdateQueryProperties struct { // OS command to execute without arguments Command *string `mandatory:"false" json:"command"` // Character used to delimit multiple metric values in single line of output Delimiter *string `mandatory:"false" json:"delimiter"` ScriptDetails *ScriptFileDetails `mandatory:"false" json:"scriptDetails"` // Arguments required by either command or script Arguments *string `mandatory:"false" json:"arguments"` // String prefix used to identify metric output of the OS Command StartsWith *string `mandatory:"false" json:"startsWith"` }
func (m OsCommandUpdateQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OsCommandUpdateQueryProperties) String() string
func (m OsCommandUpdateQueryProperties) 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
PlainTextCredentials Plain text credentials [indicated by the type property in CredentialStore].
type PlainTextCredentials struct { // The credential properties list. Credential property values will be either // in plain text format or encrypted for encrypted credentials. 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"` }
func (m PlainTextCredentials) GetDescription() *string
GetDescription returns Description
func (m PlainTextCredentials) GetName() *string
GetName returns Name
func (m PlainTextCredentials) GetSource() *string
GetSource returns Source
func (m PlainTextCredentials) GetType() *string
GetType returns Type
func (m PlainTextCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PlainTextCredentials) String() string
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
PreExistingCredentials Pre existing credentials [indicated by the type property in CredentialStore].
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"` }
func (m PreExistingCredentials) GetDescription() *string
GetDescription returns Description
func (m PreExistingCredentials) GetName() *string
GetName returns Name
func (m PreExistingCredentials) GetSource() *string
GetSource returns Source
func (m PreExistingCredentials) GetType() *string
GetType returns Type
func (m PreExistingCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PreExistingCredentials) String() string
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
ProcessSet The Process Set details.
type ProcessSet struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Process Set. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the Resource. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Name of the Process Set. DisplayName *string `mandatory:"true" json:"displayName"` Specification *ProcessSetSpecification `mandatory:"true" json:"specification"` // The time the process set was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current revision of the Process Set. Revision *string `mandatory:"true" json:"revision"` // The time the process set was last updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` }
func (m ProcessSet) String() string
func (m ProcessSet) 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
ProcessSetCollection Result of the Process Set fetch.
type ProcessSetCollection struct { // List of Process Sets. Items []ProcessSetSummary `mandatory:"true" json:"items"` }
func (m ProcessSetCollection) String() string
func (m ProcessSetCollection) 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
ProcessSetSpecification Collection of regular expression specifications used to identify the processes to be monitored.
type ProcessSetSpecification struct { // List of Process Set specification details. Items []ProcessSetSpecificationDetails `mandatory:"true" json:"items"` }
func (m ProcessSetSpecification) String() string
func (m ProcessSetSpecification) 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
ProcessSetSpecificationDetails Details of a single regular expression specification in a Process Set.
type ProcessSetSpecificationDetails struct { // Optional label used to identify a single filter. Label *string `mandatory:"false" json:"label"` // String literal used for exact matching on process name. ProcessCommand *string `mandatory:"false" json:"processCommand"` // String literal used for exact matching on process user. ProcessUser *string `mandatory:"false" json:"processUser"` // Regex pattern matching on process arguments. ProcessLineRegexPattern *string `mandatory:"false" json:"processLineRegexPattern"` }
func (m ProcessSetSpecificationDetails) String() string
func (m ProcessSetSpecificationDetails) 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
ProcessSetSummary Summary of a Process Set, used to construct a list of Process Sets when fetching all Process Sets in a compartment.
type ProcessSetSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Process Set. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the Resource. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Name of the Process Set. DisplayName *string `mandatory:"true" json:"displayName"` Specification *ProcessSetSpecification `mandatory:"true" json:"specification"` // The time the process set was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current revision of the Process Set. Revision *string `mandatory:"true" json:"revision"` // The time the process set was last updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` }
func (m ProcessSetSummary) String() string
func (m ProcessSetSummary) 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
PropertyDetails Property Details
type PropertyDetails struct { // Key/Value pair of Property PropertiesMap map[string]string `mandatory:"false" json:"propertiesMap"` }
func (m PropertyDetails) String() string
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
PublishMetricExtensionRequest wrapper for the PublishMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/PublishMetricExtension.go.html to see an example of how to use PublishMetricExtensionRequest.
type PublishMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // 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 }
func (request PublishMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PublishMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PublishMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PublishMetricExtensionRequest) String() string
func (request PublishMetricExtensionRequest) 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
PublishMetricExtensionResponse wrapper for the PublishMetricExtension operation
type PublishMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The MetricExtension instance MetricExtension `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Content location of the resource. ContentLocation *string `presentIn:"header" name:"content-location"` }
func (response PublishMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PublishMetricExtensionResponse) String() string
RequestMonitoredResourcesSummarizedCountGroupByEnum Enum with underlying type: string
type RequestMonitoredResourcesSummarizedCountGroupByEnum string
Set of constants representing the allowable values for RequestMonitoredResourcesSummarizedCountGroupByEnum
const ( RequestMonitoredResourcesSummarizedCountGroupByResourcetype RequestMonitoredResourcesSummarizedCountGroupByEnum = "resourceType" RequestMonitoredResourcesSummarizedCountGroupByLicense RequestMonitoredResourcesSummarizedCountGroupByEnum = "license" RequestMonitoredResourcesSummarizedCountGroupByParentresourceid RequestMonitoredResourcesSummarizedCountGroupByEnum = "parentResourceId" )
func GetMappingRequestMonitoredResourcesSummarizedCountGroupByEnum(val string) (RequestMonitoredResourcesSummarizedCountGroupByEnum, bool)
GetMappingRequestMonitoredResourcesSummarizedCountGroupByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestMonitoredResourcesSummarizedCountGroupByEnumValues() []RequestMonitoredResourcesSummarizedCountGroupByEnum
GetRequestMonitoredResourcesSummarizedCountGroupByEnumValues Enumerates the set of values for RequestMonitoredResourcesSummarizedCountGroupByEnum
RequestMonitoredResourcesSummarizedCountLicenseEnum Enum with underlying type: string
type RequestMonitoredResourcesSummarizedCountLicenseEnum string
Set of constants representing the allowable values for RequestMonitoredResourcesSummarizedCountLicenseEnum
const ( RequestMonitoredResourcesSummarizedCountLicenseStandardEdition RequestMonitoredResourcesSummarizedCountLicenseEnum = "STANDARD_EDITION" RequestMonitoredResourcesSummarizedCountLicenseEnterpriseEdition RequestMonitoredResourcesSummarizedCountLicenseEnum = "ENTERPRISE_EDITION" )
func GetMappingRequestMonitoredResourcesSummarizedCountLicenseEnum(val string) (RequestMonitoredResourcesSummarizedCountLicenseEnum, bool)
GetMappingRequestMonitoredResourcesSummarizedCountLicenseEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestMonitoredResourcesSummarizedCountLicenseEnumValues() []RequestMonitoredResourcesSummarizedCountLicenseEnum
GetRequestMonitoredResourcesSummarizedCountLicenseEnumValues Enumerates the set of values for RequestMonitoredResourcesSummarizedCountLicenseEnum
RequestMonitoredResourcesSummarizedCountRequest wrapper for the RequestMonitoredResourcesSummarizedCount operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/RequestMonitoredResourcesSummarizedCount.go.html to see an example of how to use RequestMonitoredResourcesSummarizedCountRequest.
type RequestMonitoredResourcesSummarizedCountRequest struct { // The ID of the compartment in which data is listed. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The field to group by. Default group by is 'resourceType'. GroupBy RequestMonitoredResourcesSummarizedCountGroupByEnum `mandatory:"false" contributesTo:"query" name:"groupBy" omitEmpty:"true"` // Filter to return resource counts that match with the given licence edition. License RequestMonitoredResourcesSummarizedCountLicenseEnum `mandatory:"false" contributesTo:"query" name:"license" omitEmpty:"true"` // A filter to return resource counts that match exact resource type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // If this query parameter is specified, the result is sorted by this query parameter value. SortBy RequestMonitoredResourcesSummarizedCountSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder RequestMonitoredResourcesSummarizedCountSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"` // 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 }
func (request RequestMonitoredResourcesSummarizedCountRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestMonitoredResourcesSummarizedCountRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestMonitoredResourcesSummarizedCountRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestMonitoredResourcesSummarizedCountRequest) String() string
func (request RequestMonitoredResourcesSummarizedCountRequest) 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
RequestMonitoredResourcesSummarizedCountResponse wrapper for the RequestMonitoredResourcesSummarizedCount operation
type RequestMonitoredResourcesSummarizedCountResponse struct { // The underlying http response RawResponse *http.Response // A list of MonitoredResourcesCountAggregationCollection instances MonitoredResourcesCountAggregationCollection `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"` }
func (response RequestMonitoredResourcesSummarizedCountResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestMonitoredResourcesSummarizedCountResponse) String() string
RequestMonitoredResourcesSummarizedCountSortByEnum Enum with underlying type: string
type RequestMonitoredResourcesSummarizedCountSortByEnum string
Set of constants representing the allowable values for RequestMonitoredResourcesSummarizedCountSortByEnum
const ( RequestMonitoredResourcesSummarizedCountSortByCount RequestMonitoredResourcesSummarizedCountSortByEnum = "count" )
func GetMappingRequestMonitoredResourcesSummarizedCountSortByEnum(val string) (RequestMonitoredResourcesSummarizedCountSortByEnum, bool)
GetMappingRequestMonitoredResourcesSummarizedCountSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestMonitoredResourcesSummarizedCountSortByEnumValues() []RequestMonitoredResourcesSummarizedCountSortByEnum
GetRequestMonitoredResourcesSummarizedCountSortByEnumValues Enumerates the set of values for RequestMonitoredResourcesSummarizedCountSortByEnum
RequestMonitoredResourcesSummarizedCountSortOrderEnum Enum with underlying type: string
type RequestMonitoredResourcesSummarizedCountSortOrderEnum string
Set of constants representing the allowable values for RequestMonitoredResourcesSummarizedCountSortOrderEnum
const ( RequestMonitoredResourcesSummarizedCountSortOrderAsc RequestMonitoredResourcesSummarizedCountSortOrderEnum = "ASC" RequestMonitoredResourcesSummarizedCountSortOrderDesc RequestMonitoredResourcesSummarizedCountSortOrderEnum = "DESC" )
func GetMappingRequestMonitoredResourcesSummarizedCountSortOrderEnum(val string) (RequestMonitoredResourcesSummarizedCountSortOrderEnum, bool)
GetMappingRequestMonitoredResourcesSummarizedCountSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestMonitoredResourcesSummarizedCountSortOrderEnumValues() []RequestMonitoredResourcesSummarizedCountSortOrderEnum
GetRequestMonitoredResourcesSummarizedCountSortOrderEnumValues Enumerates the set of values for RequestMonitoredResourcesSummarizedCountSortOrderEnum
ResourceCategoryEnum Enum with underlying type: string
type ResourceCategoryEnum string
Set of constants representing the allowable values for ResourceCategoryEnum
const ( ResourceCategoryApplication ResourceCategoryEnum = "APPLICATION" ResourceCategoryDatabase ResourceCategoryEnum = "DATABASE" ResourceCategoryMiddleware ResourceCategoryEnum = "MIDDLEWARE" ResourceCategoryUnknown ResourceCategoryEnum = "UNKNOWN" )
func GetMappingResourceCategoryEnum(val string) (ResourceCategoryEnum, bool)
GetMappingResourceCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceCategoryEnumValues() []ResourceCategoryEnum
GetResourceCategoryEnumValues Enumerates the set of values for ResourceCategoryEnum
ResourceLifecycleStateEnum Enum with underlying type: string
type ResourceLifecycleStateEnum string
Set of constants representing the allowable values for ResourceLifecycleStateEnum
const ( ResourceLifecycleStateCreating ResourceLifecycleStateEnum = "CREATING" ResourceLifecycleStateUpdating ResourceLifecycleStateEnum = "UPDATING" ResourceLifecycleStateActive ResourceLifecycleStateEnum = "ACTIVE" ResourceLifecycleStateDeleting ResourceLifecycleStateEnum = "DELETING" ResourceLifecycleStateDeleted ResourceLifecycleStateEnum = "DELETED" ResourceLifecycleStateFailed ResourceLifecycleStateEnum = "FAILED" )
func GetMappingResourceLifecycleStateEnum(val string) (ResourceLifecycleStateEnum, bool)
GetMappingResourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceLifecycleStateEnumValues() []ResourceLifecycleStateEnum
GetResourceLifecycleStateEnumValues Enumerates the set of values for ResourceLifecycleStateEnum
ResourceTypeLifecycleStateEnum Enum with underlying type: string
type ResourceTypeLifecycleStateEnum string
Set of constants representing the allowable values for ResourceTypeLifecycleStateEnum
const ( ResourceTypeLifecycleStateCreating ResourceTypeLifecycleStateEnum = "CREATING" ResourceTypeLifecycleStateUpdating ResourceTypeLifecycleStateEnum = "UPDATING" ResourceTypeLifecycleStateActive ResourceTypeLifecycleStateEnum = "ACTIVE" ResourceTypeLifecycleStateDeleting ResourceTypeLifecycleStateEnum = "DELETING" ResourceTypeLifecycleStateDeleted ResourceTypeLifecycleStateEnum = "DELETED" ResourceTypeLifecycleStateFailed ResourceTypeLifecycleStateEnum = "FAILED" )
func GetMappingResourceTypeLifecycleStateEnum(val string) (ResourceTypeLifecycleStateEnum, bool)
GetMappingResourceTypeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceTypeLifecycleStateEnumValues() []ResourceTypeLifecycleStateEnum
GetResourceTypeLifecycleStateEnumValues Enumerates the set of values for ResourceTypeLifecycleStateEnum
ResourceTypeMetadataDetails The metadata details for resource type.
type ResourceTypeMetadataDetails interface { }
ResourceTypeMetadataDetailsFormatEnum Enum with underlying type: string
type ResourceTypeMetadataDetailsFormatEnum string
Set of constants representing the allowable values for ResourceTypeMetadataDetailsFormatEnum
const ( ResourceTypeMetadataDetailsFormatSystemFormat ResourceTypeMetadataDetailsFormatEnum = "SYSTEM_FORMAT" )
func GetMappingResourceTypeMetadataDetailsFormatEnum(val string) (ResourceTypeMetadataDetailsFormatEnum, bool)
GetMappingResourceTypeMetadataDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceTypeMetadataDetailsFormatEnumValues() []ResourceTypeMetadataDetailsFormatEnum
GetResourceTypeMetadataDetailsFormatEnumValues Enumerates the set of values for ResourceTypeMetadataDetailsFormatEnum
ScriptFileDetails Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
type ScriptFileDetails struct { // Name of the script file Name *string `mandatory:"true" json:"name"` // Content of the script file as base64 encoded string Content *string `mandatory:"true" json:"content"` }
func (m ScriptFileDetails) String() string
func (m ScriptFileDetails) 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
SearchAssociatedResourcesDetails The criteria for searching associated monitored resources.
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"` // Association types filter to be searched for finding associated resources. AssociationTypes []string `mandatory:"false" json:"associationTypes"` }
func (m SearchAssociatedResourcesDetails) String() string
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
SearchAssociatedResourcesRequest wrapper for the SearchAssociatedResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchAssociatedResources.go.html to see an example of how to use SearchAssociatedResourcesRequest.
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 }
func (request SearchAssociatedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchAssociatedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchAssociatedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchAssociatedResourcesRequest) String() string
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
SearchAssociatedResourcesResponse wrapper for the SearchAssociatedResources operation
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"` }
func (response SearchAssociatedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchAssociatedResourcesResponse) String() string
SearchMonitoredResourceAssociationsDetails The information required to search monitored resource associations.
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 filter to search associated 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"` }
func (m SearchMonitoredResourceAssociationsDetails) String() string
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
SearchMonitoredResourceAssociationsDetailsSortByEnum Enum with underlying type: string
type SearchMonitoredResourceAssociationsDetailsSortByEnum string
Set of constants representing the allowable values for SearchMonitoredResourceAssociationsDetailsSortByEnum
const ( SearchMonitoredResourceAssociationsDetailsSortByTimeCreated SearchMonitoredResourceAssociationsDetailsSortByEnum = "TIME_CREATED" SearchMonitoredResourceAssociationsDetailsSortByAssocType SearchMonitoredResourceAssociationsDetailsSortByEnum = "ASSOC_TYPE" )
func GetMappingSearchMonitoredResourceAssociationsDetailsSortByEnum(val string) (SearchMonitoredResourceAssociationsDetailsSortByEnum, bool)
GetMappingSearchMonitoredResourceAssociationsDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceAssociationsDetailsSortByEnumValues() []SearchMonitoredResourceAssociationsDetailsSortByEnum
GetSearchMonitoredResourceAssociationsDetailsSortByEnumValues Enumerates the set of values for SearchMonitoredResourceAssociationsDetailsSortByEnum
SearchMonitoredResourceAssociationsRequest wrapper for the SearchMonitoredResourceAssociations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResourceAssociations.go.html to see an example of how to use SearchMonitoredResourceAssociationsRequest.
type SearchMonitoredResourceAssociationsRequest struct { // Search criteria for listing 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 }
func (request SearchMonitoredResourceAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchMonitoredResourceAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchMonitoredResourceAssociationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchMonitoredResourceAssociationsRequest) String() string
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
SearchMonitoredResourceAssociationsResponse wrapper for the SearchMonitoredResourceAssociations operation
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"` }
func (response SearchMonitoredResourceAssociationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchMonitoredResourceAssociationsResponse) String() string
SearchMonitoredResourceMembersDetails The search criteria for listing monitored resource member targets.
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"` }
func (m SearchMonitoredResourceMembersDetails) String() string
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
SearchMonitoredResourceMembersRequest wrapper for the SearchMonitoredResourceMembers operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResourceMembers.go.html to see an example of how to use 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 listing 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 }
func (request SearchMonitoredResourceMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchMonitoredResourceMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchMonitoredResourceMembersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchMonitoredResourceMembersRequest) String() string
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
SearchMonitoredResourceMembersResponse wrapper for the SearchMonitoredResourceMembers operation
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"` }
func (response SearchMonitoredResourceMembersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchMonitoredResourceMembersResponse) String() string
SearchMonitoredResourceMembersSortByEnum Enum with underlying type: string
type SearchMonitoredResourceMembersSortByEnum string
Set of constants representing the allowable values for SearchMonitoredResourceMembersSortByEnum
const ( SearchMonitoredResourceMembersSortByResourcename SearchMonitoredResourceMembersSortByEnum = "resourceName" SearchMonitoredResourceMembersSortByResourcetype SearchMonitoredResourceMembersSortByEnum = "resourceType" SearchMonitoredResourceMembersSortBySourceresourcetype SearchMonitoredResourceMembersSortByEnum = "sourceResourceType" )
func GetMappingSearchMonitoredResourceMembersSortByEnum(val string) (SearchMonitoredResourceMembersSortByEnum, bool)
GetMappingSearchMonitoredResourceMembersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceMembersSortByEnumValues() []SearchMonitoredResourceMembersSortByEnum
GetSearchMonitoredResourceMembersSortByEnumValues Enumerates the set of values for SearchMonitoredResourceMembersSortByEnum
SearchMonitoredResourceMembersSortOrderEnum Enum with underlying type: string
type SearchMonitoredResourceMembersSortOrderEnum string
Set of constants representing the allowable values for SearchMonitoredResourceMembersSortOrderEnum
const ( SearchMonitoredResourceMembersSortOrderAsc SearchMonitoredResourceMembersSortOrderEnum = "ASC" SearchMonitoredResourceMembersSortOrderDesc SearchMonitoredResourceMembersSortOrderEnum = "DESC" )
func GetMappingSearchMonitoredResourceMembersSortOrderEnum(val string) (SearchMonitoredResourceMembersSortOrderEnum, bool)
GetMappingSearchMonitoredResourceMembersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourceMembersSortOrderEnumValues() []SearchMonitoredResourceMembersSortOrderEnum
GetSearchMonitoredResourceMembersSortOrderEnumValues Enumerates the set of values for SearchMonitoredResourceMembersSortOrderEnum
SearchMonitoredResourcesDetails The property search criteria for listing monitored resources.
type SearchMonitoredResourcesDetails struct { // Compartment Identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Multiple compartment identifiers OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). CompartmentIds []string `mandatory:"false" json:"compartmentIds"` // Multiple lifecycle states filter. LifecycleStates []ResourceLifecycleStateEnum `mandatory:"false" json:"lifecycleStates"` // Source type filter. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource category filter. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` // 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 types - Container database, non-container database, // pluggable database 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"` // License edition of the monitored resource. License LicenseTypeEnum `mandatory:"false" json:"license,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. Specifies the preference with // a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). // For example - America/Los_Angeles 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"` }
func (m SearchMonitoredResourcesDetails) String() string
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
SearchMonitoredResourcesDetailsSortByEnum Enum with underlying type: string
type SearchMonitoredResourcesDetailsSortByEnum string
Set of constants representing the allowable values for SearchMonitoredResourcesDetailsSortByEnum
const ( SearchMonitoredResourcesDetailsSortByTimeCreated SearchMonitoredResourcesDetailsSortByEnum = "TIME_CREATED" SearchMonitoredResourcesDetailsSortByResourceName SearchMonitoredResourcesDetailsSortByEnum = "RESOURCE_NAME" )
func GetMappingSearchMonitoredResourcesDetailsSortByEnum(val string) (SearchMonitoredResourcesDetailsSortByEnum, bool)
GetMappingSearchMonitoredResourcesDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSearchMonitoredResourcesDetailsSortByEnumValues() []SearchMonitoredResourcesDetailsSortByEnum
GetSearchMonitoredResourcesDetailsSortByEnumValues Enumerates the set of values for SearchMonitoredResourcesDetailsSortByEnum
SearchMonitoredResourcesRequest wrapper for the SearchMonitoredResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResources.go.html to see an example of how to use SearchMonitoredResourcesRequest.
type SearchMonitoredResourcesRequest struct { // Search Criteria for listing 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 }
func (request SearchMonitoredResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SearchMonitoredResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SearchMonitoredResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SearchMonitoredResourcesRequest) String() string
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
SearchMonitoredResourcesResponse wrapper for the SearchMonitoredResources operation
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"` }
func (response SearchMonitoredResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SearchMonitoredResourcesResponse) String() string
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SourceTypeEnum Enum with underlying type: string
type SourceTypeEnum string
Set of constants representing the allowable values for SourceTypeEnum
const ( SourceTypeSmMgmtAgentMonitored SourceTypeEnum = "SM_MGMT_AGENT_MONITORED" SourceTypeSmRepoOnly SourceTypeEnum = "SM_REPO_ONLY" SourceTypeOciNative SourceTypeEnum = "OCI_NATIVE" SourceTypePrometheus SourceTypeEnum = "PROMETHEUS" SourceTypeTelegraf SourceTypeEnum = "TELEGRAF" SourceTypeCollectd SourceTypeEnum = "COLLECTD" )
func GetMappingSourceTypeEnum(val string) (SourceTypeEnum, bool)
GetMappingSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSourceTypeEnumValues() []SourceTypeEnum
GetSourceTypeEnumValues Enumerates the set of values for SourceTypeEnum
SqlDetails Details of Sql content which needs to execute to collect Metric Extension data
type SqlDetails struct { // Sql statement or script file content as base64 encoded string Content *string `mandatory:"true" json:"content"` // If a script needs to be executed, then provide file name of the script ScriptFileName *string `mandatory:"false" json:"scriptFileName"` }
func (m SqlDetails) String() string
func (m SqlDetails) 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
SqlInParamDetails Position and value for an IN parameter of PL/SQL statement
type SqlInParamDetails struct { // Position of IN parameter InParamPosition *int `mandatory:"true" json:"inParamPosition"` // Value of IN parameter InParamValue *string `mandatory:"true" json:"inParamValue"` }
func (m SqlInParamDetails) String() string
func (m SqlInParamDetails) 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
SqlOutParamDetails Position and SQL Type of PL/SQL OUT parameter
type SqlOutParamDetails struct { // Position of PL/SQL procedure OUT parameter OutParamPosition *int `mandatory:"true" json:"outParamPosition"` // SQL Type of PL/SQL procedure OUT parameter OutParamType SqlOutParamTypesEnum `mandatory:"true" json:"outParamType"` }
func (m SqlOutParamDetails) String() string
func (m SqlOutParamDetails) 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
SqlOutParamTypesEnum Enum with underlying type: string
type SqlOutParamTypesEnum string
Set of constants representing the allowable values for SqlOutParamTypesEnum
const ( SqlOutParamTypesSqlCursor SqlOutParamTypesEnum = "SQL_CURSOR" SqlOutParamTypesArray SqlOutParamTypesEnum = "ARRAY" )
func GetMappingSqlOutParamTypesEnum(val string) (SqlOutParamTypesEnum, bool)
GetMappingSqlOutParamTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlOutParamTypesEnumValues() []SqlOutParamTypesEnum
GetSqlOutParamTypesEnumValues Enumerates the set of values for SqlOutParamTypesEnum
SqlQueryProperties Query Properties applicable to SQL type of collection method
type SqlQueryProperties struct { SqlDetails *SqlDetails `mandatory:"true" json:"sqlDetails"` // List of values and position of PL/SQL procedure IN parameters InParamDetails []SqlInParamDetails `mandatory:"false" json:"inParamDetails"` OutParamDetails *SqlOutParamDetails `mandatory:"false" json:"outParamDetails"` // Type of SQL data collection method i.e. either a Statement or SQL Script File SqlType SqlQueryTypesEnum `mandatory:"true" json:"sqlType"` }
func (m SqlQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlQueryProperties) String() string
func (m SqlQueryProperties) 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
SqlQueryTypesEnum Enum with underlying type: string
type SqlQueryTypesEnum string
Set of constants representing the allowable values for SqlQueryTypesEnum
const ( SqlQueryTypesStatement SqlQueryTypesEnum = "STATEMENT" SqlQueryTypesSqlScript SqlQueryTypesEnum = "SQL_SCRIPT" )
func GetMappingSqlQueryTypesEnum(val string) (SqlQueryTypesEnum, bool)
GetMappingSqlQueryTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlQueryTypesEnumValues() []SqlQueryTypesEnum
GetSqlQueryTypesEnumValues Enumerates the set of values for SqlQueryTypesEnum
SqlUpdateQueryProperties Query Properties applicable to SQL type of collection method
type SqlUpdateQueryProperties struct { SqlDetails *SqlDetails `mandatory:"false" json:"sqlDetails"` // List of values and position of PL/SQL procedure IN parameters InParamDetails []SqlInParamDetails `mandatory:"false" json:"inParamDetails"` OutParamDetails *SqlOutParamDetails `mandatory:"false" json:"outParamDetails"` // Type of SQL data collection method i.e. either a Statement or SQL Script File SqlType SqlQueryTypesEnum `mandatory:"false" json:"sqlType,omitempty"` }
func (m SqlUpdateQueryProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlUpdateQueryProperties) String() string
func (m SqlUpdateQueryProperties) 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
StackMonitoringClient a client for StackMonitoring
type StackMonitoringClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client StackMonitoringClient) AssociateMonitoredResources(ctx context.Context, request AssociateMonitoredResourcesRequest) (response AssociateMonitoredResourcesResponse, err error)
AssociateMonitoredResources Create an association between two monitored resources. Associations can be created between resources from different compartments as long they are in same tenancy. User should have required access in both the compartments.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/AssociateMonitoredResources.go.html to see an example of how to use AssociateMonitoredResources API.
func (client StackMonitoringClient) ChangeConfigCompartment(ctx context.Context, request ChangeConfigCompartmentRequest) (response ChangeConfigCompartmentResponse, err error)
ChangeConfigCompartment Moves the configuration item to another compartment. Basically, this will disable any configuration for this configuration type in thie compartment, and will enable it in the new one. For example, if for a HOST resource type, the configuration with AUTO_PROMOTE in the configuration type and TRUE as value is moved, automatic discovery will not take place in this compartment any more, but in the new one. So this operation will have the same effect as deleting the configuration item in the old compartment and recreating it in another compartment. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeConfigCompartment.go.html to see an example of how to use ChangeConfigCompartment API. A default retry strategy applies to this operation ChangeConfigCompartment()
func (client StackMonitoringClient) ChangeMetricExtensionCompartment(ctx context.Context, request ChangeMetricExtensionCompartmentRequest) (response ChangeMetricExtensionCompartmentResponse, err error)
ChangeMetricExtensionCompartment Moves a Metric Extension resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMetricExtensionCompartment.go.html to see an example of how to use ChangeMetricExtensionCompartment API.
func (client StackMonitoringClient) ChangeMonitoredResourceCompartment(ctx context.Context, request ChangeMonitoredResourceCompartmentRequest) (response ChangeMonitoredResourceCompartmentResponse, err error)
ChangeMonitoredResourceCompartment Moves a monitored resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMonitoredResourceCompartment.go.html to see an example of how to use ChangeMonitoredResourceCompartment API.
func (client StackMonitoringClient) ChangeMonitoredResourceTaskCompartment(ctx context.Context, request ChangeMonitoredResourceTaskCompartmentRequest) (response ChangeMonitoredResourceTaskCompartmentResponse, err error)
ChangeMonitoredResourceTaskCompartment Moves a stack monitoring resource task from one compartment to another.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeMonitoredResourceTaskCompartment.go.html to see an example of how to use ChangeMonitoredResourceTaskCompartment API. A default retry strategy applies to this operation ChangeMonitoredResourceTaskCompartment()
func (client StackMonitoringClient) ChangeProcessSetCompartment(ctx context.Context, request ChangeProcessSetCompartmentRequest) (response ChangeProcessSetCompartmentResponse, err error)
ChangeProcessSetCompartment Moves a ProcessSet resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ChangeProcessSetCompartment.go.html to see an example of how to use ChangeProcessSetCompartment API. A default retry strategy applies to this operation ChangeProcessSetCompartment()
func (client *StackMonitoringClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client StackMonitoringClient) CreateBaselineableMetric(ctx context.Context, request CreateBaselineableMetricRequest) (response CreateBaselineableMetricResponse, err error)
CreateBaselineableMetric Creates the specified Baseline-able metric
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateBaselineableMetric.go.html to see an example of how to use CreateBaselineableMetric API. A default retry strategy applies to this operation CreateBaselineableMetric()
func (client StackMonitoringClient) CreateConfig(ctx context.Context, request CreateConfigRequest) (response CreateConfigResponse, err error)
CreateConfig Creates a configuration item, for example to define whether resources of a specific type should be discovered automatically. For example, when a new Management Agent gets registered in a certain compartment, this Management Agent can potentially get promoted to a HOST resource. The configuration item will determine if HOST resources in the selected compartment will be discovered automatically.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateConfig.go.html to see an example of how to use CreateConfig API. A default retry strategy applies to this operation CreateConfig()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateDiscoveryJob.go.html to see an example of how to use CreateDiscoveryJob API.
func (client StackMonitoringClient) CreateMetricExtension(ctx context.Context, request CreateMetricExtensionRequest) (response CreateMetricExtensionResponse, err error)
CreateMetricExtension Creates a new metric extension resource for a given compartment
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMetricExtension.go.html to see an example of how to use CreateMetricExtension API.
func (client StackMonitoringClient) CreateMonitoredResource(ctx context.Context, request CreateMonitoredResourceRequest) (response CreateMonitoredResourceResponse, err error)
CreateMonitoredResource Creates a new monitored resource for the given resource type with the details and submits a work request for promoting the resource to agent. Once the resource is successfully added to agent, resource state will be marked active.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResource.go.html to see an example of how to use CreateMonitoredResource API.
func (client StackMonitoringClient) CreateMonitoredResourceTask(ctx context.Context, request CreateMonitoredResourceTaskRequest) (response CreateMonitoredResourceTaskResponse, err error)
CreateMonitoredResourceTask Create a new stack monitoring resource task.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResourceTask.go.html to see an example of how to use CreateMonitoredResourceTask API. A default retry strategy applies to this operation CreateMonitoredResourceTask()
func (client StackMonitoringClient) CreateMonitoredResourceType(ctx context.Context, request CreateMonitoredResourceTypeRequest) (response CreateMonitoredResourceTypeResponse, err error)
CreateMonitoredResourceType Creates a new monitored resource type.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateMonitoredResourceType.go.html to see an example of how to use CreateMonitoredResourceType API. A default retry strategy applies to this operation CreateMonitoredResourceType()
func (client StackMonitoringClient) CreateProcessSet(ctx context.Context, request CreateProcessSetRequest) (response CreateProcessSetResponse, err error)
CreateProcessSet API to create Process Set.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/CreateProcessSet.go.html to see an example of how to use CreateProcessSet API. A default retry strategy applies to this operation CreateProcessSet()
func (client StackMonitoringClient) DeleteBaselineableMetric(ctx context.Context, request DeleteBaselineableMetricRequest) (response DeleteBaselineableMetricResponse, err error)
DeleteBaselineableMetric Deletes the Baseline-able metric for the given id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteBaselineableMetric.go.html to see an example of how to use DeleteBaselineableMetric API. A default retry strategy applies to this operation DeleteBaselineableMetric()
func (client StackMonitoringClient) DeleteConfig(ctx context.Context, request DeleteConfigRequest) (response DeleteConfigResponse, err error)
DeleteConfig Deletes a configuration identified by the id.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteConfig.go.html to see an example of how to use DeleteConfig API. A default retry strategy applies to this operation DeleteConfig()
func (client StackMonitoringClient) DeleteDiscoveryJob(ctx context.Context, request DeleteDiscoveryJobRequest) (response DeleteDiscoveryJobResponse, err error)
DeleteDiscoveryJob Deletes a DiscoveryJob by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteDiscoveryJob.go.html to see an example of how to use DeleteDiscoveryJob API. A default retry strategy applies to this operation DeleteDiscoveryJob()
func (client StackMonitoringClient) DeleteMetricExtension(ctx context.Context, request DeleteMetricExtensionRequest) (response DeleteMetricExtensionResponse, err error)
DeleteMetricExtension Deletes a metric extension by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMetricExtension.go.html to see an example of how to use DeleteMetricExtension API.
func (client StackMonitoringClient) DeleteMonitoredResource(ctx context.Context, request DeleteMonitoredResourceRequest) (response DeleteMonitoredResourceResponse, err error)
DeleteMonitoredResource Delete monitored resource by the given identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). By default, only the specified resource is deleted. If the parameter 'isDeleteMembers' is set to true, then the member resources will be deleted too. If the operation fails partially, the deleted entries will not be rolled back.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMonitoredResource.go.html to see an example of how to use DeleteMonitoredResource API.
func (client StackMonitoringClient) DeleteMonitoredResourceType(ctx context.Context, request DeleteMonitoredResourceTypeRequest) (response DeleteMonitoredResourceTypeResponse, err error)
DeleteMonitoredResourceType Deletes a monitored resource type by identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteMonitoredResourceType.go.html to see an example of how to use DeleteMonitoredResourceType API.
func (client StackMonitoringClient) DeleteProcessSet(ctx context.Context, request DeleteProcessSetRequest) (response DeleteProcessSetResponse, err error)
DeleteProcessSet Deletes a Process Set
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DeleteProcessSet.go.html to see an example of how to use DeleteProcessSet API. A default retry strategy applies to this operation DeleteProcessSet()
func (client StackMonitoringClient) DisableExternalDatabase(ctx context.Context, request DisableExternalDatabaseRequest) (response DisableExternalDatabaseResponse, err error)
DisableExternalDatabase Disable external database resource monitoring. All the references in DBaaS, DBM and resource service will be deleted as part of this operation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisableExternalDatabase.go.html to see an example of how to use DisableExternalDatabase API.
func (client StackMonitoringClient) DisableMetricExtension(ctx context.Context, request DisableMetricExtensionRequest) (response DisableMetricExtensionResponse, err error)
DisableMetricExtension Submits a request to disable matching metric extension Id for the given Resource IDs
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisableMetricExtension.go.html to see an example of how to use DisableMetricExtension API.
func (client StackMonitoringClient) DisassociateMonitoredResources(ctx context.Context, request DisassociateMonitoredResourcesRequest) (response DisassociateMonitoredResourcesResponse, err error)
DisassociateMonitoredResources Removes associations between two monitored resources.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/DisassociateMonitoredResources.go.html to see an example of how to use DisassociateMonitoredResources API.
func (client StackMonitoringClient) EnableMetricExtension(ctx context.Context, request EnableMetricExtensionRequest) (response EnableMetricExtensionResponse, err error)
EnableMetricExtension Submits a request to enable matching metric extension Id for the given Resource IDs
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/EnableMetricExtension.go.html to see an example of how to use EnableMetricExtension API.
func (client StackMonitoringClient) EvaluateBaselineableMetric(ctx context.Context, request EvaluateBaselineableMetricRequest) (response EvaluateBaselineableMetricResponse, err error)
EvaluateBaselineableMetric Evaluates metric for anomalies for the given data points
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/EvaluateBaselineableMetric.go.html to see an example of how to use EvaluateBaselineableMetric API. A default retry strategy applies to this operation EvaluateBaselineableMetric()
func (client StackMonitoringClient) ExportMetricExtension(ctx context.Context, request ExportMetricExtensionRequest) (response ExportMetricExtensionResponse, err error)
ExportMetricExtension Export generates a template used to create new metric extension resources similar to matching metric extension id. Response is a file that contains metric extension definition with placeholders for fields to be changed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ExportMetricExtension.go.html to see an example of how to use ExportMetricExtension API. A default retry strategy applies to this operation ExportMetricExtension()
func (client StackMonitoringClient) GetBaselineableMetric(ctx context.Context, request GetBaselineableMetricRequest) (response GetBaselineableMetricResponse, err error)
GetBaselineableMetric Get the Baseline-able metric for the given id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetBaselineableMetric.go.html to see an example of how to use GetBaselineableMetric API. A default retry strategy applies to this operation GetBaselineableMetric()
func (client StackMonitoringClient) GetConfig(ctx context.Context, request GetConfigRequest) (response GetConfigResponse, err error)
GetConfig Gets the details of a configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetConfig.go.html to see an example of how to use GetConfig API. A default retry strategy applies to this operation GetConfig()
func (client StackMonitoringClient) GetDiscoveryJob(ctx context.Context, request GetDiscoveryJobRequest) (response GetDiscoveryJobResponse, err error)
GetDiscoveryJob API to get the details of discovery Job by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetDiscoveryJob.go.html to see an example of how to use GetDiscoveryJob API. A default retry strategy applies to this operation GetDiscoveryJob()
func (client StackMonitoringClient) GetMetricExtension(ctx context.Context, request GetMetricExtensionRequest) (response GetMetricExtensionResponse, err error)
GetMetricExtension Gets a Metric Extension by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMetricExtension.go.html to see an example of how to use GetMetricExtension API. A default retry strategy applies to this operation GetMetricExtension()
func (client StackMonitoringClient) GetMonitoredResource(ctx context.Context, request GetMonitoredResourceRequest) (response GetMonitoredResourceResponse, err error)
GetMonitoredResource Get monitored resource for the given identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResource.go.html to see an example of how to use GetMonitoredResource API. A default retry strategy applies to this operation GetMonitoredResource()
func (client StackMonitoringClient) GetMonitoredResourceTask(ctx context.Context, request GetMonitoredResourceTaskRequest) (response GetMonitoredResourceTaskResponse, err error)
GetMonitoredResourceTask Gets stack monitoring resource task details by identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResourceTask.go.html to see an example of how to use GetMonitoredResourceTask API. A default retry strategy applies to this operation GetMonitoredResourceTask()
func (client StackMonitoringClient) GetMonitoredResourceType(ctx context.Context, request GetMonitoredResourceTypeRequest) (response GetMonitoredResourceTypeResponse, err error)
GetMonitoredResourceType Gets a monitored resource type by identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetMonitoredResourceType.go.html to see an example of how to use GetMonitoredResourceType API. A default retry strategy applies to this operation GetMonitoredResourceType()
func (client StackMonitoringClient) GetProcessSet(ctx context.Context, request GetProcessSetRequest) (response GetProcessSetResponse, err error)
GetProcessSet API to get the details of a Process Set by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetProcessSet.go.html to see an example of how to use GetProcessSet API. A default retry strategy applies to this operation GetProcessSet()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client StackMonitoringClient) ListBaselineableMetrics(ctx context.Context, request ListBaselineableMetricsRequest) (response ListBaselineableMetricsResponse, err error)
ListBaselineableMetrics List of summary of baseline-able metrics for a given resource group if specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListBaselineableMetrics.go.html to see an example of how to use ListBaselineableMetrics API. A default retry strategy applies to this operation ListBaselineableMetrics()
func (client StackMonitoringClient) ListConfigs(ctx context.Context, request ListConfigsRequest) (response ListConfigsResponse, err error)
ListConfigs Get a list of configurations in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListConfigs.go.html to see an example of how to use ListConfigs API. A default retry strategy applies to this operation ListConfigs()
func (client StackMonitoringClient) ListDiscoveryJobLogs(ctx context.Context, request ListDiscoveryJobLogsRequest) (response ListDiscoveryJobLogsResponse, err error)
ListDiscoveryJobLogs API to get all the logs of a Discovery Job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListDiscoveryJobLogs.go.html to see an example of how to use ListDiscoveryJobLogs API. A default retry strategy applies to this operation ListDiscoveryJobLogs()
func (client StackMonitoringClient) ListDiscoveryJobs(ctx context.Context, request ListDiscoveryJobsRequest) (response ListDiscoveryJobsResponse, err error)
ListDiscoveryJobs API to get the details of all Discovery Jobs.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListDiscoveryJobs.go.html to see an example of how to use ListDiscoveryJobs API. A default retry strategy applies to this operation ListDiscoveryJobs()
func (client StackMonitoringClient) ListMetricExtensions(ctx context.Context, request ListMetricExtensionsRequest) (response ListMetricExtensionsResponse, err error)
ListMetricExtensions Returns a list of metric extensions
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMetricExtensions.go.html to see an example of how to use ListMetricExtensions API. A default retry strategy applies to this operation ListMetricExtensions()
func (client StackMonitoringClient) ListMonitoredResourceTasks(ctx context.Context, request ListMonitoredResourceTasksRequest) (response ListMonitoredResourceTasksResponse, err error)
ListMonitoredResourceTasks Returns a list of stack monitoring resource tasks in the compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResourceTasks.go.html to see an example of how to use ListMonitoredResourceTasks API. A default retry strategy applies to this operation ListMonitoredResourceTasks()
func (client StackMonitoringClient) ListMonitoredResourceTypes(ctx context.Context, request ListMonitoredResourceTypesRequest) (response ListMonitoredResourceTypesResponse, err error)
ListMonitoredResourceTypes Returns list of resource types accessible to the customer. There are two types of resource types - System resource types and User resource types. System resource types are available out of the box in the stack monitoring resource service and are accessible to all the tenant users. User resource types are created in the context of a tenancy and are visible only for the tenancy. By default, both System resource types and User resource types are returned.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResourceTypes.go.html to see an example of how to use ListMonitoredResourceTypes API. A default retry strategy applies to this operation ListMonitoredResourceTypes()
func (client StackMonitoringClient) ListMonitoredResources(ctx context.Context, request ListMonitoredResourcesRequest) (response ListMonitoredResourcesResponse, err error)
ListMonitoredResources Returns a list of monitored resources.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListMonitoredResources.go.html to see an example of how to use ListMonitoredResources API. A default retry strategy applies to this operation ListMonitoredResources()
func (client StackMonitoringClient) ListProcessSets(ctx context.Context, request ListProcessSetsRequest) (response ListProcessSetsResponse, err error)
ListProcessSets API to get the details of all Process Sets.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListProcessSets.go.html to see an example of how to use ListProcessSets API. A default retry strategy applies to this operation ListProcessSets()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client StackMonitoringClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client StackMonitoringClient) ManageLicense(ctx context.Context, request ManageLicenseRequest) (response ManageLicenseResponse, err error)
ManageLicense Each resource is assigned a license based on which features are enabled for it. User is charged differently based on license. Specify the license type to be updated for the parent resource in the topology. The license type value is propagated to the member resources as well. Member resource is a resource which has "contains" association with the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/ManageLicense.go.html to see an example of how to use ManageLicense API. A default retry strategy applies to this operation ManageLicense()
func (client StackMonitoringClient) PublishMetricExtension(ctx context.Context, request PublishMetricExtensionRequest) (response PublishMetricExtensionResponse, err error)
PublishMetricExtension Publish the Metric Extension identified by the id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/PublishMetricExtension.go.html to see an example of how to use PublishMetricExtension API.
func (client StackMonitoringClient) RequestMonitoredResourcesSummarizedCount(ctx context.Context, request RequestMonitoredResourcesSummarizedCountRequest) (response RequestMonitoredResourcesSummarizedCountResponse, err error)
RequestMonitoredResourcesSummarizedCount Gets resource count based on the aggregation criteria specified using "groupBy" parameter.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/RequestMonitoredResourcesSummarizedCount.go.html to see an example of how to use RequestMonitoredResourcesSummarizedCount API. A default retry strategy applies to this operation RequestMonitoredResourcesSummarizedCount()
func (client StackMonitoringClient) SearchAssociatedResources(ctx context.Context, request SearchAssociatedResourcesRequest) (response SearchAssociatedResourcesResponse, err error)
SearchAssociatedResources List all associated resources recursively up-to a specified level, for the monitored resources of type specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchAssociatedResources.go.html to see an example of how to use SearchAssociatedResources API. A default retry strategy applies to this operation SearchAssociatedResources()
func (client StackMonitoringClient) SearchMonitoredResourceAssociations(ctx context.Context, request SearchMonitoredResourceAssociationsRequest) (response SearchMonitoredResourceAssociationsResponse, err error)
SearchMonitoredResourceAssociations Search associations in the given compartment based on the search criteria.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResourceAssociations.go.html to see an example of how to use SearchMonitoredResourceAssociations API. A default retry strategy applies to this operation SearchMonitoredResourceAssociations()
func (client StackMonitoringClient) SearchMonitoredResourceMembers(ctx context.Context, request SearchMonitoredResourceMembersRequest) (response SearchMonitoredResourceMembersResponse, err error)
SearchMonitoredResourceMembers List the member resources for the given monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResourceMembers.go.html to see an example of how to use SearchMonitoredResourceMembers API. A default retry strategy applies to this operation SearchMonitoredResourceMembers()
func (client StackMonitoringClient) SearchMonitoredResources(ctx context.Context, request SearchMonitoredResourcesRequest) (response SearchMonitoredResourcesResponse, err error)
SearchMonitoredResources Gets a list of all monitored resources in a compartment for the given search criteria.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/SearchMonitoredResources.go.html to see an example of how to use SearchMonitoredResources API. A default retry strategy applies to this operation SearchMonitoredResources()
func (client *StackMonitoringClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client StackMonitoringClient) TestMetricExtension(ctx context.Context, request TestMetricExtensionRequest) (response TestMetricExtensionResponse, err error)
TestMetricExtension Performs test of Metric Extension on a specific resource Id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/TestMetricExtension.go.html to see an example of how to use TestMetricExtension API.
func (client StackMonitoringClient) UpdateAndPropagateTags(ctx context.Context, request UpdateAndPropagateTagsRequest) (response UpdateAndPropagateTagsResponse, err error)
UpdateAndPropagateTags Provided tags will be added or updated in the existing list of tags for the affected resources. Resources to be updated are identified based on association types specified. If association types not specified, then tags will be updated only for the resource identified by the given monitored resource identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateAndPropagateTags.go.html to see an example of how to use UpdateAndPropagateTags API. A default retry strategy applies to this operation UpdateAndPropagateTags()
func (client StackMonitoringClient) UpdateBaselineableMetric(ctx context.Context, request UpdateBaselineableMetricRequest) (response UpdateBaselineableMetricResponse, err error)
UpdateBaselineableMetric Updates the Baseline-able metric for the given id
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateBaselineableMetric.go.html to see an example of how to use UpdateBaselineableMetric API. A default retry strategy applies to this operation UpdateBaselineableMetric()
func (client StackMonitoringClient) UpdateConfig(ctx context.Context, request UpdateConfigRequest) (response UpdateConfigResponse, err error)
UpdateConfig Updates the configuration identified by the id given.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateConfig.go.html to see an example of how to use UpdateConfig API. A default retry strategy applies to this operation UpdateConfig()
func (client StackMonitoringClient) UpdateMetricExtension(ctx context.Context, request UpdateMetricExtensionRequest) (response UpdateMetricExtensionResponse, err error)
UpdateMetricExtension Updates the Metric Extension
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMetricExtension.go.html to see an example of how to use UpdateMetricExtension API.
func (client StackMonitoringClient) UpdateMonitoredResource(ctx context.Context, request UpdateMonitoredResourceRequest) (response UpdateMonitoredResourceResponse, err error)
UpdateMonitoredResource Update monitored resource by the given identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Note that "properties" object, if specified, will entirely replace the existing object, as part this operation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResource.go.html to see an example of how to use UpdateMonitoredResource API.
func (client StackMonitoringClient) UpdateMonitoredResourceTask(ctx context.Context, request UpdateMonitoredResourceTaskRequest) (response UpdateMonitoredResourceTaskResponse, err error)
UpdateMonitoredResourceTask Update stack monitoring resource task by the given identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResourceTask.go.html to see an example of how to use UpdateMonitoredResourceTask API.
func (client StackMonitoringClient) UpdateMonitoredResourceType(ctx context.Context, request UpdateMonitoredResourceTypeRequest) (response UpdateMonitoredResourceTypeResponse, err error)
UpdateMonitoredResourceType Update the Monitored Resource Type identified by the identifier OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResourceType.go.html to see an example of how to use UpdateMonitoredResourceType API.
func (client StackMonitoringClient) UpdateProcessSet(ctx context.Context, request UpdateProcessSetRequest) (response UpdateProcessSetResponse, err error)
UpdateProcessSet API to update a Process Set identified by a given ocid.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateProcessSet.go.html to see an example of how to use UpdateProcessSet API. A default retry strategy applies to this operation UpdateProcessSet()
SystemFormatResourceTypeMetadataDetails The resource type metadata is defined in machine friendly format.
type SystemFormatResourceTypeMetadataDetails struct { // List of required properties for resource type. RequiredProperties []string `mandatory:"false" json:"requiredProperties"` // List of properties needed by the agent for monitoring the resource. // Valid only if resource type is OCI management agent based. When specified, // these properties are passed to the management agent during resource create or update. AgentProperties []string `mandatory:"false" json:"agentProperties"` // List of valid properties for resource type while creating the monitored resource. // If resources of this type specifies any other properties during create operation, // the operation will fail. ValidPropertiesForCreate []string `mandatory:"false" json:"validPropertiesForCreate"` // List of valid properties for resource type while updating the monitored resource. // If resources of this type specifies any other properties during update operation, // the operation will fail. ValidPropertiesForUpdate []string `mandatory:"false" json:"validPropertiesForUpdate"` // List of property sets used to uniquely identify the resources. // This check is made during create or update of stack monitoring resource. // The resource has to pass unique check for each set in the list. // For example, database can have user, password and SID as one unique set. // Another unique set would be user, password and service name. UniquePropertySets []UniquePropertySet `mandatory:"false" json:"uniquePropertySets"` // List of valid values for the properties. This is useful when resource type wants to // restrict only certain values for some properties. For instance for 'osType' property, // supported values can be restricted to be either Linux or Windows. // Example: `{ "osType": ["Linux","Windows","Solaris"]}` ValidPropertyValues map[string][]string `mandatory:"false" json:"validPropertyValues"` }
func (m SystemFormatResourceTypeMetadataDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SystemFormatResourceTypeMetadataDetails) String() string
func (m SystemFormatResourceTypeMetadataDetails) 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
TestMetricExtensionData The Test result details
type TestMetricExtensionData struct { // Test Run Id TestRunId *string `mandatory:"true" json:"testRunId"` // Test Run Metric Suffix TestRunMetricSuffix *string `mandatory:"true" json:"testRunMetricSuffix"` // Test Run Namespace name TestRunNamespaceName *string `mandatory:"true" json:"testRunNamespaceName"` // Test Run Resource Group name TestRunResourceGroupName *string `mandatory:"false" json:"testRunResourceGroupName"` }
func (m TestMetricExtensionData) String() string
func (m TestMetricExtensionData) 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
TestMetricExtensionDetails The resource Id on which test will be run
type TestMetricExtensionDetails struct { // List of Resource IDs [OCID]. Currently supports only one resource id per request. ResourceIds []string `mandatory:"true" json:"resourceIds"` }
func (m TestMetricExtensionDetails) String() string
func (m TestMetricExtensionDetails) 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
TestMetricExtensionRequest wrapper for the TestMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/TestMetricExtension.go.html to see an example of how to use TestMetricExtensionRequest.
type TestMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // It contains OCID of resource. TestMetricExtensionDetails `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 }
func (request TestMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request TestMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request TestMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request TestMetricExtensionRequest) String() string
func (request TestMetricExtensionRequest) 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
TestMetricExtensionResponse wrapper for the TestMetricExtension operation
type TestMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The TestMetricExtensionData instance TestMetricExtensionData `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response TestMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response TestMetricExtensionResponse) String() string
UniquePropertySet List of properties.
type UniquePropertySet struct { // List of properties. Properties []string `mandatory:"true" json:"properties"` }
func (m UniquePropertySet) String() string
func (m UniquePropertySet) 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
UpdateAndPropagateTagsDetails The information about monitored resource tags. Request will fail if at least one of freeformTags or definedTags are not specified. Provided tags will be added or updated in the existing list of tags for the affected resources. Resources to be updated are identified based on association types specified. If association types are not specified, then tags will be updated only for the current resource.
type UpdateAndPropagateTagsDetails struct { // 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"` // Association types that will be traversed recursively starting from the current resource, // to identify resources for which the tags will be updated. // If no association type is specified, only current resource will be updated. // Default is empty list, which means no related resources will be updated. AssociationTypes []string `mandatory:"false" json:"associationTypes"` }
func (m UpdateAndPropagateTagsDetails) String() string
func (m UpdateAndPropagateTagsDetails) 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
UpdateAndPropagateTagsRequest wrapper for the UpdateAndPropagateTags operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateAndPropagateTags.go.html to see an example of how to use UpdateAndPropagateTagsRequest.
type UpdateAndPropagateTagsRequest 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 tags to be updated. UpdateAndPropagateTagsDetails `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"` // 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 }
func (request UpdateAndPropagateTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAndPropagateTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAndPropagateTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAndPropagateTagsRequest) String() string
func (request UpdateAndPropagateTagsRequest) 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
UpdateAndPropagateTagsResponse wrapper for the UpdateAndPropagateTags operation
type UpdateAndPropagateTagsResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateAndPropagateTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAndPropagateTagsResponse) String() string
UpdateAutoPromoteConfigDetails Change the details of an AUTO_PROMOTE config
type UpdateAutoPromoteConfigDetails struct { // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // 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"` // True if automatic promotion is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` }
func (m UpdateAutoPromoteConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateAutoPromoteConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateAutoPromoteConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateAutoPromoteConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateAutoPromoteConfigDetails) String() string
func (m UpdateAutoPromoteConfigDetails) 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
UpdateBaselineableMetricDetails Summary for the baseline-able metric
type UpdateBaselineableMetricDetails struct { // OCID of the metric Id *string `mandatory:"true" json:"id"` // name of the metric Name *string `mandatory:"true" json:"name"` // metric column name Column *string `mandatory:"true" json:"column"` // namespace of the metric Namespace *string `mandatory:"true" json:"namespace"` // Resource group of the metric ResourceGroup *string `mandatory:"true" json:"resourceGroup"` // Is the metric created out of box, default false IsOutOfBox *bool `mandatory:"true" json:"isOutOfBox"` // The current lifecycle state of the metric extension LifecycleState BaselineableMetricLifeCycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // OCID of the tenancy TenancyId *string `mandatory:"false" json:"tenancyId"` // OCID of the compartment CompartmentId *string `mandatory:"false" json:"compartmentId"` // Resource type of the metric ResourceType *string `mandatory:"false" json:"resourceType"` // 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"` }
func (m UpdateBaselineableMetricDetails) String() string
func (m UpdateBaselineableMetricDetails) 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
UpdateBaselineableMetricRequest wrapper for the UpdateBaselineableMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateBaselineableMetric.go.html to see an example of how to use UpdateBaselineableMetricRequest.
type UpdateBaselineableMetricRequest struct { // Baseline metric UpdateBaselineableMetricDetails `contributesTo:"body"` // Identifier for the metric BaselineableMetricId *string `mandatory:"true" contributesTo:"path" name:"baselineableMetricId"` // 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 }
func (request UpdateBaselineableMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateBaselineableMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBaselineableMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBaselineableMetricRequest) String() string
func (request UpdateBaselineableMetricRequest) 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
UpdateBaselineableMetricResponse wrapper for the UpdateBaselineableMetric operation
type UpdateBaselineableMetricResponse struct { // The underlying http response RawResponse *http.Response // The BaselineableMetric instance BaselineableMetric `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response UpdateBaselineableMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBaselineableMetricResponse) String() string
UpdateConfigDetails Change the configuration.
type UpdateConfigDetails interface { // The display name of the configuration. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateConfigRequest wrapper for the UpdateConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateConfig.go.html to see an example of how to use UpdateConfigRequest.
type UpdateConfigRequest struct { // Unique Config identifier. ConfigId *string `mandatory:"true" contributesTo:"path" name:"configId"` // The details of the configuration to be updated. UpdateConfigDetails `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 }
func (request UpdateConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConfigRequest) String() string
func (request UpdateConfigRequest) 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
UpdateConfigResponse wrapper for the UpdateConfig operation
type UpdateConfigResponse struct { // The underlying http response RawResponse *http.Response // The Config instance Config `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConfigResponse) String() string
UpdateLicenseAutoAssignConfigDetails Change the details of a LICENSE_AUTO_ASSIGN configuration.
type UpdateLicenseAutoAssignConfigDetails struct { // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // 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"` // License edition. License LicenseTypeEnum `mandatory:"false" json:"license,omitempty"` }
func (m UpdateLicenseAutoAssignConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateLicenseAutoAssignConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateLicenseAutoAssignConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateLicenseAutoAssignConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateLicenseAutoAssignConfigDetails) String() string
func (m UpdateLicenseAutoAssignConfigDetails) 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
UpdateLicenseEnterpriseExtensibilityConfigDetails Change the details of a LICENSE_ENTERPRISE_EXTENSIBILITY configuration.
type UpdateLicenseEnterpriseExtensibilityConfigDetails struct { // The display name of the configuration. DisplayName *string `mandatory:"false" json:"displayName"` // 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"` // True if enterprise extensibility is enabled, false if it is not enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` }
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) String() string
func (m UpdateLicenseEnterpriseExtensibilityConfigDetails) 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
UpdateMetricExtensionDetails The information about updating a metric extension resource
type UpdateMetricExtensionDetails struct { // Metric Extension resource display name. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the metric extension. Description *string `mandatory:"false" json:"description"` // Schedule of metric extension should use RFC 5545 format -> recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1 CollectionRecurrences *string `mandatory:"false" json:"collectionRecurrences"` // List of metrics which are part of this metric extension MetricList []Metric `mandatory:"false" json:"metricList"` QueryProperties MetricExtensionUpdateQueryProperties `mandatory:"false" json:"queryProperties"` }
func (m UpdateMetricExtensionDetails) String() string
func (m *UpdateMetricExtensionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateMetricExtensionDetails) 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
UpdateMetricExtensionRequest wrapper for the UpdateMetricExtension operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMetricExtension.go.html to see an example of how to use UpdateMetricExtensionRequest.
type UpdateMetricExtensionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the metric extension resource. MetricExtensionId *string `mandatory:"true" contributesTo:"path" name:"metricExtensionId"` // The information to be updated. UpdateMetricExtensionDetails `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 }
func (request UpdateMetricExtensionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMetricExtensionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMetricExtensionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMetricExtensionRequest) String() string
func (request UpdateMetricExtensionRequest) 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
UpdateMetricExtensionResponse wrapper for the UpdateMetricExtension operation
type UpdateMetricExtensionResponse struct { // The underlying http response RawResponse *http.Response // The MetricExtension instance MetricExtension `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Content location of the resource. ContentLocation *string `presentIn:"header" name:"content-location"` }
func (response UpdateMetricExtensionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMetricExtensionResponse) String() string
UpdateMonitoredResourceDetails The information about updating a monitored resource.
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. Specifies the preference with // a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). // For example - America/Los_Angeles 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"` // List of MonitoredResourceCredentials. This property complements the existing // "credentials" property by allowing user to specify more than one credential. // If both "credential" and "additionalCredentials" are specified, union of the // values is used as list of credentials applicable for this resource. // If any duplicate found in the combined list of "credentials" and "additionalCredentials", // an error will be thrown. AdditionalCredentials []MonitoredResourceCredential `mandatory:"false" json:"additionalCredentials"` // List of MonitoredResourceAliasCredentials. This property complements the existing // "aliases" property by allowing user to specify more than one credential alias. // If both "aliases" and "additionalAliases" are specified, union of the // values is used as list of aliases applicable for this resource. // If any duplicate found in the combined list of "alias" and "additionalAliases", // an error will be thrown. AdditionalAliases []MonitoredResourceAliasCredential `mandatory:"false" json:"additionalAliases"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateMonitoredResourceDetails) String() string
func (m *UpdateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateMonitoredResourceRequest wrapper for the UpdateMonitoredResource operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResource.go.html to see an example of how to use 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 }
func (request UpdateMonitoredResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMonitoredResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMonitoredResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMonitoredResourceRequest) String() string
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
UpdateMonitoredResourceResponse wrapper for the UpdateMonitoredResource operation
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"` }
func (response UpdateMonitoredResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMonitoredResourceResponse) String() string
UpdateMonitoredResourceTaskDetails The request details for the stack monitoring resource task.
type UpdateMonitoredResourceTaskDetails struct { // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateMonitoredResourceTaskDetails) String() string
func (m UpdateMonitoredResourceTaskDetails) 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
UpdateMonitoredResourceTaskRequest wrapper for the UpdateMonitoredResourceTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResourceTask.go.html to see an example of how to use UpdateMonitoredResourceTaskRequest.
type UpdateMonitoredResourceTaskRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of stack monitoring resource task. MonitoredResourceTaskId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTaskId"` // The information to be updated. UpdateMonitoredResourceTaskDetails `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 }
func (request UpdateMonitoredResourceTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMonitoredResourceTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMonitoredResourceTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMonitoredResourceTaskRequest) String() string
func (request UpdateMonitoredResourceTaskRequest) 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
UpdateMonitoredResourceTaskResponse wrapper for the UpdateMonitoredResourceTask operation
type UpdateMonitoredResourceTaskResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceTask instance MonitoredResourceTask `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateMonitoredResourceTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMonitoredResourceTaskResponse) String() string
UpdateMonitoredResourceTypeDetails The information to be updated for the monitored resource type.
type UpdateMonitoredResourceTypeDetails struct { // Monitored resource type display name. DisplayName *string `mandatory:"false" json:"displayName"` // A friendly description. Description *string `mandatory:"false" json:"description"` // Metric namespace for resource type. MetricNamespace *string `mandatory:"false" json:"metricNamespace"` // Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc. SourceType SourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` // Resource Category to indicate the kind of resource type. ResourceCategory ResourceCategoryEnum `mandatory:"false" json:"resourceCategory,omitempty"` Metadata ResourceTypeMetadataDetails `mandatory:"false" json:"metadata"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateMonitoredResourceTypeDetails) String() string
func (m *UpdateMonitoredResourceTypeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateMonitoredResourceTypeDetails) 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
UpdateMonitoredResourceTypeRequest wrapper for the UpdateMonitoredResourceType operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateMonitoredResourceType.go.html to see an example of how to use UpdateMonitoredResourceTypeRequest.
type UpdateMonitoredResourceTypeRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource type. MonitoredResourceTypeId *string `mandatory:"true" contributesTo:"path" name:"monitoredResourceTypeId"` // The information to be updated for the given resource type id. UpdateMonitoredResourceTypeDetails `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 }
func (request UpdateMonitoredResourceTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMonitoredResourceTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMonitoredResourceTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMonitoredResourceTypeRequest) String() string
func (request UpdateMonitoredResourceTypeRequest) 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
UpdateMonitoredResourceTypeResponse wrapper for the UpdateMonitoredResourceType operation
type UpdateMonitoredResourceTypeResponse struct { // The underlying http response RawResponse *http.Response // The MonitoredResourceType instance MonitoredResourceType `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateMonitoredResourceTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMonitoredResourceTypeResponse) String() string
UpdateProcessSetDetails Process Set update payload model.
type UpdateProcessSetDetails struct { // Name of the Process Set. DisplayName *string `mandatory:"false" json:"displayName"` Specification *ProcessSetSpecification `mandatory:"false" json:"specification"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProcessSetDetails) String() string
func (m UpdateProcessSetDetails) 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
UpdateProcessSetRequest wrapper for the UpdateProcessSet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/stackmonitoring/UpdateProcessSet.go.html to see an example of how to use UpdateProcessSetRequest.
type UpdateProcessSetRequest struct { // The Process Set ID ProcessSetId *string `mandatory:"true" contributesTo:"path" name:"processSetId"` // The updated Process Set details. UpdateProcessSetDetails `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"` // 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 }
func (request UpdateProcessSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProcessSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProcessSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProcessSetRequest) String() string
func (request UpdateProcessSetRequest) 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
UpdateProcessSetResponse wrapper for the UpdateProcessSet operation
type UpdateProcessSetResponse struct { // The underlying http response RawResponse *http.Response // The ProcessSet instance ProcessSet `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProcessSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProcessSetResponse) String() string
WorkRequest A description of workrequest status
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"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing a work request.
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"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from the execution of a work request.
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"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type 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"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly