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" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
AutonomousDatabaseConfigurationSummary Configuration Summary of autonomous database.
type AutonomousDatabaseConfigurationSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` // 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:"true" json:"definedTags"` // 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:"true" json:"freeformTags"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` }
func (m AutonomousDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseConfigurationSummary) String() string
AutonomousDatabaseInsight Database insight resource.
type AutonomousDatabaseInsight struct { // Database insight identifier Id *string `mandatory:"true" json:"id"` // Compartment identifier of the database CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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:"true" 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:"true" json:"definedTags"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // Name of database DatabaseName *string `mandatory:"true" json:"databaseName"` // OCI database resource type DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Display name of database DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command. DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"true" json:"status"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m AutonomousDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseInsight) GetId() *string
GetId returns Id
func (m AutonomousDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m AutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutonomousDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m AutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseInsight) String() string
AutonomousDatabaseInsightSummary Summary of a database insight resource.
type AutonomousDatabaseInsightSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"false" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // The hostnames for the database. DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"` // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // OCI database resource type DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m AutonomousDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m AutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m AutonomousDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m AutonomousDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m AutonomousDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m AutonomousDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m AutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutonomousDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m AutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseInsightSummary) String() string
ChangeDatabaseInsightCompartmentDetails The information to be updated.
type ChangeDatabaseInsightCompartmentDetails struct { // The OCID of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDatabaseInsightCompartmentDetails) String() string
ChangeDatabaseInsightCompartmentRequest wrapper for the ChangeDatabaseInsightCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartmentRequest.
type ChangeDatabaseInsightCompartmentRequest struct { // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // The information to be updated. ChangeDatabaseInsightCompartmentDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseInsightCompartmentRequest) String() string
ChangeDatabaseInsightCompartmentResponse wrapper for the ChangeDatabaseInsightCompartment operation
type ChangeDatabaseInsightCompartmentResponse 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 ChangeDatabaseInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseInsightCompartmentResponse) String() string
ChangeEnterpriseManagerBridgeCompartmentDetails The information to be updated.
type ChangeEnterpriseManagerBridgeCompartmentDetails struct { // The OCID of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeEnterpriseManagerBridgeCompartmentDetails) String() string
ChangeEnterpriseManagerBridgeCompartmentRequest wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartmentRequest.
type ChangeEnterpriseManagerBridgeCompartmentRequest struct { // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"` // The information to be updated. ChangeEnterpriseManagerBridgeCompartmentDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) String() string
ChangeEnterpriseManagerBridgeCompartmentResponse wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
type ChangeEnterpriseManagerBridgeCompartmentResponse 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 ChangeEnterpriseManagerBridgeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeEnterpriseManagerBridgeCompartmentResponse) String() string
ChangeHostInsightCompartmentDetails The information to be updated.
type ChangeHostInsightCompartmentDetails struct { // The OCID of the compartment into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostInsightCompartmentDetails) String() string
ChangeHostInsightCompartmentRequest wrapper for the ChangeHostInsightCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartmentRequest.
type ChangeHostInsightCompartmentRequest struct { // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // The information to be updated. ChangeHostInsightCompartmentDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 ChangeHostInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostInsightCompartmentRequest) String() string
ChangeHostInsightCompartmentResponse wrapper for the ChangeHostInsightCompartment operation
type ChangeHostInsightCompartmentResponse 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 ChangeHostInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostInsightCompartmentResponse) String() string
ConnectionDetails Connection details to connect to the database. HostName, protocol, and port should be specified.
type ConnectionDetails struct { // Name of the listener host that will be used to create the connect string to the database. HostName *string `mandatory:"true" json:"hostName"` // Protocol used for connection requests. 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"` }
func (m ConnectionDetails) String() string
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
CreateDatabaseInsightDetails The information about database to be analyzed.
type CreateDatabaseInsightDetails interface { // Compartment Identifier of database GetCompartmentId() *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{} }
CreateDatabaseInsightRequest wrapper for the CreateDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsightRequest.
type CreateDatabaseInsightRequest struct { // Details for the database for which a Database Insight resource will be created in Operations Insights. CreateDatabaseInsightDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 CreateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseInsightRequest) String() string
CreateDatabaseInsightResponse wrapper for the CreateDatabaseInsight operation
type CreateDatabaseInsightResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseInsight instance DatabaseInsight `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"` // URI of the resource Location *string `presentIn:"header" name:"location"` // URI 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 CreateDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseInsightResponse) String() string
CreateEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
type CreateEmManagedExternalDatabaseInsightDetails struct { // Compartment Identifier of database CompartmentId *string `mandatory:"true" json:"compartmentId"` // Enterprise Manager Unique Identifier EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"` // OPSI Enterprise Manager Bridge OCID EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"` // Enterprise Manager Entity Unique Identifier EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"` // 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 CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateEmManagedExternalDatabaseInsightDetails) String() string
CreateEnterpriseManagerBridgeDetails The information about a Enterprise Manager bridge resource to be created
type CreateEnterpriseManagerBridgeDetails struct { // Compartment identifier of the Enterprise Manager bridge CompartmentId *string `mandatory:"true" json:"compartmentId"` // User-friedly name of Enterprise Manager Bridge that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Object Storage Bucket Name ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"` // Description of Enterprise Manager Bridge Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateEnterpriseManagerBridgeDetails) String() string
CreateEnterpriseManagerBridgeRequest wrapper for the CreateEnterpriseManagerBridge operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridgeRequest.
type CreateEnterpriseManagerBridgeRequest struct { // Details for the Enterprise Manager bridge to be created in Operations Insights. CreateEnterpriseManagerBridgeDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 CreateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateEnterpriseManagerBridgeRequest) String() string
CreateEnterpriseManagerBridgeResponse wrapper for the CreateEnterpriseManagerBridge operation
type CreateEnterpriseManagerBridgeResponse struct { // The underlying http response RawResponse *http.Response // The EnterpriseManagerBridge instance EnterpriseManagerBridge `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"` // URI of the resource Location *string `presentIn:"header" name:"location"` // URI 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 CreateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateEnterpriseManagerBridgeResponse) String() string
CreateHostInsightDetails The information about the host to be analyzed.
type CreateHostInsightDetails interface { // Compartment Identifier of host GetCompartmentId() *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{} }
CreateHostInsightRequest wrapper for the CreateHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsightRequest.
type CreateHostInsightRequest struct { // Details for the host for which a Host Insight resource will be created in Operations Insights. CreateHostInsightDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 CreateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateHostInsightRequest) String() string
CreateHostInsightResponse wrapper for the CreateHostInsight operation
type CreateHostInsightResponse struct { // The underlying http response RawResponse *http.Response // The HostInsight instance HostInsight `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"` // URI of the resource Location *string `presentIn:"header" name:"location"` // URI 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 CreateHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateHostInsightResponse) String() string
CreateMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
type CreateMacsManagedExternalHostInsightDetails struct { // Compartment Identifier of host CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"true" json:"managementAgentId"` // 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 CreateMacsManagedExternalHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedExternalHostInsightDetails) String() string
CredentialDetails User credential details to connect to the database. This is supplied via the External Database Service.
type CredentialDetails interface { // Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service. GetCredentialSourceName() *string }
CredentialDetailsCredentialTypeEnum Enum with underlying type: string
type CredentialDetailsCredentialTypeEnum string
Set of constants representing the allowable values for CredentialDetailsCredentialTypeEnum
const ( CredentialDetailsCredentialTypeCredentialsBySource CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_SOURCE" )
func GetCredentialDetailsCredentialTypeEnumValues() []CredentialDetailsCredentialTypeEnum
GetCredentialDetailsCredentialTypeEnumValues Enumerates the set of values for CredentialDetailsCredentialTypeEnum
CredentialsBySource Credential Source to connect to the database.
type CredentialsBySource struct { // Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service. CredentialSourceName *string `mandatory:"true" json:"credentialSourceName"` }
func (m CredentialsBySource) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (m CredentialsBySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CredentialsBySource) String() string
DatabaseConfigurationCollection Collection of database insight configuration summary objects.
type DatabaseConfigurationCollection struct { // Array of database insight configurations summary objects. Items []DatabaseConfigurationSummary `mandatory:"true" json:"items"` }
func (m DatabaseConfigurationCollection) String() string
func (m *DatabaseConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DatabaseConfigurationMetricGroup Supported configuration metric groups for database capacity planning service.
type DatabaseConfigurationMetricGroup interface { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` GetTimeCollected() *common.SDKTime }
DatabaseConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
type DatabaseConfigurationMetricGroupMetricNameEnum string
Set of constants representing the allowable values for DatabaseConfigurationMetricGroupMetricNameEnum
const ( DatabaseConfigurationMetricGroupMetricNameExternalProperties DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_PROPERTIES" DatabaseConfigurationMetricGroupMetricNameExternalInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_INSTANCE" DatabaseConfigurationMetricGroupMetricNameOsConfigInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_OS_CONFIG_INSTANCE" )
func GetDatabaseConfigurationMetricGroupMetricNameEnumValues() []DatabaseConfigurationMetricGroupMetricNameEnum
GetDatabaseConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for DatabaseConfigurationMetricGroupMetricNameEnum
DatabaseConfigurationSummary Summary of a database configuration for a resource.
type DatabaseConfigurationSummary interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. GetDatabaseInsightId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. GetCompartmentId() *string // The database name. The database name is unique within the tenancy. GetDatabaseName() *string // The user-friendly name for the database. The name does not have to be unique. GetDatabaseDisplayName() *string // Operations Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. GetDatabaseVersion() *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{} // 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 // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. GetProcessorCount() *int }
DatabaseDetails Partial information about the database which includes id, name, type.
type DatabaseDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // Array of hostname and instance name. Instances []HostInstanceMap `mandatory:"false" json:"instances"` }
func (m DatabaseDetails) String() string
DatabaseEntitySourceAllEnum Enum with underlying type: string
type DatabaseEntitySourceAllEnum string
Set of constants representing the allowable values for DatabaseEntitySourceAllEnum
const ( DatabaseEntitySourceAllAutonomousDatabase DatabaseEntitySourceAllEnum = "AUTONOMOUS_DATABASE" DatabaseEntitySourceAllEmManagedExternalDatabase DatabaseEntitySourceAllEnum = "EM_MANAGED_EXTERNAL_DATABASE" DatabaseEntitySourceAllMacsManagedExternalDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_EXTERNAL_DATABASE" )
func GetDatabaseEntitySourceAllEnumValues() []DatabaseEntitySourceAllEnum
GetDatabaseEntitySourceAllEnumValues Enumerates the set of values for DatabaseEntitySourceAllEnum
DatabaseEntitySourceEnum Enum with underlying type: string
type DatabaseEntitySourceEnum string
Set of constants representing the allowable values for DatabaseEntitySourceEnum
const ( DatabaseEntitySourceEmManagedExternalDatabase DatabaseEntitySourceEnum = "EM_MANAGED_EXTERNAL_DATABASE" )
func GetDatabaseEntitySourceEnumValues() []DatabaseEntitySourceEnum
GetDatabaseEntitySourceEnumValues Enumerates the set of values for DatabaseEntitySourceEnum
DatabaseInsight Database insight resource.
type DatabaseInsight interface { // Database insight identifier GetId() *string // Compartment identifier of the database GetCompartmentId() *string // Indicates the status of a database insight in Operations Insights GetStatus() ResourceStatusEnum // 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{} // The time the the database insight was first enabled. An RFC3339 formatted datetime string GetTimeCreated() *common.SDKTime // The current state of the database. GetLifecycleState() LifecycleStateEnum // Operations Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. GetDatabaseVersion() *string // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. GetProcessorCount() *int // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} // The time the database insight was updated. An RFC3339 formatted datetime string GetTimeUpdated() *common.SDKTime // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string }
DatabaseInsightSummary Summary of a database insight resource.
type DatabaseInsightSummary interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. GetId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. GetDatabaseId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. GetCompartmentId() *string // The database name. The database name is unique within the tenancy. GetDatabaseName() *string // The user-friendly name for the database. The name does not have to be unique. GetDatabaseDisplayName() *string // Operations Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. GetDatabaseVersion() *string // The hostnames for the database. GetDatabaseHostNames() []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{} // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. GetProcessorCount() *int // Indicates the status of a database insight in Operations Insights GetStatus() ResourceStatusEnum // The time the the database insight was first enabled. An RFC3339 formatted datetime string GetTimeCreated() *common.SDKTime // The time the database insight was updated. An RFC3339 formatted datetime string GetTimeUpdated() *common.SDKTime // The current state of the database. GetLifecycleState() LifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string }
DatabaseInsights Logical grouping used for Operations Insights database-targeted operations.
type DatabaseInsights struct {
// Database Insights Object.
DatabaseInsights *interface{} `mandatory:"false" json:"databaseInsights"`
}
func (m DatabaseInsights) String() string
DatabaseInsightsCollection Collection of database insight summary objects.
type DatabaseInsightsCollection struct { // Array of database insight summary objects. Items []DatabaseInsightSummary `mandatory:"true" json:"items"` }
func (m DatabaseInsightsCollection) String() string
func (m *DatabaseInsightsCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DbExternalInstance Configuration parameters defined for external databases instance level.
type DbExternalInstance struct { // Name of the database instance. InstanceName *string `mandatory:"true" json:"instanceName"` // Host name of the database instance. HostName *string `mandatory:"true" json:"hostName"` // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"` // Total number of CPUs allocated for the host. CpuCount *int `mandatory:"false" json:"cpuCount"` // Total amount of usable Physical RAM Memory available in gigabytes. HostMemoryCapacity *float64 `mandatory:"false" json:"hostMemoryCapacity"` // Database version. Version *string `mandatory:"false" json:"version"` // Indicates whether the instance is mounted in cluster database mode (YES) or not (NO). Parallel *string `mandatory:"false" json:"parallel"` // Role (permissions) of the database instance. InstanceRole *string `mandatory:"false" json:"instanceRole"` // Indicates if logins are allowed or restricted. Logins *string `mandatory:"false" json:"logins"` // Status of the database. DatabaseStatus *string `mandatory:"false" json:"databaseStatus"` // Status of the instance. Status *string `mandatory:"false" json:"status"` // The edition of the database. Edition *string `mandatory:"false" json:"edition"` // Start up time of the database instance. StartupTime *common.SDKTime `mandatory:"false" json:"startupTime"` }
func (m DbExternalInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbExternalInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbExternalInstance) String() string
DbExternalProperties Configuration parameters defined for external databases.
type DbExternalProperties struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"` // Name of the database. Name *string `mandatory:"false" json:"name"` // Archive log mode. LogMode *string `mandatory:"false" json:"logMode"` // Indicates if it is a CDB or not. This would be 'yes' or 'no'. Cdb *string `mandatory:"false" json:"cdb"` // Open mode information. OpenMode *string `mandatory:"false" json:"openMode"` // Current role of the database. DatabaseRole *string `mandatory:"false" json:"databaseRole"` // Data protection policy. GuardStatus *string `mandatory:"false" json:"guardStatus"` // Platform name of the database, OS with architecture. PlatformName *string `mandatory:"false" json:"platformName"` // Type of control file. ControlFileType *string `mandatory:"false" json:"controlFileType"` // Indicates whether switchover is allowed. SwitchoverStatus *string `mandatory:"false" json:"switchoverStatus"` // Creation time. Created *common.SDKTime `mandatory:"false" json:"created"` }
func (m DbExternalProperties) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbExternalProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbExternalProperties) String() string
DbosConfigInstance Configuration parameters defined for external databases instance level.
type DbosConfigInstance struct { // Name of the database instance. InstanceName *string `mandatory:"true" json:"instanceName"` // Host name of the database instance. HostName *string `mandatory:"true" json:"hostName"` // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"` // Total number of CPUs available. NumCPUs *int `mandatory:"false" json:"numCPUs"` // Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs). NumCPUCores *int `mandatory:"false" json:"numCPUCores"` // Number of CPU Sockets available. NumCPUSockets *int `mandatory:"false" json:"numCPUSockets"` // Total number of bytes of physical memory. PhysicalMemoryBytes *float64 `mandatory:"false" json:"physicalMemoryBytes"` }
func (m DbosConfigInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbosConfigInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbosConfigInstance) String() string
DeleteDatabaseInsightRequest wrapper for the DeleteDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsightRequest.
type DeleteDatabaseInsightRequest struct { // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 DeleteDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseInsightRequest) String() string
DeleteDatabaseInsightResponse wrapper for the DeleteDatabaseInsight operation
type DeleteDatabaseInsightResponse 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 DeleteDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseInsightResponse) String() string
DeleteEnterpriseManagerBridgeRequest wrapper for the DeleteEnterpriseManagerBridge operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridgeRequest.
type DeleteEnterpriseManagerBridgeRequest struct { // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteEnterpriseManagerBridgeRequest) String() string
DeleteEnterpriseManagerBridgeResponse wrapper for the DeleteEnterpriseManagerBridge operation
type DeleteEnterpriseManagerBridgeResponse 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 DeleteEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteEnterpriseManagerBridgeResponse) String() string
DeleteHostInsightRequest wrapper for the DeleteHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsightRequest.
type DeleteHostInsightRequest struct { // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 DeleteHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostInsightRequest) String() string
DeleteHostInsightResponse wrapper for the DeleteHostInsight operation
type DeleteHostInsightResponse 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 DeleteHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostInsightResponse) String() string
DisableDatabaseInsightRequest wrapper for the DisableDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsightRequest.
type DisableDatabaseInsightRequest struct { // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 DisableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableDatabaseInsightRequest) String() string
DisableDatabaseInsightResponse wrapper for the DisableDatabaseInsight operation
type DisableDatabaseInsightResponse 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 DisableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableDatabaseInsightResponse) String() string
DisableHostInsightRequest wrapper for the DisableHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsightRequest.
type DisableHostInsightRequest struct { // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 DisableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableHostInsightRequest) String() string
DisableHostInsightResponse wrapper for the DisableHostInsight operation
type DisableHostInsightResponse 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 DisableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableHostInsightResponse) String() string
EmManagedExternalDatabaseConfigurationSummary Configuration summary of a EM Managed External database.
type EmManagedExternalDatabaseConfigurationSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` // 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:"true" json:"definedTags"` // 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:"true" json:"freeformTags"` // Enterprise Manager Unique Identifier EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"` // OPSI Enterprise Manager Bridge OCID EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"` // Array of hostname and instance name. Instances []HostInstanceMap `mandatory:"true" json:"instances"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` }
func (m EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseConfigurationSummary) String() string
EmManagedExternalDatabaseInsight Database insight resource.
type EmManagedExternalDatabaseInsight struct { // Database insight identifier Id *string `mandatory:"true" json:"id"` // Compartment identifier of the database CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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:"true" 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:"true" json:"definedTags"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Enterprise Manager Unique Identifier EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"` // Enterprise Manager Entity Name EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"` // Enterprise Manager Entity Type EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"` // Enterprise Manager Entity Unique Identifier EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"` // OPSI Enterprise Manager Bridge OCID EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Enterprise Manager Entity Display Name EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"true" json:"status"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m EmManagedExternalDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseInsight) GetId() *string
GetId returns Id
func (m EmManagedExternalDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseInsight) String() string
EmManagedExternalDatabaseInsightSummary Summary of a database insight resource.
type EmManagedExternalDatabaseInsightSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // Enterprise Manager Unique Identifier EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"` // Enterprise Manager Entity Name EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"` // Enterprise Manager Entity Type EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"` // Enterprise Manager Entity Unique Identifier EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"` // OPSI Enterprise Manager Bridge OCID EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"false" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // The hostnames for the database. DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"` // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Enterprise Manager Entity Display Name EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m EmManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseInsightSummary) String() string
EnableDatabaseInsightDetails The information about database to be analyzed.
type EnableDatabaseInsightDetails interface { }
EnableDatabaseInsightRequest wrapper for the EnableDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsightRequest.
type EnableDatabaseInsightRequest struct { // Details for the database to be enabled in Operations Insights. EnableDatabaseInsightDetails `contributesTo:"body"` // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 EnableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableDatabaseInsightRequest) String() string
EnableDatabaseInsightResponse wrapper for the EnableDatabaseInsight operation
type EnableDatabaseInsightResponse 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 EnableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableDatabaseInsightResponse) String() string
EnableEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
type EnableEmManagedExternalDatabaseInsightDetails struct { }
func (m EnableEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableEmManagedExternalDatabaseInsightDetails) String() string
EnableHostInsightDetails The information about the host to be analyzed.
type EnableHostInsightDetails interface { }
EnableHostInsightRequest wrapper for the EnableHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsightRequest.
type EnableHostInsightRequest struct { // Details for the host to be enabled in Operations Insights. EnableHostInsightDetails `contributesTo:"body"` // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 EnableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableHostInsightRequest) String() string
EnableHostInsightResponse wrapper for the EnableHostInsight operation
type EnableHostInsightResponse 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 EnableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableHostInsightResponse) String() string
EnableMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
type EnableMacsManagedExternalHostInsightDetails struct { }
func (m EnableMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedExternalHostInsightDetails) String() string
EnterpriseManagerBridge Enterprise Manager bridge resource.
type EnterpriseManagerBridge struct { // Enterprise Manager bridge identifier Id *string `mandatory:"true" json:"id"` // Compartment identifier of the Enterprise Manager bridge CompartmentId *string `mandatory:"true" json:"compartmentId"` // User-friedly name of Enterprise Manager Bridge that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Object Storage Namespace Name ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"` // Object Storage Bucket Name ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"` // 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:"true" 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:"true" json:"definedTags"` // The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Enterprise Manager bridge. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Description of Enterprise Manager Bridge Description *string `mandatory:"false" json:"description"` // A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket. ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m EnterpriseManagerBridge) String() string
EnterpriseManagerBridgeCollection Collection of Enterprose Manager bridge summary objects.
type EnterpriseManagerBridgeCollection struct { // Array of Enterprose Manager bridge summary objects. Items []EnterpriseManagerBridgeSummary `mandatory:"true" json:"items"` }
func (m EnterpriseManagerBridgeCollection) String() string
EnterpriseManagerBridgeSummary Summary of a Enterprise Manager bridge resource.
type EnterpriseManagerBridgeSummary struct { // Enterprise Manager bridge identifier Id *string `mandatory:"true" json:"id"` // Compartment identifier of the Enterprise Manager bridge CompartmentId *string `mandatory:"true" json:"compartmentId"` // User-friedly name of Enterprise Manager Bridge that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Object Storage Namespace Name ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"` // Object Storage Bucket Name ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"` // 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:"true" 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:"true" json:"definedTags"` // The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The current state of the Enterprise Manager bridge. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket. ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m EnterpriseManagerBridgeSummary) String() string
EnterpriseManagerBridges Logical grouping used for Operations Insights Enterprise Manager Bridge operations.
type EnterpriseManagerBridges struct {
// Enterprise Manager Bridge Object.
EnterpriseManagerBridges *interface{} `mandatory:"false" json:"enterpriseManagerBridges"`
}
func (m EnterpriseManagerBridges) String() string
GetDatabaseInsightRequest wrapper for the GetDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsightRequest.
type GetDatabaseInsightRequest struct { // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // 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 GetDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseInsightRequest) String() string
GetDatabaseInsightResponse wrapper for the GetDatabaseInsight operation
type GetDatabaseInsightResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseInsight instance DatabaseInsight `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 GetDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseInsightResponse) String() string
GetEnterpriseManagerBridgeRequest wrapper for the GetEnterpriseManagerBridge operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridgeRequest.
type GetEnterpriseManagerBridgeRequest struct { // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"` // 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 GetEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEnterpriseManagerBridgeRequest) String() string
GetEnterpriseManagerBridgeResponse wrapper for the GetEnterpriseManagerBridge operation
type GetEnterpriseManagerBridgeResponse struct { // The underlying http response RawResponse *http.Response // The EnterpriseManagerBridge instance EnterpriseManagerBridge `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 GetEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEnterpriseManagerBridgeResponse) String() string
GetHostInsightRequest wrapper for the GetHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsightRequest.
type GetHostInsightRequest struct { // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // 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 GetHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostInsightRequest) String() string
GetHostInsightResponse wrapper for the GetHostInsight operation
type GetHostInsightResponse struct { // The underlying http response RawResponse *http.Response // The HostInsight instance HostInsight `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 GetHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostInsightResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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
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 *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HistoricalDataItem The historical timestamp and the corresponding resource value.
type HistoricalDataItem struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` }
func (m HistoricalDataItem) String() string
HostConfigurationMetricGroup Base Metric Group for Host configuration metrics
type HostConfigurationMetricGroup interface { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` GetTimeCollected() *common.SDKTime }
HostConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
type HostConfigurationMetricGroupMetricNameEnum string
Set of constants representing the allowable values for HostConfigurationMetricGroupMetricNameEnum
const ( HostConfigurationMetricGroupMetricNameProduct HostConfigurationMetricGroupMetricNameEnum = "HOST_PRODUCT" HostConfigurationMetricGroupMetricNameResourceAllocation HostConfigurationMetricGroupMetricNameEnum = "HOST_RESOURCE_ALLOCATION" HostConfigurationMetricGroupMetricNameMemoryConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_MEMORY_CONFIGURATION" HostConfigurationMetricGroupMetricNameHardwareConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_HARDWARE_CONFIGURATION" HostConfigurationMetricGroupMetricNameCpuHardwareConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_CPU_HARDWARE_CONFIGURATION" HostConfigurationMetricGroupMetricNameNetworkConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_NETWORK_CONFIGURATION" HostConfigurationMetricGroupMetricNameEntites HostConfigurationMetricGroupMetricNameEnum = "HOST_ENTITES" )
func GetHostConfigurationMetricGroupMetricNameEnumValues() []HostConfigurationMetricGroupMetricNameEnum
GetHostConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for HostConfigurationMetricGroupMetricNameEnum
HostCpuHardwareConfiguration CPU Hardware Configuration metric for the host
type HostCpuHardwareConfiguration struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Total number of CPU Sockets TotalSockets *int `mandatory:"false" json:"totalSockets"` // Name of the CPU vendor VendorName *string `mandatory:"false" json:"vendorName"` // Clock frequency of the processor in megahertz FrequencyInMhz *float64 `mandatory:"false" json:"frequencyInMhz"` // Size of cache memory in megabytes CacheInMB *float64 `mandatory:"false" json:"cacheInMB"` // Model name of processor CpuImplementation *string `mandatory:"false" json:"cpuImplementation"` // CPU model Model *string `mandatory:"false" json:"model"` // Type of processor in the system CpuFamily *string `mandatory:"false" json:"cpuFamily"` // Number of cores per socket CoresPerSocket *int `mandatory:"false" json:"coresPerSocket"` // Number of threads per socket ThreadsPerSocket *int `mandatory:"false" json:"threadsPerSocket"` // Indicates if hyper-threading is enabled or not HyperThreadingEnabled *string `mandatory:"false" json:"hyperThreadingEnabled"` }
func (m HostCpuHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostCpuHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuHardwareConfiguration) String() string
HostCpuStatistics Contains CPU statistics.
type HostCpuStatistics struct { // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // Resource utilization in percentage. UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"` // Change in resource utilization in percentage UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"` Load *SummaryStatistics `mandatory:"false" json:"load"` }
func (m HostCpuStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostCpuStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostCpuStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostCpuStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostCpuStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuStatistics) String() string
HostCpuUsage CPU Usage metric for the host
type HostCpuUsage struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Percentage of CPU time spent in user mode CpuUserModeInPercent *float32 `mandatory:"false" json:"cpuUserModeInPercent"` // Percentage of CPU time spent in system mode CpuSystemModeInPercent *float32 `mandatory:"false" json:"cpuSystemModeInPercent"` // Amount of CPU Time spent in seconds CpuUsageInSec *float64 `mandatory:"false" json:"cpuUsageInSec"` // Amount of CPU Time spent in percentage CpuUtilizationInPercent *float32 `mandatory:"false" json:"cpuUtilizationInPercent"` // Amount of CPU time stolen in percentage CpuStolenInPercent *float32 `mandatory:"false" json:"cpuStolenInPercent"` // Amount of CPU idle time in percentage CpuIdleInPercent *float32 `mandatory:"false" json:"cpuIdleInPercent"` // Load average in the last 1 minute CpuLoad1min *float32 `mandatory:"false" json:"cpuLoad1min"` // Load average in the last 5 minutes CpuLoad5min *float32 `mandatory:"false" json:"cpuLoad5min"` // Load average in the last 15 minutes CpuLoad15min *float32 `mandatory:"false" json:"cpuLoad15min"` }
func (m HostCpuUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostCpuUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuUsage) String() string
HostDetails Partial information about a host which includes id, name, type.
type HostDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host. Id *string `mandatory:"true" json:"id"` // The host name. The host name is unique amongst the hosts managed by the same management agent. HostName *string `mandatory:"true" json:"hostName"` // Platform type. PlatformType HostDetailsPlatformTypeEnum `mandatory:"true" json:"platformType"` // The identifier of the agent. AgentIdentifier *string `mandatory:"true" json:"agentIdentifier"` // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` }
func (m HostDetails) String() string
HostDetailsPlatformTypeEnum Enum with underlying type: string
type HostDetailsPlatformTypeEnum string
Set of constants representing the allowable values for HostDetailsPlatformTypeEnum
const ( HostDetailsPlatformTypeLinux HostDetailsPlatformTypeEnum = "LINUX" )
func GetHostDetailsPlatformTypeEnumValues() []HostDetailsPlatformTypeEnum
GetHostDetailsPlatformTypeEnumValues Enumerates the set of values for HostDetailsPlatformTypeEnum
HostEntities Database entities running on the host
type HostEntities struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Name of the database entity EntityName *string `mandatory:"true" json:"entityName"` // Type of the database entity EntityType *string `mandatory:"true" json:"entityType"` }
func (m HostEntities) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostEntities) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostEntities) String() string
HostEntitySourceEnum Enum with underlying type: string
type HostEntitySourceEnum string
Set of constants representing the allowable values for HostEntitySourceEnum
const ( HostEntitySourceMacsManagedExternalHost HostEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST" )
func GetHostEntitySourceEnumValues() []HostEntitySourceEnum
GetHostEntitySourceEnumValues Enumerates the set of values for HostEntitySourceEnum
HostHardwareConfiguration Hardware Configuration metric for the host
type HostHardwareConfiguration struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Processor architecture used by the platform CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"` }
func (m HostHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostHardwareConfiguration) String() string
HostInsight Host insight resource.
type HostInsight interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. GetId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. GetCompartmentId() *string // The host name. The host name is unique amongst the hosts managed by the same management agent. GetHostName() *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{} // Indicates the status of a host insight in Operations Insights GetStatus() ResourceStatusEnum // The time the the host insight was first enabled. An RFC3339 formatted datetime string GetTimeCreated() *common.SDKTime // The current state of the host. GetLifecycleState() LifecycleStateEnum // The user-friendly name for the host. The name does not have to be unique. GetHostDisplayName() *string // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. GetHostType() *string // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. GetProcessorCount() *int // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} // The time the host insight was updated. An RFC3339 formatted datetime string GetTimeUpdated() *common.SDKTime // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string }
HostInsightResourceStatisticsAggregation Contains host details and resource statistics.
type HostInsightResourceStatisticsAggregation struct { HostDetails *HostDetails `mandatory:"true" json:"hostDetails"` CurrentStatistics HostResourceStatistics `mandatory:"true" json:"currentStatistics"` }
func (m HostInsightResourceStatisticsAggregation) String() string
func (m *HostInsightResourceStatisticsAggregation) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
HostInsightSummary Summary of a host insight resource.
type HostInsightSummary interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. GetId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. GetCompartmentId() *string // The host name. The host name is unique amongst the hosts managed by the same management agent. GetHostName() *string // The user-friendly name for the host. The name does not have to be unique. GetHostDisplayName() *string // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. GetHostType() *string // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. GetProcessorCount() *int // 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{} // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} // Indicates the status of a host insight in Operations Insights GetStatus() ResourceStatusEnum // The time the the host insight was first enabled. An RFC3339 formatted datetime string GetTimeCreated() *common.SDKTime // The time the host insight was updated. An RFC3339 formatted datetime string GetTimeUpdated() *common.SDKTime // The current state of the host. GetLifecycleState() LifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string }
HostInsightSummaryCollection Collection of host insight summary objects.
type HostInsightSummaryCollection struct { // Array of host insight summary objects. Items []HostInsightSummary `mandatory:"true" json:"items"` }
func (m HostInsightSummaryCollection) String() string
func (m *HostInsightSummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
HostInsights Logical grouping used for Operations Insights host related operations.
type HostInsights struct {
// Host Insights Object.
HostInsights *interface{} `mandatory:"false" json:"hostInsights"`
}
func (m HostInsights) String() string
HostInstanceMap Object containing hostname and instance name mapping.
type HostInstanceMap struct { // The hostname of the database insight resource. HostName *string `mandatory:"true" json:"hostName"` // The instance name of the database insight resource. InstanceName *string `mandatory:"true" json:"instanceName"` }
func (m HostInstanceMap) String() string
HostMemoryConfiguration Memory Configuration metric for the host
type HostMemoryConfiguration struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Page size in kilobytes PageSizeInKB *float64 `mandatory:"false" json:"pageSizeInKB"` // Amount of memory used for page tables in kilobytes PageTablesInKB *float64 `mandatory:"false" json:"pageTablesInKB"` // Amount of total swap space in kilobytes SwapTotalInKB *float64 `mandatory:"false" json:"swapTotalInKB"` // Size of huge pages in kilobytes HugePageSizeInKB *float64 `mandatory:"false" json:"hugePageSizeInKB"` // Total number of huge pages HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"` }
func (m HostMemoryConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostMemoryConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryConfiguration) String() string
HostMemoryStatistics Contains memory statistics.
type HostMemoryStatistics struct { // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // Resource utilization in percentage. UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"` // Change in resource utilization in percentage UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"` FreeMemory *float64 `mandatory:"false" json:"freeMemory"` AvailableMemory *float64 `mandatory:"false" json:"availableMemory"` // Total number of huge pages. HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"` // Size of huge pages in megabytes. HugePageSizeInMB *float64 `mandatory:"false" json:"hugePageSizeInMB"` // Total number of available huge pages. HugePagesFree *int `mandatory:"false" json:"hugePagesFree"` // Total number of huge pages which are used or reserved. HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"` Load *SummaryStatistics `mandatory:"false" json:"load"` }
func (m HostMemoryStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostMemoryStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostMemoryStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostMemoryStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostMemoryStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryStatistics) String() string
HostMemoryUsage Memory usage metric for the host
type HostMemoryUsage struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Amount of physical memory used in gigabytes MemoryUsedInGB *float64 `mandatory:"false" json:"memoryUsedInGB"` // Amount of physical memory used in percentage MemoryUtilizationInPercent *float32 `mandatory:"false" json:"memoryUtilizationInPercent"` // Load on memory in gigabytes MemoryLoadInGB *float64 `mandatory:"false" json:"memoryLoadInGB"` // Amount of usable physical memory in kilobytes RealMemoryInKB *float64 `mandatory:"false" json:"realMemoryInKB"` // Amount of available physical memory in kilobytes FreeMemoryInKB *float64 `mandatory:"false" json:"freeMemoryInKB"` // Memory used excluding buffers and cache in gigabytes LogicalMemoryUsedInGB *float64 `mandatory:"false" json:"logicalMemoryUsedInGB"` // Amount of logical memory used in percentage LogicalMemoryUtilizationInPercent *float32 `mandatory:"false" json:"logicalMemoryUtilizationInPercent"` // Amount of avaiable virtual memory in kilobytes FreeLogicalMemoryInKB *float64 `mandatory:"false" json:"freeLogicalMemoryInKB"` // Number of major page faults MajorPageFaults *int `mandatory:"false" json:"majorPageFaults"` // Amount of available swap space in kilobytes SwapFreeInKB *float64 `mandatory:"false" json:"swapFreeInKB"` // Amount of memory used for anon huge pages in kilobytes AnonHugePagesInKB *float64 `mandatory:"false" json:"anonHugePagesInKB"` // Number of available huge pages HugePagesFree *int `mandatory:"false" json:"hugePagesFree"` // Number of reserved huge pages HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"` // Number of surplus huge pages HugePagesSurplus *int `mandatory:"false" json:"hugePagesSurplus"` }
func (m HostMemoryUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostMemoryUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryUsage) String() string
HostNetworkActivitySummary Network Activity Summary metric for the host
type HostNetworkActivitySummary struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // All network interfaces read rate in Mbps AllNetworkReadInMbps *float64 `mandatory:"false" json:"allNetworkReadInMbps"` // All network interfaces write rate in Mbps AllNetworkWriteInMbps *float64 `mandatory:"false" json:"allNetworkWriteInMbps"` // All network interfaces IO rate in Mbps AllNetworkIoInMbps *float64 `mandatory:"false" json:"allNetworkIoInMbps"` }
func (m HostNetworkActivitySummary) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostNetworkActivitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkActivitySummary) String() string
HostNetworkConfiguration Network Configuration metric for the host
type HostNetworkConfiguration struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Name of the network interface InterfaceName *string `mandatory:"true" json:"interfaceName"` // IP address (IPv4 or IPv6) of the network interface IpAddress *string `mandatory:"true" json:"ipAddress"` // MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS MacAddress *string `mandatory:"false" json:"macAddress"` }
func (m HostNetworkConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostNetworkConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkConfiguration) String() string
HostPerformanceMetricGroup Base Metric Group for Host performance metrics
type HostPerformanceMetricGroup interface { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` GetTimeCollected() *common.SDKTime }
HostPerformanceMetricGroupMetricNameEnum Enum with underlying type: string
type HostPerformanceMetricGroupMetricNameEnum string
Set of constants representing the allowable values for HostPerformanceMetricGroupMetricNameEnum
const ( HostPerformanceMetricGroupMetricNameCpuUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_CPU_USAGE" HostPerformanceMetricGroupMetricNameMemoryUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_MEMORY_USAGE" HostPerformanceMetricGroupMetricNameNetworkActivitySummary HostPerformanceMetricGroupMetricNameEnum = "HOST_NETWORK_ACTIVITY_SUMMARY" )
func GetHostPerformanceMetricGroupMetricNameEnumValues() []HostPerformanceMetricGroupMetricNameEnum
GetHostPerformanceMetricGroupMetricNameEnumValues Enumerates the set of values for HostPerformanceMetricGroupMetricNameEnum
HostProduct Product metric for the host
type HostProduct struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Vendor of the product Vendor *string `mandatory:"false" json:"vendor"` // Name of the product Name *string `mandatory:"false" json:"name"` // Version of the product Version *string `mandatory:"false" json:"version"` }
func (m HostProduct) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostProduct) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostProduct) String() string
HostResourceAllocation Resource Allocation metric for the host
type HostResourceAllocation struct { // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Total number of CPUs available TotalCpus *int `mandatory:"false" json:"totalCpus"` // Total amount of usable physical memory in gibabytes TotalMemoryInGB *float64 `mandatory:"false" json:"totalMemoryInGB"` }
func (m HostResourceAllocation) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostResourceAllocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostResourceAllocation) String() string
HostResourceCapacityTrendAggregation Host Resource Capacity samples
type HostResourceCapacityTrendAggregation struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` }
func (m HostResourceCapacityTrendAggregation) String() string
HostResourceStatistics Contains host resource base statistics.
type HostResourceStatistics interface { // Total amount used of the resource metric type (CPU, STORAGE). GetUsage() *float64 // The maximum allocated amount of the resource metric type (CPU, STORAGE). GetCapacity() *float64 // Resource utilization in percentage. GetUtilizationPercent() *float64 // Change in resource utilization in percentage GetUsageChangePercent() *float64 }
HostResourceStatisticsResourceNameEnum Enum with underlying type: string
type HostResourceStatisticsResourceNameEnum string
Set of constants representing the allowable values for HostResourceStatisticsResourceNameEnum
const ( HostResourceStatisticsResourceNameCpuStatistics HostResourceStatisticsResourceNameEnum = "HOST_CPU_STATISTICS" HostResourceStatisticsResourceNameMemoryStatistics HostResourceStatisticsResourceNameEnum = "HOST_MEMORY_STATISTICS" )
func GetHostResourceStatisticsResourceNameEnumValues() []HostResourceStatisticsResourceNameEnum
GetHostResourceStatisticsResourceNameEnumValues Enumerates the set of values for HostResourceStatisticsResourceNameEnum
HostedEntityCollection Returns a list of hosted entities for the specific host.
type HostedEntityCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // List of hosted entities details. Items []HostedEntitySummary `mandatory:"true" json:"items"` }
func (m HostedEntityCollection) String() string
HostedEntitySummary Information about a hosted entity which includes identifier, name, and type.
type HostedEntitySummary struct { // The identifier of the entity. EntityIdentifier *string `mandatory:"true" json:"entityIdentifier"` // The entity name. EntityName *string `mandatory:"true" json:"entityName"` // The entity type. EntityType *string `mandatory:"true" json:"entityType"` }
func (m HostedEntitySummary) String() string
ImportableEnterpriseManagerEntity An Enterprise Manager entity that can be imported into Operations Insights.
type ImportableEnterpriseManagerEntity struct { // Enterprise Manager Unique Identifier EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"` // Enterprise Manager Entity Name EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"` // Enterprise Manager Entity Type EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"` // Enterprise Manager Entity Unique Identifier EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"` // Operations Insights internal representation of the resource type. OpsiEntityType *string `mandatory:"false" json:"opsiEntityType"` }
func (m ImportableEnterpriseManagerEntity) String() string
ImportableEnterpriseManagerEntityCollection Collection of importable Enterprise Manager entity objects.
type ImportableEnterpriseManagerEntityCollection struct { // Array of importable Enterprise Manager entity objects. Items []ImportableEnterpriseManagerEntity `mandatory:"true" json:"items"` }
func (m ImportableEnterpriseManagerEntityCollection) String() string
IngestDatabaseConfigurationDetails Database Configuration Metrics details.
type IngestDatabaseConfigurationDetails struct { // Array of one or more database configuration metrics objects. Items []DatabaseConfigurationMetricGroup `mandatory:"true" json:"items"` }
func (m IngestDatabaseConfigurationDetails) String() string
func (m *IngestDatabaseConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
IngestDatabaseConfigurationRequest wrapper for the IngestDatabaseConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfigurationRequest.
type IngestDatabaseConfigurationRequest struct { // Payload for one or more database configuration metrics for a particular database. IngestDatabaseConfigurationDetails `contributesTo:"body"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestDatabaseConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestDatabaseConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestDatabaseConfigurationRequest) String() string
IngestDatabaseConfigurationResponse wrapper for the IngestDatabaseConfiguration operation
type IngestDatabaseConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The IngestDatabaseConfigurationResponseDetails instance IngestDatabaseConfigurationResponseDetails `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 IngestDatabaseConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestDatabaseConfigurationResponse) String() string
IngestDatabaseConfigurationResponseDetails The response object returned from IngestDatabaseConfiguration operation.
type IngestDatabaseConfigurationResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestDatabaseConfigurationResponseDetails) String() string
IngestHostConfigurationDetails Contains the data to ingest for one or more host configuration metrics
type IngestHostConfigurationDetails struct { // Collection of one or more host configuration metric data points Items []HostConfigurationMetricGroup `mandatory:"true" json:"items"` }
func (m IngestHostConfigurationDetails) String() string
func (m *IngestHostConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
IngestHostConfigurationRequest wrapper for the IngestHostConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfigurationRequest.
type IngestHostConfigurationRequest struct { // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. Id *string `mandatory:"true" contributesTo:"query" name:"id"` // Payload for one or more host configuration metrics for a particular host. IngestHostConfigurationDetails `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"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestHostConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestHostConfigurationRequest) String() string
IngestHostConfigurationResponse wrapper for the IngestHostConfiguration operation
type IngestHostConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The IngestHostConfigurationResponseDetails instance IngestHostConfigurationResponseDetails `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 IngestHostConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestHostConfigurationResponse) String() string
IngestHostConfigurationResponseDetails The response object returned from IngestHostConfiguration operation.
type IngestHostConfigurationResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestHostConfigurationResponseDetails) String() string
IngestHostMetricsDetails Contains the data to ingest for one or more host performance metrics
type IngestHostMetricsDetails struct { // Collection of one or more host performance metric data points Items []HostPerformanceMetricGroup `mandatory:"true" json:"items"` }
func (m IngestHostMetricsDetails) String() string
func (m *IngestHostMetricsDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
IngestHostMetricsRequest wrapper for the IngestHostMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetricsRequest.
type IngestHostMetricsRequest struct { // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. Id *string `mandatory:"true" contributesTo:"query" name:"id"` // Payload for one or more host performance metrics for a particular host. IngestHostMetricsDetails `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"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestHostMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestHostMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestHostMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestHostMetricsRequest) String() string
IngestHostMetricsResponse wrapper for the IngestHostMetrics operation
type IngestHostMetricsResponse struct { // The underlying http response RawResponse *http.Response // The IngestHostMetricsResponseDetails instance IngestHostMetricsResponseDetails `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 IngestHostMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestHostMetricsResponse) String() string
IngestHostMetricsResponseDetails The response object returned from IngestHostMetrics operation.
type IngestHostMetricsResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestHostMetricsResponseDetails) String() string
IngestSqlBucketDetails Collection of SQL Bucket Metric Entries
type IngestSqlBucketDetails struct { // List of SQL Bucket Metric Entries. Items []SqlBucket `mandatory:"false" json:"items"` }
func (m IngestSqlBucketDetails) String() string
IngestSqlBucketRequest wrapper for the IngestSqlBucket operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucketRequest.
type IngestSqlBucketRequest struct { // Collection of SQL bucket objects for a particular database. IngestSqlBucketDetails `contributesTo:"body"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestSqlBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlBucketRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlBucketRequest) String() string
IngestSqlBucketResponse wrapper for the IngestSqlBucket operation
type IngestSqlBucketResponse struct { // The underlying http response RawResponse *http.Response // The IngestSqlBucketResponseDetails instance IngestSqlBucketResponseDetails `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 IngestSqlBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlBucketResponse) String() string
IngestSqlBucketResponseDetails The response object returned from IngestSqlBucketDetails operation.
type IngestSqlBucketResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestSqlBucketResponseDetails) String() string
IngestSqlPlanLinesDetails Collection of SQL Plan Line Entries
type IngestSqlPlanLinesDetails struct { // List of SQL Plan Line Entries. Items []SqlPlanLine `mandatory:"false" json:"items"` }
func (m IngestSqlPlanLinesDetails) String() string
IngestSqlPlanLinesRequest wrapper for the IngestSqlPlanLines operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLinesRequest.
type IngestSqlPlanLinesRequest struct { // Collection of SQL plan line objects for a particular database. IngestSqlPlanLinesDetails `contributesTo:"body"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestSqlPlanLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlPlanLinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlPlanLinesRequest) String() string
IngestSqlPlanLinesResponse wrapper for the IngestSqlPlanLines operation
type IngestSqlPlanLinesResponse struct { // The underlying http response RawResponse *http.Response // The IngestSqlPlanLinesResponseDetails instance IngestSqlPlanLinesResponseDetails `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 IngestSqlPlanLinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlPlanLinesResponse) String() string
IngestSqlPlanLinesResponseDetails The response object returned from IngestSqlPlanLines operation.
type IngestSqlPlanLinesResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestSqlPlanLinesResponseDetails) String() string
IngestSqlTextDetails Collection of SQL Text Entries
type IngestSqlTextDetails struct { // List of SQL Text Entries. Items []SqlText `mandatory:"false" json:"items"` }
func (m IngestSqlTextDetails) String() string
IngestSqlTextRequest wrapper for the IngestSqlText operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlTextRequest.
type IngestSqlTextRequest struct { // Collection of SQL text objects for a particular database. IngestSqlTextDetails `contributesTo:"body"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 that can be retried in case of a timeout or // server error without risk of executing the same action again. Retry tokens expire after 24 // hours. // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting // operations, such as a resource being deleted or purged from the system. 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 IngestSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlTextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlTextRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlTextRequest) String() string
IngestSqlTextResponse wrapper for the IngestSqlText operation
type IngestSqlTextResponse struct { // The underlying http response RawResponse *http.Response // The IngestSqlTextResponseDetails instance IngestSqlTextResponseDetails `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 IngestSqlTextResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlTextResponse) String() string
IngestSqlTextResponseDetails The response object returned from IngestSqlTextDetails operation.
type IngestSqlTextResponseDetails struct { // Success message returned as a result of the upload. Message *string `mandatory:"true" json:"message"` }
func (m IngestSqlTextResponseDetails) String() string
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" LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListDatabaseConfigurationsDatabaseTypeEnum Enum with underlying type: string
type ListDatabaseConfigurationsDatabaseTypeEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsDatabaseTypeEnum
const ( ListDatabaseConfigurationsDatabaseTypeAdwS ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-S" ListDatabaseConfigurationsDatabaseTypeAtpS ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-S" ListDatabaseConfigurationsDatabaseTypeAdwD ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-D" ListDatabaseConfigurationsDatabaseTypeAtpD ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-D" ListDatabaseConfigurationsDatabaseTypeExternalPdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-PDB" ListDatabaseConfigurationsDatabaseTypeExternalNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetListDatabaseConfigurationsDatabaseTypeEnumValues() []ListDatabaseConfigurationsDatabaseTypeEnum
GetListDatabaseConfigurationsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseConfigurationsDatabaseTypeEnum
ListDatabaseConfigurationsRequest wrapper for the ListDatabaseConfigurations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurationsRequest.
type ListDatabaseConfigurationsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []ListDatabaseConfigurationsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListDatabaseConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Database configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. SortBy ListDatabaseConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 ListDatabaseConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseConfigurationsRequest) String() string
ListDatabaseConfigurationsResponse wrapper for the ListDatabaseConfigurations operation
type ListDatabaseConfigurationsResponse struct { // The underlying http response RawResponse *http.Response // A list of DatabaseConfigurationCollection instances DatabaseConfigurationCollection `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. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` // 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 ListDatabaseConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseConfigurationsResponse) String() string
ListDatabaseConfigurationsSortByEnum Enum with underlying type: string
type ListDatabaseConfigurationsSortByEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsSortByEnum
const ( ListDatabaseConfigurationsSortByDatabasename ListDatabaseConfigurationsSortByEnum = "databaseName" ListDatabaseConfigurationsSortByDatabasedisplayname ListDatabaseConfigurationsSortByEnum = "databaseDisplayName" ListDatabaseConfigurationsSortByDatabasetype ListDatabaseConfigurationsSortByEnum = "databaseType" )
func GetListDatabaseConfigurationsSortByEnumValues() []ListDatabaseConfigurationsSortByEnum
GetListDatabaseConfigurationsSortByEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortByEnum
ListDatabaseConfigurationsSortOrderEnum Enum with underlying type: string
type ListDatabaseConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsSortOrderEnum
const ( ListDatabaseConfigurationsSortOrderAsc ListDatabaseConfigurationsSortOrderEnum = "ASC" ListDatabaseConfigurationsSortOrderDesc ListDatabaseConfigurationsSortOrderEnum = "DESC" )
func GetListDatabaseConfigurationsSortOrderEnumValues() []ListDatabaseConfigurationsSortOrderEnum
GetListDatabaseConfigurationsSortOrderEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortOrderEnum
ListDatabaseInsightsDatabaseTypeEnum Enum with underlying type: string
type ListDatabaseInsightsDatabaseTypeEnum string
Set of constants representing the allowable values for ListDatabaseInsightsDatabaseTypeEnum
const ( ListDatabaseInsightsDatabaseTypeAdwS ListDatabaseInsightsDatabaseTypeEnum = "ADW-S" ListDatabaseInsightsDatabaseTypeAtpS ListDatabaseInsightsDatabaseTypeEnum = "ATP-S" ListDatabaseInsightsDatabaseTypeAdwD ListDatabaseInsightsDatabaseTypeEnum = "ADW-D" ListDatabaseInsightsDatabaseTypeAtpD ListDatabaseInsightsDatabaseTypeEnum = "ATP-D" ListDatabaseInsightsDatabaseTypeExternalPdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-PDB" ListDatabaseInsightsDatabaseTypeExternalNoncdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum
GetListDatabaseInsightsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseInsightsDatabaseTypeEnum
ListDatabaseInsightsFieldsEnum Enum with underlying type: string
type ListDatabaseInsightsFieldsEnum string
Set of constants representing the allowable values for ListDatabaseInsightsFieldsEnum
const ( ListDatabaseInsightsFieldsCompartmentid ListDatabaseInsightsFieldsEnum = "compartmentId" ListDatabaseInsightsFieldsDatabasename ListDatabaseInsightsFieldsEnum = "databaseName" ListDatabaseInsightsFieldsDatabasedisplayname ListDatabaseInsightsFieldsEnum = "databaseDisplayName" ListDatabaseInsightsFieldsDatabasetype ListDatabaseInsightsFieldsEnum = "databaseType" ListDatabaseInsightsFieldsDatabaseversion ListDatabaseInsightsFieldsEnum = "databaseVersion" ListDatabaseInsightsFieldsDatabasehostnames ListDatabaseInsightsFieldsEnum = "databaseHostNames" ListDatabaseInsightsFieldsEnum = "freeformTags" ListDatabaseInsightsFieldsEnum = "definedTags" )
func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum
GetListDatabaseInsightsFieldsEnumValues Enumerates the set of values for ListDatabaseInsightsFieldsEnum
ListDatabaseInsightsRequest wrapper for the ListDatabaseInsights operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsightsRequest.
type ListDatabaseInsightsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Resource Status Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // Lifecycle states LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []ListDatabaseInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Specifies the fields to return in a database summary response. By default all fields are returned if omitted. Fields []ListDatabaseInsightsFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListDatabaseInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Database insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. SortBy ListDatabaseInsightsSortByEnum `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 ListDatabaseInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseInsightsRequest) String() string
ListDatabaseInsightsResponse wrapper for the ListDatabaseInsights operation
type ListDatabaseInsightsResponse struct { // The underlying http response RawResponse *http.Response // A list of DatabaseInsightsCollection instances DatabaseInsightsCollection `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. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` // 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 ListDatabaseInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseInsightsResponse) String() string
ListDatabaseInsightsSortByEnum Enum with underlying type: string
type ListDatabaseInsightsSortByEnum string
Set of constants representing the allowable values for ListDatabaseInsightsSortByEnum
const ( ListDatabaseInsightsSortByDatabasename ListDatabaseInsightsSortByEnum = "databaseName" ListDatabaseInsightsSortByDatabasedisplayname ListDatabaseInsightsSortByEnum = "databaseDisplayName" ListDatabaseInsightsSortByDatabasetype ListDatabaseInsightsSortByEnum = "databaseType" )
func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum
GetListDatabaseInsightsSortByEnumValues Enumerates the set of values for ListDatabaseInsightsSortByEnum
ListDatabaseInsightsSortOrderEnum Enum with underlying type: string
type ListDatabaseInsightsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseInsightsSortOrderEnum
const ( ListDatabaseInsightsSortOrderAsc ListDatabaseInsightsSortOrderEnum = "ASC" ListDatabaseInsightsSortOrderDesc ListDatabaseInsightsSortOrderEnum = "DESC" )
func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum
GetListDatabaseInsightsSortOrderEnumValues Enumerates the set of values for ListDatabaseInsightsSortOrderEnum
ListEnterpriseManagerBridgesRequest wrapper for the ListEnterpriseManagerBridges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridgesRequest.
type ListEnterpriseManagerBridgesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Unique Enterprise Manager bridge identifier Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Lifecycle states LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListEnterpriseManagerBridgesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListEnterpriseManagerBridgesSortByEnum `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 ListEnterpriseManagerBridgesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListEnterpriseManagerBridgesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListEnterpriseManagerBridgesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListEnterpriseManagerBridgesRequest) String() string
ListEnterpriseManagerBridgesResponse wrapper for the ListEnterpriseManagerBridges operation
type ListEnterpriseManagerBridgesResponse struct { // The underlying http response RawResponse *http.Response // A list of EnterpriseManagerBridgeCollection instances EnterpriseManagerBridgeCollection `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 ListEnterpriseManagerBridgesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListEnterpriseManagerBridgesResponse) String() string
ListEnterpriseManagerBridgesSortByEnum Enum with underlying type: string
type ListEnterpriseManagerBridgesSortByEnum string
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortByEnum
const ( ListEnterpriseManagerBridgesSortByTimecreated ListEnterpriseManagerBridgesSortByEnum = "timeCreated" ListEnterpriseManagerBridgesSortByDisplayname ListEnterpriseManagerBridgesSortByEnum = "displayName" )
func GetListEnterpriseManagerBridgesSortByEnumValues() []ListEnterpriseManagerBridgesSortByEnum
GetListEnterpriseManagerBridgesSortByEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortByEnum
ListEnterpriseManagerBridgesSortOrderEnum Enum with underlying type: string
type ListEnterpriseManagerBridgesSortOrderEnum string
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortOrderEnum
const ( ListEnterpriseManagerBridgesSortOrderAsc ListEnterpriseManagerBridgesSortOrderEnum = "ASC" ListEnterpriseManagerBridgesSortOrderDesc ListEnterpriseManagerBridgesSortOrderEnum = "DESC" )
func GetListEnterpriseManagerBridgesSortOrderEnumValues() []ListEnterpriseManagerBridgesSortOrderEnum
GetListEnterpriseManagerBridgesSortOrderEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortOrderEnum
ListHostInsightsPlatformTypeEnum Enum with underlying type: string
type ListHostInsightsPlatformTypeEnum string
Set of constants representing the allowable values for ListHostInsightsPlatformTypeEnum
const ( ListHostInsightsPlatformTypeLinux ListHostInsightsPlatformTypeEnum = "LINUX" )
func GetListHostInsightsPlatformTypeEnumValues() []ListHostInsightsPlatformTypeEnum
GetListHostInsightsPlatformTypeEnumValues Enumerates the set of values for ListHostInsightsPlatformTypeEnum
ListHostInsightsRequest wrapper for the ListHostInsights operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsightsRequest.
type ListHostInsightsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Resource Status Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` // Lifecycle states LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // Filter by one or more host types. // Possible value is EXTERNAL-HOST. HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []ListHostInsightsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListHostInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Host insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. SortBy ListHostInsightsSortByEnum `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 ListHostInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostInsightsRequest) String() string
ListHostInsightsResponse wrapper for the ListHostInsights operation
type ListHostInsightsResponse struct { // The underlying http response RawResponse *http.Response // A list of HostInsightSummaryCollection instances HostInsightSummaryCollection `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. The total number of items in the result. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` // 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 ListHostInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostInsightsResponse) String() string
ListHostInsightsSortByEnum Enum with underlying type: string
type ListHostInsightsSortByEnum string
Set of constants representing the allowable values for ListHostInsightsSortByEnum
const ( ListHostInsightsSortByHostname ListHostInsightsSortByEnum = "hostName" ListHostInsightsSortByHosttype ListHostInsightsSortByEnum = "hostType" )
func GetListHostInsightsSortByEnumValues() []ListHostInsightsSortByEnum
GetListHostInsightsSortByEnumValues Enumerates the set of values for ListHostInsightsSortByEnum
ListHostInsightsSortOrderEnum Enum with underlying type: string
type ListHostInsightsSortOrderEnum string
Set of constants representing the allowable values for ListHostInsightsSortOrderEnum
const ( ListHostInsightsSortOrderAsc ListHostInsightsSortOrderEnum = "ASC" ListHostInsightsSortOrderDesc ListHostInsightsSortOrderEnum = "DESC" )
func GetListHostInsightsSortOrderEnumValues() []ListHostInsightsSortOrderEnum
GetListHostInsightsSortOrderEnumValues Enumerates the set of values for ListHostInsightsSortOrderEnum
ListHostedEntitiesPlatformTypeEnum Enum with underlying type: string
type ListHostedEntitiesPlatformTypeEnum string
Set of constants representing the allowable values for ListHostedEntitiesPlatformTypeEnum
const ( ListHostedEntitiesPlatformTypeLinux ListHostedEntitiesPlatformTypeEnum = "LINUX" )
func GetListHostedEntitiesPlatformTypeEnumValues() []ListHostedEntitiesPlatformTypeEnum
GetListHostedEntitiesPlatformTypeEnumValues Enumerates the set of values for ListHostedEntitiesPlatformTypeEnum
ListHostedEntitiesRequest wrapper for the ListHostedEntities operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntitiesRequest.
type ListHostedEntitiesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. Id *string `mandatory:"true" contributesTo:"query" name:"id"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []ListHostedEntitiesPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListHostedEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Hosted entity list sort options. SortBy ListHostedEntitiesSortByEnum `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 ListHostedEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostedEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostedEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostedEntitiesRequest) String() string
ListHostedEntitiesResponse wrapper for the ListHostedEntities operation
type ListHostedEntitiesResponse struct { // The underlying http response RawResponse *http.Response // A list of HostedEntityCollection instances HostedEntityCollection `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 ListHostedEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostedEntitiesResponse) String() string
ListHostedEntitiesSortByEnum Enum with underlying type: string
type ListHostedEntitiesSortByEnum string
Set of constants representing the allowable values for ListHostedEntitiesSortByEnum
const ( ListHostedEntitiesSortByEntityname ListHostedEntitiesSortByEnum = "entityName" ListHostedEntitiesSortByEntitytype ListHostedEntitiesSortByEnum = "entityType" )
func GetListHostedEntitiesSortByEnumValues() []ListHostedEntitiesSortByEnum
GetListHostedEntitiesSortByEnumValues Enumerates the set of values for ListHostedEntitiesSortByEnum
ListHostedEntitiesSortOrderEnum Enum with underlying type: string
type ListHostedEntitiesSortOrderEnum string
Set of constants representing the allowable values for ListHostedEntitiesSortOrderEnum
const ( ListHostedEntitiesSortOrderAsc ListHostedEntitiesSortOrderEnum = "ASC" ListHostedEntitiesSortOrderDesc ListHostedEntitiesSortOrderEnum = "DESC" )
func GetListHostedEntitiesSortOrderEnumValues() []ListHostedEntitiesSortOrderEnum
GetListHostedEntitiesSortOrderEnumValues Enumerates the set of values for ListHostedEntitiesSortOrderEnum
ListImportableEnterpriseManagerEntitiesRequest wrapper for the ListImportableEnterpriseManagerEntities operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntitiesRequest.
type ListImportableEnterpriseManagerEntitiesRequest struct { // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListImportableEnterpriseManagerEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImportableEnterpriseManagerEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImportableEnterpriseManagerEntitiesRequest) String() string
ListImportableEnterpriseManagerEntitiesResponse wrapper for the ListImportableEnterpriseManagerEntities operation
type ListImportableEnterpriseManagerEntitiesResponse struct { // The underlying http response RawResponse *http.Response // A list of ImportableEnterpriseManagerEntityCollection instances ImportableEnterpriseManagerEntityCollection `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 ListImportableEnterpriseManagerEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImportableEnterpriseManagerEntitiesResponse) String() string
ListSqlPlansRequest wrapper for the ListSqlPlans operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlansRequest.
type ListSqlPlansRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Unique plan hash for a SQL Plan of a particular SQL Statement. // Example: `9820154385` PlanHash []int64 `contributesTo:"query" name:"planHash" collectionFormat:"multi"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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/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 ListSqlPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlPlansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlPlansRequest) String() string
ListSqlPlansResponse wrapper for the ListSqlPlans operation
type ListSqlPlansResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlPlanCollection instances SqlPlanCollection `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 ListSqlPlansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlPlansResponse) String() string
ListSqlSearchesRequest wrapper for the ListSqlSearches operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearchesRequest.
type ListSqlSearchesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 ListSqlSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlSearchesRequest) String() string
ListSqlSearchesResponse wrapper for the ListSqlSearches operation
type ListSqlSearchesResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlSearchCollection instances SqlSearchCollection `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 ListSqlSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlSearchesResponse) String() string
ListSqlTextsRequest wrapper for the ListSqlTexts operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTextsRequest.
type ListSqlTextsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // One or more unique SQL_IDs for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the assosicated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 ListSqlTextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlTextsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlTextsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlTextsRequest) String() string
ListSqlTextsResponse wrapper for the ListSqlTexts operation
type ListSqlTextsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlTextCollection instances SqlTextCollection `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 ListSqlTextsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlTextsResponse) String() string
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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/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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (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
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
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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/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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (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
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
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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/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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `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
MacsManagedExternalDatabaseConfigurationSummary Configuration Summary of a Macs Managed External database.
type MacsManagedExternalDatabaseConfigurationSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` // 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:"true" json:"definedTags"` // 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:"true" json:"freeformTags"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"true" json:"managementAgentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector ConnectorId *string `mandatory:"true" json:"connectorId"` // Array of hostname and instance name. Instances []HostInstanceMap `mandatory:"true" json:"instances"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` }
func (m MacsManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedExternalDatabaseConfigurationSummary) String() string
MacsManagedExternalDatabaseInsight Database insight resource.
type MacsManagedExternalDatabaseInsight struct { // Database insight identifier Id *string `mandatory:"true" json:"id"` // Compartment identifier of the database CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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:"true" 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:"true" json:"definedTags"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // Name of database DatabaseName *string `mandatory:"true" json:"databaseName"` // OCI database resource type DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector ConnectorId *string `mandatory:"false" json:"connectorId"` ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"` ConnectionCredentialDetails CredentialDetails `mandatory:"false" json:"connectionCredentialDetails"` // Display name of database DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command. DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"true" json:"status"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m MacsManagedExternalDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedExternalDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedExternalDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedExternalDatabaseInsight) GetId() *string
GetId returns Id
func (m MacsManagedExternalDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedExternalDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedExternalDatabaseInsight) String() string
func (m *MacsManagedExternalDatabaseInsight) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
MacsManagedExternalDatabaseInsightSummary Summary of a database insight resource.
type MacsManagedExternalDatabaseInsightSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"false" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // The hostnames for the database. DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"` // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // The time the the database insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the database insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // OCI database resource type DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"false" json:"managementAgentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector ConnectorId *string `mandatory:"false" json:"connectorId"` // Indicates the status of a database insight in Operations Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the database. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m MacsManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedExternalDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedExternalDatabaseInsightSummary) String() string
MacsManagedExternalHostInsight MACS-managed external host insight resource.
type MacsManagedExternalHostInsight struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The host name. The host name is unique amongst the hosts managed by the same management agent. HostName *string `mandatory:"true" json:"hostName"` // 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:"true" 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:"true" json:"definedTags"` // The time the the host insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"true" json:"managementAgentId"` // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the host insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Platform name. PlatformName *string `mandatory:"false" json:"platformName"` // Platform version. PlatformVersion *string `mandatory:"false" json:"platformVersion"` // Platform type. PlatformType MacsManagedExternalHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` // Indicates the status of a host insight in Operations Insights Status ResourceStatusEnum `mandatory:"true" json:"status"` // The current state of the host. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m MacsManagedExternalHostInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedExternalHostInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedExternalHostInsight) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m MacsManagedExternalHostInsight) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedExternalHostInsight) GetHostType() *string
GetHostType returns HostType
func (m MacsManagedExternalHostInsight) GetId() *string
GetId returns Id
func (m MacsManagedExternalHostInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedExternalHostInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedExternalHostInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedExternalHostInsight) String() string
MacsManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
type MacsManagedExternalHostInsightPlatformTypeEnum string
Set of constants representing the allowable values for MacsManagedExternalHostInsightPlatformTypeEnum
const ( MacsManagedExternalHostInsightPlatformTypeLinux MacsManagedExternalHostInsightPlatformTypeEnum = "LINUX" )
func GetMacsManagedExternalHostInsightPlatformTypeEnumValues() []MacsManagedExternalHostInsightPlatformTypeEnum
GetMacsManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightPlatformTypeEnum
MacsManagedExternalHostInsightSummary Summary of a MACS-managed external host insight resource.
type MacsManagedExternalHostInsightSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The host name. The host name is unique amongst the hosts managed by the same management agent. HostName *string `mandatory:"true" json:"hostName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent ManagementAgentId *string `mandatory:"true" json:"managementAgentId"` // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. ProcessorCount *int `mandatory:"false" json:"processorCount"` // 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The time the the host insight was first enabled. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the host insight was updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Platform type. PlatformType MacsManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` // Indicates the status of a host insight in Operations Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the host. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m MacsManagedExternalHostInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedExternalHostInsightSummary) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m MacsManagedExternalHostInsightSummary) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedExternalHostInsightSummary) GetHostType() *string
GetHostType returns HostType
func (m MacsManagedExternalHostInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedExternalHostInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedExternalHostInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedExternalHostInsightSummary) String() string
MacsManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
type MacsManagedExternalHostInsightSummaryPlatformTypeEnum string
Set of constants representing the allowable values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
const ( MacsManagedExternalHostInsightSummaryPlatformTypeLinux MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX" )
func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues() []MacsManagedExternalHostInsightSummaryPlatformTypeEnum
GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func 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 ( OperationTypeEnableDatabaseInsight OperationTypeEnum = "ENABLE_DATABASE_INSIGHT" OperationTypeDisableDatabaseInsight OperationTypeEnum = "DISABLE_DATABASE_INSIGHT" OperationTypeUpdateDatabaseInsight OperationTypeEnum = "UPDATE_DATABASE_INSIGHT" OperationTypeCreateDatabaseInsight OperationTypeEnum = "CREATE_DATABASE_INSIGHT" OperationTypeMoveDatabaseInsight OperationTypeEnum = "MOVE_DATABASE_INSIGHT" OperationTypeDeleteDatabaseInsight OperationTypeEnum = "DELETE_DATABASE_INSIGHT" OperationTypeCreateEnterpriseManagerBridge OperationTypeEnum = "CREATE_ENTERPRISE_MANAGER_BRIDGE" OperationTypeUdpateEnterpriseManagerBridge OperationTypeEnum = "UDPATE_ENTERPRISE_MANAGER_BRIDGE" OperationTypeMoveEnterpriseManagerBridge OperationTypeEnum = "MOVE_ENTERPRISE_MANAGER_BRIDGE" OperationTypeDeleteEnterpriseManagerBridge OperationTypeEnum = "DELETE_ENTERPRISE_MANAGER_BRIDGE" OperationTypeEnableHostInsight OperationTypeEnum = "ENABLE_HOST_INSIGHT" OperationTypeDisableHostInsight OperationTypeEnum = "DISABLE_HOST_INSIGHT" OperationTypeUpdateHostInsight OperationTypeEnum = "UPDATE_HOST_INSIGHT" OperationTypeCreateHostInsight OperationTypeEnum = "CREATE_HOST_INSIGHT" OperationTypeMoveHostInsight OperationTypeEnum = "MOVE_HOST_INSIGHT" OperationTypeDeleteHostInsight OperationTypeEnum = "DELETE_HOST_INSIGHT" )
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OperationsInsightsClient a client for OperationsInsights
type OperationsInsightsClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOperationsInsightsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperationsInsightsClient, err error)
NewOperationsInsightsClientWithConfigurationProvider Creates a new default OperationsInsights client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOperationsInsightsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperationsInsightsClient, err error)
NewOperationsInsightsClientWithOboToken Creates a new default OperationsInsights 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 OperationsInsightsClient) ChangeDatabaseInsightCompartment(ctx context.Context, request ChangeDatabaseInsightCompartmentRequest) (response ChangeDatabaseInsightCompartmentResponse, err error)
ChangeDatabaseInsightCompartment Moves a DatabaseInsight 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/45.1.0/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartment API.
func (client OperationsInsightsClient) ChangeEnterpriseManagerBridgeCompartment(ctx context.Context, request ChangeEnterpriseManagerBridgeCompartmentRequest) (response ChangeEnterpriseManagerBridgeCompartmentResponse, err error)
ChangeEnterpriseManagerBridgeCompartment Moves a EnterpriseManagerBridge 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/45.1.0/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartment API.
func (client OperationsInsightsClient) ChangeHostInsightCompartment(ctx context.Context, request ChangeHostInsightCompartmentRequest) (response ChangeHostInsightCompartmentResponse, err error)
ChangeHostInsightCompartment Moves a HostInsight 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/45.1.0/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartment API.
func (client *OperationsInsightsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OperationsInsightsClient) CreateDatabaseInsight(ctx context.Context, request CreateDatabaseInsightRequest) (response CreateDatabaseInsightResponse, err error)
CreateDatabaseInsight Create a Database Insight resource for a database in Operations Insights. The database will be enabled in Operations Insights. Database metric collection and analysis will be started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsight API.
func (client OperationsInsightsClient) CreateEnterpriseManagerBridge(ctx context.Context, request CreateEnterpriseManagerBridgeRequest) (response CreateEnterpriseManagerBridgeResponse, err error)
CreateEnterpriseManagerBridge Create a Enterprise Manager bridge in Operations Insights.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridge API.
func (client OperationsInsightsClient) CreateHostInsight(ctx context.Context, request CreateHostInsightRequest) (response CreateHostInsightResponse, err error)
CreateHostInsight Create a Host Insight resource for a host in Operations Insights. The host will be enabled in Operations Insights. Host metric collection and analysis will be started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsight API.
func (client OperationsInsightsClient) DeleteDatabaseInsight(ctx context.Context, request DeleteDatabaseInsightRequest) (response DeleteDatabaseInsightResponse, err error)
DeleteDatabaseInsight Deletes a database insight. The database insight will be deleted and cannot be enabled again.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsight API.
func (client OperationsInsightsClient) DeleteEnterpriseManagerBridge(ctx context.Context, request DeleteEnterpriseManagerBridgeRequest) (response DeleteEnterpriseManagerBridgeResponse, err error)
DeleteEnterpriseManagerBridge Deletes an Operations Insights Enterprise Manager bridge. If any database insight is still referencing this bridge, the operation will fail.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridge API.
func (client OperationsInsightsClient) DeleteHostInsight(ctx context.Context, request DeleteHostInsightRequest) (response DeleteHostInsightResponse, err error)
DeleteHostInsight Deletes a host insight. The host insight will be deleted and cannot be enabled again.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsight API.
func (client OperationsInsightsClient) DisableDatabaseInsight(ctx context.Context, request DisableDatabaseInsightRequest) (response DisableDatabaseInsightResponse, err error)
DisableDatabaseInsight Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsight API.
func (client OperationsInsightsClient) DisableHostInsight(ctx context.Context, request DisableHostInsightRequest) (response DisableHostInsightResponse, err error)
DisableHostInsight Disables a host in Operations Insights. Host metric collection and analysis will be stopped.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsight API.
func (client OperationsInsightsClient) EnableDatabaseInsight(ctx context.Context, request EnableDatabaseInsightRequest) (response EnableDatabaseInsightResponse, err error)
EnableDatabaseInsight Enables a database in Operations Insights. Database metric collection and analysis will be started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsight API.
func (client OperationsInsightsClient) EnableHostInsight(ctx context.Context, request EnableHostInsightRequest) (response EnableHostInsightResponse, err error)
EnableHostInsight Enables a host in Operations Insights. Host metric collection and analysis will be started.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsight API.
func (client OperationsInsightsClient) GetDatabaseInsight(ctx context.Context, request GetDatabaseInsightRequest) (response GetDatabaseInsightResponse, err error)
GetDatabaseInsight Gets details of a database insight.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsight API.
func (client OperationsInsightsClient) GetEnterpriseManagerBridge(ctx context.Context, request GetEnterpriseManagerBridgeRequest) (response GetEnterpriseManagerBridgeResponse, err error)
GetEnterpriseManagerBridge Gets details of an Operations Insights Enterprise Manager bridge.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridge API.
func (client OperationsInsightsClient) GetHostInsight(ctx context.Context, request GetHostInsightRequest) (response GetHostInsightResponse, err error)
GetHostInsight Gets details of a host insight.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsight API.
func (client OperationsInsightsClient) 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/45.1.0/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client OperationsInsightsClient) IngestDatabaseConfiguration(ctx context.Context, request IngestDatabaseConfigurationRequest) (response IngestDatabaseConfigurationResponse, err error)
IngestDatabaseConfiguration This is a generic ingest endpoint for all database configuration metrics.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfiguration API.
func (client OperationsInsightsClient) IngestHostConfiguration(ctx context.Context, request IngestHostConfigurationRequest) (response IngestHostConfigurationResponse, err error)
IngestHostConfiguration This is a generic ingest endpoint for all the host configuration metrics
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfiguration API.
func (client OperationsInsightsClient) IngestHostMetrics(ctx context.Context, request IngestHostMetricsRequest) (response IngestHostMetricsResponse, err error)
IngestHostMetrics This is a generic ingest endpoint for all the host performance metrics
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetrics API.
func (client OperationsInsightsClient) IngestSqlBucket(ctx context.Context, request IngestSqlBucketRequest) (response IngestSqlBucketResponse, err error)
IngestSqlBucket The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucket API.
func (client OperationsInsightsClient) IngestSqlPlanLines(ctx context.Context, request IngestSqlPlanLinesRequest) (response IngestSqlPlanLinesResponse, err error)
IngestSqlPlanLines The SqlPlanLines endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLines API.
func (client OperationsInsightsClient) IngestSqlText(ctx context.Context, request IngestSqlTextRequest) (response IngestSqlTextResponse, err error)
IngestSqlText The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline. Either databaseId or id must be specified. Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlText API.
func (client OperationsInsightsClient) ListDatabaseConfigurations(ctx context.Context, request ListDatabaseConfigurationsRequest) (response ListDatabaseConfigurationsResponse, err error)
ListDatabaseConfigurations Gets a list of database insight configurations based on the query parameters specified. Either compartmentId or databaseInsightId query parameter must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurations API.
func (client OperationsInsightsClient) ListDatabaseInsights(ctx context.Context, request ListDatabaseInsightsRequest) (response ListDatabaseInsightsResponse, err error)
ListDatabaseInsights Gets a list of database insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsights API.
func (client OperationsInsightsClient) ListEnterpriseManagerBridges(ctx context.Context, request ListEnterpriseManagerBridgesRequest) (response ListEnterpriseManagerBridgesResponse, err error)
ListEnterpriseManagerBridges Gets a list of Operations Insights Enterprise Manager bridges. Either compartmentId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridges API.
func (client OperationsInsightsClient) ListHostInsights(ctx context.Context, request ListHostInsightsRequest) (response ListHostInsightsResponse, err error)
ListHostInsights Gets a list of host insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsights API.
func (client OperationsInsightsClient) ListHostedEntities(ctx context.Context, request ListHostedEntitiesRequest) (response ListHostedEntitiesResponse, err error)
ListHostedEntities Get a list of hosted entities details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntities API.
func (client OperationsInsightsClient) ListImportableEnterpriseManagerEntities(ctx context.Context, request ListImportableEnterpriseManagerEntitiesRequest) (response ListImportableEnterpriseManagerEntitiesResponse, err error)
ListImportableEnterpriseManagerEntities Gets a list of importable entities for an Operations Insights Enterprise Manager bridge that have not been imported before.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntities API.
func (client OperationsInsightsClient) ListSqlPlans(ctx context.Context, request ListSqlPlansRequest) (response ListSqlPlansResponse, err error)
ListSqlPlans Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlans API.
func (client OperationsInsightsClient) ListSqlSearches(ctx context.Context, request ListSqlSearchesRequest) (response ListSqlSearchesResponse, err error)
ListSqlSearches Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearches API.
func (client OperationsInsightsClient) ListSqlTexts(ctx context.Context, request ListSqlTextsRequest) (response ListSqlTextsResponse, err error)
ListSqlTexts Query SQL Warehouse to get the full SQL Text for a SQL.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTexts API.
func (client OperationsInsightsClient) 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/45.1.0/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client OperationsInsightsClient) 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/45.1.0/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client OperationsInsightsClient) 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/45.1.0/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *OperationsInsightsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend(ctx context.Context, request SummarizeDatabaseInsightResourceCapacityTrendRequest) (response SummarizeDatabaseInsightResourceCapacityTrendResponse, err error)
SummarizeDatabaseInsightResourceCapacityTrend Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrend API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend(ctx context.Context, request SummarizeDatabaseInsightResourceForecastTrendRequest) (response SummarizeDatabaseInsightResourceForecastTrendResponse, err error)
SummarizeDatabaseInsightResourceForecastTrend Get Forecast predictions for CPU and Storage resources since a time in the past.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrend API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics(ctx context.Context, request SummarizeDatabaseInsightResourceStatisticsRequest) (response SummarizeDatabaseInsightResourceStatisticsResponse, err error)
SummarizeDatabaseInsightResourceStatistics Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled) for each database filtered by utilization level
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatistics API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage(ctx context.Context, request SummarizeDatabaseInsightResourceUsageRequest) (response SummarizeDatabaseInsightResourceUsageResponse, err error)
SummarizeDatabaseInsightResourceUsage A cumulative distribution function is used to rank the usage data points per database within the specified time period. For each database, the minimum data point with a ranking > the percentile value is included in the summation. Linear regression functions are used to calculate the usage change percentage.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsage API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend(ctx context.Context, request SummarizeDatabaseInsightResourceUsageTrendRequest) (response SummarizeDatabaseInsightResourceUsageTrendResponse, err error)
SummarizeDatabaseInsightResourceUsageTrend Returns response with time series data (endTimestamp, usage, capacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrend API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight(ctx context.Context, request SummarizeDatabaseInsightResourceUtilizationInsightRequest) (response SummarizeDatabaseInsightResourceUtilizationInsightResponse, err error)
SummarizeDatabaseInsightResourceUtilizationInsight Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
func (client OperationsInsightsClient) SummarizeDatabaseInsightTablespaceUsageTrend(ctx context.Context, request SummarizeDatabaseInsightTablespaceUsageTrendRequest) (response SummarizeDatabaseInsightTablespaceUsageTrendResponse, err error)
SummarizeDatabaseInsightTablespaceUsageTrend Returns response with usage time series data (endTimestamp, usage, capacity) with breakdown by tablespaceName for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceCapacityTrend(ctx context.Context, request SummarizeHostInsightResourceCapacityTrendRequest) (response SummarizeHostInsightResourceCapacityTrendResponse, err error)
SummarizeHostInsightResourceCapacityTrend Returns response with time series data (endTimestamp, capacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeHostInsightResourceCapacityTrend API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceForecastTrend(ctx context.Context, request SummarizeHostInsightResourceForecastTrendRequest) (response SummarizeHostInsightResourceForecastTrendResponse, err error)
SummarizeHostInsightResourceForecastTrend Get Forecast predictions for CPU or memory resources since a time in the past.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceForecastTrend.go.html to see an example of how to use SummarizeHostInsightResourceForecastTrend API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceStatistics(ctx context.Context, request SummarizeHostInsightResourceStatisticsRequest) (response SummarizeHostInsightResourceStatisticsResponse, err error)
SummarizeHostInsightResourceStatistics Lists the resource statistics (usage, capacity, usage change percent, utilization percent, load) for each host filtered by utilization level.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceStatistics.go.html to see an example of how to use SummarizeHostInsightResourceStatistics API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceUsage(ctx context.Context, request SummarizeHostInsightResourceUsageRequest) (response SummarizeHostInsightResourceUsageResponse, err error)
SummarizeHostInsightResourceUsage A cumulative distribution function is used to rank the usage data points per host within the specified time period. For each host, the minimum data point with a ranking > the percentile value is included in the summation. Linear regression functions are used to calculate the usage change percentage.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUsage.go.html to see an example of how to use SummarizeHostInsightResourceUsage API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceUsageTrend(ctx context.Context, request SummarizeHostInsightResourceUsageTrendRequest) (response SummarizeHostInsightResourceUsageTrendResponse, err error)
SummarizeHostInsightResourceUsageTrend Returns response with time series data (endTimestamp, usage, capacity) for the time period specified. The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUsageTrend.go.html to see an example of how to use SummarizeHostInsightResourceUsageTrend API.
func (client OperationsInsightsClient) SummarizeHostInsightResourceUtilizationInsight(ctx context.Context, request SummarizeHostInsightResourceUtilizationInsightRequest) (response SummarizeHostInsightResourceUtilizationInsightResponse, err error)
SummarizeHostInsightResourceUtilizationInsight Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeHostInsightResourceUtilizationInsight API.
func (client OperationsInsightsClient) SummarizeSqlInsights(ctx context.Context, request SummarizeSqlInsightsRequest) (response SummarizeSqlInsightsResponse, err error)
SummarizeSqlInsights Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given time period across the given databases or database types.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsights API.
func (client OperationsInsightsClient) SummarizeSqlPlanInsights(ctx context.Context, request SummarizeSqlPlanInsightsRequest) (response SummarizeSqlPlanInsightsResponse, err error)
SummarizeSqlPlanInsights Query SQL Warehouse to get the performance insights on the execution plans for a given SQL for a given time period. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsights API.
func (client OperationsInsightsClient) SummarizeSqlResponseTimeDistributions(ctx context.Context, request SummarizeSqlResponseTimeDistributionsRequest) (response SummarizeSqlResponseTimeDistributionsResponse, err error)
SummarizeSqlResponseTimeDistributions Query SQL Warehouse to summarize the response time distribution of query executions for a given SQL for a given time period. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributions API.
func (client OperationsInsightsClient) SummarizeSqlStatistics(ctx context.Context, request SummarizeSqlStatisticsRequest) (response SummarizeSqlStatisticsResponse, err error)
SummarizeSqlStatistics Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given time period across the given databases or database types.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatistics API.
func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesRequest) (response SummarizeSqlStatisticsTimeSeriesResponse, err error)
SummarizeSqlStatisticsTimeSeries Query SQL Warehouse to get the performance statistics time series for a given SQL across given databases for a given time period.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeries API.
func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesByPlanRequest) (response SummarizeSqlStatisticsTimeSeriesByPlanResponse, err error)
SummarizeSqlStatisticsTimeSeriesByPlan Query SQL Warehouse to get the performance statistics time series for a given SQL by execution plans for a given time period. Either databaseId or id must be specified.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
func (client OperationsInsightsClient) UpdateDatabaseInsight(ctx context.Context, request UpdateDatabaseInsightRequest) (response UpdateDatabaseInsightResponse, err error)
UpdateDatabaseInsight Updates configuration of a database insight.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateDatabaseInsight.go.html to see an example of how to use UpdateDatabaseInsight API.
func (client OperationsInsightsClient) UpdateEnterpriseManagerBridge(ctx context.Context, request UpdateEnterpriseManagerBridgeRequest) (response UpdateEnterpriseManagerBridgeResponse, err error)
UpdateEnterpriseManagerBridge Updates configuration of an Operations Insights Enterprise Manager bridge.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateEnterpriseManagerBridge.go.html to see an example of how to use UpdateEnterpriseManagerBridge API.
func (client OperationsInsightsClient) UpdateHostInsight(ctx context.Context, request UpdateHostInsightRequest) (response UpdateHostInsightResponse, err error)
UpdateHostInsight Updates configuration of a host insight.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateHostInsight.go.html to see an example of how to use UpdateHostInsight API.
ProjectedDataItem The timestamp of the projected event and their corresponding resource value. `highValue` and `lowValue` are the uncertainty bounds of the corresponding value.
type ProjectedDataItem struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // Upper uncertainty bound of the current usage value. HighValue *float64 `mandatory:"true" json:"highValue"` // Lower uncertainty bound of the current usage value. LowValue *float64 `mandatory:"true" json:"lowValue"` }
func (m ProjectedDataItem) String() string
ResourceCapacityTrendAggregation Resource Capacity samples
type ResourceCapacityTrendAggregation struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // The base allocated amount of the resource metric type (CPU, STORAGE). BaseCapacity *float64 `mandatory:"true" json:"baseCapacity"` }
func (m ResourceCapacityTrendAggregation) String() string
ResourceInsightCurrentUtilization Current utilization(High/low) for cpu or storage
type ResourceInsightCurrentUtilization struct { // List of db ids with low usage Low []string `mandatory:"false" json:"low"` // List of db ids with high usage High []string `mandatory:"false" json:"high"` }
func (m ResourceInsightCurrentUtilization) String() string
ResourceInsightProjectedUtilization Projected utilization(High/low) for cpu or storage
type ResourceInsightProjectedUtilization struct { // List of db ids with low usage Low []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"low"` // List of db ids with high usage High []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"high"` }
func (m ResourceInsightProjectedUtilization) String() string
ResourceInsightProjectedUtilizationItem Projected utilization object containing dbid and daysToReach value
type ResourceInsightProjectedUtilizationItem struct { // Db id Id *string `mandatory:"true" json:"id"` // Days to reach projected utilization DaysToReach *int `mandatory:"true" json:"daysToReach"` }
func (m ResourceInsightProjectedUtilizationItem) String() string
ResourceStatistics Contains resource statistics with usage unit
type ResourceStatistics struct { // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // Resource utilization in percentage UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"` // Change in resource utilization in percentage UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"` // The base allocated amount of the resource metric type (CPU, STORAGE). BaseCapacity *float64 `mandatory:"false" json:"baseCapacity"` // Indicates if auto scaling feature is enabled or disabled on a database. It will be false for all metrics other than CPU. IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"` }
func (m ResourceStatistics) String() string
ResourceStatisticsAggregation Contains database details and resource statistics
type ResourceStatisticsAggregation struct { DatabaseDetails *DatabaseDetails `mandatory:"false" json:"databaseDetails"` CurrentStatistics *ResourceStatistics `mandatory:"false" json:"currentStatistics"` }
func (m ResourceStatisticsAggregation) String() string
ResourceStatusEnum Enum with underlying type: string
type ResourceStatusEnum string
Set of constants representing the allowable values for ResourceStatusEnum
const ( ResourceStatusDisabled ResourceStatusEnum = "DISABLED" ResourceStatusEnabled ResourceStatusEnum = "ENABLED" ResourceStatusTerminated ResourceStatusEnum = "TERMINATED" )
func GetResourceStatusEnumValues() []ResourceStatusEnum
GetResourceStatusEnumValues Enumerates the set of values for ResourceStatusEnum
ResourceUsageTrendAggregation Aggregate usage samples
type ResourceUsageTrendAggregation struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` }
func (m ResourceUsageTrendAggregation) 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 GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SqlBucket Sql bucket type object.
type SqlBucket struct { // Collection timestamp // Example: `"2020-03-31T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // Plan hash value for the SQL Execution Plan PlanHash *int64 `mandatory:"true" json:"planHash"` // SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min // Example: `"<= 3 secs"` BucketId *string `mandatory:"true" json:"bucketId"` // Version // Example: `1` Version *float32 `mandatory:"false" json:"version"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // Total number of executions // Example: `60` ExecutionsCount *int `mandatory:"false" json:"executionsCount"` // Total CPU time // Example: `1046` CpuTimeInSec *float32 `mandatory:"false" json:"cpuTimeInSec"` // Total IO time // Example: `5810` IoTimeInSec *float32 `mandatory:"false" json:"ioTimeInSec"` // Total other wait time // Example: `24061` OtherWaitTimeInSec *float32 `mandatory:"false" json:"otherWaitTimeInSec"` // Total time // Example: `30917` TotalTimeInSec *float32 `mandatory:"false" json:"totalTimeInSec"` }
func (m SqlBucket) String() string
SqlInsightAggregation Represents a SQL Insight.
type SqlInsightAggregation struct { // Insight text. // For example `Degrading SQLs`, `Variant SQLs`, // `Inefficient SQLs`, `Improving SQLs`, `SQLs with Plan Changes`, // `Degrading SQLs have increasing IO Time above 50%`, // `Degrading SQLs are variant`, // `2 of the 2 variant SQLs have plan changes`, // `Inefficient SQLs have increasing CPU Time above 50% Text *string `mandatory:"true" json:"text"` // SQL counts for a given insight. For example insight text `2 of 10 SQLs have degrading response time` will have values as [2,10]" Values []int `mandatory:"true" json:"values"` // Insight category. It would be one of the following // DEGRADING, // VARIANT, // INEFFICIENT, // CHANGING_PLANS, // IMPROVING, // DEGRADING_VARIANT, // DEGRADING_INEFFICIENT, // DEGRADING_CHANGING_PLANS, // DEGRADING_INCREASING_IO, // DEGRADING_INCREASING_CPU, // DEGRADING_INCREASING_INEFFICIENT_WAIT, // DEGRADING_CHANGING_PLANS_AND_INCREASING_IO, // DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU, // DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,VARIANT_INEFFICIENT, // VARIANT_CHANGING_PLANS, // VARIANT_INCREASING_IO, // VARIANT_INCREASING_CPU, // VARIANT_INCREASING_INEFFICIENT_WAIT, // VARIANT_CHANGING_PLANS_AND_INCREASING_IO, // VARIANT_CHANGING_PLANS_AND_INCREASING_CPU, // VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT, // INEFFICIENT_CHANGING_PLANS, // INEFFICIENT_INCREASING_INEFFICIENT_WAIT, // INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT Category *string `mandatory:"true" json:"category"` }
func (m SqlInsightAggregation) String() string
SqlInsightAggregationCollection SQL Insights response.
type SqlInsightAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` Inventory *SqlInventory `mandatory:"true" json:"inventory"` // List of insights. Items []SqlInsightAggregation `mandatory:"true" json:"items"` Thresholds *SqlInsightThresholds `mandatory:"true" json:"thresholds"` }
func (m SqlInsightAggregationCollection) String() string
SqlInsightThresholds Inventory details.
type SqlInsightThresholds struct { // Degradation Percent Threshold is used to derive degrading SQLs. DegradationInPct *int `mandatory:"true" json:"degradationInPct"` // Variability Percent Threshold is used to derive variant SQLs. Variability *float32 `mandatory:"true" json:"variability"` // Inefficiency Percent Threshold is used to derive inefficient SQLs. InefficiencyInPct *int `mandatory:"true" json:"inefficiencyInPct"` // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or // variant or inefficient. And these SQLs should also have increasing change in IO Time // beyond threshold. Insights are derived using linear regression. IncreaseInIOInPct *int `mandatory:"true" json:"increaseInIOInPct"` // PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or // variant or inefficient. And these SQLs should also have increasing change in CPU Time // beyond threshold. Insights are derived using linear regression. IncreaseInCPUInPct *int `mandatory:"true" json:"increaseInCPUInPct"` // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or // variant or inefficient. And these SQLs should also have increasing change in // Other Wait Time beyond threshold. Insights are derived using linear regression. IncreaseInInefficientWaitInPct *int `mandatory:"true" json:"increaseInInefficientWaitInPct"` // Improved Percent Threshold is used to derive improving SQLs. ImprovedInPct *int `mandatory:"true" json:"improvedInPct"` }
func (m SqlInsightThresholds) String() string
SqlInventory Inventory details.
type SqlInventory struct { // Total number of sqls. Example `2000` TotalSqls *int64 `mandatory:"true" json:"totalSqls"` // Total number of Databases. Example `400` TotalDatabases *int `mandatory:"true" json:"totalDatabases"` // Total number of sqls analyzed by the query. Example `120` SqlsAnalyzed *int64 `mandatory:"true" json:"sqlsAnalyzed"` }
func (m SqlInventory) String() string
SqlPlanCollection SQL Plans for the particular SQL.
type SqlPlanCollection struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // array of SQL Plans. Items []SqlPlanSummary `mandatory:"true" json:"items"` }
func (m SqlPlanCollection) String() string
SqlPlanInsightAggregation SQL execution plan Performance statistics.
type SqlPlanInsightAggregation struct { // Plan hash value for the SQL Execution Plan PlanHash *int64 `mandatory:"true" json:"planHash"` // IO Time in seconds IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"` // CPU Time in seconds CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"` // Inefficient Wait Time in seconds InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"` // Total number of executions ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"` }
func (m SqlPlanInsightAggregation) String() string
SqlPlanInsightAggregationCollection SQL plan insights response.
type SqlPlanInsightAggregationCollection struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // List of SQL plan insights. Insights []SqlPlanInsights `mandatory:"true" json:"insights"` // List of SQL plan statistics. Items []SqlPlanInsightAggregation `mandatory:"true" json:"items"` }
func (m SqlPlanInsightAggregationCollection) String() string
SqlPlanInsights Represents collection of SQL Plan Insights.
type SqlPlanInsights struct { // SQL Plan Insight text. // For example `Number of Plans Used`, `Most Executed Plan`, // `Best Performing Plan`, `Worst Performing Plan`, // `Plan With Most IO`, // `Plan with Most CPU` Text *string `mandatory:"true" json:"text"` // SQL execution plan hash value for a given insight. For example `Most Executed Plan` insight will have value as "3975467901" Value *int64 `mandatory:"true" json:"value"` // SQL Insight category. For example PLANS_USED, MOST_EXECUTED, BEST_PERFORMER, WORST_PERFORMER, MOST_CPU or MOST_IO. Category *string `mandatory:"true" json:"category"` }
func (m SqlPlanInsights) String() string
SqlPlanLine SQL Plan Line type object.
type SqlPlanLine struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // Plan hash value for the SQL Execution Plan PlanHash *int64 `mandatory:"true" json:"planHash"` // Collection time stamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // Operation // Example: `"SELECT STATEMENT"` Operation *string `mandatory:"true" json:"operation"` // Identifier // Example: `3` Identifier *int64 `mandatory:"true" json:"identifier"` // Version // Example: `1` Version *float32 `mandatory:"false" json:"version"` // Remark // Example: `""` Remark *string `mandatory:"false" json:"remark"` // Options // Example: `"RANGE SCAN"` Options *string `mandatory:"false" json:"options"` // Object Node // Example: `"Q4000"` ObjectNode *string `mandatory:"false" json:"objectNode"` // Object Owner // Example: `"TENANT_A#SCHEMA"` ObjectOwner *string `mandatory:"false" json:"objectOwner"` // Object Name // Example: `"PLAN_LINES_PK"` ObjectName *string `mandatory:"false" json:"objectName"` // Object Alias // Example: `"PLAN_LINES@SEL$1"` ObjectAlias *string `mandatory:"false" json:"objectAlias"` // Object Instance // Example: `37472` ObjectInstance *int64 `mandatory:"false" json:"objectInstance"` // Object Type // Example: `"INDEX (UNIQUE)"` ObjectType *string `mandatory:"false" json:"objectType"` // Optimizer // Example: `"CLUSTER"` Optimizer *string `mandatory:"false" json:"optimizer"` // Search Columns // Example: `3` SearchColumns *int64 `mandatory:"false" json:"searchColumns"` // Parent Identifier // Example: `2` ParentIdentifier *int64 `mandatory:"false" json:"parentIdentifier"` // Depth // Example: `3` Depth *int64 `mandatory:"false" json:"depth"` // Position // Example: `1` Position *int64 `mandatory:"false" json:"position"` // Cost // Example: `1` Cost *int64 `mandatory:"false" json:"cost"` // Cardinality // Example: `1` Cardinality *int64 `mandatory:"false" json:"cardinality"` // Bytes // Example: `150` Bytes *int64 `mandatory:"false" json:"bytes"` // Other // Example: `` Other *string `mandatory:"false" json:"other"` // Other Tag // Example: `"PARALLEL_COMBINED_WITH_PARENT"` OtherTag *string `mandatory:"false" json:"otherTag"` // Partition start // Example: `1` PartitionStart *string `mandatory:"false" json:"partitionStart"` // Partition stop // Example: `2` PartitionStop *string `mandatory:"false" json:"partitionStop"` // Partition identifier // Example: `8` PartitionIdentifier *int64 `mandatory:"false" json:"partitionIdentifier"` // Distribution // Example: `"QC (RANDOM)"` Distribution *string `mandatory:"false" json:"distribution"` // CPU cost // Example: `7321` CpuCost *int64 `mandatory:"false" json:"cpuCost"` // IO cost // Example: `1` IoCost *int64 `mandatory:"false" json:"ioCost"` // Time space // Example: `15614000` TempSpace *int64 `mandatory:"false" json:"tempSpace"` // Access predicates // Example: `"\"RESOURCE_ID\"=:1 AND \"QUERY_ID\"=:2"` AccessPredicates *string `mandatory:"false" json:"accessPredicates"` // Filter predicates // Example: `"(INTERNAL_FUNCTION(\"J\".\"DATABASE_ROLE\") OR (\"J\".\"DATABASE_ROLE\" IS NULL AND SYS_CONTEXT('userenv','database_role')='PRIMARY'))"` FilterPredicates *string `mandatory:"false" json:"filterPredicates"` // Projection // Example: `"COUNT(*)[22]"` Projection *string `mandatory:"false" json:"projection"` // Qblock Name // Example: `"SEL$1"` QblockName *string `mandatory:"false" json:"qblockName"` // Total elapsed time // Example: `1.2` ElapsedTimeInSec *float32 `mandatory:"false" json:"elapsedTimeInSec"` // Other SQL // Example: `"<other_xml><info type=\"db_version\">18.0.0.0</info><info type=\"parse_schema\"><![CDATA[\"SYS\"]]></info><info type=\"plan_hash_full\">483892784</info><info type=\"plan_hash\">2709293936</info><info type=\"plan_hash_2\">483892784</info><outline_data><hint><![CDATA[IGNORE_OPTIM_EMBEDDED_HINTS]]></hint><hint><![CDATA[OPTIMIZER_FEATURES_ENABLE('18.1.0')]]></hint><hint><![CDATA[DB_VERSION('18.1.0')]]></hint><hint><![CDATA[OPT_PARAM('_b_tree_bitmap_plans' 'false')]]></hint><hint><![CDATA[OPT_PARAM('_optim_peek_user_binds' 'false')]]></hint><hint><![CDATA[OPT_PARAM('result_cache_mode' 'FORCE')]]></hint><hint><![CDATA[OPT_PARAM('_fix_control' '20648883:0 27745220:1 30001331:1 30142527:1 30539126:1')]]></hint><hint><![CDATA[OUTLINE_LEAF(@\"SEL$1\")]]></hint><hint><![CDATA[INDEX(@\"SEL$1\" \"USER$\"@\"SEL$1\" \"I_USER#\")]]></hint></outline_data></other_xml>"` OtherXML *string `mandatory:"false" json:"otherXML"` }
func (m SqlPlanLine) String() string
SqlPlanSummary SQL Plan details
type SqlPlanSummary struct { // Plan hash value for the SQL Execution Plan PlanHash *int64 `mandatory:"true" json:"planHash"` // Plan XML Content PlanContent *string `mandatory:"true" json:"planContent"` }
func (m SqlPlanSummary) String() string
SqlResponseTimeDistributionAggregation SQL Response time distribution entry.
type SqlResponseTimeDistributionAggregation struct { // Response time bucket id BucketId *string `mandatory:"true" json:"bucketId"` // Total number of SQL executions ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"` }
func (m SqlResponseTimeDistributionAggregation) String() string
SqlResponseTimeDistributionAggregationCollection SQL response time distribution over the selected time window.
type SqlResponseTimeDistributionAggregationCollection struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Array of pre defined SQL response time bucket id and SQL executions count. Items []SqlResponseTimeDistributionAggregation `mandatory:"true" json:"items"` }
func (m SqlResponseTimeDistributionAggregationCollection) String() string
SqlSearchCollection Search SQL response.
type SqlSearchCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // List of Databases executing the sql. Items []SqlSearchSummary `mandatory:"true" json:"items"` // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"false" json:"sqlIdentifier"` // SQL Statement Text SqlText *string `mandatory:"false" json:"sqlText"` }
func (m SqlSearchCollection) String() string
SqlSearchSummary Database summary object resulting from a sql search operation.
type SqlSearchSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` // Operations Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` }
func (m SqlSearchSummary) String() string
SqlStatisticAggregation SQL Statistics
type SqlStatisticAggregation struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"` // SQL belongs to one or more categories based on the insights. Category []string `mandatory:"true" json:"category"` Statistics *SqlStatistics `mandatory:"false" json:"statistics"` }
func (m SqlStatisticAggregation) String() string
SqlStatisticAggregationCollection SQL statistics response.
type SqlStatisticAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Array of SQLs along with its statistics statisfying the query criteria. Items []SqlStatisticAggregation `mandatory:"true" json:"items"` }
func (m SqlStatisticAggregationCollection) String() string
SqlStatistics Performance statistics for the SQL.
type SqlStatistics struct { // Database Time in seconds DatabaseTimeInSec *float64 `mandatory:"true" json:"databaseTimeInSec"` // Number of executions per hour ExecutionsPerHour *float64 `mandatory:"true" json:"executionsPerHour"` // Total number of executions ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"` // CPU Time in seconds CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"` // I/O Time in seconds IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"` // Inefficient Wait Time in seconds InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"` // Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions ResponseTimeInSec *float64 `mandatory:"true" json:"responseTimeInSec"` // Number of SQL execution plans used by the SQL PlanCount *int64 `mandatory:"true" json:"planCount"` // Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL Variability *float64 `mandatory:"true" json:"variability"` // Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting. AverageActiveSessions *float64 `mandatory:"true" json:"averageActiveSessions"` // Percentage of Database Time DatabaseTimePct *float64 `mandatory:"true" json:"databaseTimePct"` // Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time InefficiencyInPct *float64 `mandatory:"true" json:"inefficiencyInPct"` // Percent change in CPU Time based on linear regression ChangeInCpuTimeInPct *float64 `mandatory:"true" json:"changeInCpuTimeInPct"` // Percent change in IO Time based on linear regression ChangeInIoTimeInPct *float64 `mandatory:"true" json:"changeInIoTimeInPct"` // Percent change in Inefficient Wait Time based on linear regression ChangeInInefficientWaitTimeInPct *float64 `mandatory:"true" json:"changeInInefficientWaitTimeInPct"` // Percent change in Response Time based on linear regression ChangeInResponseTimeInPct *float64 `mandatory:"true" json:"changeInResponseTimeInPct"` // Percent change in Average Active Sessions based on linear regression ChangeInAverageActiveSessionsInPct *float64 `mandatory:"true" json:"changeInAverageActiveSessionsInPct"` // Percent change in Executions per hour based on linear regression ChangeInExecutionsPerHourInPct *float64 `mandatory:"true" json:"changeInExecutionsPerHourInPct"` // Percent change in Inefficiency based on linear regression ChangeInInefficiencyInPct *float64 `mandatory:"true" json:"changeInInefficiencyInPct"` }
func (m SqlStatistics) String() string
SqlStatisticsTimeSeries SQL performance statistics per database
type SqlStatisticsTimeSeries struct { // SQL performance statistic name Name *string `mandatory:"true" json:"name"` // SQL performance statistic value Values []float64 `mandatory:"true" json:"values"` }
func (m SqlStatisticsTimeSeries) String() string
SqlStatisticsTimeSeriesAggregation Database details and SQL performance statistics for a given database
type SqlStatisticsTimeSeriesAggregation struct { DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"` // SQL performance statistics for a given database Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"` }
func (m SqlStatisticsTimeSeriesAggregation) String() string
SqlStatisticsTimeSeriesAggregationCollection SQL performance statistics over the selected time window.
type SqlStatisticsTimeSeriesAggregationCollection struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Array of SQL performance statistics across databases. Items []SqlStatisticsTimeSeriesAggregation `mandatory:"true" json:"items"` // Array comprising of all the sampling period end timestamps in RFC 3339 format. EndTimestamps []common.SDKTime `mandatory:"false" json:"endTimestamps"` }
func (m SqlStatisticsTimeSeriesAggregationCollection) String() string
SqlStatisticsTimeSeriesByPlanAggregation SQL performance statistics for a given plan
type SqlStatisticsTimeSeriesByPlanAggregation struct { // Plan hash value for the SQL Execution Plan PlanHash *int64 `mandatory:"true" json:"planHash"` // SQL performance statistics for a given plan Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"` }
func (m SqlStatisticsTimeSeriesByPlanAggregation) String() string
SqlStatisticsTimeSeriesByPlanAggregationCollection SQL performance statistics by plan over the selected time window.
type SqlStatisticsTimeSeriesByPlanAggregationCollection struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Array comprising of all the sampling period end timestamps in RFC 3339 format. EndTimestamps []common.SDKTime `mandatory:"true" json:"endTimestamps"` // array of SQL performance statistics by plans Items []SqlStatisticsTimeSeriesByPlanAggregation `mandatory:"true" json:"items"` }
func (m SqlStatisticsTimeSeriesByPlanAggregationCollection) String() string
SqlText SQL Text type object.
type SqlText struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // Collection timestamp // Example: `"2020-05-06T00:00:00.000Z"` TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` // SQL command // Example: `"SELECT"` SqlCommand *string `mandatory:"true" json:"sqlCommand"` // Full SQL Text // Example: `"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users"` // Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion. SqlFullText *string `mandatory:"true" json:"sqlFullText"` // Version // Example: `1` Version *float32 `mandatory:"false" json:"version"` // Exact matching signature // Example: `"18067345456756876713"` ExactMatchingSignature *string `mandatory:"false" json:"exactMatchingSignature"` // Force matching signature // Example: `"18067345456756876713"` ForceMatchingSignature *string `mandatory:"false" json:"forceMatchingSignature"` }
func (m SqlText) String() string
SqlTextCollection SQL Text for the particular SQL.
type SqlTextCollection struct { // array of SQL Texts. Items []SqlTextSummary `mandatory:"true" json:"items"` }
func (m SqlTextCollection) String() string
SqlTextSummary SQL Text details
type SqlTextSummary struct { // Unique SQL_ID for a SQL Statement. SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. DatabaseId *string `mandatory:"true" json:"databaseId"` // SQL Text SqlText *string `mandatory:"true" json:"sqlText"` }
func (m SqlTextSummary) String() string
SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection Collection of resource capacity trend.
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Identifies the units of the current resource metric (CORES, GB). UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Capacity Data with time interval CapacityData []ResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"` }
func (m SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String() string
SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
const ( SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
SummarizeDatabaseInsightResourceCapacityTrendRequest wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrendRequest.
type SummarizeDatabaseInsightResourceCapacityTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by utilization level by the following buckets: // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75. // - LOW_UTILIZATION: DBs with utilization lower than 25. // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75. // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50. UtilizationLevel SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" 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/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 SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Sorts using end timestamp , capacity or baseCapacity SortBy SummarizeDatabaseInsightResourceCapacityTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Tablespace name for a database TablespaceName *string `mandatory:"false" contributesTo:"query" name:"tablespaceName"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string
SummarizeDatabaseInsightResourceCapacityTrendResponse wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
type SummarizeDatabaseInsightResourceCapacityTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection instances SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection `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 SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) String() string
SummarizeDatabaseInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
const ( SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "endTimestamp" SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "capacity" SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "baseCapacity" )
func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
const ( SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "DESC" )
func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
const ( SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
SummarizeDatabaseInsightResourceForecastTrendAggregation Forecast results from the selected time period.
type SummarizeDatabaseInsightResourceForecastTrendAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit ( CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time series patterns used in the forecasting. Pattern SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum `mandatory:"true" json:"pattern"` // The name of tablespace. TablespaceName *string `mandatory:"true" json:"tablespaceName"` // Time series data used for the forecast analysis. HistoricalData []HistoricalDataItem `mandatory:"true" json:"historicalData"` // Time series data result of the forecasting analysis. ProjectedData []ProjectedDataItem `mandatory:"true" json:"projectedData"` }
func (m SummarizeDatabaseInsightResourceForecastTrendAggregation) String() string
SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
const ( SummarizeDatabaseInsightResourceForecastTrendAggregationPatternLinear SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "LINEAR" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternMonthlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternMonthlyAndYearlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_AND_YEARLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyAndMonthlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyMonthlyAndYearlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternWeeklyAndYearlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_YEARLY_SEASONS" SummarizeDatabaseInsightResourceForecastTrendAggregationPatternYearlySeasons SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum = "YEARLY_SEASONS" )
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
const ( SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricCpu SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricStorage SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricIo SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemory SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
const ( SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "LINEAR" SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_AUTO" SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO" )
func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
SummarizeDatabaseInsightResourceForecastTrendRequest wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrendRequest.
type SummarizeDatabaseInsightResourceForecastTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Choose the type of statistic metric data to be used for forecasting. Statistic SummarizeDatabaseInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // Choose algorithm model for the forecasting. // Possible values: // - LINEAR: Uses linear regression algorithm for forecasting. // - ML_AUTO: Automatically detects best algorithm to use for forecasting. // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm. ForecastModel SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"` // Filter by utilization level by the following buckets: // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75. // - LOW_UTILIZATION: DBs with utilization lower than 25. // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75. // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50. UtilizationLevel SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"` // This parameter is used to change data's confidence level, this data is ingested by the // forecast algorithm. // Confidence is the probability of an interval to contain the expected population parameter. // Manipulation of this value will lead to different results. // If not set, default confidence value is 95%. Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"` // 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/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Tablespace name for a database TablespaceName *string `mandatory:"false" contributesTo:"query" name:"tablespaceName"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) String() string
SummarizeDatabaseInsightResourceForecastTrendResponse wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
type SummarizeDatabaseInsightResourceForecastTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceForecastTrendAggregation instances SummarizeDatabaseInsightResourceForecastTrendAggregation `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 SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceForecastTrendResponse) String() string
SummarizeDatabaseInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
const ( SummarizeDatabaseInsightResourceForecastTrendStatisticAvg SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "AVG" SummarizeDatabaseInsightResourceForecastTrendStatisticMax SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "MAX" )
func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues() []SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
const ( SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
SummarizeDatabaseInsightResourceStatisticsAggregationCollection Returns list of the Databases with resource statistics like usage,capacity,utilization and usage change percent.
type SummarizeDatabaseInsightResourceStatisticsAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit ( CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Collection of Resource Statistics items Items []ResourceStatisticsAggregation `mandatory:"true" json:"items"` }
func (m SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String() string
SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
const ( SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
SummarizeDatabaseInsightResourceStatisticsRequest wrapper for the SummarizeDatabaseInsightResourceStatistics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatisticsRequest.
type SummarizeDatabaseInsightResourceStatisticsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Percentile values of daily usage to be used for computing the aggregate resource usage. Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"` // Return data of a specific insight // Possible values are High Utilization, Low Utilization, Any ,High Utilization Forecast, // Low Utilization Forecast InsightBy *string `mandatory:"false" contributesTo:"query" name:"insightBy"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 SummarizeDatabaseInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The order in which resource statistics records are listed SortBy SummarizeDatabaseInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceStatisticsRequest) String() string
SummarizeDatabaseInsightResourceStatisticsResponse wrapper for the SummarizeDatabaseInsightResourceStatistics operation
type SummarizeDatabaseInsightResourceStatisticsResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceStatisticsAggregationCollection instances SummarizeDatabaseInsightResourceStatisticsAggregationCollection `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 SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceStatisticsResponse) String() string
SummarizeDatabaseInsightResourceStatisticsSortByEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceStatisticsSortByEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
const ( SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "utilizationPercent" SummarizeDatabaseInsightResourceStatisticsSortByUsage SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usage" SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usageChangePercent" SummarizeDatabaseInsightResourceStatisticsSortByDatabasename SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseName" SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseType" )
func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortByEnum
GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
SummarizeDatabaseInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
const ( SummarizeDatabaseInsightResourceStatisticsSortOrderAsc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceStatisticsSortOrderDesc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "DESC" )
func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
SummarizeDatabaseInsightResourceUsageAggregation Resource usage summation for the current time period
type SummarizeDatabaseInsightResourceUsageAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit (CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // Percentage change in resource usage during the current period calculated using linear regression functions UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"` }
func (m SummarizeDatabaseInsightResourceUsageAggregation) String() string
SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
const ( SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricIo SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
SummarizeDatabaseInsightResourceUsageRequest wrapper for the SummarizeDatabaseInsightResourceUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageRequest.
type SummarizeDatabaseInsightResourceUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Percentile values of daily usage to be used for computing the aggregate resource usage. Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceUsageRequest) String() string
SummarizeDatabaseInsightResourceUsageResponse wrapper for the SummarizeDatabaseInsightResourceUsage operation
type SummarizeDatabaseInsightResourceUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceUsageAggregation instances SummarizeDatabaseInsightResourceUsageAggregation `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 SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceUsageResponse) String() string
SummarizeDatabaseInsightResourceUsageTrendAggregationCollection Top level response object.
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit ( CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Usage Data with time stamps UsageData []ResourceUsageTrendAggregation `mandatory:"true" json:"usageData"` }
func (m SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String() string
SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
const ( SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
SummarizeDatabaseInsightResourceUsageTrendRequest wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrendRequest.
type SummarizeDatabaseInsightResourceUsageTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // 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/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 SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Sorts using end timestamp, usage or capacity SortBy SummarizeDatabaseInsightResourceUsageTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string
SummarizeDatabaseInsightResourceUsageTrendResponse wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
type SummarizeDatabaseInsightResourceUsageTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceUsageTrendAggregationCollection instances SummarizeDatabaseInsightResourceUsageTrendAggregationCollection `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 SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceUsageTrendResponse) String() string
SummarizeDatabaseInsightResourceUsageTrendSortByEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageTrendSortByEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
const ( SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "endTimestamp" SummarizeDatabaseInsightResourceUsageTrendSortByUsage SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "usage" SummarizeDatabaseInsightResourceUsageTrendSortByCapacity SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "capacity" )
func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortByEnum
GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
const ( SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "DESC" )
func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
SummarizeDatabaseInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for storage or CPU.
type SummarizeDatabaseInsightResourceUtilizationInsightAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (example: CPU, STORAGE) ResourceMetric SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` ProjectedUtilization *ResourceInsightProjectedUtilization `mandatory:"true" json:"projectedUtilization"` CurrentUtilization *ResourceInsightCurrentUtilization `mandatory:"true" json:"currentUtilization"` }
func (m SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String() string
SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
const ( SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricIo SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_SGA" )
func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum Enum with underlying type: string
type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
const ( SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-S" SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-S" SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-D" SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-D" SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
SummarizeDatabaseInsightResourceUtilizationInsightRequest wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsightRequest.
type SummarizeDatabaseInsightResourceUtilizationInsightRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by resource metric. // Supported values are CPU , STORAGE, MEMORY and IO. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied. // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the // whole database which contains an instance on this host. IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeDatabaseInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string
SummarizeDatabaseInsightResourceUtilizationInsightResponse wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
type SummarizeDatabaseInsightResourceUtilizationInsightResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightResourceUtilizationInsightAggregation instances SummarizeDatabaseInsightResourceUtilizationInsightAggregation `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 SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) String() string
SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection Top level response object.
type SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Displays usage unit ( CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Collection of Usage Data with time stamps for top five tablespace Items []TablespaceUsageTrendAggregation `mandatory:"true" json:"items"` }
func (m SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection) String() string
SummarizeDatabaseInsightTablespaceUsageTrendRequest wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightTablespaceUsageTrendRequest.
type SummarizeDatabaseInsightTablespaceUsageTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"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/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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 SummarizeDatabaseInsightTablespaceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) String() string
SummarizeDatabaseInsightTablespaceUsageTrendResponse wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
type SummarizeDatabaseInsightTablespaceUsageTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection instances SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection `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 SummarizeDatabaseInsightTablespaceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeDatabaseInsightTablespaceUsageTrendResponse) String() string
SummarizeHostInsightResourceCapacityTrendAggregationCollection Top level response object.
type SummarizeHostInsightResourceCapacityTrendAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit (CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Capacity Data with timestamp. CapacityData []HostResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"` }
func (m SummarizeHostInsightResourceCapacityTrendAggregationCollection) String() string
SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
const ( SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
const ( SummarizeHostInsightResourceCapacityTrendPlatformTypeLinux SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
SummarizeHostInsightResourceCapacityTrendRequest wrapper for the SummarizeHostInsightResourceCapacityTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeHostInsightResourceCapacityTrendRequest.
type SummarizeHostInsightResourceCapacityTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by utilization level by the following buckets: // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75. // - LOW_UTILIZATION: DBs with utilization lower than 25. // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75. // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50. UtilizationLevel SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" 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/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 SummarizeHostInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Sorts using end timestamp or capacity SortBy SummarizeHostInsightResourceCapacityTrendSortByEnum `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"` // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceCapacityTrendRequest) String() string
SummarizeHostInsightResourceCapacityTrendResponse wrapper for the SummarizeHostInsightResourceCapacityTrend operation
type SummarizeHostInsightResourceCapacityTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceCapacityTrendAggregationCollection instances SummarizeHostInsightResourceCapacityTrendAggregationCollection `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 SummarizeHostInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceCapacityTrendResponse) String() string
SummarizeHostInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
type SummarizeHostInsightResourceCapacityTrendSortByEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortByEnum
const ( SummarizeHostInsightResourceCapacityTrendSortByEndtimestamp SummarizeHostInsightResourceCapacityTrendSortByEnum = "endTimestamp" SummarizeHostInsightResourceCapacityTrendSortByCapacity SummarizeHostInsightResourceCapacityTrendSortByEnum = "capacity" )
func GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues() []SummarizeHostInsightResourceCapacityTrendSortByEnum
GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortByEnum
SummarizeHostInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
type SummarizeHostInsightResourceCapacityTrendSortOrderEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
const ( SummarizeHostInsightResourceCapacityTrendSortOrderAsc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "ASC" SummarizeHostInsightResourceCapacityTrendSortOrderDesc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "DESC" )
func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeHostInsightResourceCapacityTrendSortOrderEnum
GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
type SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
const ( SummarizeHostInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
SummarizeHostInsightResourceForecastTrendAggregation Forecast results from the selected time period.
type SummarizeHostInsightResourceForecastTrendAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit (CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time series patterns used in the forecasting. Pattern SummarizeHostInsightResourceForecastTrendAggregationPatternEnum `mandatory:"true" json:"pattern"` // Time series data used for the forecast analysis. HistoricalData []HistoricalDataItem `mandatory:"true" json:"historicalData"` // Time series data result of the forecasting analysis. ProjectedData []ProjectedDataItem `mandatory:"true" json:"projectedData"` }
func (m SummarizeHostInsightResourceForecastTrendAggregation) String() string
SummarizeHostInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendAggregationPatternEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
const ( SummarizeHostInsightResourceForecastTrendAggregationPatternLinear SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "LINEAR" SummarizeHostInsightResourceForecastTrendAggregationPatternMonthlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternMonthlyAndYearlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_AND_YEARLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternWeeklySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternWeeklyAndMonthlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternWeeklyMonthlyAndYearlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternWeeklyAndYearlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_YEARLY_SEASONS" SummarizeHostInsightResourceForecastTrendAggregationPatternYearlySeasons SummarizeHostInsightResourceForecastTrendAggregationPatternEnum = "YEARLY_SEASONS" )
func GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
const ( SummarizeHostInsightResourceForecastTrendAggregationResourceMetricCpu SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceForecastTrendAggregationResourceMetricMemory SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceForecastTrendAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
SummarizeHostInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendForecastModelEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
const ( SummarizeHostInsightResourceForecastTrendForecastModelLinear SummarizeHostInsightResourceForecastTrendForecastModelEnum = "LINEAR" SummarizeHostInsightResourceForecastTrendForecastModelMlAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_AUTO" SummarizeHostInsightResourceForecastTrendForecastModelMlNoAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO" )
func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues() []SummarizeHostInsightResourceForecastTrendForecastModelEnum
GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
SummarizeHostInsightResourceForecastTrendPlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendPlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
const ( SummarizeHostInsightResourceForecastTrendPlatformTypeLinux SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
SummarizeHostInsightResourceForecastTrendRequest wrapper for the SummarizeHostInsightResourceForecastTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceForecastTrend.go.html to see an example of how to use SummarizeHostInsightResourceForecastTrendRequest.
type SummarizeHostInsightResourceForecastTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceForecastTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Choose the type of statistic metric data to be used for forecasting. Statistic SummarizeHostInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // Choose algorithm model for the forecasting. // Possible values: // - LINEAR: Uses linear regression algorithm for forecasting. // - ML_AUTO: Automatically detects best algorithm to use for forecasting. // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm. ForecastModel SummarizeHostInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"` // Filter by utilization level by the following buckets: // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75. // - LOW_UTILIZATION: DBs with utilization lower than 25. // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75. // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50. UtilizationLevel SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"` // This parameter is used to change data's confidence level, this data is ingested by the // forecast algorithm. // Confidence is the probability of an interval to contain the expected population parameter. // Manipulation of this value will lead to different results. // If not set, default confidence value is 95%. Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceForecastTrendRequest) String() string
SummarizeHostInsightResourceForecastTrendResponse wrapper for the SummarizeHostInsightResourceForecastTrend operation
type SummarizeHostInsightResourceForecastTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceForecastTrendAggregation instances SummarizeHostInsightResourceForecastTrendAggregation `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SummarizeHostInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceForecastTrendResponse) String() string
SummarizeHostInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendStatisticEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendStatisticEnum
const ( SummarizeHostInsightResourceForecastTrendStatisticAvg SummarizeHostInsightResourceForecastTrendStatisticEnum = "AVG" SummarizeHostInsightResourceForecastTrendStatisticMax SummarizeHostInsightResourceForecastTrendStatisticEnum = "MAX" )
func GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues() []SummarizeHostInsightResourceForecastTrendStatisticEnum
GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendStatisticEnum
SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
type SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
const ( SummarizeHostInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
SummarizeHostInsightResourceStatisticsAggregationCollection Returns list of hosts with resource statistics like usage, capacity, utilization, usage change percent and load.
type SummarizeHostInsightResourceStatisticsAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit. UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Collection of Resource Statistics items Items []HostInsightResourceStatisticsAggregation `mandatory:"true" json:"items"` }
func (m SummarizeHostInsightResourceStatisticsAggregationCollection) String() string
SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
const ( SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
SummarizeHostInsightResourceStatisticsPlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceStatisticsPlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
const ( SummarizeHostInsightResourceStatisticsPlatformTypeLinux SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues() []SummarizeHostInsightResourceStatisticsPlatformTypeEnum
GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
SummarizeHostInsightResourceStatisticsRequest wrapper for the SummarizeHostInsightResourceStatistics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceStatistics.go.html to see an example of how to use SummarizeHostInsightResourceStatisticsRequest.
type SummarizeHostInsightResourceStatisticsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceStatisticsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Percentile values of daily usage to be used for computing the aggregate resource usage. Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"` // Return data of a specific insight // Possible values are High Utilization, Low Utilization, Any ,High Utilization Forecast, // Low Utilization Forecast InsightBy *string `mandatory:"false" contributesTo:"query" name:"insightBy"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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 SummarizeHostInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The order in which resource statistics records are listed. SortBy SummarizeHostInsightResourceStatisticsSortByEnum `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"` // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceStatisticsRequest) String() string
SummarizeHostInsightResourceStatisticsResponse wrapper for the SummarizeHostInsightResourceStatistics operation
type SummarizeHostInsightResourceStatisticsResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceStatisticsAggregationCollection instances SummarizeHostInsightResourceStatisticsAggregationCollection `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 SummarizeHostInsightResourceStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceStatisticsResponse) String() string
SummarizeHostInsightResourceStatisticsSortByEnum Enum with underlying type: string
type SummarizeHostInsightResourceStatisticsSortByEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortByEnum
const ( SummarizeHostInsightResourceStatisticsSortByUtilizationpercent SummarizeHostInsightResourceStatisticsSortByEnum = "utilizationPercent" SummarizeHostInsightResourceStatisticsSortByUsage SummarizeHostInsightResourceStatisticsSortByEnum = "usage" SummarizeHostInsightResourceStatisticsSortByUsagechangepercent SummarizeHostInsightResourceStatisticsSortByEnum = "usageChangePercent" SummarizeHostInsightResourceStatisticsSortByHostname SummarizeHostInsightResourceStatisticsSortByEnum = "hostName" SummarizeHostInsightResourceStatisticsSortByPlatformtype SummarizeHostInsightResourceStatisticsSortByEnum = "platformType" )
func GetSummarizeHostInsightResourceStatisticsSortByEnumValues() []SummarizeHostInsightResourceStatisticsSortByEnum
GetSummarizeHostInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortByEnum
SummarizeHostInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
type SummarizeHostInsightResourceStatisticsSortOrderEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortOrderEnum
const ( SummarizeHostInsightResourceStatisticsSortOrderAsc SummarizeHostInsightResourceStatisticsSortOrderEnum = "ASC" SummarizeHostInsightResourceStatisticsSortOrderDesc SummarizeHostInsightResourceStatisticsSortOrderEnum = "DESC" )
func GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues() []SummarizeHostInsightResourceStatisticsSortOrderEnum
GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortOrderEnum
SummarizeHostInsightResourceUsageAggregation Resource usage summation for the current time period.
type SummarizeHostInsightResourceUsageAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceUsageAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit (CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` // Percentage change in resource usage during the current period calculated using linear regression functions UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"` }
func (m SummarizeHostInsightResourceUsageAggregation) String() string
SummarizeHostInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsageAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
const ( SummarizeHostInsightResourceUsageAggregationResourceMetricCpu SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceUsageAggregationResourceMetricMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUsageAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
SummarizeHostInsightResourceUsagePlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsagePlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsagePlatformTypeEnum
const ( SummarizeHostInsightResourceUsagePlatformTypeLinux SummarizeHostInsightResourceUsagePlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues() []SummarizeHostInsightResourceUsagePlatformTypeEnum
GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsagePlatformTypeEnum
SummarizeHostInsightResourceUsageRequest wrapper for the SummarizeHostInsightResourceUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUsage.go.html to see an example of how to use SummarizeHostInsightResourceUsageRequest.
type SummarizeHostInsightResourceUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceUsagePlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // 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/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Percentile values of daily usage to be used for computing the aggregate resource usage. Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"` // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceUsageRequest) String() string
SummarizeHostInsightResourceUsageResponse wrapper for the SummarizeHostInsightResourceUsage operation
type SummarizeHostInsightResourceUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceUsageAggregation instances SummarizeHostInsightResourceUsageAggregation `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SummarizeHostInsightResourceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceUsageResponse) String() string
SummarizeHostInsightResourceUsageTrendAggregationCollection Top level response object.
type SummarizeHostInsightResourceUsageTrendAggregationCollection struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"` // Displays usage unit (CORES, GB) UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"` // Time duration in milliseconds between data points (one hour or one day). ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"` // Usage Data with timestamp. UsageData []ResourceUsageTrendAggregation `mandatory:"true" json:"usageData"` }
func (m SummarizeHostInsightResourceUsageTrendAggregationCollection) String() string
SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
const ( SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
SummarizeHostInsightResourceUsageTrendPlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsageTrendPlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
const ( SummarizeHostInsightResourceUsageTrendPlatformTypeLinux SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
SummarizeHostInsightResourceUsageTrendRequest wrapper for the SummarizeHostInsightResourceUsageTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUsageTrend.go.html to see an example of how to use SummarizeHostInsightResourceUsageTrendRequest.
type SummarizeHostInsightResourceUsageTrendRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceUsageTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // 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/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 SummarizeHostInsightResourceUsageTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Sorts using end timestamp, usage or capacity SortBy SummarizeHostInsightResourceUsageTrendSortByEnum `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"` // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceUsageTrendRequest) String() string
SummarizeHostInsightResourceUsageTrendResponse wrapper for the SummarizeHostInsightResourceUsageTrend operation
type SummarizeHostInsightResourceUsageTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceUsageTrendAggregationCollection instances SummarizeHostInsightResourceUsageTrendAggregationCollection `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 SummarizeHostInsightResourceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceUsageTrendResponse) String() string
SummarizeHostInsightResourceUsageTrendSortByEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsageTrendSortByEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortByEnum
const ( SummarizeHostInsightResourceUsageTrendSortByEndtimestamp SummarizeHostInsightResourceUsageTrendSortByEnum = "endTimestamp" SummarizeHostInsightResourceUsageTrendSortByUsage SummarizeHostInsightResourceUsageTrendSortByEnum = "usage" SummarizeHostInsightResourceUsageTrendSortByCapacity SummarizeHostInsightResourceUsageTrendSortByEnum = "capacity" )
func GetSummarizeHostInsightResourceUsageTrendSortByEnumValues() []SummarizeHostInsightResourceUsageTrendSortByEnum
GetSummarizeHostInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortByEnum
SummarizeHostInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
type SummarizeHostInsightResourceUsageTrendSortOrderEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
const ( SummarizeHostInsightResourceUsageTrendSortOrderAsc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "ASC" SummarizeHostInsightResourceUsageTrendSortOrderDesc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "DESC" )
func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues() []SummarizeHostInsightResourceUsageTrendSortOrderEnum
GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
SummarizeHostInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for CPU or memory.
type SummarizeHostInsightResourceUtilizationInsightAggregation struct { // The start timestamp that was passed into the request. TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"` // The end timestamp that was passed into the request. TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"` // Defines the type of resource metric (CPU, Physical Memory, Logical Memory) ResourceMetric SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"` ProjectedUtilization *ResourceInsightProjectedUtilization `mandatory:"true" json:"projectedUtilization"` CurrentUtilization *ResourceInsightCurrentUtilization `mandatory:"true" json:"currentUtilization"` }
func (m SummarizeHostInsightResourceUtilizationInsightAggregation) String() string
SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
type SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
const ( SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum Enum with underlying type: string
type SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum string
Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
const ( SummarizeHostInsightResourceUtilizationInsightPlatformTypeLinux SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "LINUX" )
func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues() []SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
SummarizeHostInsightResourceUtilizationInsightRequest wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeHostInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeHostInsightResourceUtilizationInsightRequest.
type SummarizeHostInsightResourceUtilizationInsightRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by host resource metric. // Supported values are CPU, MEMORY, and LOGICAL_MEMORY. ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // Filter by one or more platform types. // Possible value is LINUX. PlatformType []SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Number of days used for utilization forecast analysis. ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeHostInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeHostInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeHostInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeHostInsightResourceUtilizationInsightRequest) String() string
SummarizeHostInsightResourceUtilizationInsightResponse wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
type SummarizeHostInsightResourceUtilizationInsightResponse struct { // The underlying http response RawResponse *http.Response // A list of SummarizeHostInsightResourceUtilizationInsightAggregation instances SummarizeHostInsightResourceUtilizationInsightAggregation `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SummarizeHostInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeHostInsightResourceUtilizationInsightResponse) String() string
SummarizeSqlInsightsDatabaseTypeEnum Enum with underlying type: string
type SummarizeSqlInsightsDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeSqlInsightsDatabaseTypeEnum
const ( SummarizeSqlInsightsDatabaseTypeAdwS SummarizeSqlInsightsDatabaseTypeEnum = "ADW-S" SummarizeSqlInsightsDatabaseTypeAtpS SummarizeSqlInsightsDatabaseTypeEnum = "ATP-S" SummarizeSqlInsightsDatabaseTypeAdwD SummarizeSqlInsightsDatabaseTypeEnum = "ADW-D" SummarizeSqlInsightsDatabaseTypeAtpD SummarizeSqlInsightsDatabaseTypeEnum = "ATP-D" SummarizeSqlInsightsDatabaseTypeExternalPdb SummarizeSqlInsightsDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeSqlInsightsDatabaseTypeExternalNoncdb SummarizeSqlInsightsDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeSqlInsightsDatabaseTypeEnumValues() []SummarizeSqlInsightsDatabaseTypeEnum
GetSummarizeSqlInsightsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlInsightsDatabaseTypeEnum
SummarizeSqlInsightsRequest wrapper for the SummarizeSqlInsights operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsightsRequest.
type SummarizeSqlInsightsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeSqlInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Filter sqls by percentage of db time. DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeSqlInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlInsightsRequest) String() string
SummarizeSqlInsightsResponse wrapper for the SummarizeSqlInsights operation
type SummarizeSqlInsightsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlInsightAggregationCollection instances SqlInsightAggregationCollection `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 SummarizeSqlInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlInsightsResponse) String() string
SummarizeSqlPlanInsightsRequest wrapper for the SummarizeSqlPlanInsights operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsightsRequest.
type SummarizeSqlPlanInsightsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 SummarizeSqlPlanInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlPlanInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlPlanInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlPlanInsightsRequest) String() string
SummarizeSqlPlanInsightsResponse wrapper for the SummarizeSqlPlanInsights operation
type SummarizeSqlPlanInsightsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlPlanInsightAggregationCollection instances SqlPlanInsightAggregationCollection `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 SummarizeSqlPlanInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlPlanInsightsResponse) String() string
SummarizeSqlResponseTimeDistributionsRequest wrapper for the SummarizeSqlResponseTimeDistributions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributionsRequest.
type SummarizeSqlResponseTimeDistributionsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 SummarizeSqlResponseTimeDistributionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlResponseTimeDistributionsRequest) String() string
SummarizeSqlResponseTimeDistributionsResponse wrapper for the SummarizeSqlResponseTimeDistributions operation
type SummarizeSqlResponseTimeDistributionsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlResponseTimeDistributionAggregationCollection instances SqlResponseTimeDistributionAggregationCollection `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 SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlResponseTimeDistributionsResponse) String() string
SummarizeSqlStatisticsCategoryEnum Enum with underlying type: string
type SummarizeSqlStatisticsCategoryEnum string
Set of constants representing the allowable values for SummarizeSqlStatisticsCategoryEnum
const ( SummarizeSqlStatisticsCategoryDegrading SummarizeSqlStatisticsCategoryEnum = "DEGRADING" SummarizeSqlStatisticsCategoryVariant SummarizeSqlStatisticsCategoryEnum = "VARIANT" SummarizeSqlStatisticsCategoryInefficient SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT" SummarizeSqlStatisticsCategoryChangingPlans SummarizeSqlStatisticsCategoryEnum = "CHANGING_PLANS" SummarizeSqlStatisticsCategoryImproving SummarizeSqlStatisticsCategoryEnum = "IMPROVING" SummarizeSqlStatisticsCategoryDegradingVariant SummarizeSqlStatisticsCategoryEnum = "DEGRADING_VARIANT" SummarizeSqlStatisticsCategoryDegradingInefficient SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INEFFICIENT" SummarizeSqlStatisticsCategoryDegradingChangingPlans SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS" SummarizeSqlStatisticsCategoryDegradingIncreasingIo SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_IO" SummarizeSqlStatisticsCategoryDegradingIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_CPU" SummarizeSqlStatisticsCategoryDegradingIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_INEFFICIENT_WAIT" SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingIo SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_IO" SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU" SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT" SummarizeSqlStatisticsCategoryVariantInefficient SummarizeSqlStatisticsCategoryEnum = "VARIANT_INEFFICIENT" SummarizeSqlStatisticsCategoryVariantChangingPlans SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS" SummarizeSqlStatisticsCategoryVariantIncreasingIo SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_IO" SummarizeSqlStatisticsCategoryVariantIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_CPU" SummarizeSqlStatisticsCategoryVariantIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_INEFFICIENT_WAIT" SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingIo SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_IO" SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_CPU" SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT" SummarizeSqlStatisticsCategoryInefficientChangingPlans SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS" SummarizeSqlStatisticsCategoryInefficientIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_INCREASING_INEFFICIENT_WAIT" SummarizeSqlStatisticsCategoryInefficientChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT" )
func GetSummarizeSqlStatisticsCategoryEnumValues() []SummarizeSqlStatisticsCategoryEnum
GetSummarizeSqlStatisticsCategoryEnumValues Enumerates the set of values for SummarizeSqlStatisticsCategoryEnum
SummarizeSqlStatisticsDatabaseTypeEnum Enum with underlying type: string
type SummarizeSqlStatisticsDatabaseTypeEnum string
Set of constants representing the allowable values for SummarizeSqlStatisticsDatabaseTypeEnum
const ( SummarizeSqlStatisticsDatabaseTypeAdwS SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-S" SummarizeSqlStatisticsDatabaseTypeAtpS SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-S" SummarizeSqlStatisticsDatabaseTypeAdwD SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-D" SummarizeSqlStatisticsDatabaseTypeAtpD SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-D" SummarizeSqlStatisticsDatabaseTypeExternalPdb SummarizeSqlStatisticsDatabaseTypeEnum = "EXTERNAL-PDB" SummarizeSqlStatisticsDatabaseTypeExternalNoncdb SummarizeSqlStatisticsDatabaseTypeEnum = "EXTERNAL-NONCDB" )
func GetSummarizeSqlStatisticsDatabaseTypeEnumValues() []SummarizeSqlStatisticsDatabaseTypeEnum
GetSummarizeSqlStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlStatisticsDatabaseTypeEnum
SummarizeSqlStatisticsRequest wrapper for the SummarizeSqlStatistics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatisticsRequest.
type SummarizeSqlStatisticsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Filter by one or more database type. // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB. DatabaseType []SummarizeSqlStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Filter sqls by percentage of db time. DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"` // One or more unique SQL_IDs for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/Content/API/Concepts/usingapi.htm#nine). // Example: `50` 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/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"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder SummarizeSqlStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to use when sorting SQL statistics. // Example: databaseTimeInSec SortBy SummarizeSqlStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Filter sqls by one or more performance categories. Category []SummarizeSqlStatisticsCategoryEnum `contributesTo:"query" name:"category" omitEmpty:"true" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeSqlStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlStatisticsRequest) String() string
SummarizeSqlStatisticsResponse wrapper for the SummarizeSqlStatistics operation
type SummarizeSqlStatisticsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlStatisticAggregationCollection instances SqlStatisticAggregationCollection `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 SummarizeSqlStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlStatisticsResponse) String() string
SummarizeSqlStatisticsSortByEnum Enum with underlying type: string
type SummarizeSqlStatisticsSortByEnum string
Set of constants representing the allowable values for SummarizeSqlStatisticsSortByEnum
const ( SummarizeSqlStatisticsSortByDatabasetimeinsec SummarizeSqlStatisticsSortByEnum = "databaseTimeInSec" SummarizeSqlStatisticsSortByExecutionsperhour SummarizeSqlStatisticsSortByEnum = "executionsPerHour" SummarizeSqlStatisticsSortByExecutionscount SummarizeSqlStatisticsSortByEnum = "executionsCount" SummarizeSqlStatisticsSortByCputimeinsec SummarizeSqlStatisticsSortByEnum = "cpuTimeInSec" SummarizeSqlStatisticsSortByIotimeinsec SummarizeSqlStatisticsSortByEnum = "ioTimeInSec" SummarizeSqlStatisticsSortByInefficientwaittimeinsec SummarizeSqlStatisticsSortByEnum = "inefficientWaitTimeInSec" SummarizeSqlStatisticsSortByResponsetimeinsec SummarizeSqlStatisticsSortByEnum = "responseTimeInSec" SummarizeSqlStatisticsSortByPlancount SummarizeSqlStatisticsSortByEnum = "planCount" SummarizeSqlStatisticsSortByVariability SummarizeSqlStatisticsSortByEnum = "variability" SummarizeSqlStatisticsSortByAverageactivesessions SummarizeSqlStatisticsSortByEnum = "averageActiveSessions" SummarizeSqlStatisticsSortByDatabasetimepct SummarizeSqlStatisticsSortByEnum = "databaseTimePct" SummarizeSqlStatisticsSortByInefficiencyinpct SummarizeSqlStatisticsSortByEnum = "inefficiencyInPct" SummarizeSqlStatisticsSortByChangeincputimeinpct SummarizeSqlStatisticsSortByEnum = "changeInCpuTimeInPct" SummarizeSqlStatisticsSortByChangeiniotimeinpct SummarizeSqlStatisticsSortByEnum = "changeInIoTimeInPct" SummarizeSqlStatisticsSortByChangeininefficientwaittimeinpct SummarizeSqlStatisticsSortByEnum = "changeInInefficientWaitTimeInPct" SummarizeSqlStatisticsSortByChangeinresponsetimeinpct SummarizeSqlStatisticsSortByEnum = "changeInResponseTimeInPct" SummarizeSqlStatisticsSortByEnum = "changeInAverageActiveSessionsInPct" SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct SummarizeSqlStatisticsSortByEnum = "changeInExecutionsPerHourInPct" SummarizeSqlStatisticsSortByChangeininefficiencyinpct SummarizeSqlStatisticsSortByEnum = "changeInInefficiencyInPct" )
func GetSummarizeSqlStatisticsSortByEnumValues() []SummarizeSqlStatisticsSortByEnum
GetSummarizeSqlStatisticsSortByEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortByEnum
SummarizeSqlStatisticsSortOrderEnum Enum with underlying type: string
type SummarizeSqlStatisticsSortOrderEnum string
Set of constants representing the allowable values for SummarizeSqlStatisticsSortOrderEnum
const ( SummarizeSqlStatisticsSortOrderAsc SummarizeSqlStatisticsSortOrderEnum = "ASC" SummarizeSqlStatisticsSortOrderDesc SummarizeSqlStatisticsSortOrderEnum = "DESC" )
func GetSummarizeSqlStatisticsSortOrderEnumValues() []SummarizeSqlStatisticsSortOrderEnum
GetSummarizeSqlStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortOrderEnum
SummarizeSqlStatisticsTimeSeriesByPlanRequest wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlanRequest.
type SummarizeSqlStatisticsTimeSeriesByPlanRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"` // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 SummarizeSqlStatisticsTimeSeriesByPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string
SummarizeSqlStatisticsTimeSeriesByPlanResponse wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
type SummarizeSqlStatisticsTimeSeriesByPlanResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlStatisticsTimeSeriesByPlanAggregationCollection instances SqlStatisticsTimeSeriesByPlanAggregationCollection `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 SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) String() string
SummarizeSqlStatisticsTimeSeriesRequest wrapper for the SummarizeSqlStatisticsTimeSeries operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesRequest.
type SummarizeSqlStatisticsTimeSeriesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique SQL_ID for a SQL Statement. // Example: `6rgjh9bjmy2s7` SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity. DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"` // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource. Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"` // Filter by one or more hostname. HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"` // Specify time period in ISO 8601 format with respect to current time. // Default is last 30 days represented by P30D. // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M). AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"` // Analysis start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // The minimum allowed value is 2 years prior to the current day. // timeIntervalStart and timeIntervalEnd parameters are used together. // If analysisTimeInterval is specified, this parameter is ignored. TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"` // Analysis end time in UTC in ISO 8601 format(exclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd are used together. // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd. TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"` // 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/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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned. // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"` // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND". FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag) // or "{namespace}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND". DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"` // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. // The key for each tag is "{tagName}.true". All inputs are case-insensitive. // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported. // Multiple values for different tag names are interpreted as "AND". FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" 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 SummarizeSqlStatisticsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string
SummarizeSqlStatisticsTimeSeriesResponse wrapper for the SummarizeSqlStatisticsTimeSeries operation
type SummarizeSqlStatisticsTimeSeriesResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlStatisticsTimeSeriesAggregationCollection instances SqlStatisticsTimeSeriesAggregationCollection `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 SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeSqlStatisticsTimeSeriesResponse) String() string
SummaryStatistics Contains common summary statistics.
type SummaryStatistics struct { // The smallest number in the data set. Minimum *float64 `mandatory:"true" json:"minimum"` // The largest number in the data set. Maximum *float64 `mandatory:"true" json:"maximum"` // The average number in the data set. Average *float64 `mandatory:"true" json:"average"` // The middle number in the data set. Median *float64 `mandatory:"true" json:"median"` // The middle number between the smallest number and the median of the data set. It's also known as the 25th quartile. LowerQuartile *float64 `mandatory:"true" json:"lowerQuartile"` // The middle number between the median and the largest number of the data set. It's also known as the 75th quartile. UpperQuartile *float64 `mandatory:"true" json:"upperQuartile"` }
func (m SummaryStatistics) String() string
TablespaceUsageTrend Usage data samples
type TablespaceUsageTrend struct { // The timestamp in which the current sampling period ends in RFC 3339 format. EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"` // Total amount used of the resource metric type (CPU, STORAGE). Usage *float64 `mandatory:"true" json:"usage"` // The maximum allocated amount of the resource metric type (CPU, STORAGE). Capacity *float64 `mandatory:"true" json:"capacity"` }
func (m TablespaceUsageTrend) String() string
TablespaceUsageTrendAggregation Usage data per tablespace for a Pluggable database
type TablespaceUsageTrendAggregation struct { // The name of tablespace. TablespaceName *string `mandatory:"true" json:"tablespaceName"` // Type of tablespace TablespaceType *string `mandatory:"true" json:"tablespaceType"` // List of usage data samples for a tablespace UsageData []TablespaceUsageTrend `mandatory:"true" json:"usageData"` }
func (m TablespaceUsageTrendAggregation) String() string
UpdateAutonomousDatabaseInsightDetails The information to be updated.
type UpdateAutonomousDatabaseInsightDetails 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 UpdateAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateAutonomousDatabaseInsightDetails) String() string
UpdateDatabaseInsightDetails The information to be updated.
type UpdateDatabaseInsightDetails interface { // 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{} }
UpdateDatabaseInsightRequest wrapper for the UpdateDatabaseInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateDatabaseInsight.go.html to see an example of how to use UpdateDatabaseInsightRequest.
type UpdateDatabaseInsightRequest struct { // Unique database insight identifier DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"` // The configuration to be updated. UpdateDatabaseInsightDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 UpdateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDatabaseInsightRequest) String() string
UpdateDatabaseInsightResponse wrapper for the UpdateDatabaseInsight operation
type UpdateDatabaseInsightResponse 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 UpdateDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDatabaseInsightResponse) String() string
UpdateEmManagedExternalDatabaseInsightDetails The information to be updated.
type UpdateEmManagedExternalDatabaseInsightDetails 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 UpdateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateEmManagedExternalDatabaseInsightDetails) String() string
UpdateEnterpriseManagerBridgeDetails The information to be updated.
type UpdateEnterpriseManagerBridgeDetails struct { // User-friedly name of Enterprise Manager Bridge that does not have to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // Description of Enterprise Manager Bridge Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateEnterpriseManagerBridgeDetails) String() string
UpdateEnterpriseManagerBridgeRequest wrapper for the UpdateEnterpriseManagerBridge operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateEnterpriseManagerBridge.go.html to see an example of how to use UpdateEnterpriseManagerBridgeRequest.
type UpdateEnterpriseManagerBridgeRequest struct { // Unique Enterprise Manager bridge identifier EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"` // The configuration to be updated. UpdateEnterpriseManagerBridgeDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 UpdateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateEnterpriseManagerBridgeRequest) String() string
UpdateEnterpriseManagerBridgeResponse wrapper for the UpdateEnterpriseManagerBridge operation
type UpdateEnterpriseManagerBridgeResponse 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 UpdateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateEnterpriseManagerBridgeResponse) String() string
UpdateHostInsightDetails The information to be updated.
type UpdateHostInsightDetails interface { // 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{} }
UpdateHostInsightRequest wrapper for the UpdateHostInsight operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/opsi/UpdateHostInsight.go.html to see an example of how to use UpdateHostInsightRequest.
type UpdateHostInsightRequest struct { // Unique host insight identifier HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"` // The configuration to be updated. UpdateHostInsightDetails `contributesTo:"body"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` // parameter to the value of the etag from a previous get, create, or update 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 UpdateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateHostInsightRequest) String() string
UpdateHostInsightResponse wrapper for the UpdateHostInsight operation
type UpdateHostInsightResponse 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 UpdateHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateHostInsightResponse) String() string
UpdateMacsManagedExternalDatabaseInsightDetails The information to be updated.
type UpdateMacsManagedExternalDatabaseInsightDetails 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 UpdateMacsManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateMacsManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateMacsManagedExternalDatabaseInsightDetails) String() string
UpdateMacsManagedExternalHostInsightDetails The information to be updated.
type UpdateMacsManagedExternalHostInsightDetails 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 UpdateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateMacsManagedExternalHostInsightDetails) String() string
UsageUnitEnum Enum with underlying type: string
type UsageUnitEnum string
Set of constants representing the allowable values for UsageUnitEnum
const ( UsageUnitCores UsageUnitEnum = "CORES" UsageUnitGb UsageUnitEnum = "GB" UsageUnitMbps UsageUnitEnum = "MBPS" UsageUnitPercent UsageUnitEnum = "PERCENT" )
func GetUsageUnitEnumValues() []UsageUnitEnum
GetUsageUnitEnumValues Enumerates the set of values for UsageUnitEnum
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
WorkRequestCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestCollection struct { // List of workRequests. Items []WorkRequest `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
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
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
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
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
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 EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequests Logical grouping used for Operations Insights Work Request operations.
type WorkRequests struct {
// OPSI Work Request Object.
WorkRequests *interface{} `mandatory:"false" json:"workRequests"`
}
func (m WorkRequests) String() string