Documentation
¶
Index ¶
- type ActionTypeEnum
- type AddEmManagedExternalExadataInsightMembersDetails
- type AddExadataInsightMembersDetails
- type AddExadataInsightMembersRequest
- func (request AddExadataInsightMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request AddExadataInsightMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request AddExadataInsightMembersRequest) RetryPolicy() *common.RetryPolicy
- func (request AddExadataInsightMembersRequest) String() string
- type AddExadataInsightMembersResponse
- type AutonomousDatabaseConfigurationSummary
- func (m AutonomousDatabaseConfigurationSummary) GetCdbName() *string
- func (m AutonomousDatabaseConfigurationSummary) GetCompartmentId() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDatabaseName() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDatabaseType() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string
- func (m AutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m AutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string
- func (m AutonomousDatabaseConfigurationSummary) GetProcessorCount() *int
- func (m AutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m AutonomousDatabaseConfigurationSummary) String() string
- type AutonomousDatabaseInsight
- func (m AutonomousDatabaseInsight) GetCompartmentId() *string
- func (m AutonomousDatabaseInsight) GetDatabaseType() *string
- func (m AutonomousDatabaseInsight) GetDatabaseVersion() *string
- func (m AutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m AutonomousDatabaseInsight) GetFreeformTags() map[string]string
- func (m AutonomousDatabaseInsight) GetId() *string
- func (m AutonomousDatabaseInsight) GetLifecycleDetails() *string
- func (m AutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum
- func (m AutonomousDatabaseInsight) GetProcessorCount() *int
- func (m AutonomousDatabaseInsight) GetStatus() ResourceStatusEnum
- func (m AutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
- func (m AutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime
- func (m AutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime
- func (m AutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error)
- func (m AutonomousDatabaseInsight) String() string
- type AutonomousDatabaseInsightSummary
- func (m AutonomousDatabaseInsightSummary) GetCompartmentId() *string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseId() *string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseName() *string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseType() *string
- func (m AutonomousDatabaseInsightSummary) GetDatabaseVersion() *string
- func (m AutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m AutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string
- func (m AutonomousDatabaseInsightSummary) GetId() *string
- func (m AutonomousDatabaseInsightSummary) GetLifecycleDetails() *string
- func (m AutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
- func (m AutonomousDatabaseInsightSummary) GetProcessorCount() *int
- func (m AutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum
- func (m AutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m AutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
- func (m AutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m AutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m AutonomousDatabaseInsightSummary) String() string
- type ChangeDatabaseInsightCompartmentDetails
- type ChangeDatabaseInsightCompartmentRequest
- func (request ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeDatabaseInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeDatabaseInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeDatabaseInsightCompartmentRequest) String() string
- type ChangeDatabaseInsightCompartmentResponse
- type ChangeEnterpriseManagerBridgeCompartmentDetails
- type ChangeEnterpriseManagerBridgeCompartmentRequest
- func (request ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeEnterpriseManagerBridgeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeEnterpriseManagerBridgeCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeEnterpriseManagerBridgeCompartmentRequest) String() string
- type ChangeEnterpriseManagerBridgeCompartmentResponse
- type ChangeExadataInsightCompartmentDetails
- type ChangeExadataInsightCompartmentRequest
- func (request ChangeExadataInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeExadataInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeExadataInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeExadataInsightCompartmentRequest) String() string
- type ChangeExadataInsightCompartmentResponse
- type ChangeHostInsightCompartmentDetails
- type ChangeHostInsightCompartmentRequest
- func (request ChangeHostInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeHostInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeHostInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeHostInsightCompartmentRequest) String() string
- type ChangeHostInsightCompartmentResponse
- type ConnectionDetails
- type ConnectionDetailsProtocolEnum
- type CreateDatabaseInsightDetails
- type CreateDatabaseInsightRequest
- func (request CreateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDatabaseInsightRequest) String() string
- type CreateDatabaseInsightResponse
- type CreateEmManagedExternalDatabaseInsightDetails
- func (m CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId() *string
- func (m CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
- func (m CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateEmManagedExternalDatabaseInsightDetails) String() string
- type CreateEmManagedExternalExadataInsightDetails
- func (m CreateEmManagedExternalExadataInsightDetails) GetCompartmentId() *string
- func (m CreateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string
- func (m CreateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateEmManagedExternalExadataInsightDetails) String() string
- type CreateEmManagedExternalExadataMemberEntityDetails
- type CreateEmManagedExternalHostInsightDetails
- func (m CreateEmManagedExternalHostInsightDetails) GetCompartmentId() *string
- func (m CreateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
- func (m CreateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateEmManagedExternalHostInsightDetails) String() string
- type CreateEnterpriseManagerBridgeDetails
- type CreateEnterpriseManagerBridgeRequest
- func (request CreateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateEnterpriseManagerBridgeRequest) String() string
- type CreateEnterpriseManagerBridgeResponse
- type CreateExadataInsightDetails
- type CreateExadataInsightRequest
- func (request CreateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateExadataInsightRequest) String() string
- type CreateExadataInsightResponse
- type CreateHostInsightDetails
- type CreateHostInsightRequest
- func (request CreateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateHostInsightRequest) String() string
- type CreateHostInsightResponse
- type CreateMacsManagedExternalHostInsightDetails
- func (m CreateMacsManagedExternalHostInsightDetails) GetCompartmentId() *string
- func (m CreateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
- func (m CreateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateMacsManagedExternalHostInsightDetails) String() string
- type CredentialDetails
- type CredentialDetailsCredentialTypeEnum
- type CredentialsBySource
- type DatabaseConfigurationCollection
- type DatabaseConfigurationMetricGroup
- type DatabaseConfigurationMetricGroupMetricNameEnum
- type DatabaseConfigurationSummary
- type DatabaseDetails
- type DatabaseEntitySourceAllEnum
- type DatabaseEntitySourceEnum
- type DatabaseEnum
- type DatabaseInsight
- type DatabaseInsightSummary
- type DatabaseInsights
- type DatabaseInsightsCollection
- type DbExternalInstance
- type DbExternalProperties
- type DbosConfigInstance
- type DeleteDatabaseInsightRequest
- func (request DeleteDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDatabaseInsightRequest) String() string
- type DeleteDatabaseInsightResponse
- type DeleteEnterpriseManagerBridgeRequest
- func (request DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteEnterpriseManagerBridgeRequest) String() string
- type DeleteEnterpriseManagerBridgeResponse
- type DeleteExadataInsightRequest
- func (request DeleteExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteExadataInsightRequest) String() string
- type DeleteExadataInsightResponse
- type DeleteHostInsightRequest
- func (request DeleteHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteHostInsightRequest) String() string
- type DeleteHostInsightResponse
- type DisableDatabaseInsightRequest
- func (request DisableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DisableDatabaseInsightRequest) String() string
- type DisableDatabaseInsightResponse
- type DisableExadataInsightRequest
- func (request DisableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DisableExadataInsightRequest) String() string
- type DisableExadataInsightResponse
- type DisableHostInsightRequest
- func (request DisableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisableHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request DisableHostInsightRequest) String() string
- type DisableHostInsightResponse
- type DiskGroupDetails
- type DiskGroupEnum
- type EmManagedExternalDatabaseConfigurationSummary
- func (m EmManagedExternalDatabaseConfigurationSummary) GetCdbName() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
- func (m EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
- func (m EmManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalDatabaseConfigurationSummary) String() string
- type EmManagedExternalDatabaseInsight
- func (m EmManagedExternalDatabaseInsight) GetCompartmentId() *string
- func (m EmManagedExternalDatabaseInsight) GetDatabaseType() *string
- func (m EmManagedExternalDatabaseInsight) GetDatabaseVersion() *string
- func (m EmManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
- func (m EmManagedExternalDatabaseInsight) GetId() *string
- func (m EmManagedExternalDatabaseInsight) GetLifecycleDetails() *string
- func (m EmManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
- func (m EmManagedExternalDatabaseInsight) GetProcessorCount() *int
- func (m EmManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalDatabaseInsight) String() string
- type EmManagedExternalDatabaseInsightSummary
- func (m EmManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
- func (m EmManagedExternalDatabaseInsightSummary) GetId() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
- func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
- func (m EmManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
- func (m EmManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalDatabaseInsightSummary) String() string
- type EmManagedExternalExadataInsight
- func (m EmManagedExternalExadataInsight) GetCompartmentId() *string
- func (m EmManagedExternalExadataInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalExadataInsight) GetExadataDisplayName() *string
- func (m EmManagedExternalExadataInsight) GetExadataName() *string
- func (m EmManagedExternalExadataInsight) GetExadataRackType() ExadataRackTypeEnum
- func (m EmManagedExternalExadataInsight) GetExadataType() ExadataTypeEnum
- func (m EmManagedExternalExadataInsight) GetFreeformTags() map[string]string
- func (m EmManagedExternalExadataInsight) GetId() *string
- func (m EmManagedExternalExadataInsight) GetIsVirtualizedExadata() *bool
- func (m EmManagedExternalExadataInsight) GetLifecycleDetails() *string
- func (m EmManagedExternalExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum
- func (m EmManagedExternalExadataInsight) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalExadataInsight) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalExadataInsight) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalExadataInsight) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalExadataInsight) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalExadataInsight) String() string
- type EmManagedExternalExadataInsightSummary
- func (m EmManagedExternalExadataInsightSummary) GetCompartmentId() *string
- func (m EmManagedExternalExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalExadataInsightSummary) GetExadataDisplayName() *string
- func (m EmManagedExternalExadataInsightSummary) GetExadataName() *string
- func (m EmManagedExternalExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum
- func (m EmManagedExternalExadataInsightSummary) GetExadataType() ExadataTypeEnum
- func (m EmManagedExternalExadataInsightSummary) GetFreeformTags() map[string]string
- func (m EmManagedExternalExadataInsightSummary) GetId() *string
- func (m EmManagedExternalExadataInsightSummary) GetLifecycleDetails() *string
- func (m EmManagedExternalExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum
- func (m EmManagedExternalExadataInsightSummary) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalExadataInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalExadataInsightSummary) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalExadataInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalExadataInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalExadataInsightSummary) String() string
- type EmManagedExternalHostConfigurationSummary
- func (m EmManagedExternalHostConfigurationSummary) GetCompartmentId() *string
- func (m EmManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int
- func (m EmManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string
- func (m EmManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64
- func (m EmManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
- func (m EmManagedExternalHostConfigurationSummary) GetCpuImplementation() *string
- func (m EmManagedExternalHostConfigurationSummary) GetCpuVendor() *string
- func (m EmManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string
- func (m EmManagedExternalHostConfigurationSummary) GetHostInsightId() *string
- func (m EmManagedExternalHostConfigurationSummary) GetHostName() *string
- func (m EmManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
- func (m EmManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
- func (m EmManagedExternalHostConfigurationSummary) GetPlatformVendor() *string
- func (m EmManagedExternalHostConfigurationSummary) GetPlatformVersion() *string
- func (m EmManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int
- func (m EmManagedExternalHostConfigurationSummary) GetTotalCpus() *int
- func (m EmManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64
- func (m EmManagedExternalHostConfigurationSummary) GetTotalSockets() *int
- func (m EmManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalHostConfigurationSummary) String() string
- type EmManagedExternalHostInsight
- func (m EmManagedExternalHostInsight) GetCompartmentId() *string
- func (m EmManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalHostInsight) GetFreeformTags() map[string]string
- func (m EmManagedExternalHostInsight) GetHostDisplayName() *string
- func (m EmManagedExternalHostInsight) GetHostName() *string
- func (m EmManagedExternalHostInsight) GetHostType() *string
- func (m EmManagedExternalHostInsight) GetId() *string
- func (m EmManagedExternalHostInsight) GetLifecycleDetails() *string
- func (m EmManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
- func (m EmManagedExternalHostInsight) GetProcessorCount() *int
- func (m EmManagedExternalHostInsight) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalHostInsight) String() string
- type EmManagedExternalHostInsightPlatformTypeEnum
- type EmManagedExternalHostInsightSummary
- func (m EmManagedExternalHostInsightSummary) GetCompartmentId() *string
- func (m EmManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m EmManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
- func (m EmManagedExternalHostInsightSummary) GetHostDisplayName() *string
- func (m EmManagedExternalHostInsightSummary) GetHostName() *string
- func (m EmManagedExternalHostInsightSummary) GetHostType() *string
- func (m EmManagedExternalHostInsightSummary) GetId() *string
- func (m EmManagedExternalHostInsightSummary) GetLifecycleDetails() *string
- func (m EmManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
- func (m EmManagedExternalHostInsightSummary) GetProcessorCount() *int
- func (m EmManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
- func (m EmManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m EmManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
- func (m EmManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m EmManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m EmManagedExternalHostInsightSummary) String() string
- type EmManagedExternalHostInsightSummaryPlatformTypeEnum
- type EnableDatabaseInsightDetails
- type EnableDatabaseInsightRequest
- func (request EnableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request EnableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request EnableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request EnableDatabaseInsightRequest) String() string
- type EnableDatabaseInsightResponse
- type EnableEmManagedExternalDatabaseInsightDetails
- type EnableEmManagedExternalExadataInsightDetails
- type EnableEmManagedExternalHostInsightDetails
- type EnableExadataInsightDetails
- type EnableExadataInsightRequest
- func (request EnableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request EnableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request EnableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request EnableExadataInsightRequest) String() string
- type EnableExadataInsightResponse
- type EnableHostInsightDetails
- type EnableHostInsightRequest
- func (request EnableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request EnableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request EnableHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request EnableHostInsightRequest) String() string
- type EnableHostInsightResponse
- type EnableMacsManagedExternalHostInsightDetails
- type EnterpriseManagerBridge
- type EnterpriseManagerBridgeCollection
- type EnterpriseManagerBridgeSummary
- type EnterpriseManagerBridges
- type ExadataConfigurationCollection
- type ExadataConfigurationSummary
- type ExadataDatabaseMachineConfigurationSummary
- func (m ExadataDatabaseMachineConfigurationSummary) GetCompartmentId() *string
- func (m ExadataDatabaseMachineConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m ExadataDatabaseMachineConfigurationSummary) GetExadataDisplayName() *string
- func (m ExadataDatabaseMachineConfigurationSummary) GetExadataInsightId() *string
- func (m ExadataDatabaseMachineConfigurationSummary) GetExadataName() *string
- func (m ExadataDatabaseMachineConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum
- func (m ExadataDatabaseMachineConfigurationSummary) GetExadataType() ExadataTypeEnum
- func (m ExadataDatabaseMachineConfigurationSummary) GetFreeformTags() map[string]string
- func (m ExadataDatabaseMachineConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m ExadataDatabaseMachineConfigurationSummary) String() string
- type ExadataDatabaseStatisticsSummary
- type ExadataDetails
- type ExadataDiskgroupStatisticsSummary
- type ExadataEntitySourceEnum
- type ExadataHostStatisticsSummary
- type ExadataInsight
- type ExadataInsightLifecycleStateEnum
- type ExadataInsightResourceCapacityTrendAggregation
- type ExadataInsightResourceCapacityTrendSummary
- type ExadataInsightResourceForecastTrendSummary
- type ExadataInsightResourceForecastTrendSummaryPatternEnum
- type ExadataInsightResourceInsightUtilizationItem
- type ExadataInsightResourceStatistics
- type ExadataInsightResourceStatisticsAggregation
- type ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
- type ExadataInsightSummary
- type ExadataInsightSummaryCollection
- type ExadataInsights
- type ExadataMemberCollection
- type ExadataMemberSummary
- type ExadataMemberSummaryEntityTypeEnum
- type ExadataRackTypeEnum
- type ExadataStorageServerStatisticsSummary
- type ExadataTypeEnum
- type GetDatabaseInsightRequest
- func (request GetDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDatabaseInsightRequest) String() string
- type GetDatabaseInsightResponse
- type GetEnterpriseManagerBridgeRequest
- func (request GetEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
- func (request GetEnterpriseManagerBridgeRequest) String() string
- type GetEnterpriseManagerBridgeResponse
- type GetExadataInsightRequest
- func (request GetExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request GetExadataInsightRequest) String() string
- type GetExadataInsightResponse
- type GetHostInsightRequest
- func (request GetHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request GetHostInsightRequest) String() string
- type GetHostInsightResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- type GetWorkRequestResponse
- type HistoricalDataItem
- type HostConfigurationCollection
- type HostConfigurationMetricGroup
- type HostConfigurationMetricGroupMetricNameEnum
- type HostConfigurationSummary
- type HostConfigurationSummaryPlatformTypeEnum
- type HostCpuHardwareConfiguration
- type HostCpuStatistics
- func (m HostCpuStatistics) GetCapacity() *float64
- func (m HostCpuStatistics) GetUsage() *float64
- func (m HostCpuStatistics) GetUsageChangePercent() *float64
- func (m HostCpuStatistics) GetUtilizationPercent() *float64
- func (m HostCpuStatistics) MarshalJSON() (buff []byte, e error)
- func (m HostCpuStatistics) String() string
- type HostCpuUsage
- type HostDetails
- type HostDetailsPlatformTypeEnum
- type HostEntities
- type HostEntitySourceEnum
- type HostEnum
- type HostHardwareConfiguration
- type HostImportableAgentEntitySummary
- type HostImportableAgentEntitySummaryPlatformTypeEnum
- type HostInsight
- type HostInsightResourceStatisticsAggregation
- type HostInsightSummary
- type HostInsightSummaryCollection
- type HostInsights
- type HostInstanceMap
- type HostMemoryConfiguration
- type HostMemoryStatistics
- func (m HostMemoryStatistics) GetCapacity() *float64
- func (m HostMemoryStatistics) GetUsage() *float64
- func (m HostMemoryStatistics) GetUsageChangePercent() *float64
- func (m HostMemoryStatistics) GetUtilizationPercent() *float64
- func (m HostMemoryStatistics) MarshalJSON() (buff []byte, e error)
- func (m HostMemoryStatistics) String() string
- type HostMemoryUsage
- type HostNetworkActivitySummary
- type HostNetworkConfiguration
- type HostPerformanceMetricGroup
- type HostPerformanceMetricGroupMetricNameEnum
- type HostProduct
- type HostResourceAllocation
- type HostResourceCapacityTrendAggregation
- type HostResourceStatistics
- type HostResourceStatisticsResourceNameEnum
- type HostedEntityCollection
- type HostedEntitySummary
- type ImportableAgentEntitySourceEnum
- type ImportableAgentEntitySummary
- type ImportableAgentEntitySummaryCollection
- type ImportableEnterpriseManagerEntity
- type ImportableEnterpriseManagerEntityCollection
- type IngestDatabaseConfigurationDetails
- type IngestDatabaseConfigurationRequest
- func (request IngestDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestDatabaseConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestDatabaseConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestDatabaseConfigurationRequest) String() string
- type IngestDatabaseConfigurationResponse
- type IngestDatabaseConfigurationResponseDetails
- type IngestHostConfigurationDetails
- type IngestHostConfigurationRequest
- func (request IngestHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestHostConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestHostConfigurationRequest) String() string
- type IngestHostConfigurationResponse
- type IngestHostConfigurationResponseDetails
- type IngestHostMetricsDetails
- type IngestHostMetricsRequest
- func (request IngestHostMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestHostMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestHostMetricsRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestHostMetricsRequest) String() string
- type IngestHostMetricsResponse
- type IngestHostMetricsResponseDetails
- type IngestSqlBucketDetails
- type IngestSqlBucketRequest
- func (request IngestSqlBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestSqlBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestSqlBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestSqlBucketRequest) String() string
- type IngestSqlBucketResponse
- type IngestSqlBucketResponseDetails
- type IngestSqlPlanLinesDetails
- type IngestSqlPlanLinesRequest
- func (request IngestSqlPlanLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestSqlPlanLinesRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestSqlPlanLinesRequest) String() string
- type IngestSqlPlanLinesResponse
- type IngestSqlPlanLinesResponseDetails
- type IngestSqlTextDetails
- type IngestSqlTextRequest
- func (request IngestSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IngestSqlTextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IngestSqlTextRequest) RetryPolicy() *common.RetryPolicy
- func (request IngestSqlTextRequest) String() string
- type IngestSqlTextResponse
- type IngestSqlTextResponseDetails
- type InstanceMetrics
- type LifecycleStateEnum
- type ListDatabaseConfigurationsDatabaseTypeEnum
- type ListDatabaseConfigurationsRequest
- func (request ListDatabaseConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDatabaseConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDatabaseConfigurationsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDatabaseConfigurationsRequest) String() string
- type ListDatabaseConfigurationsResponse
- type ListDatabaseConfigurationsSortByEnum
- type ListDatabaseConfigurationsSortOrderEnum
- type ListDatabaseInsightsDatabaseTypeEnum
- type ListDatabaseInsightsFieldsEnum
- type ListDatabaseInsightsRequest
- func (request ListDatabaseInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDatabaseInsightsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDatabaseInsightsRequest) String() string
- type ListDatabaseInsightsResponse
- type ListDatabaseInsightsSortByEnum
- type ListDatabaseInsightsSortOrderEnum
- type ListEnterpriseManagerBridgesRequest
- func (request ListEnterpriseManagerBridgesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListEnterpriseManagerBridgesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListEnterpriseManagerBridgesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListEnterpriseManagerBridgesRequest) String() string
- type ListEnterpriseManagerBridgesResponse
- type ListEnterpriseManagerBridgesSortByEnum
- type ListEnterpriseManagerBridgesSortOrderEnum
- type ListExadataConfigurationsRequest
- func (request ListExadataConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListExadataConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListExadataConfigurationsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListExadataConfigurationsRequest) String() string
- type ListExadataConfigurationsResponse
- type ListExadataConfigurationsSortByEnum
- type ListExadataConfigurationsSortOrderEnum
- type ListExadataInsightsRequest
- func (request ListExadataInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListExadataInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListExadataInsightsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListExadataInsightsRequest) String() string
- type ListExadataInsightsResponse
- type ListExadataInsightsSortByEnum
- type ListExadataInsightsSortOrderEnum
- type ListHostConfigurationsPlatformTypeEnum
- type ListHostConfigurationsRequest
- func (request ListHostConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListHostConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListHostConfigurationsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListHostConfigurationsRequest) String() string
- type ListHostConfigurationsResponse
- type ListHostConfigurationsSortByEnum
- type ListHostConfigurationsSortOrderEnum
- type ListHostInsightsPlatformTypeEnum
- type ListHostInsightsRequest
- func (request ListHostInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListHostInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListHostInsightsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListHostInsightsRequest) String() string
- type ListHostInsightsResponse
- type ListHostInsightsSortByEnum
- type ListHostInsightsSortOrderEnum
- type ListHostedEntitiesPlatformTypeEnum
- type ListHostedEntitiesRequest
- func (request ListHostedEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListHostedEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListHostedEntitiesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListHostedEntitiesRequest) String() string
- type ListHostedEntitiesResponse
- type ListHostedEntitiesSortByEnum
- type ListHostedEntitiesSortOrderEnum
- type ListImportableAgentEntitiesRequest
- func (request ListImportableAgentEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListImportableAgentEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListImportableAgentEntitiesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListImportableAgentEntitiesRequest) String() string
- type ListImportableAgentEntitiesResponse
- type ListImportableAgentEntitiesSortByEnum
- type ListImportableAgentEntitiesSortOrderEnum
- type ListImportableEnterpriseManagerEntitiesRequest
- func (request ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListImportableEnterpriseManagerEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListImportableEnterpriseManagerEntitiesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListImportableEnterpriseManagerEntitiesRequest) String() string
- type ListImportableEnterpriseManagerEntitiesResponse
- type ListSqlPlansRequest
- func (request ListSqlPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSqlPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSqlPlansRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSqlPlansRequest) String() string
- type ListSqlPlansResponse
- type ListSqlSearchesRequest
- func (request ListSqlSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSqlSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSqlSearchesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSqlSearchesRequest) String() string
- type ListSqlSearchesResponse
- type ListSqlTextsRequest
- func (request ListSqlTextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSqlTextsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSqlTextsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSqlTextsRequest) String() string
- type ListSqlTextsResponse
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type MacsManagedExternalDatabaseConfigurationSummary
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetCdbName() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
- func (m MacsManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
- func (m MacsManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalDatabaseConfigurationSummary) String() string
- type MacsManagedExternalDatabaseInsight
- func (m MacsManagedExternalDatabaseInsight) GetCompartmentId() *string
- func (m MacsManagedExternalDatabaseInsight) GetDatabaseType() *string
- func (m MacsManagedExternalDatabaseInsight) GetDatabaseVersion() *string
- func (m MacsManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
- func (m MacsManagedExternalDatabaseInsight) GetId() *string
- func (m MacsManagedExternalDatabaseInsight) GetLifecycleDetails() *string
- func (m MacsManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
- func (m MacsManagedExternalDatabaseInsight) GetProcessorCount() *int
- func (m MacsManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
- func (m MacsManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
- func (m MacsManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
- func (m MacsManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
- func (m MacsManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalDatabaseInsight) String() string
- func (m *MacsManagedExternalDatabaseInsight) UnmarshalJSON(data []byte) (e error)
- type MacsManagedExternalDatabaseInsightSummary
- func (m MacsManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
- func (m MacsManagedExternalDatabaseInsightSummary) GetId() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
- func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
- func (m MacsManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
- func (m MacsManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
- func (m MacsManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m MacsManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
- func (m MacsManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m MacsManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalDatabaseInsightSummary) String() string
- type MacsManagedExternalHostConfigurationSummary
- func (m MacsManagedExternalHostConfigurationSummary) GetCompartmentId() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int
- func (m MacsManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64
- func (m MacsManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
- func (m MacsManagedExternalHostConfigurationSummary) GetCpuImplementation() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetCpuVendor() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string
- func (m MacsManagedExternalHostConfigurationSummary) GetHostInsightId() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetHostName() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
- func (m MacsManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
- func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVendor() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVersion() *string
- func (m MacsManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int
- func (m MacsManagedExternalHostConfigurationSummary) GetTotalCpus() *int
- func (m MacsManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64
- func (m MacsManagedExternalHostConfigurationSummary) GetTotalSockets() *int
- func (m MacsManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalHostConfigurationSummary) String() string
- type MacsManagedExternalHostInsight
- func (m MacsManagedExternalHostInsight) GetCompartmentId() *string
- func (m MacsManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalHostInsight) GetFreeformTags() map[string]string
- func (m MacsManagedExternalHostInsight) GetHostDisplayName() *string
- func (m MacsManagedExternalHostInsight) GetHostName() *string
- func (m MacsManagedExternalHostInsight) GetHostType() *string
- func (m MacsManagedExternalHostInsight) GetId() *string
- func (m MacsManagedExternalHostInsight) GetLifecycleDetails() *string
- func (m MacsManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
- func (m MacsManagedExternalHostInsight) GetProcessorCount() *int
- func (m MacsManagedExternalHostInsight) GetStatus() ResourceStatusEnum
- func (m MacsManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
- func (m MacsManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
- func (m MacsManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
- func (m MacsManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalHostInsight) String() string
- type MacsManagedExternalHostInsightPlatformTypeEnum
- type MacsManagedExternalHostInsightSummary
- func (m MacsManagedExternalHostInsightSummary) GetCompartmentId() *string
- func (m MacsManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m MacsManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
- func (m MacsManagedExternalHostInsightSummary) GetHostDisplayName() *string
- func (m MacsManagedExternalHostInsightSummary) GetHostName() *string
- func (m MacsManagedExternalHostInsightSummary) GetHostType() *string
- func (m MacsManagedExternalHostInsightSummary) GetId() *string
- func (m MacsManagedExternalHostInsightSummary) GetLifecycleDetails() *string
- func (m MacsManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
- func (m MacsManagedExternalHostInsightSummary) GetProcessorCount() *int
- func (m MacsManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
- func (m MacsManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
- func (m MacsManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
- func (m MacsManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
- func (m MacsManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
- func (m MacsManagedExternalHostInsightSummary) String() string
- type MacsManagedExternalHostInsightSummaryPlatformTypeEnum
- type OperationStatusEnum
- type OperationTypeEnum
- type OperationsInsightsClient
- func (client OperationsInsightsClient) AddExadataInsightMembers(ctx context.Context, request AddExadataInsightMembersRequest) (response AddExadataInsightMembersResponse, err error)
- func (client OperationsInsightsClient) ChangeDatabaseInsightCompartment(ctx context.Context, request ChangeDatabaseInsightCompartmentRequest) (response ChangeDatabaseInsightCompartmentResponse, err error)
- func (client OperationsInsightsClient) ChangeEnterpriseManagerBridgeCompartment(ctx context.Context, request ChangeEnterpriseManagerBridgeCompartmentRequest) (response ChangeEnterpriseManagerBridgeCompartmentResponse, err error)
- func (client OperationsInsightsClient) ChangeExadataInsightCompartment(ctx context.Context, request ChangeExadataInsightCompartmentRequest) (response ChangeExadataInsightCompartmentResponse, err error)
- func (client OperationsInsightsClient) ChangeHostInsightCompartment(ctx context.Context, request ChangeHostInsightCompartmentRequest) (response ChangeHostInsightCompartmentResponse, err error)
- func (client *OperationsInsightsClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client OperationsInsightsClient) CreateDatabaseInsight(ctx context.Context, request CreateDatabaseInsightRequest) (response CreateDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) CreateEnterpriseManagerBridge(ctx context.Context, request CreateEnterpriseManagerBridgeRequest) (response CreateEnterpriseManagerBridgeResponse, err error)
- func (client OperationsInsightsClient) CreateExadataInsight(ctx context.Context, request CreateExadataInsightRequest) (response CreateExadataInsightResponse, err error)
- func (client OperationsInsightsClient) CreateHostInsight(ctx context.Context, request CreateHostInsightRequest) (response CreateHostInsightResponse, err error)
- func (client OperationsInsightsClient) DeleteDatabaseInsight(ctx context.Context, request DeleteDatabaseInsightRequest) (response DeleteDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) DeleteEnterpriseManagerBridge(ctx context.Context, request DeleteEnterpriseManagerBridgeRequest) (response DeleteEnterpriseManagerBridgeResponse, err error)
- func (client OperationsInsightsClient) DeleteExadataInsight(ctx context.Context, request DeleteExadataInsightRequest) (response DeleteExadataInsightResponse, err error)
- func (client OperationsInsightsClient) DeleteHostInsight(ctx context.Context, request DeleteHostInsightRequest) (response DeleteHostInsightResponse, err error)
- func (client OperationsInsightsClient) DisableDatabaseInsight(ctx context.Context, request DisableDatabaseInsightRequest) (response DisableDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) DisableExadataInsight(ctx context.Context, request DisableExadataInsightRequest) (response DisableExadataInsightResponse, err error)
- func (client OperationsInsightsClient) DisableHostInsight(ctx context.Context, request DisableHostInsightRequest) (response DisableHostInsightResponse, err error)
- func (client OperationsInsightsClient) EnableDatabaseInsight(ctx context.Context, request EnableDatabaseInsightRequest) (response EnableDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) EnableExadataInsight(ctx context.Context, request EnableExadataInsightRequest) (response EnableExadataInsightResponse, err error)
- func (client OperationsInsightsClient) EnableHostInsight(ctx context.Context, request EnableHostInsightRequest) (response EnableHostInsightResponse, err error)
- func (client OperationsInsightsClient) GetDatabaseInsight(ctx context.Context, request GetDatabaseInsightRequest) (response GetDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) GetEnterpriseManagerBridge(ctx context.Context, request GetEnterpriseManagerBridgeRequest) (response GetEnterpriseManagerBridgeResponse, err error)
- func (client OperationsInsightsClient) GetExadataInsight(ctx context.Context, request GetExadataInsightRequest) (response GetExadataInsightResponse, err error)
- func (client OperationsInsightsClient) GetHostInsight(ctx context.Context, request GetHostInsightRequest) (response GetHostInsightResponse, err error)
- func (client OperationsInsightsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client OperationsInsightsClient) IngestDatabaseConfiguration(ctx context.Context, request IngestDatabaseConfigurationRequest) (response IngestDatabaseConfigurationResponse, err error)
- func (client OperationsInsightsClient) IngestHostConfiguration(ctx context.Context, request IngestHostConfigurationRequest) (response IngestHostConfigurationResponse, err error)
- func (client OperationsInsightsClient) IngestHostMetrics(ctx context.Context, request IngestHostMetricsRequest) (response IngestHostMetricsResponse, err error)
- func (client OperationsInsightsClient) IngestSqlBucket(ctx context.Context, request IngestSqlBucketRequest) (response IngestSqlBucketResponse, err error)
- func (client OperationsInsightsClient) IngestSqlPlanLines(ctx context.Context, request IngestSqlPlanLinesRequest) (response IngestSqlPlanLinesResponse, err error)
- func (client OperationsInsightsClient) IngestSqlText(ctx context.Context, request IngestSqlTextRequest) (response IngestSqlTextResponse, err error)
- func (client OperationsInsightsClient) ListDatabaseConfigurations(ctx context.Context, request ListDatabaseConfigurationsRequest) (response ListDatabaseConfigurationsResponse, err error)
- func (client OperationsInsightsClient) ListDatabaseInsights(ctx context.Context, request ListDatabaseInsightsRequest) (response ListDatabaseInsightsResponse, err error)
- func (client OperationsInsightsClient) ListEnterpriseManagerBridges(ctx context.Context, request ListEnterpriseManagerBridgesRequest) (response ListEnterpriseManagerBridgesResponse, err error)
- func (client OperationsInsightsClient) ListExadataConfigurations(ctx context.Context, request ListExadataConfigurationsRequest) (response ListExadataConfigurationsResponse, err error)
- func (client OperationsInsightsClient) ListExadataInsights(ctx context.Context, request ListExadataInsightsRequest) (response ListExadataInsightsResponse, err error)
- func (client OperationsInsightsClient) ListHostConfigurations(ctx context.Context, request ListHostConfigurationsRequest) (response ListHostConfigurationsResponse, err error)
- func (client OperationsInsightsClient) ListHostInsights(ctx context.Context, request ListHostInsightsRequest) (response ListHostInsightsResponse, err error)
- func (client OperationsInsightsClient) ListHostedEntities(ctx context.Context, request ListHostedEntitiesRequest) (response ListHostedEntitiesResponse, err error)
- func (client OperationsInsightsClient) ListImportableAgentEntities(ctx context.Context, request ListImportableAgentEntitiesRequest) (response ListImportableAgentEntitiesResponse, err error)
- func (client OperationsInsightsClient) ListImportableEnterpriseManagerEntities(ctx context.Context, request ListImportableEnterpriseManagerEntitiesRequest) (response ListImportableEnterpriseManagerEntitiesResponse, err error)
- func (client OperationsInsightsClient) ListSqlPlans(ctx context.Context, request ListSqlPlansRequest) (response ListSqlPlansResponse, err error)
- func (client OperationsInsightsClient) ListSqlSearches(ctx context.Context, request ListSqlSearchesRequest) (response ListSqlSearchesResponse, err error)
- func (client OperationsInsightsClient) ListSqlTexts(ctx context.Context, request ListSqlTextsRequest) (response ListSqlTextsResponse, err error)
- func (client OperationsInsightsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client OperationsInsightsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client OperationsInsightsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *OperationsInsightsClient) SetRegion(region string)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend(ctx context.Context, ...) (response SummarizeDatabaseInsightResourceCapacityTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend(ctx context.Context, ...) (response SummarizeDatabaseInsightResourceForecastTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics(ctx context.Context, request SummarizeDatabaseInsightResourceStatisticsRequest) (response SummarizeDatabaseInsightResourceStatisticsResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage(ctx context.Context, request SummarizeDatabaseInsightResourceUsageRequest) (response SummarizeDatabaseInsightResourceUsageResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend(ctx context.Context, request SummarizeDatabaseInsightResourceUsageTrendRequest) (response SummarizeDatabaseInsightResourceUsageTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight(ctx context.Context, ...) (response SummarizeDatabaseInsightResourceUtilizationInsightResponse, err error)
- func (client OperationsInsightsClient) SummarizeDatabaseInsightTablespaceUsageTrend(ctx context.Context, ...) (response SummarizeDatabaseInsightTablespaceUsageTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrend(ctx context.Context, ...) (response SummarizeExadataInsightResourceCapacityTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrendAggregated(ctx context.Context, ...) (response SummarizeExadataInsightResourceCapacityTrendAggregatedResponse, ...)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrend(ctx context.Context, ...) (response SummarizeExadataInsightResourceForecastTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrendAggregated(ctx context.Context, ...) (response SummarizeExadataInsightResourceForecastTrendAggregatedResponse, ...)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceStatistics(ctx context.Context, request SummarizeExadataInsightResourceStatisticsRequest) (response SummarizeExadataInsightResourceStatisticsResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceUsage(ctx context.Context, request SummarizeExadataInsightResourceUsageRequest) (response SummarizeExadataInsightResourceUsageResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceUsageAggregated(ctx context.Context, ...) (response SummarizeExadataInsightResourceUsageAggregatedResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataInsightResourceUtilizationInsight(ctx context.Context, ...) (response SummarizeExadataInsightResourceUtilizationInsightResponse, err error)
- func (client OperationsInsightsClient) SummarizeExadataMembers(ctx context.Context, request SummarizeExadataMembersRequest) (response SummarizeExadataMembersResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceCapacityTrend(ctx context.Context, request SummarizeHostInsightResourceCapacityTrendRequest) (response SummarizeHostInsightResourceCapacityTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceForecastTrend(ctx context.Context, request SummarizeHostInsightResourceForecastTrendRequest) (response SummarizeHostInsightResourceForecastTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceStatistics(ctx context.Context, request SummarizeHostInsightResourceStatisticsRequest) (response SummarizeHostInsightResourceStatisticsResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceUsage(ctx context.Context, request SummarizeHostInsightResourceUsageRequest) (response SummarizeHostInsightResourceUsageResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceUsageTrend(ctx context.Context, request SummarizeHostInsightResourceUsageTrendRequest) (response SummarizeHostInsightResourceUsageTrendResponse, err error)
- func (client OperationsInsightsClient) SummarizeHostInsightResourceUtilizationInsight(ctx context.Context, ...) (response SummarizeHostInsightResourceUtilizationInsightResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlInsights(ctx context.Context, request SummarizeSqlInsightsRequest) (response SummarizeSqlInsightsResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlPlanInsights(ctx context.Context, request SummarizeSqlPlanInsightsRequest) (response SummarizeSqlPlanInsightsResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlResponseTimeDistributions(ctx context.Context, request SummarizeSqlResponseTimeDistributionsRequest) (response SummarizeSqlResponseTimeDistributionsResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlStatistics(ctx context.Context, request SummarizeSqlStatisticsRequest) (response SummarizeSqlStatisticsResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesRequest) (response SummarizeSqlStatisticsTimeSeriesResponse, err error)
- func (client OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan(ctx context.Context, request SummarizeSqlStatisticsTimeSeriesByPlanRequest) (response SummarizeSqlStatisticsTimeSeriesByPlanResponse, err error)
- func (client OperationsInsightsClient) UpdateDatabaseInsight(ctx context.Context, request UpdateDatabaseInsightRequest) (response UpdateDatabaseInsightResponse, err error)
- func (client OperationsInsightsClient) UpdateEnterpriseManagerBridge(ctx context.Context, request UpdateEnterpriseManagerBridgeRequest) (response UpdateEnterpriseManagerBridgeResponse, err error)
- func (client OperationsInsightsClient) UpdateExadataInsight(ctx context.Context, request UpdateExadataInsightRequest) (response UpdateExadataInsightResponse, err error)
- func (client OperationsInsightsClient) UpdateHostInsight(ctx context.Context, request UpdateHostInsightRequest) (response UpdateHostInsightResponse, err error)
- type ProjectedDataItem
- type ResourceCapacityTrendAggregation
- type ResourceInsightCurrentUtilization
- type ResourceInsightProjectedUtilization
- type ResourceInsightProjectedUtilizationItem
- type ResourceStatistics
- type ResourceStatisticsAggregation
- type ResourceStatusEnum
- type ResourceUsageSummary
- type ResourceUsageTrendAggregation
- type SortOrderEnum
- type SqlBucket
- type SqlInsightAggregation
- type SqlInsightAggregationCollection
- type SqlInsightThresholds
- type SqlInventory
- type SqlPlanCollection
- type SqlPlanInsightAggregation
- type SqlPlanInsightAggregationCollection
- type SqlPlanInsights
- type SqlPlanLine
- type SqlPlanSummary
- type SqlResponseTimeDistributionAggregation
- type SqlResponseTimeDistributionAggregationCollection
- type SqlSearchCollection
- type SqlSearchSummary
- type SqlStatisticAggregation
- type SqlStatisticAggregationCollection
- type SqlStatistics
- type SqlStatisticsTimeSeries
- type SqlStatisticsTimeSeriesAggregation
- type SqlStatisticsTimeSeriesAggregationCollection
- type SqlStatisticsTimeSeriesByPlanAggregation
- type SqlStatisticsTimeSeriesByPlanAggregationCollection
- type SqlText
- type SqlTextCollection
- type SqlTextSummary
- type StorageServerDetails
- type StorageServerEnum
- type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection
- type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
- type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceCapacityTrendRequest
- func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string
- type SummarizeDatabaseInsightResourceCapacityTrendResponse
- type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
- type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
- type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
- type SummarizeDatabaseInsightResourceForecastTrendAggregation
- type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
- type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
- type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
- type SummarizeDatabaseInsightResourceForecastTrendRequest
- func (request SummarizeDatabaseInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceForecastTrendRequest) String() string
- type SummarizeDatabaseInsightResourceForecastTrendResponse
- type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
- type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
- type SummarizeDatabaseInsightResourceStatisticsAggregationCollection
- type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
- type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceStatisticsRequest
- func (request SummarizeDatabaseInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceStatisticsRequest) String() string
- type SummarizeDatabaseInsightResourceStatisticsResponse
- type SummarizeDatabaseInsightResourceStatisticsSortByEnum
- type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
- type SummarizeDatabaseInsightResourceUsageAggregation
- type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
- type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceUsageRequest
- func (request SummarizeDatabaseInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceUsageRequest) String() string
- type SummarizeDatabaseInsightResourceUsageResponse
- type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection
- type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
- type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceUsageTrendRequest
- func (request SummarizeDatabaseInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string
- type SummarizeDatabaseInsightResourceUsageTrendResponse
- type SummarizeDatabaseInsightResourceUsageTrendSortByEnum
- type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
- type SummarizeDatabaseInsightResourceUtilizationInsightAggregation
- type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
- type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
- type SummarizeDatabaseInsightResourceUtilizationInsightRequest
- func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string
- type SummarizeDatabaseInsightResourceUtilizationInsightResponse
- type SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection
- type SummarizeDatabaseInsightTablespaceUsageTrendRequest
- func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) String() string
- type SummarizeDatabaseInsightTablespaceUsageTrendResponse
- type SummarizeExadataInsightResourceCapacityTrendAggregatedRequest
- func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) String() string
- type SummarizeExadataInsightResourceCapacityTrendAggregatedResponse
- type SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
- type SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
- type SummarizeExadataInsightResourceCapacityTrendAggregation
- type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
- type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
- type SummarizeExadataInsightResourceCapacityTrendCollection
- type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
- type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
- type SummarizeExadataInsightResourceCapacityTrendRequest
- func (request SummarizeExadataInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceCapacityTrendRequest) String() string
- type SummarizeExadataInsightResourceCapacityTrendResponse
- type SummarizeExadataInsightResourceCapacityTrendSortByEnum
- type SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
- type SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
- type SummarizeExadataInsightResourceForecastTrendAggregatedRequest
- func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) String() string
- type SummarizeExadataInsightResourceForecastTrendAggregatedResponse
- type SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
- type SummarizeExadataInsightResourceForecastTrendAggregation
- type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum
- type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum
- type SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum
- type SummarizeExadataInsightResourceForecastTrendCollection
- type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
- type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
- type SummarizeExadataInsightResourceForecastTrendForecastModelEnum
- type SummarizeExadataInsightResourceForecastTrendRequest
- func (request SummarizeExadataInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceForecastTrendRequest) String() string
- type SummarizeExadataInsightResourceForecastTrendResponse
- type SummarizeExadataInsightResourceForecastTrendSortByEnum
- type SummarizeExadataInsightResourceForecastTrendSortOrderEnum
- type SummarizeExadataInsightResourceForecastTrendStatisticEnum
- type SummarizeExadataInsightResourceStatisticsAggregationCollection
- type SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum
- type SummarizeExadataInsightResourceStatisticsRequest
- func (request SummarizeExadataInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceStatisticsRequest) String() string
- type SummarizeExadataInsightResourceStatisticsResponse
- type SummarizeExadataInsightResourceStatisticsSortByEnum
- type SummarizeExadataInsightResourceStatisticsSortOrderEnum
- type SummarizeExadataInsightResourceUsageAggregatedRequest
- func (request SummarizeExadataInsightResourceUsageAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceUsageAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceUsageAggregatedRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceUsageAggregatedRequest) String() string
- type SummarizeExadataInsightResourceUsageAggregatedResponse
- type SummarizeExadataInsightResourceUsageAggregation
- type SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
- type SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
- type SummarizeExadataInsightResourceUsageCollection
- type SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
- type SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
- type SummarizeExadataInsightResourceUsageRequest
- func (request SummarizeExadataInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceUsageRequest) String() string
- type SummarizeExadataInsightResourceUsageResponse
- type SummarizeExadataInsightResourceUsageSortByEnum
- type SummarizeExadataInsightResourceUsageSortOrderEnum
- type SummarizeExadataInsightResourceUtilizationInsightAggregation
- type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
- type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
- type SummarizeExadataInsightResourceUtilizationInsightRequest
- func (request SummarizeExadataInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataInsightResourceUtilizationInsightRequest) String() string
- type SummarizeExadataInsightResourceUtilizationInsightResponse
- type SummarizeExadataMembersRequest
- func (request SummarizeExadataMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeExadataMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeExadataMembersRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeExadataMembersRequest) String() string
- type SummarizeExadataMembersResponse
- type SummarizeExadataMembersSortByEnum
- type SummarizeExadataMembersSortOrderEnum
- type SummarizeHostInsightResourceCapacityTrendAggregationCollection
- type SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
- type SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
- type SummarizeHostInsightResourceCapacityTrendRequest
- func (request SummarizeHostInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceCapacityTrendRequest) String() string
- type SummarizeHostInsightResourceCapacityTrendResponse
- type SummarizeHostInsightResourceCapacityTrendSortByEnum
- type SummarizeHostInsightResourceCapacityTrendSortOrderEnum
- type SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
- type SummarizeHostInsightResourceForecastTrendAggregation
- type SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
- type SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
- type SummarizeHostInsightResourceForecastTrendForecastModelEnum
- type SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
- type SummarizeHostInsightResourceForecastTrendRequest
- func (request SummarizeHostInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceForecastTrendRequest) String() string
- type SummarizeHostInsightResourceForecastTrendResponse
- type SummarizeHostInsightResourceForecastTrendStatisticEnum
- type SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
- type SummarizeHostInsightResourceStatisticsAggregationCollection
- type SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
- type SummarizeHostInsightResourceStatisticsPlatformTypeEnum
- type SummarizeHostInsightResourceStatisticsRequest
- func (request SummarizeHostInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceStatisticsRequest) String() string
- type SummarizeHostInsightResourceStatisticsResponse
- type SummarizeHostInsightResourceStatisticsSortByEnum
- type SummarizeHostInsightResourceStatisticsSortOrderEnum
- type SummarizeHostInsightResourceUsageAggregation
- type SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
- type SummarizeHostInsightResourceUsagePlatformTypeEnum
- type SummarizeHostInsightResourceUsageRequest
- func (request SummarizeHostInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceUsageRequest) String() string
- type SummarizeHostInsightResourceUsageResponse
- type SummarizeHostInsightResourceUsageTrendAggregationCollection
- type SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
- type SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
- type SummarizeHostInsightResourceUsageTrendRequest
- func (request SummarizeHostInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceUsageTrendRequest) String() string
- type SummarizeHostInsightResourceUsageTrendResponse
- type SummarizeHostInsightResourceUsageTrendSortByEnum
- type SummarizeHostInsightResourceUsageTrendSortOrderEnum
- type SummarizeHostInsightResourceUtilizationInsightAggregation
- type SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
- type SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
- type SummarizeHostInsightResourceUtilizationInsightRequest
- func (request SummarizeHostInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeHostInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeHostInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeHostInsightResourceUtilizationInsightRequest) String() string
- type SummarizeHostInsightResourceUtilizationInsightResponse
- type SummarizeSqlInsightsDatabaseTypeEnum
- type SummarizeSqlInsightsRequest
- func (request SummarizeSqlInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlInsightsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlInsightsRequest) String() string
- type SummarizeSqlInsightsResponse
- type SummarizeSqlPlanInsightsRequest
- func (request SummarizeSqlPlanInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlPlanInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlPlanInsightsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlPlanInsightsRequest) String() string
- type SummarizeSqlPlanInsightsResponse
- type SummarizeSqlResponseTimeDistributionsRequest
- func (request SummarizeSqlResponseTimeDistributionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlResponseTimeDistributionsRequest) String() string
- type SummarizeSqlResponseTimeDistributionsResponse
- type SummarizeSqlStatisticsCategoryEnum
- type SummarizeSqlStatisticsDatabaseTypeEnum
- type SummarizeSqlStatisticsRequest
- func (request SummarizeSqlStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlStatisticsRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlStatisticsRequest) String() string
- type SummarizeSqlStatisticsResponse
- type SummarizeSqlStatisticsSortByEnum
- type SummarizeSqlStatisticsSortOrderEnum
- type SummarizeSqlStatisticsTimeSeriesByPlanRequest
- func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string
- type SummarizeSqlStatisticsTimeSeriesByPlanResponse
- type SummarizeSqlStatisticsTimeSeriesRequest
- func (request SummarizeSqlStatisticsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string
- type SummarizeSqlStatisticsTimeSeriesResponse
- type SummaryStatistics
- type TablespaceUsageTrend
- type TablespaceUsageTrendAggregation
- type UpdateAutonomousDatabaseInsightDetails
- func (m UpdateAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateAutonomousDatabaseInsightDetails) String() string
- type UpdateDatabaseInsightDetails
- type UpdateDatabaseInsightRequest
- func (request UpdateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDatabaseInsightRequest) String() string
- type UpdateDatabaseInsightResponse
- type UpdateEmManagedExternalDatabaseInsightDetails
- func (m UpdateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateEmManagedExternalDatabaseInsightDetails) String() string
- type UpdateEmManagedExternalExadataInsightDetails
- func (m UpdateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateEmManagedExternalExadataInsightDetails) String() string
- type UpdateEmManagedExternalHostInsightDetails
- func (m UpdateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateEmManagedExternalHostInsightDetails) String() string
- type UpdateEnterpriseManagerBridgeDetails
- type UpdateEnterpriseManagerBridgeRequest
- func (request UpdateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateEnterpriseManagerBridgeRequest) String() string
- type UpdateEnterpriseManagerBridgeResponse
- type UpdateExadataInsightDetails
- type UpdateExadataInsightRequest
- func (request UpdateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateExadataInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateExadataInsightRequest) String() string
- type UpdateExadataInsightResponse
- type UpdateHostInsightDetails
- type UpdateHostInsightRequest
- func (request UpdateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateHostInsightRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateHostInsightRequest) String() string
- type UpdateHostInsightResponse
- type UpdateMacsManagedExternalDatabaseInsightDetails
- func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateMacsManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateMacsManagedExternalDatabaseInsightDetails) String() string
- type UpdateMacsManagedExternalHostInsightDetails
- func (m UpdateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
- func (m UpdateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateMacsManagedExternalHostInsightDetails) String() string
- type UsageUnitEnum
- type WorkRequest
- type WorkRequestCollection
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
type AddEmManagedExternalExadataInsightMembersDetails ¶
type AddEmManagedExternalExadataInsightMembersDetails struct {
MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
}
AddEmManagedExternalExadataInsightMembersDetails The information about the members of Exadata system to be added. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
func (AddEmManagedExternalExadataInsightMembersDetails) MarshalJSON ¶
func (m AddEmManagedExternalExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AddEmManagedExternalExadataInsightMembersDetails) String ¶
func (m AddEmManagedExternalExadataInsightMembersDetails) String() string
type AddExadataInsightMembersDetails ¶
type AddExadataInsightMembersDetails interface {
}
AddExadataInsightMembersDetails The information about the members of Exadata system to be added.
type AddExadataInsightMembersRequest ¶
type AddExadataInsightMembersRequest struct {
// Details for the members (e.g. databases and hosts) of an Exadata system to be added in Operations Insights.
AddExadataInsightMembersDetails `contributesTo:"body"`
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// 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
}
AddExadataInsightMembersRequest wrapper for the AddExadataInsightMembers operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/AddExadataInsightMembers.go.html to see an example of how to use AddExadataInsightMembersRequest.
func (AddExadataInsightMembersRequest) BinaryRequestBody ¶
func (request AddExadataInsightMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (AddExadataInsightMembersRequest) HTTPRequest ¶
func (request AddExadataInsightMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AddExadataInsightMembersRequest) RetryPolicy ¶
func (request AddExadataInsightMembersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AddExadataInsightMembersRequest) String ¶
func (request AddExadataInsightMembersRequest) String() string
type AddExadataInsightMembersResponse ¶
type AddExadataInsightMembersResponse 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"`
}
AddExadataInsightMembersResponse wrapper for the AddExadataInsightMembers operation
func (AddExadataInsightMembersResponse) HTTPResponse ¶
func (response AddExadataInsightMembersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AddExadataInsightMembersResponse) String ¶
func (response AddExadataInsightMembersResponse) String() string
type AutonomousDatabaseConfigurationSummary ¶
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"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// 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"`
}
AutonomousDatabaseConfigurationSummary Configuration Summary of autonomous database.
func (AutonomousDatabaseConfigurationSummary) GetCdbName ¶
func (m AutonomousDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (AutonomousDatabaseConfigurationSummary) GetCompartmentId ¶
func (m AutonomousDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName ¶
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId ¶
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (AutonomousDatabaseConfigurationSummary) GetDatabaseName ¶
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (AutonomousDatabaseConfigurationSummary) GetDatabaseType ¶
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (AutonomousDatabaseConfigurationSummary) GetDatabaseVersion ¶
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (AutonomousDatabaseConfigurationSummary) GetDefinedTags ¶
func (m AutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AutonomousDatabaseConfigurationSummary) GetFreeformTags ¶
func (m AutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AutonomousDatabaseConfigurationSummary) GetProcessorCount ¶
func (m AutonomousDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (AutonomousDatabaseConfigurationSummary) MarshalJSON ¶
func (m AutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AutonomousDatabaseConfigurationSummary) String ¶
func (m AutonomousDatabaseConfigurationSummary) String() string
type AutonomousDatabaseInsight ¶
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"`
}
AutonomousDatabaseInsight Database insight resource.
func (AutonomousDatabaseInsight) GetCompartmentId ¶
func (m AutonomousDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AutonomousDatabaseInsight) GetDatabaseType ¶
func (m AutonomousDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (AutonomousDatabaseInsight) GetDatabaseVersion ¶
func (m AutonomousDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (AutonomousDatabaseInsight) GetDefinedTags ¶
func (m AutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AutonomousDatabaseInsight) GetFreeformTags ¶
func (m AutonomousDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AutonomousDatabaseInsight) GetId ¶
func (m AutonomousDatabaseInsight) GetId() *string
GetId returns Id
func (AutonomousDatabaseInsight) GetLifecycleDetails ¶
func (m AutonomousDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (AutonomousDatabaseInsight) GetLifecycleState ¶
func (m AutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AutonomousDatabaseInsight) GetProcessorCount ¶
func (m AutonomousDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (AutonomousDatabaseInsight) GetStatus ¶
func (m AutonomousDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (AutonomousDatabaseInsight) GetSystemTags ¶
func (m AutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AutonomousDatabaseInsight) GetTimeCreated ¶
func (m AutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AutonomousDatabaseInsight) GetTimeUpdated ¶
func (m AutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AutonomousDatabaseInsight) MarshalJSON ¶
func (m AutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AutonomousDatabaseInsight) String ¶
func (m AutonomousDatabaseInsight) String() string
type AutonomousDatabaseInsightSummary ¶
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"`
}
AutonomousDatabaseInsightSummary Summary of a database insight resource.
func (AutonomousDatabaseInsightSummary) GetCompartmentId ¶
func (m AutonomousDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (AutonomousDatabaseInsightSummary) GetDatabaseDisplayName ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (AutonomousDatabaseInsightSummary) GetDatabaseHostNames ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (AutonomousDatabaseInsightSummary) GetDatabaseId ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (AutonomousDatabaseInsightSummary) GetDatabaseName ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (AutonomousDatabaseInsightSummary) GetDatabaseType ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (AutonomousDatabaseInsightSummary) GetDatabaseVersion ¶
func (m AutonomousDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (AutonomousDatabaseInsightSummary) GetDefinedTags ¶
func (m AutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (AutonomousDatabaseInsightSummary) GetFreeformTags ¶
func (m AutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (AutonomousDatabaseInsightSummary) GetId ¶
func (m AutonomousDatabaseInsightSummary) GetId() *string
GetId returns Id
func (AutonomousDatabaseInsightSummary) GetLifecycleDetails ¶
func (m AutonomousDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (AutonomousDatabaseInsightSummary) GetLifecycleState ¶
func (m AutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (AutonomousDatabaseInsightSummary) GetProcessorCount ¶
func (m AutonomousDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (AutonomousDatabaseInsightSummary) GetStatus ¶
func (m AutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (AutonomousDatabaseInsightSummary) GetSystemTags ¶
func (m AutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (AutonomousDatabaseInsightSummary) GetTimeCreated ¶
func (m AutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (AutonomousDatabaseInsightSummary) GetTimeUpdated ¶
func (m AutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (AutonomousDatabaseInsightSummary) MarshalJSON ¶
func (m AutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (AutonomousDatabaseInsightSummary) String ¶
func (m AutonomousDatabaseInsightSummary) String() string
type ChangeDatabaseInsightCompartmentDetails ¶
type ChangeDatabaseInsightCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeDatabaseInsightCompartmentDetails The information to be updated.
func (ChangeDatabaseInsightCompartmentDetails) String ¶
func (m ChangeDatabaseInsightCompartmentDetails) String() string
type 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
}
ChangeDatabaseInsightCompartmentRequest wrapper for the ChangeDatabaseInsightCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartmentRequest.
func (ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody ¶
func (request ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeDatabaseInsightCompartmentRequest) HTTPRequest ¶
func (request ChangeDatabaseInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeDatabaseInsightCompartmentRequest) RetryPolicy ¶
func (request ChangeDatabaseInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeDatabaseInsightCompartmentRequest) String ¶
func (request ChangeDatabaseInsightCompartmentRequest) String() string
type ChangeDatabaseInsightCompartmentResponse ¶
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"`
}
ChangeDatabaseInsightCompartmentResponse wrapper for the ChangeDatabaseInsightCompartment operation
func (ChangeDatabaseInsightCompartmentResponse) HTTPResponse ¶
func (response ChangeDatabaseInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeDatabaseInsightCompartmentResponse) String ¶
func (response ChangeDatabaseInsightCompartmentResponse) String() string
type ChangeEnterpriseManagerBridgeCompartmentDetails ¶
type ChangeEnterpriseManagerBridgeCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeEnterpriseManagerBridgeCompartmentDetails The information to be updated.
func (ChangeEnterpriseManagerBridgeCompartmentDetails) String ¶
func (m ChangeEnterpriseManagerBridgeCompartmentDetails) String() string
type 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
}
ChangeEnterpriseManagerBridgeCompartmentRequest wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartmentRequest.
func (ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody ¶
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeEnterpriseManagerBridgeCompartmentRequest) HTTPRequest ¶
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeEnterpriseManagerBridgeCompartmentRequest) RetryPolicy ¶
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeEnterpriseManagerBridgeCompartmentRequest) String ¶
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) String() string
type ChangeEnterpriseManagerBridgeCompartmentResponse ¶
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"`
}
ChangeEnterpriseManagerBridgeCompartmentResponse wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
func (ChangeEnterpriseManagerBridgeCompartmentResponse) HTTPResponse ¶
func (response ChangeEnterpriseManagerBridgeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeEnterpriseManagerBridgeCompartmentResponse) String ¶
func (response ChangeEnterpriseManagerBridgeCompartmentResponse) String() string
type ChangeExadataInsightCompartmentDetails ¶
type ChangeExadataInsightCompartmentDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeExadataInsightCompartmentDetails The information to be updated.
func (ChangeExadataInsightCompartmentDetails) String ¶
func (m ChangeExadataInsightCompartmentDetails) String() string
type ChangeExadataInsightCompartmentRequest ¶
type ChangeExadataInsightCompartmentRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// The information to be updated.
ChangeExadataInsightCompartmentDetails `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
}
ChangeExadataInsightCompartmentRequest wrapper for the ChangeExadataInsightCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeExadataInsightCompartment.go.html to see an example of how to use ChangeExadataInsightCompartmentRequest.
func (ChangeExadataInsightCompartmentRequest) BinaryRequestBody ¶
func (request ChangeExadataInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeExadataInsightCompartmentRequest) HTTPRequest ¶
func (request ChangeExadataInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeExadataInsightCompartmentRequest) RetryPolicy ¶
func (request ChangeExadataInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeExadataInsightCompartmentRequest) String ¶
func (request ChangeExadataInsightCompartmentRequest) String() string
type ChangeExadataInsightCompartmentResponse ¶
type ChangeExadataInsightCompartmentResponse 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"`
}
ChangeExadataInsightCompartmentResponse wrapper for the ChangeExadataInsightCompartment operation
func (ChangeExadataInsightCompartmentResponse) HTTPResponse ¶
func (response ChangeExadataInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeExadataInsightCompartmentResponse) String ¶
func (response ChangeExadataInsightCompartmentResponse) String() string
type ChangeHostInsightCompartmentDetails ¶
type ChangeHostInsightCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
ChangeHostInsightCompartmentDetails The information to be updated.
func (ChangeHostInsightCompartmentDetails) String ¶
func (m ChangeHostInsightCompartmentDetails) String() string
type 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
}
ChangeHostInsightCompartmentRequest wrapper for the ChangeHostInsightCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartmentRequest.
func (ChangeHostInsightCompartmentRequest) BinaryRequestBody ¶
func (request ChangeHostInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeHostInsightCompartmentRequest) HTTPRequest ¶
func (request ChangeHostInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeHostInsightCompartmentRequest) RetryPolicy ¶
func (request ChangeHostInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeHostInsightCompartmentRequest) String ¶
func (request ChangeHostInsightCompartmentRequest) String() string
type ChangeHostInsightCompartmentResponse ¶
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"`
}
ChangeHostInsightCompartmentResponse wrapper for the ChangeHostInsightCompartment operation
func (ChangeHostInsightCompartmentResponse) HTTPResponse ¶
func (response ChangeHostInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeHostInsightCompartmentResponse) String ¶
func (response ChangeHostInsightCompartmentResponse) String() string
type ConnectionDetails ¶
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"`
}
ConnectionDetails Connection details to connect to the database. HostName, protocol, and port should be specified.
func (ConnectionDetails) String ¶
func (m ConnectionDetails) String() string
type ConnectionDetailsProtocolEnum ¶
type ConnectionDetailsProtocolEnum string
ConnectionDetailsProtocolEnum Enum with underlying type: string
const ( ConnectionDetailsProtocolTcp ConnectionDetailsProtocolEnum = "TCP" ConnectionDetailsProtocolTcps ConnectionDetailsProtocolEnum = "TCPS" )
Set of constants representing the allowable values for ConnectionDetailsProtocolEnum
func GetConnectionDetailsProtocolEnumValues ¶
func GetConnectionDetailsProtocolEnumValues() []ConnectionDetailsProtocolEnum
GetConnectionDetailsProtocolEnumValues Enumerates the set of values for ConnectionDetailsProtocolEnum
type CreateDatabaseInsightDetails ¶
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{}
}
CreateDatabaseInsightDetails The information about database to be analyzed.
type 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
}
CreateDatabaseInsightRequest wrapper for the CreateDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsightRequest.
func (CreateDatabaseInsightRequest) BinaryRequestBody ¶
func (request CreateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDatabaseInsightRequest) HTTPRequest ¶
func (request CreateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDatabaseInsightRequest) RetryPolicy ¶
func (request CreateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDatabaseInsightRequest) String ¶
func (request CreateDatabaseInsightRequest) String() string
type CreateDatabaseInsightResponse ¶
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"`
}
CreateDatabaseInsightResponse wrapper for the CreateDatabaseInsight operation
func (CreateDatabaseInsightResponse) HTTPResponse ¶
func (response CreateDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDatabaseInsightResponse) String ¶
func (response CreateDatabaseInsightResponse) String() string
type CreateEmManagedExternalDatabaseInsightDetails ¶
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"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
}
CreateEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
func (CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId ¶
func (m CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags ¶
func (m CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags ¶
func (m CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON ¶
func (m CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateEmManagedExternalDatabaseInsightDetails) String ¶
func (m CreateEmManagedExternalDatabaseInsightDetails) String() string
type CreateEmManagedExternalExadataInsightDetails ¶
type CreateEmManagedExternalExadataInsightDetails struct {
// Compartment Identifier of Exadata insight
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"`
MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
// Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
}
CreateEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
func (CreateEmManagedExternalExadataInsightDetails) GetCompartmentId ¶
func (m CreateEmManagedExternalExadataInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateEmManagedExternalExadataInsightDetails) GetDefinedTags ¶
func (m CreateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateEmManagedExternalExadataInsightDetails) GetFreeformTags ¶
func (m CreateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateEmManagedExternalExadataInsightDetails) MarshalJSON ¶
func (m CreateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateEmManagedExternalExadataInsightDetails) String ¶
func (m CreateEmManagedExternalExadataInsightDetails) String() string
type CreateEmManagedExternalExadataMemberEntityDetails ¶
type CreateEmManagedExternalExadataMemberEntityDetails struct {
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
CreateEmManagedExternalExadataMemberEntityDetails Compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Enterprise Manager member entity (e.g. databases and hosts) associated with an Exadata system.
func (CreateEmManagedExternalExadataMemberEntityDetails) String ¶
func (m CreateEmManagedExternalExadataMemberEntityDetails) String() string
type CreateEmManagedExternalHostInsightDetails ¶
type CreateEmManagedExternalHostInsightDetails struct {
// Compartment Identifier of host
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"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
}
CreateEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
func (CreateEmManagedExternalHostInsightDetails) GetCompartmentId ¶
func (m CreateEmManagedExternalHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateEmManagedExternalHostInsightDetails) GetDefinedTags ¶
func (m CreateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateEmManagedExternalHostInsightDetails) GetFreeformTags ¶
func (m CreateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateEmManagedExternalHostInsightDetails) MarshalJSON ¶
func (m CreateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateEmManagedExternalHostInsightDetails) String ¶
func (m CreateEmManagedExternalHostInsightDetails) String() string
type CreateEnterpriseManagerBridgeDetails ¶
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"`
}
CreateEnterpriseManagerBridgeDetails The information about a Enterprise Manager bridge resource to be created
func (CreateEnterpriseManagerBridgeDetails) String ¶
func (m CreateEnterpriseManagerBridgeDetails) String() string
type 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
}
CreateEnterpriseManagerBridgeRequest wrapper for the CreateEnterpriseManagerBridge operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridgeRequest.
func (CreateEnterpriseManagerBridgeRequest) BinaryRequestBody ¶
func (request CreateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateEnterpriseManagerBridgeRequest) HTTPRequest ¶
func (request CreateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateEnterpriseManagerBridgeRequest) RetryPolicy ¶
func (request CreateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateEnterpriseManagerBridgeRequest) String ¶
func (request CreateEnterpriseManagerBridgeRequest) String() string
type CreateEnterpriseManagerBridgeResponse ¶
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"`
}
CreateEnterpriseManagerBridgeResponse wrapper for the CreateEnterpriseManagerBridge operation
func (CreateEnterpriseManagerBridgeResponse) HTTPResponse ¶
func (response CreateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateEnterpriseManagerBridgeResponse) String ¶
func (response CreateEnterpriseManagerBridgeResponse) String() string
type CreateExadataInsightDetails ¶
type CreateExadataInsightDetails interface {
// Compartment Identifier of Exadata insight
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{}
}
CreateExadataInsightDetails The information about the Exadata system to be analyzed.
type CreateExadataInsightRequest ¶
type CreateExadataInsightRequest struct {
// Details for the Exadata system for which an Exadata insight resource will be created in Operations Insights.
CreateExadataInsightDetails `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
}
CreateExadataInsightRequest wrapper for the CreateExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateExadataInsight.go.html to see an example of how to use CreateExadataInsightRequest.
func (CreateExadataInsightRequest) BinaryRequestBody ¶
func (request CreateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateExadataInsightRequest) HTTPRequest ¶
func (request CreateExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateExadataInsightRequest) RetryPolicy ¶
func (request CreateExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateExadataInsightRequest) String ¶
func (request CreateExadataInsightRequest) String() string
type CreateExadataInsightResponse ¶
type CreateExadataInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The ExadataInsight instance
ExadataInsight `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"`
}
CreateExadataInsightResponse wrapper for the CreateExadataInsight operation
func (CreateExadataInsightResponse) HTTPResponse ¶
func (response CreateExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateExadataInsightResponse) String ¶
func (response CreateExadataInsightResponse) String() string
type CreateHostInsightDetails ¶
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{}
}
CreateHostInsightDetails The information about the host to be analyzed.
type 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
}
CreateHostInsightRequest wrapper for the CreateHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsightRequest.
func (CreateHostInsightRequest) BinaryRequestBody ¶
func (request CreateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateHostInsightRequest) HTTPRequest ¶
func (request CreateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateHostInsightRequest) RetryPolicy ¶
func (request CreateHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateHostInsightRequest) String ¶
func (request CreateHostInsightRequest) String() string
type CreateHostInsightResponse ¶
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"`
}
CreateHostInsightResponse wrapper for the CreateHostInsight operation
func (CreateHostInsightResponse) HTTPResponse ¶
func (response CreateHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateHostInsightResponse) String ¶
func (response CreateHostInsightResponse) String() string
type CreateMacsManagedExternalHostInsightDetails ¶
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"`
}
CreateMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
func (CreateMacsManagedExternalHostInsightDetails) GetCompartmentId ¶
func (m CreateMacsManagedExternalHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateMacsManagedExternalHostInsightDetails) GetDefinedTags ¶
func (m CreateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateMacsManagedExternalHostInsightDetails) GetFreeformTags ¶
func (m CreateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateMacsManagedExternalHostInsightDetails) MarshalJSON ¶
func (m CreateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateMacsManagedExternalHostInsightDetails) String ¶
func (m CreateMacsManagedExternalHostInsightDetails) String() string
type CredentialDetails ¶
type CredentialDetails interface {
// Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
GetCredentialSourceName() *string
}
CredentialDetails User credential details to connect to the database. This is supplied via the External Database Service.
type CredentialDetailsCredentialTypeEnum ¶
type CredentialDetailsCredentialTypeEnum string
CredentialDetailsCredentialTypeEnum Enum with underlying type: string
const (
CredentialDetailsCredentialTypeCredentialsBySource CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_SOURCE"
)
Set of constants representing the allowable values for CredentialDetailsCredentialTypeEnum
func GetCredentialDetailsCredentialTypeEnumValues ¶
func GetCredentialDetailsCredentialTypeEnumValues() []CredentialDetailsCredentialTypeEnum
GetCredentialDetailsCredentialTypeEnumValues Enumerates the set of values for CredentialDetailsCredentialTypeEnum
type CredentialsBySource ¶
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"`
}
CredentialsBySource Credential Source to connect to the database.
func (CredentialsBySource) GetCredentialSourceName ¶
func (m CredentialsBySource) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (CredentialsBySource) MarshalJSON ¶
func (m CredentialsBySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CredentialsBySource) String ¶
func (m CredentialsBySource) String() string
type DatabaseConfigurationCollection ¶
type DatabaseConfigurationCollection struct {
// Array of database insight configurations summary objects.
Items []DatabaseConfigurationSummary `mandatory:"true" json:"items"`
}
DatabaseConfigurationCollection Collection of database insight configuration summary objects.
func (DatabaseConfigurationCollection) String ¶
func (m DatabaseConfigurationCollection) String() string
func (*DatabaseConfigurationCollection) UnmarshalJSON ¶
func (m *DatabaseConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type DatabaseConfigurationMetricGroup ¶
type DatabaseConfigurationMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
DatabaseConfigurationMetricGroup Supported configuration metric groups for database capacity planning service.
type DatabaseConfigurationMetricGroupMetricNameEnum ¶
type DatabaseConfigurationMetricGroupMetricNameEnum string
DatabaseConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
const ( DatabaseConfigurationMetricGroupMetricNameExternalProperties DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_PROPERTIES" DatabaseConfigurationMetricGroupMetricNameExternalInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_INSTANCE" DatabaseConfigurationMetricGroupMetricNameOsConfigInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_OS_CONFIG_INSTANCE" )
Set of constants representing the allowable values for DatabaseConfigurationMetricGroupMetricNameEnum
func GetDatabaseConfigurationMetricGroupMetricNameEnumValues ¶
func GetDatabaseConfigurationMetricGroupMetricNameEnumValues() []DatabaseConfigurationMetricGroupMetricNameEnum
GetDatabaseConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for DatabaseConfigurationMetricGroupMetricNameEnum
type DatabaseConfigurationSummary ¶
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
// Name of the CDB.Only applies to PDB.
GetCdbName() *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
}
DatabaseConfigurationSummary Summary of a database configuration for a resource.
type DatabaseDetails ¶
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"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"false" json:"cdbName"`
}
DatabaseDetails Partial information about the database which includes id, name, type.
func (DatabaseDetails) String ¶
func (m DatabaseDetails) String() string
type DatabaseEntitySourceAllEnum ¶
type DatabaseEntitySourceAllEnum string
DatabaseEntitySourceAllEnum Enum with underlying type: string
const ( DatabaseEntitySourceAllAutonomousDatabase DatabaseEntitySourceAllEnum = "AUTONOMOUS_DATABASE" DatabaseEntitySourceAllEmManagedExternalDatabase DatabaseEntitySourceAllEnum = "EM_MANAGED_EXTERNAL_DATABASE" DatabaseEntitySourceAllMacsManagedExternalDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_EXTERNAL_DATABASE" )
Set of constants representing the allowable values for DatabaseEntitySourceAllEnum
func GetDatabaseEntitySourceAllEnumValues ¶
func GetDatabaseEntitySourceAllEnumValues() []DatabaseEntitySourceAllEnum
GetDatabaseEntitySourceAllEnumValues Enumerates the set of values for DatabaseEntitySourceAllEnum
type DatabaseEntitySourceEnum ¶
type DatabaseEntitySourceEnum string
DatabaseEntitySourceEnum Enum with underlying type: string
const (
DatabaseEntitySourceEmManagedExternalDatabase DatabaseEntitySourceEnum = "EM_MANAGED_EXTERNAL_DATABASE"
)
Set of constants representing the allowable values for DatabaseEntitySourceEnum
func GetDatabaseEntitySourceEnumValues ¶
func GetDatabaseEntitySourceEnumValues() []DatabaseEntitySourceEnum
GetDatabaseEntitySourceEnumValues Enumerates the set of values for DatabaseEntitySourceEnum
type DatabaseEnum ¶
type DatabaseEnum string
DatabaseEnum Enum with underlying type: string
const ( DatabaseCpu DatabaseEnum = "CPU" DatabaseStorage DatabaseEnum = "STORAGE" DatabaseIo DatabaseEnum = "IO" DatabaseMemory DatabaseEnum = "MEMORY" )
Set of constants representing the allowable values for DatabaseEnum
func GetDatabaseEnumValues ¶
func GetDatabaseEnumValues() []DatabaseEnum
GetDatabaseEnumValues Enumerates the set of values for DatabaseEnum
type DatabaseInsight ¶
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
}
DatabaseInsight Database insight resource.
type DatabaseInsightSummary ¶
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
}
DatabaseInsightSummary Summary of a database insight resource.
type DatabaseInsights ¶
type DatabaseInsights struct {
// Database Insights Object.
DatabaseInsights *interface{} `mandatory:"false" json:"databaseInsights"`
}
DatabaseInsights Logical grouping used for Operations Insights database-targeted operations.
func (DatabaseInsights) String ¶
func (m DatabaseInsights) String() string
type DatabaseInsightsCollection ¶
type DatabaseInsightsCollection struct {
// Array of database insight summary objects.
Items []DatabaseInsightSummary `mandatory:"true" json:"items"`
}
DatabaseInsightsCollection Collection of database insight summary objects.
func (DatabaseInsightsCollection) String ¶
func (m DatabaseInsightsCollection) String() string
func (*DatabaseInsightsCollection) UnmarshalJSON ¶
func (m *DatabaseInsightsCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type DbExternalInstance ¶
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"`
}
DbExternalInstance Configuration parameters defined for external databases instance level.
func (DbExternalInstance) GetTimeCollected ¶
func (m DbExternalInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (DbExternalInstance) MarshalJSON ¶
func (m DbExternalInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DbExternalInstance) String ¶
func (m DbExternalInstance) String() string
type DbExternalProperties ¶
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"`
}
DbExternalProperties Configuration parameters defined for external databases.
func (DbExternalProperties) GetTimeCollected ¶
func (m DbExternalProperties) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (DbExternalProperties) MarshalJSON ¶
func (m DbExternalProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DbExternalProperties) String ¶
func (m DbExternalProperties) String() string
type DbosConfigInstance ¶
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"`
}
DbosConfigInstance Configuration parameters defined for external databases instance level.
func (DbosConfigInstance) GetTimeCollected ¶
func (m DbosConfigInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (DbosConfigInstance) MarshalJSON ¶
func (m DbosConfigInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DbosConfigInstance) String ¶
func (m DbosConfigInstance) String() string
type 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
}
DeleteDatabaseInsightRequest wrapper for the DeleteDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsightRequest.
func (DeleteDatabaseInsightRequest) BinaryRequestBody ¶
func (request DeleteDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDatabaseInsightRequest) HTTPRequest ¶
func (request DeleteDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDatabaseInsightRequest) RetryPolicy ¶
func (request DeleteDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDatabaseInsightRequest) String ¶
func (request DeleteDatabaseInsightRequest) String() string
type DeleteDatabaseInsightResponse ¶
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"`
}
DeleteDatabaseInsightResponse wrapper for the DeleteDatabaseInsight operation
func (DeleteDatabaseInsightResponse) HTTPResponse ¶
func (response DeleteDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDatabaseInsightResponse) String ¶
func (response DeleteDatabaseInsightResponse) String() string
type 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
}
DeleteEnterpriseManagerBridgeRequest wrapper for the DeleteEnterpriseManagerBridge operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridgeRequest.
func (DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody ¶
func (request DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteEnterpriseManagerBridgeRequest) HTTPRequest ¶
func (request DeleteEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteEnterpriseManagerBridgeRequest) RetryPolicy ¶
func (request DeleteEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteEnterpriseManagerBridgeRequest) String ¶
func (request DeleteEnterpriseManagerBridgeRequest) String() string
type DeleteEnterpriseManagerBridgeResponse ¶
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"`
}
DeleteEnterpriseManagerBridgeResponse wrapper for the DeleteEnterpriseManagerBridge operation
func (DeleteEnterpriseManagerBridgeResponse) HTTPResponse ¶
func (response DeleteEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteEnterpriseManagerBridgeResponse) String ¶
func (response DeleteEnterpriseManagerBridgeResponse) String() string
type DeleteExadataInsightRequest ¶
type DeleteExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// 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
}
DeleteExadataInsightRequest wrapper for the DeleteExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteExadataInsight.go.html to see an example of how to use DeleteExadataInsightRequest.
func (DeleteExadataInsightRequest) BinaryRequestBody ¶
func (request DeleteExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteExadataInsightRequest) HTTPRequest ¶
func (request DeleteExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteExadataInsightRequest) RetryPolicy ¶
func (request DeleteExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteExadataInsightRequest) String ¶
func (request DeleteExadataInsightRequest) String() string
type DeleteExadataInsightResponse ¶
type DeleteExadataInsightResponse 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"`
}
DeleteExadataInsightResponse wrapper for the DeleteExadataInsight operation
func (DeleteExadataInsightResponse) HTTPResponse ¶
func (response DeleteExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteExadataInsightResponse) String ¶
func (response DeleteExadataInsightResponse) String() string
type 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
}
DeleteHostInsightRequest wrapper for the DeleteHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsightRequest.
func (DeleteHostInsightRequest) BinaryRequestBody ¶
func (request DeleteHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteHostInsightRequest) HTTPRequest ¶
func (request DeleteHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteHostInsightRequest) RetryPolicy ¶
func (request DeleteHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteHostInsightRequest) String ¶
func (request DeleteHostInsightRequest) String() string
type DeleteHostInsightResponse ¶
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"`
}
DeleteHostInsightResponse wrapper for the DeleteHostInsight operation
func (DeleteHostInsightResponse) HTTPResponse ¶
func (response DeleteHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteHostInsightResponse) String ¶
func (response DeleteHostInsightResponse) String() string
type 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
}
DisableDatabaseInsightRequest wrapper for the DisableDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsightRequest.
func (DisableDatabaseInsightRequest) BinaryRequestBody ¶
func (request DisableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisableDatabaseInsightRequest) HTTPRequest ¶
func (request DisableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisableDatabaseInsightRequest) RetryPolicy ¶
func (request DisableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisableDatabaseInsightRequest) String ¶
func (request DisableDatabaseInsightRequest) String() string
type DisableDatabaseInsightResponse ¶
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"`
}
DisableDatabaseInsightResponse wrapper for the DisableDatabaseInsight operation
func (DisableDatabaseInsightResponse) HTTPResponse ¶
func (response DisableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisableDatabaseInsightResponse) String ¶
func (response DisableDatabaseInsightResponse) String() string
type DisableExadataInsightRequest ¶
type DisableExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// 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
}
DisableExadataInsightRequest wrapper for the DisableExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableExadataInsight.go.html to see an example of how to use DisableExadataInsightRequest.
func (DisableExadataInsightRequest) BinaryRequestBody ¶
func (request DisableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisableExadataInsightRequest) HTTPRequest ¶
func (request DisableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisableExadataInsightRequest) RetryPolicy ¶
func (request DisableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisableExadataInsightRequest) String ¶
func (request DisableExadataInsightRequest) String() string
type DisableExadataInsightResponse ¶
type DisableExadataInsightResponse 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"`
}
DisableExadataInsightResponse wrapper for the DisableExadataInsight operation
func (DisableExadataInsightResponse) HTTPResponse ¶
func (response DisableExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisableExadataInsightResponse) String ¶
func (response DisableExadataInsightResponse) String() string
type 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
}
DisableHostInsightRequest wrapper for the DisableHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsightRequest.
func (DisableHostInsightRequest) BinaryRequestBody ¶
func (request DisableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisableHostInsightRequest) HTTPRequest ¶
func (request DisableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisableHostInsightRequest) RetryPolicy ¶
func (request DisableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisableHostInsightRequest) String ¶
func (request DisableHostInsightRequest) String() string
type DisableHostInsightResponse ¶
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"`
}
DisableHostInsightResponse wrapper for the DisableHostInsight operation
func (DisableHostInsightResponse) HTTPResponse ¶
func (response DisableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisableHostInsightResponse) String ¶
func (response DisableHostInsightResponse) String() string
type DiskGroupDetails ¶
type DiskGroupDetails struct {
// The diskgroup name.
DiskgroupName *string `mandatory:"true" json:"diskgroupName"`
// The ASM name.
AsmName *string `mandatory:"true" json:"asmName"`
}
DiskGroupDetails Information about a diskgroup which includes diskgroup name and ASM name.
func (DiskGroupDetails) String ¶
func (m DiskGroupDetails) String() string
type DiskGroupEnum ¶
type DiskGroupEnum string
DiskGroupEnum Enum with underlying type: string
const (
DiskGroupStorage DiskGroupEnum = "STORAGE"
)
Set of constants representing the allowable values for DiskGroupEnum
func GetDiskGroupEnumValues ¶
func GetDiskGroupEnumValues() []DiskGroupEnum
GetDiskGroupEnumValues Enumerates the set of values for DiskGroupEnum
type EmManagedExternalDatabaseConfigurationSummary ¶
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"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// 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"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
EmManagedExternalDatabaseConfigurationSummary Configuration summary of a EM Managed External database.
func (EmManagedExternalDatabaseConfigurationSummary) GetCdbName ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount ¶
func (m EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (EmManagedExternalDatabaseConfigurationSummary) MarshalJSON ¶
func (m EmManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalDatabaseConfigurationSummary) String ¶
func (m EmManagedExternalDatabaseConfigurationSummary) String() string
type EmManagedExternalDatabaseInsight ¶
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"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// 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"`
}
EmManagedExternalDatabaseInsight Database insight resource.
func (EmManagedExternalDatabaseInsight) GetCompartmentId ¶
func (m EmManagedExternalDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalDatabaseInsight) GetDatabaseType ¶
func (m EmManagedExternalDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (EmManagedExternalDatabaseInsight) GetDatabaseVersion ¶
func (m EmManagedExternalDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (EmManagedExternalDatabaseInsight) GetDefinedTags ¶
func (m EmManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalDatabaseInsight) GetFreeformTags ¶
func (m EmManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalDatabaseInsight) GetId ¶
func (m EmManagedExternalDatabaseInsight) GetId() *string
GetId returns Id
func (EmManagedExternalDatabaseInsight) GetLifecycleDetails ¶
func (m EmManagedExternalDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalDatabaseInsight) GetLifecycleState ¶
func (m EmManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalDatabaseInsight) GetProcessorCount ¶
func (m EmManagedExternalDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (EmManagedExternalDatabaseInsight) GetStatus ¶
func (m EmManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalDatabaseInsight) GetSystemTags ¶
func (m EmManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalDatabaseInsight) GetTimeCreated ¶
func (m EmManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalDatabaseInsight) GetTimeUpdated ¶
func (m EmManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalDatabaseInsight) MarshalJSON ¶
func (m EmManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalDatabaseInsight) String ¶
func (m EmManagedExternalDatabaseInsight) String() string
type EmManagedExternalDatabaseInsightSummary ¶
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"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// 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"`
}
EmManagedExternalDatabaseInsightSummary Summary of a database insight resource.
func (EmManagedExternalDatabaseInsightSummary) GetCompartmentId ¶
func (m EmManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseId ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseName ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseType ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (EmManagedExternalDatabaseInsightSummary) GetDefinedTags ¶
func (m EmManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalDatabaseInsightSummary) GetFreeformTags ¶
func (m EmManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalDatabaseInsightSummary) GetId ¶
func (m EmManagedExternalDatabaseInsightSummary) GetId() *string
GetId returns Id
func (EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails ¶
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalDatabaseInsightSummary) GetLifecycleState ¶
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalDatabaseInsightSummary) GetProcessorCount ¶
func (m EmManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (EmManagedExternalDatabaseInsightSummary) GetStatus ¶
func (m EmManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalDatabaseInsightSummary) GetSystemTags ¶
func (m EmManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalDatabaseInsightSummary) GetTimeCreated ¶
func (m EmManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalDatabaseInsightSummary) GetTimeUpdated ¶
func (m EmManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalDatabaseInsightSummary) MarshalJSON ¶
func (m EmManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalDatabaseInsightSummary) String ¶
func (m EmManagedExternalDatabaseInsightSummary) String() string
type EmManagedExternalExadataInsight ¶
type EmManagedExternalExadataInsight struct {
// Exadata insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the Exadata insight resource
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// 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 Exadata 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"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// true if virtualization is used in the Exadata system
IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
// 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 Exadata 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"`
// Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
EmManagedExternalExadataInsight EM-managed Exadata insight resource.
func (EmManagedExternalExadataInsight) GetCompartmentId ¶
func (m EmManagedExternalExadataInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalExadataInsight) GetDefinedTags ¶
func (m EmManagedExternalExadataInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalExadataInsight) GetExadataDisplayName ¶
func (m EmManagedExternalExadataInsight) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (EmManagedExternalExadataInsight) GetExadataName ¶
func (m EmManagedExternalExadataInsight) GetExadataName() *string
GetExadataName returns ExadataName
func (EmManagedExternalExadataInsight) GetExadataRackType ¶
func (m EmManagedExternalExadataInsight) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (EmManagedExternalExadataInsight) GetExadataType ¶
func (m EmManagedExternalExadataInsight) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (EmManagedExternalExadataInsight) GetFreeformTags ¶
func (m EmManagedExternalExadataInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalExadataInsight) GetId ¶
func (m EmManagedExternalExadataInsight) GetId() *string
GetId returns Id
func (EmManagedExternalExadataInsight) GetIsVirtualizedExadata ¶
func (m EmManagedExternalExadataInsight) GetIsVirtualizedExadata() *bool
GetIsVirtualizedExadata returns IsVirtualizedExadata
func (EmManagedExternalExadataInsight) GetLifecycleDetails ¶
func (m EmManagedExternalExadataInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalExadataInsight) GetLifecycleState ¶
func (m EmManagedExternalExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalExadataInsight) GetStatus ¶
func (m EmManagedExternalExadataInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalExadataInsight) GetSystemTags ¶
func (m EmManagedExternalExadataInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalExadataInsight) GetTimeCreated ¶
func (m EmManagedExternalExadataInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalExadataInsight) GetTimeUpdated ¶
func (m EmManagedExternalExadataInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalExadataInsight) MarshalJSON ¶
func (m EmManagedExternalExadataInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalExadataInsight) String ¶
func (m EmManagedExternalExadataInsight) String() string
type EmManagedExternalExadataInsightSummary ¶
type EmManagedExternalExadataInsightSummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata 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 Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// 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 Exadata 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"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// 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 Exadata 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"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Operations Insights internal representation of the the Exadata system rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
EmManagedExternalExadataInsightSummary Summary of an Exadata insight resource.
func (EmManagedExternalExadataInsightSummary) GetCompartmentId ¶
func (m EmManagedExternalExadataInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalExadataInsightSummary) GetDefinedTags ¶
func (m EmManagedExternalExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalExadataInsightSummary) GetExadataDisplayName ¶
func (m EmManagedExternalExadataInsightSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (EmManagedExternalExadataInsightSummary) GetExadataName ¶
func (m EmManagedExternalExadataInsightSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (EmManagedExternalExadataInsightSummary) GetExadataRackType ¶
func (m EmManagedExternalExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (EmManagedExternalExadataInsightSummary) GetExadataType ¶
func (m EmManagedExternalExadataInsightSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (EmManagedExternalExadataInsightSummary) GetFreeformTags ¶
func (m EmManagedExternalExadataInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalExadataInsightSummary) GetId ¶
func (m EmManagedExternalExadataInsightSummary) GetId() *string
GetId returns Id
func (EmManagedExternalExadataInsightSummary) GetLifecycleDetails ¶
func (m EmManagedExternalExadataInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalExadataInsightSummary) GetLifecycleState ¶
func (m EmManagedExternalExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalExadataInsightSummary) GetStatus ¶
func (m EmManagedExternalExadataInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalExadataInsightSummary) GetSystemTags ¶
func (m EmManagedExternalExadataInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalExadataInsightSummary) GetTimeCreated ¶
func (m EmManagedExternalExadataInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalExadataInsightSummary) GetTimeUpdated ¶
func (m EmManagedExternalExadataInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalExadataInsightSummary) MarshalJSON ¶
func (m EmManagedExternalExadataInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalExadataInsightSummary) String ¶
func (m EmManagedExternalExadataInsightSummary) String() string
type EmManagedExternalHostConfigurationSummary ¶
type EmManagedExternalHostConfigurationSummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
HostInsightId *string `mandatory:"true" json:"hostInsightId"`
// 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"`
// Platform version.
PlatformVersion *string `mandatory:"true" json:"platformVersion"`
// Platform vendor.
PlatformVendor *string `mandatory:"true" json:"platformVendor"`
// Total CPU on this host.
TotalCpus *int `mandatory:"true" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
// CPU architechure
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
// Size of cache memory in megabytes.
CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
// Name of the CPU vendor.
CpuVendor *string `mandatory:"true" json:"cpuVendor"`
// Clock frequency of the processor in megahertz.
CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
// Model name of processor.
CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
// Number of cores per socket.
CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
// Number of total sockets.
TotalSockets *int `mandatory:"true" json:"totalSockets"`
// Number of threads per socket.
ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
// 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"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Platform type.
PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
EmManagedExternalHostConfigurationSummary Configuration summary of a EM Managed External host.
func (EmManagedExternalHostConfigurationSummary) GetCompartmentId ¶
func (m EmManagedExternalHostConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalHostConfigurationSummary) GetCoresPerSocket ¶
func (m EmManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int
GetCoresPerSocket returns CoresPerSocket
func (EmManagedExternalHostConfigurationSummary) GetCpuArchitecture ¶
func (m EmManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string
GetCpuArchitecture returns CpuArchitecture
func (EmManagedExternalHostConfigurationSummary) GetCpuCacheInMBs ¶
func (m EmManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64
GetCpuCacheInMBs returns CpuCacheInMBs
func (EmManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz ¶
func (m EmManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (EmManagedExternalHostConfigurationSummary) GetCpuImplementation ¶
func (m EmManagedExternalHostConfigurationSummary) GetCpuImplementation() *string
GetCpuImplementation returns CpuImplementation
func (EmManagedExternalHostConfigurationSummary) GetCpuVendor ¶
func (m EmManagedExternalHostConfigurationSummary) GetCpuVendor() *string
GetCpuVendor returns CpuVendor
func (EmManagedExternalHostConfigurationSummary) GetDefinedTags ¶
func (m EmManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalHostConfigurationSummary) GetFreeformTags ¶
func (m EmManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalHostConfigurationSummary) GetHostInsightId ¶
func (m EmManagedExternalHostConfigurationSummary) GetHostInsightId() *string
GetHostInsightId returns HostInsightId
func (EmManagedExternalHostConfigurationSummary) GetHostName ¶
func (m EmManagedExternalHostConfigurationSummary) GetHostName() *string
GetHostName returns HostName
func (EmManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled ¶
func (m EmManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (EmManagedExternalHostConfigurationSummary) GetPlatformType ¶
func (m EmManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
GetPlatformType returns PlatformType
func (EmManagedExternalHostConfigurationSummary) GetPlatformVendor ¶
func (m EmManagedExternalHostConfigurationSummary) GetPlatformVendor() *string
GetPlatformVendor returns PlatformVendor
func (EmManagedExternalHostConfigurationSummary) GetPlatformVersion ¶
func (m EmManagedExternalHostConfigurationSummary) GetPlatformVersion() *string
GetPlatformVersion returns PlatformVersion
func (EmManagedExternalHostConfigurationSummary) GetThreadsPerSocket ¶
func (m EmManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int
GetThreadsPerSocket returns ThreadsPerSocket
func (EmManagedExternalHostConfigurationSummary) GetTotalCpus ¶
func (m EmManagedExternalHostConfigurationSummary) GetTotalCpus() *int
GetTotalCpus returns TotalCpus
func (EmManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs ¶
func (m EmManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64
GetTotalMemoryInGBs returns TotalMemoryInGBs
func (EmManagedExternalHostConfigurationSummary) GetTotalSockets ¶
func (m EmManagedExternalHostConfigurationSummary) GetTotalSockets() *int
GetTotalSockets returns TotalSockets
func (EmManagedExternalHostConfigurationSummary) MarshalJSON ¶
func (m EmManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalHostConfigurationSummary) String ¶
func (m EmManagedExternalHostConfigurationSummary) String() string
type EmManagedExternalHostInsight ¶
type EmManagedExternalHostInsight 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"`
// 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 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"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// Platform name.
PlatformName *string `mandatory:"false" json:"platformName"`
// Platform version.
PlatformVersion *string `mandatory:"false" json:"platformVersion"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Platform type.
PlatformType EmManagedExternalHostInsightPlatformTypeEnum `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"`
}
EmManagedExternalHostInsight EM-managed external host insight resource.
func (EmManagedExternalHostInsight) GetCompartmentId ¶
func (m EmManagedExternalHostInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalHostInsight) GetDefinedTags ¶
func (m EmManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalHostInsight) GetFreeformTags ¶
func (m EmManagedExternalHostInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalHostInsight) GetHostDisplayName ¶
func (m EmManagedExternalHostInsight) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (EmManagedExternalHostInsight) GetHostName ¶
func (m EmManagedExternalHostInsight) GetHostName() *string
GetHostName returns HostName
func (EmManagedExternalHostInsight) GetHostType ¶
func (m EmManagedExternalHostInsight) GetHostType() *string
GetHostType returns HostType
func (EmManagedExternalHostInsight) GetId ¶
func (m EmManagedExternalHostInsight) GetId() *string
GetId returns Id
func (EmManagedExternalHostInsight) GetLifecycleDetails ¶
func (m EmManagedExternalHostInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalHostInsight) GetLifecycleState ¶
func (m EmManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalHostInsight) GetProcessorCount ¶
func (m EmManagedExternalHostInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (EmManagedExternalHostInsight) GetStatus ¶
func (m EmManagedExternalHostInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalHostInsight) GetSystemTags ¶
func (m EmManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalHostInsight) GetTimeCreated ¶
func (m EmManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalHostInsight) GetTimeUpdated ¶
func (m EmManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalHostInsight) MarshalJSON ¶
func (m EmManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalHostInsight) String ¶
func (m EmManagedExternalHostInsight) String() string
type EmManagedExternalHostInsightPlatformTypeEnum ¶
type EmManagedExternalHostInsightPlatformTypeEnum string
EmManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
const (
EmManagedExternalHostInsightPlatformTypeLinux EmManagedExternalHostInsightPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for EmManagedExternalHostInsightPlatformTypeEnum
func GetEmManagedExternalHostInsightPlatformTypeEnumValues ¶
func GetEmManagedExternalHostInsightPlatformTypeEnumValues() []EmManagedExternalHostInsightPlatformTypeEnum
GetEmManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightPlatformTypeEnum
type EmManagedExternalHostInsightSummary ¶
type EmManagedExternalHostInsightSummary 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"`
// 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 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"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Platform type.
PlatformType EmManagedExternalHostInsightSummaryPlatformTypeEnum `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"`
}
EmManagedExternalHostInsightSummary Summary of an EM-managed external host insight resource.
func (EmManagedExternalHostInsightSummary) GetCompartmentId ¶
func (m EmManagedExternalHostInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (EmManagedExternalHostInsightSummary) GetDefinedTags ¶
func (m EmManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (EmManagedExternalHostInsightSummary) GetFreeformTags ¶
func (m EmManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (EmManagedExternalHostInsightSummary) GetHostDisplayName ¶
func (m EmManagedExternalHostInsightSummary) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (EmManagedExternalHostInsightSummary) GetHostName ¶
func (m EmManagedExternalHostInsightSummary) GetHostName() *string
GetHostName returns HostName
func (EmManagedExternalHostInsightSummary) GetHostType ¶
func (m EmManagedExternalHostInsightSummary) GetHostType() *string
GetHostType returns HostType
func (EmManagedExternalHostInsightSummary) GetId ¶
func (m EmManagedExternalHostInsightSummary) GetId() *string
GetId returns Id
func (EmManagedExternalHostInsightSummary) GetLifecycleDetails ¶
func (m EmManagedExternalHostInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (EmManagedExternalHostInsightSummary) GetLifecycleState ¶
func (m EmManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (EmManagedExternalHostInsightSummary) GetProcessorCount ¶
func (m EmManagedExternalHostInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (EmManagedExternalHostInsightSummary) GetStatus ¶
func (m EmManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (EmManagedExternalHostInsightSummary) GetSystemTags ¶
func (m EmManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (EmManagedExternalHostInsightSummary) GetTimeCreated ¶
func (m EmManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (EmManagedExternalHostInsightSummary) GetTimeUpdated ¶
func (m EmManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (EmManagedExternalHostInsightSummary) MarshalJSON ¶
func (m EmManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EmManagedExternalHostInsightSummary) String ¶
func (m EmManagedExternalHostInsightSummary) String() string
type EmManagedExternalHostInsightSummaryPlatformTypeEnum ¶
type EmManagedExternalHostInsightSummaryPlatformTypeEnum string
EmManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
const (
EmManagedExternalHostInsightSummaryPlatformTypeLinux EmManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues ¶
func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues() []EmManagedExternalHostInsightSummaryPlatformTypeEnum
GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
type EnableDatabaseInsightDetails ¶
type EnableDatabaseInsightDetails interface {
}
EnableDatabaseInsightDetails The information about database to be analyzed.
type 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
}
EnableDatabaseInsightRequest wrapper for the EnableDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsightRequest.
func (EnableDatabaseInsightRequest) BinaryRequestBody ¶
func (request EnableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (EnableDatabaseInsightRequest) HTTPRequest ¶
func (request EnableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (EnableDatabaseInsightRequest) RetryPolicy ¶
func (request EnableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (EnableDatabaseInsightRequest) String ¶
func (request EnableDatabaseInsightRequest) String() string
type EnableDatabaseInsightResponse ¶
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"`
}
EnableDatabaseInsightResponse wrapper for the EnableDatabaseInsight operation
func (EnableDatabaseInsightResponse) HTTPResponse ¶
func (response EnableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (EnableDatabaseInsightResponse) String ¶
func (response EnableDatabaseInsightResponse) String() string
type EnableEmManagedExternalDatabaseInsightDetails ¶
type EnableEmManagedExternalDatabaseInsightDetails struct {
}
EnableEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
func (EnableEmManagedExternalDatabaseInsightDetails) MarshalJSON ¶
func (m EnableEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnableEmManagedExternalDatabaseInsightDetails) String ¶
func (m EnableEmManagedExternalDatabaseInsightDetails) String() string
type EnableEmManagedExternalExadataInsightDetails ¶
type EnableEmManagedExternalExadataInsightDetails struct {
}
EnableEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed.
func (EnableEmManagedExternalExadataInsightDetails) MarshalJSON ¶
func (m EnableEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnableEmManagedExternalExadataInsightDetails) String ¶
func (m EnableEmManagedExternalExadataInsightDetails) String() string
type EnableEmManagedExternalHostInsightDetails ¶
type EnableEmManagedExternalHostInsightDetails struct {
}
EnableEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
func (EnableEmManagedExternalHostInsightDetails) MarshalJSON ¶
func (m EnableEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnableEmManagedExternalHostInsightDetails) String ¶
func (m EnableEmManagedExternalHostInsightDetails) String() string
type EnableExadataInsightDetails ¶
type EnableExadataInsightDetails interface {
}
EnableExadataInsightDetails The information about the Exadata system to be analyzed.
type EnableExadataInsightRequest ¶
type EnableExadataInsightRequest struct {
// Details for the Exadata system to be enabled in Operations Insights.
EnableExadataInsightDetails `contributesTo:"body"`
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// 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
}
EnableExadataInsightRequest wrapper for the EnableExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableExadataInsight.go.html to see an example of how to use EnableExadataInsightRequest.
func (EnableExadataInsightRequest) BinaryRequestBody ¶
func (request EnableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (EnableExadataInsightRequest) HTTPRequest ¶
func (request EnableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (EnableExadataInsightRequest) RetryPolicy ¶
func (request EnableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (EnableExadataInsightRequest) String ¶
func (request EnableExadataInsightRequest) String() string
type EnableExadataInsightResponse ¶
type EnableExadataInsightResponse 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"`
}
EnableExadataInsightResponse wrapper for the EnableExadataInsight operation
func (EnableExadataInsightResponse) HTTPResponse ¶
func (response EnableExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (EnableExadataInsightResponse) String ¶
func (response EnableExadataInsightResponse) String() string
type EnableHostInsightDetails ¶
type EnableHostInsightDetails interface {
}
EnableHostInsightDetails The information about the host to be analyzed.
type 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
}
EnableHostInsightRequest wrapper for the EnableHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsightRequest.
func (EnableHostInsightRequest) BinaryRequestBody ¶
func (request EnableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (EnableHostInsightRequest) HTTPRequest ¶
func (request EnableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (EnableHostInsightRequest) RetryPolicy ¶
func (request EnableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (EnableHostInsightRequest) String ¶
func (request EnableHostInsightRequest) String() string
type EnableHostInsightResponse ¶
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"`
}
EnableHostInsightResponse wrapper for the EnableHostInsight operation
func (EnableHostInsightResponse) HTTPResponse ¶
func (response EnableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (EnableHostInsightResponse) String ¶
func (response EnableHostInsightResponse) String() string
type EnableMacsManagedExternalHostInsightDetails ¶
type EnableMacsManagedExternalHostInsightDetails struct {
}
EnableMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
func (EnableMacsManagedExternalHostInsightDetails) MarshalJSON ¶
func (m EnableMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnableMacsManagedExternalHostInsightDetails) String ¶
func (m EnableMacsManagedExternalHostInsightDetails) String() string
type EnterpriseManagerBridge ¶
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"`
}
EnterpriseManagerBridge Enterprise Manager bridge resource.
func (EnterpriseManagerBridge) String ¶
func (m EnterpriseManagerBridge) String() string
type EnterpriseManagerBridgeCollection ¶
type EnterpriseManagerBridgeCollection struct {
// Array of Enterprose Manager bridge summary objects.
Items []EnterpriseManagerBridgeSummary `mandatory:"true" json:"items"`
}
EnterpriseManagerBridgeCollection Collection of Enterprose Manager bridge summary objects.
func (EnterpriseManagerBridgeCollection) String ¶
func (m EnterpriseManagerBridgeCollection) String() string
type EnterpriseManagerBridgeSummary ¶
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"`
}
EnterpriseManagerBridgeSummary Summary of a Enterprise Manager bridge resource.
func (EnterpriseManagerBridgeSummary) String ¶
func (m EnterpriseManagerBridgeSummary) String() string
type EnterpriseManagerBridges ¶
type EnterpriseManagerBridges struct {
// Enterprise Manager Bridge Object.
EnterpriseManagerBridges *interface{} `mandatory:"false" json:"enterpriseManagerBridges"`
}
EnterpriseManagerBridges Logical grouping used for Operations Insights Enterprise Manager Bridge operations.
func (EnterpriseManagerBridges) String ¶
func (m EnterpriseManagerBridges) String() string
type ExadataConfigurationCollection ¶
type ExadataConfigurationCollection struct {
// Array of exadata insight configurations summary objects.
Items []ExadataConfigurationSummary `mandatory:"true" json:"items"`
}
ExadataConfigurationCollection Collection of exadata insight configuration summary objects.
func (ExadataConfigurationCollection) String ¶
func (m ExadataConfigurationCollection) String() string
func (*ExadataConfigurationCollection) UnmarshalJSON ¶
func (m *ExadataConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ExadataConfigurationSummary ¶
type ExadataConfigurationSummary interface {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
GetExadataInsightId() *string
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *string
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Exadata rack type.
GetExadataRackType() ExadataRackTypeEnum
// 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
}
ExadataConfigurationSummary Summary of a exadata configuration for a resource.
type ExadataDatabaseMachineConfigurationSummary ¶
type ExadataDatabaseMachineConfigurationSummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// 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"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
}
ExadataDatabaseMachineConfigurationSummary Configuration summary of a database machine.
func (ExadataDatabaseMachineConfigurationSummary) GetCompartmentId ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (ExadataDatabaseMachineConfigurationSummary) GetDefinedTags ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (ExadataDatabaseMachineConfigurationSummary) GetExadataDisplayName ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (ExadataDatabaseMachineConfigurationSummary) GetExadataInsightId ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataInsightId() *string
GetExadataInsightId returns ExadataInsightId
func (ExadataDatabaseMachineConfigurationSummary) GetExadataName ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (ExadataDatabaseMachineConfigurationSummary) GetExadataRackType ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (ExadataDatabaseMachineConfigurationSummary) GetExadataType ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (ExadataDatabaseMachineConfigurationSummary) GetFreeformTags ¶
func (m ExadataDatabaseMachineConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (ExadataDatabaseMachineConfigurationSummary) MarshalJSON ¶
func (m ExadataDatabaseMachineConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExadataDatabaseMachineConfigurationSummary) String ¶
func (m ExadataDatabaseMachineConfigurationSummary) String() string
type ExadataDatabaseStatisticsSummary ¶
type ExadataDatabaseStatisticsSummary struct {
ResourceDetails *DatabaseDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
ExadataDatabaseStatisticsSummary Database details and statistics.
func (ExadataDatabaseStatisticsSummary) MarshalJSON ¶
func (m ExadataDatabaseStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExadataDatabaseStatisticsSummary) String ¶
func (m ExadataDatabaseStatisticsSummary) String() string
type ExadataDetails ¶
type ExadataDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
Id *string `mandatory:"true" json:"id"`
// Name of exadata insight resource.
Name *string `mandatory:"true" json:"name"`
}
ExadataDetails Partial information about the exadata which includes id and name.
func (ExadataDetails) String ¶
func (m ExadataDetails) String() string
type ExadataDiskgroupStatisticsSummary ¶
type ExadataDiskgroupStatisticsSummary struct {
ResourceDetails *DiskGroupDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
ExadataDiskgroupStatisticsSummary Diskgroup details and statistics.
func (ExadataDiskgroupStatisticsSummary) MarshalJSON ¶
func (m ExadataDiskgroupStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExadataDiskgroupStatisticsSummary) String ¶
func (m ExadataDiskgroupStatisticsSummary) String() string
type ExadataEntitySourceEnum ¶
type ExadataEntitySourceEnum string
ExadataEntitySourceEnum Enum with underlying type: string
const (
ExadataEntitySourceEmManagedExternalExadata ExadataEntitySourceEnum = "EM_MANAGED_EXTERNAL_EXADATA"
)
Set of constants representing the allowable values for ExadataEntitySourceEnum
func GetExadataEntitySourceEnumValues ¶
func GetExadataEntitySourceEnumValues() []ExadataEntitySourceEnum
GetExadataEntitySourceEnumValues Enumerates the set of values for ExadataEntitySourceEnum
type ExadataHostStatisticsSummary ¶
type ExadataHostStatisticsSummary struct {
ResourceDetails *HostDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
ExadataHostStatisticsSummary Host details and statistics.
func (ExadataHostStatisticsSummary) MarshalJSON ¶
func (m ExadataHostStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExadataHostStatisticsSummary) String ¶
func (m ExadataHostStatisticsSummary) String() string
type ExadataInsight ¶
type ExadataInsight interface {
// Exadata insight identifier
GetId() *string
// Compartment identifier of the Exadata insight resource
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *string
// Indicates the status of an Exadata 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 Exadata insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the Exadata insight.
GetLifecycleState() ExadataInsightLifecycleStateEnum
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Exadata rack type.
GetExadataRackType() ExadataRackTypeEnum
// true if virtualization is used in the Exadata system
GetIsVirtualizedExadata() *bool
// 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 Exadata 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
}
ExadataInsight Exadata insight resource.
type ExadataInsightLifecycleStateEnum ¶
type ExadataInsightLifecycleStateEnum string
ExadataInsightLifecycleStateEnum Enum with underlying type: string
const ( ExadataInsightLifecycleStateCreating ExadataInsightLifecycleStateEnum = "CREATING" ExadataInsightLifecycleStateUpdating ExadataInsightLifecycleStateEnum = "UPDATING" ExadataInsightLifecycleStateActive ExadataInsightLifecycleStateEnum = "ACTIVE" ExadataInsightLifecycleStateDeleting ExadataInsightLifecycleStateEnum = "DELETING" ExadataInsightLifecycleStateDeleted ExadataInsightLifecycleStateEnum = "DELETED" ExadataInsightLifecycleStateFailed ExadataInsightLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ExadataInsightLifecycleStateEnum
func GetExadataInsightLifecycleStateEnumValues ¶
func GetExadataInsightLifecycleStateEnumValues() []ExadataInsightLifecycleStateEnum
GetExadataInsightLifecycleStateEnumValues Enumerates the set of values for ExadataInsightLifecycleStateEnum
type ExadataInsightResourceCapacityTrendAggregation ¶
type ExadataInsightResourceCapacityTrendAggregation 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"`
}
ExadataInsightResourceCapacityTrendAggregation Resource Capacity samples
func (ExadataInsightResourceCapacityTrendAggregation) String ¶
func (m ExadataInsightResourceCapacityTrendAggregation) String() string
type ExadataInsightResourceCapacityTrendSummary ¶
type ExadataInsightResourceCapacityTrendSummary 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 name of the resource.
Name *string `mandatory:"true" json:"name"`
// Time series data for capacity
CapacityData []ExadataInsightResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
}
ExadataInsightResourceCapacityTrendSummary List of resource id, name , capacity time series data
func (ExadataInsightResourceCapacityTrendSummary) String ¶
func (m ExadataInsightResourceCapacityTrendSummary) String() string
type ExadataInsightResourceForecastTrendSummary ¶
type ExadataInsightResourceForecastTrendSummary 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 name of the resource.
Name *string `mandatory:"true" json:"name"`
// Days to reach capacity for a storage server
DaysToReachCapacity *int `mandatory:"true" json:"daysToReachCapacity"`
// Time series patterns used in the forecasting.
Pattern ExadataInsightResourceForecastTrendSummaryPatternEnum `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"`
}
ExadataInsightResourceForecastTrendSummary List of resource id, name , capacity insight value, pattern, historical usage and projected data.
func (ExadataInsightResourceForecastTrendSummary) String ¶
func (m ExadataInsightResourceForecastTrendSummary) String() string
type ExadataInsightResourceForecastTrendSummaryPatternEnum ¶
type ExadataInsightResourceForecastTrendSummaryPatternEnum string
ExadataInsightResourceForecastTrendSummaryPatternEnum Enum with underlying type: string
const ( ExadataInsightResourceForecastTrendSummaryPatternLinear ExadataInsightResourceForecastTrendSummaryPatternEnum = "LINEAR" ExadataInsightResourceForecastTrendSummaryPatternMonthlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "MONTHLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternMonthlyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "MONTHLY_AND_YEARLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternWeeklySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternWeeklyAndMonthlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternWeeklyMonthlyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternWeeklyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_AND_YEARLY_SEASONS" ExadataInsightResourceForecastTrendSummaryPatternYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "YEARLY_SEASONS" )
Set of constants representing the allowable values for ExadataInsightResourceForecastTrendSummaryPatternEnum
func GetExadataInsightResourceForecastTrendSummaryPatternEnumValues ¶
func GetExadataInsightResourceForecastTrendSummaryPatternEnumValues() []ExadataInsightResourceForecastTrendSummaryPatternEnum
GetExadataInsightResourceForecastTrendSummaryPatternEnumValues Enumerates the set of values for ExadataInsightResourceForecastTrendSummaryPatternEnum
type ExadataInsightResourceInsightUtilizationItem ¶
type ExadataInsightResourceInsightUtilizationItem struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// Current utilization
CurrentUtilization *float64 `mandatory:"true" json:"currentUtilization"`
// Projected utilization
ProjectedUtilization *float64 `mandatory:"true" json:"projectedUtilization"`
// Days to reach projected high utilization
DaysToReachHighUtilization *int `mandatory:"true" json:"daysToReachHighUtilization"`
// Days to reach projected low utilization
DaysToReachLowUtilization *int `mandatory:"true" json:"daysToReachLowUtilization"`
}
ExadataInsightResourceInsightUtilizationItem Object containing current utilization, projected utilization, id and daysToReach high and low utilization value.
func (ExadataInsightResourceInsightUtilizationItem) String ¶
func (m ExadataInsightResourceInsightUtilizationItem) String() string
type ExadataInsightResourceStatistics ¶
type ExadataInsightResourceStatistics 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"`
// Array of instance metrics
InstanceMetrics []InstanceMetrics `mandatory:"false" json:"instanceMetrics"`
}
ExadataInsightResourceStatistics Contains resource statistics with usage unit
func (ExadataInsightResourceStatistics) String ¶
func (m ExadataInsightResourceStatistics) String() string
type ExadataInsightResourceStatisticsAggregation ¶
type ExadataInsightResourceStatisticsAggregation interface {
}
ExadataInsightResourceStatisticsAggregation Contains resource details and current statistics
type ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum ¶
type ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum string
ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum Enum with underlying type: string
const ( ExadataInsightResourceStatisticsAggregationExadataResourceTypeDatabase ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DATABASE" ExadataInsightResourceStatisticsAggregationExadataResourceTypeHost ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "HOST" ExadataInsightResourceStatisticsAggregationExadataResourceTypeStorageServer ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "STORAGE_SERVER" ExadataInsightResourceStatisticsAggregationExadataResourceTypeDiskgroup ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues ¶
func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues() []ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues Enumerates the set of values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
type ExadataInsightSummary ¶
type ExadataInsightSummary interface {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
GetId() *string
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *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 an Exadata insight in Operations Insights
GetStatus() ResourceStatusEnum
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the Exadata insight.
GetLifecycleState() ExadataInsightLifecycleStateEnum
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Operations Insights internal representation of the the Exadata system rack type.
GetExadataRackType() ExadataRackTypeEnum
// 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 Exadata 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
}
ExadataInsightSummary Summary of an Exadata insight resource.
type ExadataInsightSummaryCollection ¶
type ExadataInsightSummaryCollection struct {
// Array of Exadata insight summary objects.
Items []ExadataInsightSummary `mandatory:"true" json:"items"`
}
ExadataInsightSummaryCollection Collection of Exadata insight summary objects.
func (ExadataInsightSummaryCollection) String ¶
func (m ExadataInsightSummaryCollection) String() string
func (*ExadataInsightSummaryCollection) UnmarshalJSON ¶
func (m *ExadataInsightSummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ExadataInsights ¶
type ExadataInsights struct {
// Exadata Insights Object.
ExadataInsights *interface{} `mandatory:"false" json:"exadataInsights"`
}
ExadataInsights Logical grouping used for Operations Insights Exadata related operations.
func (ExadataInsights) String ¶
func (m ExadataInsights) String() string
type ExadataMemberCollection ¶
type ExadataMemberCollection struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
// Collection of Exadata members
Items []ExadataMemberSummary `mandatory:"true" json:"items"`
}
ExadataMemberCollection Partial definition of the exadata insight resource.
func (ExadataMemberCollection) String ¶
func (m ExadataMemberCollection) String() string
type ExadataMemberSummary ¶
type ExadataMemberSummary struct {
// Name of exadata member target
Name *string `mandatory:"true" json:"name"`
// Display Name of exadata member target
DisplayName *string `mandatory:"true" json:"displayName"`
// Entity type of exadata member target
EntityType ExadataMemberSummaryEntityTypeEnum `mandatory:"true" json:"entityType"`
}
ExadataMemberSummary Lists name, display name and type of exadata member.
func (ExadataMemberSummary) String ¶
func (m ExadataMemberSummary) String() string
type ExadataMemberSummaryEntityTypeEnum ¶
type ExadataMemberSummaryEntityTypeEnum string
ExadataMemberSummaryEntityTypeEnum Enum with underlying type: string
const ( ExadataMemberSummaryEntityTypeDatabase ExadataMemberSummaryEntityTypeEnum = "DATABASE" ExadataMemberSummaryEntityTypeIlomServer ExadataMemberSummaryEntityTypeEnum = "ILOM_SERVER" ExadataMemberSummaryEntityTypePdu ExadataMemberSummaryEntityTypeEnum = "PDU" ExadataMemberSummaryEntityTypeStorageServer ExadataMemberSummaryEntityTypeEnum = "STORAGE_SERVER" ExadataMemberSummaryEntityTypeClusterAsm ExadataMemberSummaryEntityTypeEnum = "CLUSTER_ASM" ExadataMemberSummaryEntityTypeInfinibandSwitch ExadataMemberSummaryEntityTypeEnum = "INFINIBAND_SWITCH" ExadataMemberSummaryEntityTypeEthernetSwitch ExadataMemberSummaryEntityTypeEnum = "ETHERNET_SWITCH" )
Set of constants representing the allowable values for ExadataMemberSummaryEntityTypeEnum
func GetExadataMemberSummaryEntityTypeEnumValues ¶
func GetExadataMemberSummaryEntityTypeEnumValues() []ExadataMemberSummaryEntityTypeEnum
GetExadataMemberSummaryEntityTypeEnumValues Enumerates the set of values for ExadataMemberSummaryEntityTypeEnum
type ExadataRackTypeEnum ¶
type ExadataRackTypeEnum string
ExadataRackTypeEnum Enum with underlying type: string
const ( ExadataRackTypeFull ExadataRackTypeEnum = "FULL" ExadataRackTypeHalf ExadataRackTypeEnum = "HALF" ExadataRackTypeQuarter ExadataRackTypeEnum = "QUARTER" ExadataRackTypeEighth ExadataRackTypeEnum = "EIGHTH" )
Set of constants representing the allowable values for ExadataRackTypeEnum
func GetExadataRackTypeEnumValues ¶
func GetExadataRackTypeEnumValues() []ExadataRackTypeEnum
GetExadataRackTypeEnumValues Enumerates the set of values for ExadataRackTypeEnum
type ExadataStorageServerStatisticsSummary ¶
type ExadataStorageServerStatisticsSummary struct {
ResourceDetails *StorageServerDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
ExadataStorageServerStatisticsSummary Storage server details and statistics.
func (ExadataStorageServerStatisticsSummary) MarshalJSON ¶
func (m ExadataStorageServerStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExadataStorageServerStatisticsSummary) String ¶
func (m ExadataStorageServerStatisticsSummary) String() string
type ExadataTypeEnum ¶
type ExadataTypeEnum string
ExadataTypeEnum Enum with underlying type: string
const ( ExadataTypeDbmachine ExadataTypeEnum = "DBMACHINE" ExadataTypeExacs ExadataTypeEnum = "EXACS" ExadataTypeExacc ExadataTypeEnum = "EXACC" )
Set of constants representing the allowable values for ExadataTypeEnum
func GetExadataTypeEnumValues ¶
func GetExadataTypeEnumValues() []ExadataTypeEnum
GetExadataTypeEnumValues Enumerates the set of values for ExadataTypeEnum
type 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
}
GetDatabaseInsightRequest wrapper for the GetDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsightRequest.
func (GetDatabaseInsightRequest) BinaryRequestBody ¶
func (request GetDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDatabaseInsightRequest) HTTPRequest ¶
func (request GetDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDatabaseInsightRequest) RetryPolicy ¶
func (request GetDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDatabaseInsightRequest) String ¶
func (request GetDatabaseInsightRequest) String() string
type GetDatabaseInsightResponse ¶
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"`
}
GetDatabaseInsightResponse wrapper for the GetDatabaseInsight operation
func (GetDatabaseInsightResponse) HTTPResponse ¶
func (response GetDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDatabaseInsightResponse) String ¶
func (response GetDatabaseInsightResponse) String() string
type 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
}
GetEnterpriseManagerBridgeRequest wrapper for the GetEnterpriseManagerBridge operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridgeRequest.
func (GetEnterpriseManagerBridgeRequest) BinaryRequestBody ¶
func (request GetEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetEnterpriseManagerBridgeRequest) HTTPRequest ¶
func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetEnterpriseManagerBridgeRequest) RetryPolicy ¶
func (request GetEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetEnterpriseManagerBridgeRequest) String ¶
func (request GetEnterpriseManagerBridgeRequest) String() string
type GetEnterpriseManagerBridgeResponse ¶
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"`
}
GetEnterpriseManagerBridgeResponse wrapper for the GetEnterpriseManagerBridge operation
func (GetEnterpriseManagerBridgeResponse) HTTPResponse ¶
func (response GetEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetEnterpriseManagerBridgeResponse) String ¶
func (response GetEnterpriseManagerBridgeResponse) String() string
type GetExadataInsightRequest ¶
type GetExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// 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
}
GetExadataInsightRequest wrapper for the GetExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetExadataInsight.go.html to see an example of how to use GetExadataInsightRequest.
func (GetExadataInsightRequest) BinaryRequestBody ¶
func (request GetExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetExadataInsightRequest) HTTPRequest ¶
func (request GetExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetExadataInsightRequest) RetryPolicy ¶
func (request GetExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetExadataInsightRequest) String ¶
func (request GetExadataInsightRequest) String() string
type GetExadataInsightResponse ¶
type GetExadataInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The ExadataInsight instance
ExadataInsight `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"`
}
GetExadataInsightResponse wrapper for the GetExadataInsight operation
func (GetExadataInsightResponse) HTTPResponse ¶
func (response GetExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetExadataInsightResponse) String ¶
func (response GetExadataInsightResponse) String() string
type 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
}
GetHostInsightRequest wrapper for the GetHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsightRequest.
func (GetHostInsightRequest) BinaryRequestBody ¶
func (request GetHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetHostInsightRequest) HTTPRequest ¶
func (request GetHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetHostInsightRequest) RetryPolicy ¶
func (request GetHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetHostInsightRequest) String ¶
func (request GetHostInsightRequest) String() string
type GetHostInsightResponse ¶
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"`
}
GetHostInsightResponse wrapper for the GetHostInsight operation
func (GetHostInsightResponse) HTTPResponse ¶
func (response GetHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetHostInsightResponse) String ¶
func (response GetHostInsightResponse) String() string
type 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
}
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type HistoricalDataItem ¶
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"`
}
HistoricalDataItem The historical timestamp and the corresponding resource value.
func (HistoricalDataItem) String ¶
func (m HistoricalDataItem) String() string
type HostConfigurationCollection ¶
type HostConfigurationCollection struct {
// Array of host insight configurations summary objects.
Items []HostConfigurationSummary `mandatory:"true" json:"items"`
}
HostConfigurationCollection Collection of host insight configuration summary objects.
func (HostConfigurationCollection) String ¶
func (m HostConfigurationCollection) String() string
func (*HostConfigurationCollection) UnmarshalJSON ¶
func (m *HostConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type HostConfigurationMetricGroup ¶
type HostConfigurationMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
HostConfigurationMetricGroup Base Metric Group for Host configuration metrics
type HostConfigurationMetricGroupMetricNameEnum ¶
type HostConfigurationMetricGroupMetricNameEnum string
HostConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for HostConfigurationMetricGroupMetricNameEnum
func GetHostConfigurationMetricGroupMetricNameEnumValues ¶
func GetHostConfigurationMetricGroupMetricNameEnumValues() []HostConfigurationMetricGroupMetricNameEnum
GetHostConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for HostConfigurationMetricGroupMetricNameEnum
type HostConfigurationSummary ¶
type HostConfigurationSummary interface {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
GetHostInsightId() *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
// Platform type.
GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
// Platform version.
GetPlatformVersion() *string
// Platform vendor.
GetPlatformVendor() *string
// Total CPU on this host.
GetTotalCpus() *int
// Total amount of usable physical memory in gibabytes
GetTotalMemoryInGBs() *float64
// CPU architechure
GetCpuArchitecture() *string
// Size of cache memory in megabytes.
GetCpuCacheInMBs() *float64
// Name of the CPU vendor.
GetCpuVendor() *string
// Clock frequency of the processor in megahertz.
GetCpuFrequencyInMhz() *float64
// Model name of processor.
GetCpuImplementation() *string
// Number of cores per socket.
GetCoresPerSocket() *int
// Number of total sockets.
GetTotalSockets() *int
// Number of threads per socket.
GetThreadsPerSocket() *int
// Indicates if hyper-threading is enabled or not
GetIsHyperThreadingEnabled() *bool
// 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
}
HostConfigurationSummary Summary of a host configuration for a resource.
type HostConfigurationSummaryPlatformTypeEnum ¶
type HostConfigurationSummaryPlatformTypeEnum string
HostConfigurationSummaryPlatformTypeEnum Enum with underlying type: string
const (
HostConfigurationSummaryPlatformTypeLinux HostConfigurationSummaryPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for HostConfigurationSummaryPlatformTypeEnum
func GetHostConfigurationSummaryPlatformTypeEnumValues ¶
func GetHostConfigurationSummaryPlatformTypeEnumValues() []HostConfigurationSummaryPlatformTypeEnum
GetHostConfigurationSummaryPlatformTypeEnumValues Enumerates the set of values for HostConfigurationSummaryPlatformTypeEnum
type HostCpuHardwareConfiguration ¶
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"`
}
HostCpuHardwareConfiguration CPU Hardware Configuration metric for the host
func (HostCpuHardwareConfiguration) GetTimeCollected ¶
func (m HostCpuHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostCpuHardwareConfiguration) MarshalJSON ¶
func (m HostCpuHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostCpuHardwareConfiguration) String ¶
func (m HostCpuHardwareConfiguration) String() string
type HostCpuStatistics ¶
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"`
}
HostCpuStatistics Contains CPU statistics.
func (HostCpuStatistics) GetCapacity ¶
func (m HostCpuStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (HostCpuStatistics) GetUsage ¶
func (m HostCpuStatistics) GetUsage() *float64
GetUsage returns Usage
func (HostCpuStatistics) GetUsageChangePercent ¶
func (m HostCpuStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (HostCpuStatistics) GetUtilizationPercent ¶
func (m HostCpuStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (HostCpuStatistics) MarshalJSON ¶
func (m HostCpuStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostCpuStatistics) String ¶
func (m HostCpuStatistics) String() string
type HostCpuUsage ¶
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"`
}
HostCpuUsage CPU Usage metric for the host
func (HostCpuUsage) GetTimeCollected ¶
func (m HostCpuUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostCpuUsage) MarshalJSON ¶
func (m HostCpuUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostCpuUsage) String ¶
func (m HostCpuUsage) String() string
type HostDetails ¶
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"`
}
HostDetails Partial information about a host which includes id, name, type.
func (HostDetails) String ¶
func (m HostDetails) String() string
type HostDetailsPlatformTypeEnum ¶
type HostDetailsPlatformTypeEnum string
HostDetailsPlatformTypeEnum Enum with underlying type: string
const (
HostDetailsPlatformTypeLinux HostDetailsPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for HostDetailsPlatformTypeEnum
func GetHostDetailsPlatformTypeEnumValues ¶
func GetHostDetailsPlatformTypeEnumValues() []HostDetailsPlatformTypeEnum
GetHostDetailsPlatformTypeEnumValues Enumerates the set of values for HostDetailsPlatformTypeEnum
type HostEntities ¶
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"`
}
HostEntities Database entities running on the host
func (HostEntities) GetTimeCollected ¶
func (m HostEntities) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostEntities) MarshalJSON ¶
func (m HostEntities) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostEntities) String ¶
func (m HostEntities) String() string
type HostEntitySourceEnum ¶
type HostEntitySourceEnum string
HostEntitySourceEnum Enum with underlying type: string
const ( HostEntitySourceMacsManagedExternalHost HostEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST" HostEntitySourceEmManagedExternalHost HostEntitySourceEnum = "EM_MANAGED_EXTERNAL_HOST" )
Set of constants representing the allowable values for HostEntitySourceEnum
func GetHostEntitySourceEnumValues ¶
func GetHostEntitySourceEnumValues() []HostEntitySourceEnum
GetHostEntitySourceEnumValues Enumerates the set of values for HostEntitySourceEnum
type HostEnum ¶
type HostEnum string
HostEnum Enum with underlying type: string
Set of constants representing the allowable values for HostEnum
func GetHostEnumValues ¶
func GetHostEnumValues() []HostEnum
GetHostEnumValues Enumerates the set of values for HostEnum
type HostHardwareConfiguration ¶
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"`
}
HostHardwareConfiguration Hardware Configuration metric for the host
func (HostHardwareConfiguration) GetTimeCollected ¶
func (m HostHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostHardwareConfiguration) MarshalJSON ¶
func (m HostHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostHardwareConfiguration) String ¶
func (m HostHardwareConfiguration) String() string
type HostImportableAgentEntitySummary ¶
type HostImportableAgentEntitySummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The Display Name (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Management Agent
ManagementAgentDisplayName *string `mandatory:"true" json:"managementAgentDisplayName"`
// 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 HostImportableAgentEntitySummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
HostImportableAgentEntitySummary An agent host entity that can be imported into Operations Insights.
func (HostImportableAgentEntitySummary) GetManagementAgentDisplayName ¶
func (m HostImportableAgentEntitySummary) GetManagementAgentDisplayName() *string
GetManagementAgentDisplayName returns ManagementAgentDisplayName
func (HostImportableAgentEntitySummary) GetManagementAgentId ¶
func (m HostImportableAgentEntitySummary) GetManagementAgentId() *string
GetManagementAgentId returns ManagementAgentId
func (HostImportableAgentEntitySummary) MarshalJSON ¶
func (m HostImportableAgentEntitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostImportableAgentEntitySummary) String ¶
func (m HostImportableAgentEntitySummary) String() string
type HostImportableAgentEntitySummaryPlatformTypeEnum ¶
type HostImportableAgentEntitySummaryPlatformTypeEnum string
HostImportableAgentEntitySummaryPlatformTypeEnum Enum with underlying type: string
const (
HostImportableAgentEntitySummaryPlatformTypeLinux HostImportableAgentEntitySummaryPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for HostImportableAgentEntitySummaryPlatformTypeEnum
func GetHostImportableAgentEntitySummaryPlatformTypeEnumValues ¶
func GetHostImportableAgentEntitySummaryPlatformTypeEnumValues() []HostImportableAgentEntitySummaryPlatformTypeEnum
GetHostImportableAgentEntitySummaryPlatformTypeEnumValues Enumerates the set of values for HostImportableAgentEntitySummaryPlatformTypeEnum
type HostInsight ¶
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
}
HostInsight Host insight resource.
type HostInsightResourceStatisticsAggregation ¶
type HostInsightResourceStatisticsAggregation struct {
HostDetails *HostDetails `mandatory:"true" json:"hostDetails"`
CurrentStatistics HostResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
HostInsightResourceStatisticsAggregation Contains host details and resource statistics.
func (HostInsightResourceStatisticsAggregation) String ¶
func (m HostInsightResourceStatisticsAggregation) String() string
func (*HostInsightResourceStatisticsAggregation) UnmarshalJSON ¶
func (m *HostInsightResourceStatisticsAggregation) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type HostInsightSummary ¶
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
}
HostInsightSummary Summary of a host insight resource.
type HostInsightSummaryCollection ¶
type HostInsightSummaryCollection struct {
// Array of host insight summary objects.
Items []HostInsightSummary `mandatory:"true" json:"items"`
}
HostInsightSummaryCollection Collection of host insight summary objects.
func (HostInsightSummaryCollection) String ¶
func (m HostInsightSummaryCollection) String() string
func (*HostInsightSummaryCollection) UnmarshalJSON ¶
func (m *HostInsightSummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type HostInsights ¶
type HostInsights struct {
// Host Insights Object.
HostInsights *interface{} `mandatory:"false" json:"hostInsights"`
}
HostInsights Logical grouping used for Operations Insights host related operations.
func (HostInsights) String ¶
func (m HostInsights) String() string
type HostInstanceMap ¶
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"`
}
HostInstanceMap Object containing hostname and instance name mapping.
func (HostInstanceMap) String ¶
func (m HostInstanceMap) String() string
type HostMemoryConfiguration ¶
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"`
}
HostMemoryConfiguration Memory Configuration metric for the host
func (HostMemoryConfiguration) GetTimeCollected ¶
func (m HostMemoryConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostMemoryConfiguration) MarshalJSON ¶
func (m HostMemoryConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostMemoryConfiguration) String ¶
func (m HostMemoryConfiguration) String() string
type HostMemoryStatistics ¶
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"`
}
HostMemoryStatistics Contains memory statistics.
func (HostMemoryStatistics) GetCapacity ¶
func (m HostMemoryStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (HostMemoryStatistics) GetUsage ¶
func (m HostMemoryStatistics) GetUsage() *float64
GetUsage returns Usage
func (HostMemoryStatistics) GetUsageChangePercent ¶
func (m HostMemoryStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (HostMemoryStatistics) GetUtilizationPercent ¶
func (m HostMemoryStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (HostMemoryStatistics) MarshalJSON ¶
func (m HostMemoryStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostMemoryStatistics) String ¶
func (m HostMemoryStatistics) String() string
type HostMemoryUsage ¶
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"`
}
HostMemoryUsage Memory usage metric for the host
func (HostMemoryUsage) GetTimeCollected ¶
func (m HostMemoryUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostMemoryUsage) MarshalJSON ¶
func (m HostMemoryUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostMemoryUsage) String ¶
func (m HostMemoryUsage) String() string
type HostNetworkActivitySummary ¶
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"`
}
HostNetworkActivitySummary Network Activity Summary metric for the host
func (HostNetworkActivitySummary) GetTimeCollected ¶
func (m HostNetworkActivitySummary) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostNetworkActivitySummary) MarshalJSON ¶
func (m HostNetworkActivitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostNetworkActivitySummary) String ¶
func (m HostNetworkActivitySummary) String() string
type HostNetworkConfiguration ¶
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"`
}
HostNetworkConfiguration Network Configuration metric for the host
func (HostNetworkConfiguration) GetTimeCollected ¶
func (m HostNetworkConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostNetworkConfiguration) MarshalJSON ¶
func (m HostNetworkConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostNetworkConfiguration) String ¶
func (m HostNetworkConfiguration) String() string
type HostPerformanceMetricGroup ¶
type HostPerformanceMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
HostPerformanceMetricGroup Base Metric Group for Host performance metrics
type HostPerformanceMetricGroupMetricNameEnum ¶
type HostPerformanceMetricGroupMetricNameEnum string
HostPerformanceMetricGroupMetricNameEnum Enum with underlying type: string
const ( HostPerformanceMetricGroupMetricNameCpuUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_CPU_USAGE" HostPerformanceMetricGroupMetricNameMemoryUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_MEMORY_USAGE" HostPerformanceMetricGroupMetricNameNetworkActivitySummary HostPerformanceMetricGroupMetricNameEnum = "HOST_NETWORK_ACTIVITY_SUMMARY" )
Set of constants representing the allowable values for HostPerformanceMetricGroupMetricNameEnum
func GetHostPerformanceMetricGroupMetricNameEnumValues ¶
func GetHostPerformanceMetricGroupMetricNameEnumValues() []HostPerformanceMetricGroupMetricNameEnum
GetHostPerformanceMetricGroupMetricNameEnumValues Enumerates the set of values for HostPerformanceMetricGroupMetricNameEnum
type HostProduct ¶
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"`
}
HostProduct Product metric for the host
func (HostProduct) GetTimeCollected ¶
func (m HostProduct) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostProduct) MarshalJSON ¶
func (m HostProduct) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostProduct) String ¶
func (m HostProduct) String() string
type HostResourceAllocation ¶
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"`
}
HostResourceAllocation Resource Allocation metric for the host
func (HostResourceAllocation) GetTimeCollected ¶
func (m HostResourceAllocation) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (HostResourceAllocation) MarshalJSON ¶
func (m HostResourceAllocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (HostResourceAllocation) String ¶
func (m HostResourceAllocation) String() string
type HostResourceCapacityTrendAggregation ¶
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"`
}
HostResourceCapacityTrendAggregation Host Resource Capacity samples
func (HostResourceCapacityTrendAggregation) String ¶
func (m HostResourceCapacityTrendAggregation) String() string
type HostResourceStatistics ¶
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
}
HostResourceStatistics Contains host resource base statistics.
type HostResourceStatisticsResourceNameEnum ¶
type HostResourceStatisticsResourceNameEnum string
HostResourceStatisticsResourceNameEnum Enum with underlying type: string
const ( HostResourceStatisticsResourceNameCpuStatistics HostResourceStatisticsResourceNameEnum = "HOST_CPU_STATISTICS" HostResourceStatisticsResourceNameMemoryStatistics HostResourceStatisticsResourceNameEnum = "HOST_MEMORY_STATISTICS" )
Set of constants representing the allowable values for HostResourceStatisticsResourceNameEnum
func GetHostResourceStatisticsResourceNameEnumValues ¶
func GetHostResourceStatisticsResourceNameEnumValues() []HostResourceStatisticsResourceNameEnum
GetHostResourceStatisticsResourceNameEnumValues Enumerates the set of values for HostResourceStatisticsResourceNameEnum
type HostedEntityCollection ¶
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"`
}
HostedEntityCollection Returns a list of hosted entities for the specific host.
func (HostedEntityCollection) String ¶
func (m HostedEntityCollection) String() string
type HostedEntitySummary ¶
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"`
}
HostedEntitySummary Information about a hosted entity which includes identifier, name, and type.
func (HostedEntitySummary) String ¶
func (m HostedEntitySummary) String() string
type ImportableAgentEntitySourceEnum ¶
type ImportableAgentEntitySourceEnum string
ImportableAgentEntitySourceEnum Enum with underlying type: string
const (
ImportableAgentEntitySourceMacsManagedExternalHost ImportableAgentEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST"
)
Set of constants representing the allowable values for ImportableAgentEntitySourceEnum
func GetImportableAgentEntitySourceEnumValues ¶
func GetImportableAgentEntitySourceEnumValues() []ImportableAgentEntitySourceEnum
GetImportableAgentEntitySourceEnumValues Enumerates the set of values for ImportableAgentEntitySourceEnum
type ImportableAgentEntitySummary ¶
type ImportableAgentEntitySummary interface {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
GetManagementAgentId() *string
// The Display Name (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Management Agent
GetManagementAgentDisplayName() *string
}
ImportableAgentEntitySummary An agent entity that can be imported into Operations Insights.
type ImportableAgentEntitySummaryCollection ¶
type ImportableAgentEntitySummaryCollection struct {
// Array of importable agent entity objects.
Items []ImportableAgentEntitySummary `mandatory:"true" json:"items"`
}
ImportableAgentEntitySummaryCollection Collection of importable agent entity objects.
func (ImportableAgentEntitySummaryCollection) String ¶
func (m ImportableAgentEntitySummaryCollection) String() string
func (*ImportableAgentEntitySummaryCollection) UnmarshalJSON ¶
func (m *ImportableAgentEntitySummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ImportableEnterpriseManagerEntity ¶
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"`
}
ImportableEnterpriseManagerEntity An Enterprise Manager entity that can be imported into Operations Insights.
func (ImportableEnterpriseManagerEntity) String ¶
func (m ImportableEnterpriseManagerEntity) String() string
type ImportableEnterpriseManagerEntityCollection ¶
type ImportableEnterpriseManagerEntityCollection struct {
// Array of importable Enterprise Manager entity objects.
Items []ImportableEnterpriseManagerEntity `mandatory:"true" json:"items"`
}
ImportableEnterpriseManagerEntityCollection Collection of importable Enterprise Manager entity objects.
func (ImportableEnterpriseManagerEntityCollection) String ¶
func (m ImportableEnterpriseManagerEntityCollection) String() string
type IngestDatabaseConfigurationDetails ¶
type IngestDatabaseConfigurationDetails struct {
// Array of one or more database configuration metrics objects.
Items []DatabaseConfigurationMetricGroup `mandatory:"true" json:"items"`
}
IngestDatabaseConfigurationDetails Database Configuration Metrics details.
func (IngestDatabaseConfigurationDetails) String ¶
func (m IngestDatabaseConfigurationDetails) String() string
func (*IngestDatabaseConfigurationDetails) UnmarshalJSON ¶
func (m *IngestDatabaseConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type 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
}
IngestDatabaseConfigurationRequest wrapper for the IngestDatabaseConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfigurationRequest.
func (IngestDatabaseConfigurationRequest) BinaryRequestBody ¶
func (request IngestDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestDatabaseConfigurationRequest) HTTPRequest ¶
func (request IngestDatabaseConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestDatabaseConfigurationRequest) RetryPolicy ¶
func (request IngestDatabaseConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestDatabaseConfigurationRequest) String ¶
func (request IngestDatabaseConfigurationRequest) String() string
type IngestDatabaseConfigurationResponse ¶
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"`
}
IngestDatabaseConfigurationResponse wrapper for the IngestDatabaseConfiguration operation
func (IngestDatabaseConfigurationResponse) HTTPResponse ¶
func (response IngestDatabaseConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestDatabaseConfigurationResponse) String ¶
func (response IngestDatabaseConfigurationResponse) String() string
type IngestDatabaseConfigurationResponseDetails ¶
type IngestDatabaseConfigurationResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestDatabaseConfigurationResponseDetails The response object returned from IngestDatabaseConfiguration operation.
func (IngestDatabaseConfigurationResponseDetails) String ¶
func (m IngestDatabaseConfigurationResponseDetails) String() string
type IngestHostConfigurationDetails ¶
type IngestHostConfigurationDetails struct {
// Collection of one or more host configuration metric data points
Items []HostConfigurationMetricGroup `mandatory:"true" json:"items"`
}
IngestHostConfigurationDetails Contains the data to ingest for one or more host configuration metrics
func (IngestHostConfigurationDetails) String ¶
func (m IngestHostConfigurationDetails) String() string
func (*IngestHostConfigurationDetails) UnmarshalJSON ¶
func (m *IngestHostConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type 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
}
IngestHostConfigurationRequest wrapper for the IngestHostConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfigurationRequest.
func (IngestHostConfigurationRequest) BinaryRequestBody ¶
func (request IngestHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestHostConfigurationRequest) HTTPRequest ¶
func (request IngestHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestHostConfigurationRequest) RetryPolicy ¶
func (request IngestHostConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestHostConfigurationRequest) String ¶
func (request IngestHostConfigurationRequest) String() string
type IngestHostConfigurationResponse ¶
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"`
}
IngestHostConfigurationResponse wrapper for the IngestHostConfiguration operation
func (IngestHostConfigurationResponse) HTTPResponse ¶
func (response IngestHostConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestHostConfigurationResponse) String ¶
func (response IngestHostConfigurationResponse) String() string
type IngestHostConfigurationResponseDetails ¶
type IngestHostConfigurationResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestHostConfigurationResponseDetails The response object returned from IngestHostConfiguration operation.
func (IngestHostConfigurationResponseDetails) String ¶
func (m IngestHostConfigurationResponseDetails) String() string
type IngestHostMetricsDetails ¶
type IngestHostMetricsDetails struct {
// Collection of one or more host performance metric data points
Items []HostPerformanceMetricGroup `mandatory:"true" json:"items"`
}
IngestHostMetricsDetails Contains the data to ingest for one or more host performance metrics
func (IngestHostMetricsDetails) String ¶
func (m IngestHostMetricsDetails) String() string
func (*IngestHostMetricsDetails) UnmarshalJSON ¶
func (m *IngestHostMetricsDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type 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
}
IngestHostMetricsRequest wrapper for the IngestHostMetrics operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetricsRequest.
func (IngestHostMetricsRequest) BinaryRequestBody ¶
func (request IngestHostMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestHostMetricsRequest) HTTPRequest ¶
func (request IngestHostMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestHostMetricsRequest) RetryPolicy ¶
func (request IngestHostMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestHostMetricsRequest) String ¶
func (request IngestHostMetricsRequest) String() string
type IngestHostMetricsResponse ¶
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"`
}
IngestHostMetricsResponse wrapper for the IngestHostMetrics operation
func (IngestHostMetricsResponse) HTTPResponse ¶
func (response IngestHostMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestHostMetricsResponse) String ¶
func (response IngestHostMetricsResponse) String() string
type IngestHostMetricsResponseDetails ¶
type IngestHostMetricsResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestHostMetricsResponseDetails The response object returned from IngestHostMetrics operation.
func (IngestHostMetricsResponseDetails) String ¶
func (m IngestHostMetricsResponseDetails) String() string
type IngestSqlBucketDetails ¶
type IngestSqlBucketDetails struct {
// List of SQL Bucket Metric Entries.
Items []SqlBucket `mandatory:"false" json:"items"`
}
IngestSqlBucketDetails Collection of SQL Bucket Metric Entries
func (IngestSqlBucketDetails) String ¶
func (m IngestSqlBucketDetails) String() string
type 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
}
IngestSqlBucketRequest wrapper for the IngestSqlBucket operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucketRequest.
func (IngestSqlBucketRequest) BinaryRequestBody ¶
func (request IngestSqlBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestSqlBucketRequest) HTTPRequest ¶
func (request IngestSqlBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestSqlBucketRequest) RetryPolicy ¶
func (request IngestSqlBucketRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestSqlBucketRequest) String ¶
func (request IngestSqlBucketRequest) String() string
type IngestSqlBucketResponse ¶
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"`
}
IngestSqlBucketResponse wrapper for the IngestSqlBucket operation
func (IngestSqlBucketResponse) HTTPResponse ¶
func (response IngestSqlBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestSqlBucketResponse) String ¶
func (response IngestSqlBucketResponse) String() string
type IngestSqlBucketResponseDetails ¶
type IngestSqlBucketResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestSqlBucketResponseDetails The response object returned from IngestSqlBucketDetails operation.
func (IngestSqlBucketResponseDetails) String ¶
func (m IngestSqlBucketResponseDetails) String() string
type IngestSqlPlanLinesDetails ¶
type IngestSqlPlanLinesDetails struct {
// List of SQL Plan Line Entries.
Items []SqlPlanLine `mandatory:"false" json:"items"`
}
IngestSqlPlanLinesDetails Collection of SQL Plan Line Entries
func (IngestSqlPlanLinesDetails) String ¶
func (m IngestSqlPlanLinesDetails) String() string
type 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
}
IngestSqlPlanLinesRequest wrapper for the IngestSqlPlanLines operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLinesRequest.
func (IngestSqlPlanLinesRequest) BinaryRequestBody ¶
func (request IngestSqlPlanLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestSqlPlanLinesRequest) HTTPRequest ¶
func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestSqlPlanLinesRequest) RetryPolicy ¶
func (request IngestSqlPlanLinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestSqlPlanLinesRequest) String ¶
func (request IngestSqlPlanLinesRequest) String() string
type IngestSqlPlanLinesResponse ¶
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"`
}
IngestSqlPlanLinesResponse wrapper for the IngestSqlPlanLines operation
func (IngestSqlPlanLinesResponse) HTTPResponse ¶
func (response IngestSqlPlanLinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestSqlPlanLinesResponse) String ¶
func (response IngestSqlPlanLinesResponse) String() string
type IngestSqlPlanLinesResponseDetails ¶
type IngestSqlPlanLinesResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestSqlPlanLinesResponseDetails The response object returned from IngestSqlPlanLines operation.
func (IngestSqlPlanLinesResponseDetails) String ¶
func (m IngestSqlPlanLinesResponseDetails) String() string
type IngestSqlTextDetails ¶
type IngestSqlTextDetails struct {
// List of SQL Text Entries.
Items []SqlText `mandatory:"false" json:"items"`
}
IngestSqlTextDetails Collection of SQL Text Entries
func (IngestSqlTextDetails) String ¶
func (m IngestSqlTextDetails) String() string
type 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
}
IngestSqlTextRequest wrapper for the IngestSqlText operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlTextRequest.
func (IngestSqlTextRequest) BinaryRequestBody ¶
func (request IngestSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IngestSqlTextRequest) HTTPRequest ¶
func (request IngestSqlTextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IngestSqlTextRequest) RetryPolicy ¶
func (request IngestSqlTextRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IngestSqlTextRequest) String ¶
func (request IngestSqlTextRequest) String() string
type IngestSqlTextResponse ¶
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"`
}
IngestSqlTextResponse wrapper for the IngestSqlText operation
func (IngestSqlTextResponse) HTTPResponse ¶
func (response IngestSqlTextResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IngestSqlTextResponse) String ¶
func (response IngestSqlTextResponse) String() string
type IngestSqlTextResponseDetails ¶
type IngestSqlTextResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
IngestSqlTextResponseDetails The response object returned from IngestSqlTextDetails operation.
func (IngestSqlTextResponseDetails) String ¶
func (m IngestSqlTextResponseDetails) String() string
type InstanceMetrics ¶
type InstanceMetrics struct {
// The hostname of the database insight resource.
HostName *string `mandatory:"false" json:"hostName"`
// The instance name of the database insight resource.
InstanceName *string `mandatory:"false" json:"instanceName"`
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"false" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE).
Capacity *float64 `mandatory:"false" json:"capacity"`
// Resource utilization in percentage
UtilizationPercent *float64 `mandatory:"false" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"false" json:"usageChangePercent"`
}
InstanceMetrics Object containing instance metrics.
func (InstanceMetrics) String ¶
func (m InstanceMetrics) String() string
type LifecycleStateEnum ¶
type LifecycleStateEnum string
LifecycleStateEnum Enum with underlying type: string
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for LifecycleStateEnum
func GetLifecycleStateEnumValues ¶
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
type ListDatabaseConfigurationsDatabaseTypeEnum ¶
type ListDatabaseConfigurationsDatabaseTypeEnum string
ListDatabaseConfigurationsDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListDatabaseConfigurationsDatabaseTypeEnum
func GetListDatabaseConfigurationsDatabaseTypeEnumValues ¶
func GetListDatabaseConfigurationsDatabaseTypeEnumValues() []ListDatabaseConfigurationsDatabaseTypeEnum
GetListDatabaseConfigurationsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseConfigurationsDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
ListDatabaseConfigurationsRequest wrapper for the ListDatabaseConfigurations operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurationsRequest.
func (ListDatabaseConfigurationsRequest) BinaryRequestBody ¶
func (request ListDatabaseConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDatabaseConfigurationsRequest) HTTPRequest ¶
func (request ListDatabaseConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDatabaseConfigurationsRequest) RetryPolicy ¶
func (request ListDatabaseConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDatabaseConfigurationsRequest) String ¶
func (request ListDatabaseConfigurationsRequest) String() string
type ListDatabaseConfigurationsResponse ¶
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"`
}
ListDatabaseConfigurationsResponse wrapper for the ListDatabaseConfigurations operation
func (ListDatabaseConfigurationsResponse) HTTPResponse ¶
func (response ListDatabaseConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDatabaseConfigurationsResponse) String ¶
func (response ListDatabaseConfigurationsResponse) String() string
type ListDatabaseConfigurationsSortByEnum ¶
type ListDatabaseConfigurationsSortByEnum string
ListDatabaseConfigurationsSortByEnum Enum with underlying type: string
const ( ListDatabaseConfigurationsSortByDatabasename ListDatabaseConfigurationsSortByEnum = "databaseName" ListDatabaseConfigurationsSortByDatabasedisplayname ListDatabaseConfigurationsSortByEnum = "databaseDisplayName" ListDatabaseConfigurationsSortByDatabasetype ListDatabaseConfigurationsSortByEnum = "databaseType" )
Set of constants representing the allowable values for ListDatabaseConfigurationsSortByEnum
func GetListDatabaseConfigurationsSortByEnumValues ¶
func GetListDatabaseConfigurationsSortByEnumValues() []ListDatabaseConfigurationsSortByEnum
GetListDatabaseConfigurationsSortByEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortByEnum
type ListDatabaseConfigurationsSortOrderEnum ¶
type ListDatabaseConfigurationsSortOrderEnum string
ListDatabaseConfigurationsSortOrderEnum Enum with underlying type: string
const ( ListDatabaseConfigurationsSortOrderAsc ListDatabaseConfigurationsSortOrderEnum = "ASC" ListDatabaseConfigurationsSortOrderDesc ListDatabaseConfigurationsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDatabaseConfigurationsSortOrderEnum
func GetListDatabaseConfigurationsSortOrderEnumValues ¶
func GetListDatabaseConfigurationsSortOrderEnumValues() []ListDatabaseConfigurationsSortOrderEnum
GetListDatabaseConfigurationsSortOrderEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortOrderEnum
type ListDatabaseInsightsDatabaseTypeEnum ¶
type ListDatabaseInsightsDatabaseTypeEnum string
ListDatabaseInsightsDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListDatabaseInsightsDatabaseTypeEnum
func GetListDatabaseInsightsDatabaseTypeEnumValues ¶
func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum
GetListDatabaseInsightsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseInsightsDatabaseTypeEnum
type ListDatabaseInsightsFieldsEnum ¶
type ListDatabaseInsightsFieldsEnum string
ListDatabaseInsightsFieldsEnum Enum with underlying type: string
const ( ListDatabaseInsightsFieldsCompartmentid ListDatabaseInsightsFieldsEnum = "compartmentId" ListDatabaseInsightsFieldsDatabasename ListDatabaseInsightsFieldsEnum = "databaseName" ListDatabaseInsightsFieldsDatabasedisplayname ListDatabaseInsightsFieldsEnum = "databaseDisplayName" ListDatabaseInsightsFieldsDatabasetype ListDatabaseInsightsFieldsEnum = "databaseType" ListDatabaseInsightsFieldsDatabaseversion ListDatabaseInsightsFieldsEnum = "databaseVersion" ListDatabaseInsightsFieldsDatabasehostnames ListDatabaseInsightsFieldsEnum = "databaseHostNames" )
Set of constants representing the allowable values for ListDatabaseInsightsFieldsEnum
func GetListDatabaseInsightsFieldsEnumValues ¶
func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum
GetListDatabaseInsightsFieldsEnumValues Enumerates the set of values for ListDatabaseInsightsFieldsEnum
type 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"`
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// 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
}
ListDatabaseInsightsRequest wrapper for the ListDatabaseInsights operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsightsRequest.
func (ListDatabaseInsightsRequest) BinaryRequestBody ¶
func (request ListDatabaseInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDatabaseInsightsRequest) HTTPRequest ¶
func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDatabaseInsightsRequest) RetryPolicy ¶
func (request ListDatabaseInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDatabaseInsightsRequest) String ¶
func (request ListDatabaseInsightsRequest) String() string
type ListDatabaseInsightsResponse ¶
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"`
}
ListDatabaseInsightsResponse wrapper for the ListDatabaseInsights operation
func (ListDatabaseInsightsResponse) HTTPResponse ¶
func (response ListDatabaseInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDatabaseInsightsResponse) String ¶
func (response ListDatabaseInsightsResponse) String() string
type ListDatabaseInsightsSortByEnum ¶
type ListDatabaseInsightsSortByEnum string
ListDatabaseInsightsSortByEnum Enum with underlying type: string
const ( ListDatabaseInsightsSortByDatabasename ListDatabaseInsightsSortByEnum = "databaseName" ListDatabaseInsightsSortByDatabasedisplayname ListDatabaseInsightsSortByEnum = "databaseDisplayName" ListDatabaseInsightsSortByDatabasetype ListDatabaseInsightsSortByEnum = "databaseType" )
Set of constants representing the allowable values for ListDatabaseInsightsSortByEnum
func GetListDatabaseInsightsSortByEnumValues ¶
func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum
GetListDatabaseInsightsSortByEnumValues Enumerates the set of values for ListDatabaseInsightsSortByEnum
type ListDatabaseInsightsSortOrderEnum ¶
type ListDatabaseInsightsSortOrderEnum string
ListDatabaseInsightsSortOrderEnum Enum with underlying type: string
const ( ListDatabaseInsightsSortOrderAsc ListDatabaseInsightsSortOrderEnum = "ASC" ListDatabaseInsightsSortOrderDesc ListDatabaseInsightsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDatabaseInsightsSortOrderEnum
func GetListDatabaseInsightsSortOrderEnumValues ¶
func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum
GetListDatabaseInsightsSortOrderEnumValues Enumerates the set of values for ListDatabaseInsightsSortOrderEnum
type 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
}
ListEnterpriseManagerBridgesRequest wrapper for the ListEnterpriseManagerBridges operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridgesRequest.
func (ListEnterpriseManagerBridgesRequest) BinaryRequestBody ¶
func (request ListEnterpriseManagerBridgesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListEnterpriseManagerBridgesRequest) HTTPRequest ¶
func (request ListEnterpriseManagerBridgesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListEnterpriseManagerBridgesRequest) RetryPolicy ¶
func (request ListEnterpriseManagerBridgesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListEnterpriseManagerBridgesRequest) String ¶
func (request ListEnterpriseManagerBridgesRequest) String() string
type ListEnterpriseManagerBridgesResponse ¶
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"`
}
ListEnterpriseManagerBridgesResponse wrapper for the ListEnterpriseManagerBridges operation
func (ListEnterpriseManagerBridgesResponse) HTTPResponse ¶
func (response ListEnterpriseManagerBridgesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListEnterpriseManagerBridgesResponse) String ¶
func (response ListEnterpriseManagerBridgesResponse) String() string
type ListEnterpriseManagerBridgesSortByEnum ¶
type ListEnterpriseManagerBridgesSortByEnum string
ListEnterpriseManagerBridgesSortByEnum Enum with underlying type: string
const ( ListEnterpriseManagerBridgesSortByTimecreated ListEnterpriseManagerBridgesSortByEnum = "timeCreated" ListEnterpriseManagerBridgesSortByDisplayname ListEnterpriseManagerBridgesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortByEnum
func GetListEnterpriseManagerBridgesSortByEnumValues ¶
func GetListEnterpriseManagerBridgesSortByEnumValues() []ListEnterpriseManagerBridgesSortByEnum
GetListEnterpriseManagerBridgesSortByEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortByEnum
type ListEnterpriseManagerBridgesSortOrderEnum ¶
type ListEnterpriseManagerBridgesSortOrderEnum string
ListEnterpriseManagerBridgesSortOrderEnum Enum with underlying type: string
const ( ListEnterpriseManagerBridgesSortOrderAsc ListEnterpriseManagerBridgesSortOrderEnum = "ASC" ListEnterpriseManagerBridgesSortOrderDesc ListEnterpriseManagerBridgesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortOrderEnum
func GetListEnterpriseManagerBridgesSortOrderEnumValues ¶
func GetListEnterpriseManagerBridgesSortOrderEnumValues() []ListEnterpriseManagerBridgesSortOrderEnum
GetListEnterpriseManagerBridgesSortOrderEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortOrderEnum
type ListExadataConfigurationsRequest ¶
type ListExadataConfigurationsRequest 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 exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" 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 ListExadataConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Exadata configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListExadataConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// 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"`
// 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
}
ListExadataConfigurationsRequest wrapper for the ListExadataConfigurations operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataConfigurations.go.html to see an example of how to use ListExadataConfigurationsRequest.
func (ListExadataConfigurationsRequest) BinaryRequestBody ¶
func (request ListExadataConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListExadataConfigurationsRequest) HTTPRequest ¶
func (request ListExadataConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListExadataConfigurationsRequest) RetryPolicy ¶
func (request ListExadataConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListExadataConfigurationsRequest) String ¶
func (request ListExadataConfigurationsRequest) String() string
type ListExadataConfigurationsResponse ¶
type ListExadataConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ExadataConfigurationCollection instances
ExadataConfigurationCollection `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"`
}
ListExadataConfigurationsResponse wrapper for the ListExadataConfigurations operation
func (ListExadataConfigurationsResponse) HTTPResponse ¶
func (response ListExadataConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListExadataConfigurationsResponse) String ¶
func (response ListExadataConfigurationsResponse) String() string
type ListExadataConfigurationsSortByEnum ¶
type ListExadataConfigurationsSortByEnum string
ListExadataConfigurationsSortByEnum Enum with underlying type: string
const ( ListExadataConfigurationsSortByExadataname ListExadataConfigurationsSortByEnum = "exadataName" ListExadataConfigurationsSortByExadatadisplayname ListExadataConfigurationsSortByEnum = "exadataDisplayName" ListExadataConfigurationsSortByExadatatype ListExadataConfigurationsSortByEnum = "exadataType" )
Set of constants representing the allowable values for ListExadataConfigurationsSortByEnum
func GetListExadataConfigurationsSortByEnumValues ¶
func GetListExadataConfigurationsSortByEnumValues() []ListExadataConfigurationsSortByEnum
GetListExadataConfigurationsSortByEnumValues Enumerates the set of values for ListExadataConfigurationsSortByEnum
type ListExadataConfigurationsSortOrderEnum ¶
type ListExadataConfigurationsSortOrderEnum string
ListExadataConfigurationsSortOrderEnum Enum with underlying type: string
const ( ListExadataConfigurationsSortOrderAsc ListExadataConfigurationsSortOrderEnum = "ASC" ListExadataConfigurationsSortOrderDesc ListExadataConfigurationsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListExadataConfigurationsSortOrderEnum
func GetListExadataConfigurationsSortOrderEnumValues ¶
func GetListExadataConfigurationsSortOrderEnumValues() []ListExadataConfigurationsSortOrderEnum
GetListExadataConfigurationsSortOrderEnumValues Enumerates the set of values for ListExadataConfigurationsSortOrderEnum
type ListExadataInsightsRequest ¶
type ListExadataInsightsRequest 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 Exadata 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 Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" 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 ListExadataInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Exadata insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. Default order for timeCreated is descending. Default order for exadataName is ascending. If no value is specified timeCreated is default.
SortBy ListExadataInsightsSortByEnum `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
}
ListExadataInsightsRequest wrapper for the ListExadataInsights operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataInsights.go.html to see an example of how to use ListExadataInsightsRequest.
func (ListExadataInsightsRequest) BinaryRequestBody ¶
func (request ListExadataInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListExadataInsightsRequest) HTTPRequest ¶
func (request ListExadataInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListExadataInsightsRequest) RetryPolicy ¶
func (request ListExadataInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListExadataInsightsRequest) String ¶
func (request ListExadataInsightsRequest) String() string
type ListExadataInsightsResponse ¶
type ListExadataInsightsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ExadataInsightSummaryCollection instances
ExadataInsightSummaryCollection `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"`
}
ListExadataInsightsResponse wrapper for the ListExadataInsights operation
func (ListExadataInsightsResponse) HTTPResponse ¶
func (response ListExadataInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListExadataInsightsResponse) String ¶
func (response ListExadataInsightsResponse) String() string
type ListExadataInsightsSortByEnum ¶
type ListExadataInsightsSortByEnum string
ListExadataInsightsSortByEnum Enum with underlying type: string
const ( ListExadataInsightsSortByTimecreated ListExadataInsightsSortByEnum = "timeCreated" ListExadataInsightsSortByExadataname ListExadataInsightsSortByEnum = "exadataName" )
Set of constants representing the allowable values for ListExadataInsightsSortByEnum
func GetListExadataInsightsSortByEnumValues ¶
func GetListExadataInsightsSortByEnumValues() []ListExadataInsightsSortByEnum
GetListExadataInsightsSortByEnumValues Enumerates the set of values for ListExadataInsightsSortByEnum
type ListExadataInsightsSortOrderEnum ¶
type ListExadataInsightsSortOrderEnum string
ListExadataInsightsSortOrderEnum Enum with underlying type: string
const ( ListExadataInsightsSortOrderAsc ListExadataInsightsSortOrderEnum = "ASC" ListExadataInsightsSortOrderDesc ListExadataInsightsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListExadataInsightsSortOrderEnum
func GetListExadataInsightsSortOrderEnumValues ¶
func GetListExadataInsightsSortOrderEnumValues() []ListExadataInsightsSortOrderEnum
GetListExadataInsightsSortOrderEnumValues Enumerates the set of values for ListExadataInsightsSortOrderEnum
type ListHostConfigurationsPlatformTypeEnum ¶
type ListHostConfigurationsPlatformTypeEnum string
ListHostConfigurationsPlatformTypeEnum Enum with underlying type: string
const (
ListHostConfigurationsPlatformTypeLinux ListHostConfigurationsPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for ListHostConfigurationsPlatformTypeEnum
func GetListHostConfigurationsPlatformTypeEnumValues ¶
func GetListHostConfigurationsPlatformTypeEnumValues() []ListHostConfigurationsPlatformTypeEnum
GetListHostConfigurationsPlatformTypeEnumValues Enumerates the set of values for ListHostConfigurationsPlatformTypeEnum
type ListHostConfigurationsRequest ¶
type ListHostConfigurationsRequest 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 host 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 exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more platform types.
// Possible value is LINUX.
PlatformType []ListHostConfigurationsPlatformTypeEnum `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 ListHostConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Host configuration list sort options.
SortBy ListHostConfigurationsSortByEnum `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
}
ListHostConfigurationsRequest wrapper for the ListHostConfigurations operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostConfigurations.go.html to see an example of how to use ListHostConfigurationsRequest.
func (ListHostConfigurationsRequest) BinaryRequestBody ¶
func (request ListHostConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListHostConfigurationsRequest) HTTPRequest ¶
func (request ListHostConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListHostConfigurationsRequest) RetryPolicy ¶
func (request ListHostConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListHostConfigurationsRequest) String ¶
func (request ListHostConfigurationsRequest) String() string
type ListHostConfigurationsResponse ¶
type ListHostConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of HostConfigurationCollection instances
HostConfigurationCollection `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"`
}
ListHostConfigurationsResponse wrapper for the ListHostConfigurations operation
func (ListHostConfigurationsResponse) HTTPResponse ¶
func (response ListHostConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListHostConfigurationsResponse) String ¶
func (response ListHostConfigurationsResponse) String() string
type ListHostConfigurationsSortByEnum ¶
type ListHostConfigurationsSortByEnum string
ListHostConfigurationsSortByEnum Enum with underlying type: string
const ( ListHostConfigurationsSortByHostname ListHostConfigurationsSortByEnum = "hostName" ListHostConfigurationsSortByPlatformtype ListHostConfigurationsSortByEnum = "platformType" )
Set of constants representing the allowable values for ListHostConfigurationsSortByEnum
func GetListHostConfigurationsSortByEnumValues ¶
func GetListHostConfigurationsSortByEnumValues() []ListHostConfigurationsSortByEnum
GetListHostConfigurationsSortByEnumValues Enumerates the set of values for ListHostConfigurationsSortByEnum
type ListHostConfigurationsSortOrderEnum ¶
type ListHostConfigurationsSortOrderEnum string
ListHostConfigurationsSortOrderEnum Enum with underlying type: string
const ( ListHostConfigurationsSortOrderAsc ListHostConfigurationsSortOrderEnum = "ASC" ListHostConfigurationsSortOrderDesc ListHostConfigurationsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListHostConfigurationsSortOrderEnum
func GetListHostConfigurationsSortOrderEnumValues ¶
func GetListHostConfigurationsSortOrderEnumValues() []ListHostConfigurationsSortOrderEnum
GetListHostConfigurationsSortOrderEnumValues Enumerates the set of values for ListHostConfigurationsSortOrderEnum
type ListHostInsightsPlatformTypeEnum ¶
type ListHostInsightsPlatformTypeEnum string
ListHostInsightsPlatformTypeEnum Enum with underlying type: string
const (
ListHostInsightsPlatformTypeLinux ListHostInsightsPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for ListHostInsightsPlatformTypeEnum
func GetListHostInsightsPlatformTypeEnumValues ¶
func GetListHostInsightsPlatformTypeEnumValues() []ListHostInsightsPlatformTypeEnum
GetListHostInsightsPlatformTypeEnumValues Enumerates the set of values for ListHostInsightsPlatformTypeEnum
type 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 Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// 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
}
ListHostInsightsRequest wrapper for the ListHostInsights operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsightsRequest.
func (ListHostInsightsRequest) BinaryRequestBody ¶
func (request ListHostInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListHostInsightsRequest) HTTPRequest ¶
func (request ListHostInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListHostInsightsRequest) RetryPolicy ¶
func (request ListHostInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListHostInsightsRequest) String ¶
func (request ListHostInsightsRequest) String() string
type ListHostInsightsResponse ¶
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"`
}
ListHostInsightsResponse wrapper for the ListHostInsights operation
func (ListHostInsightsResponse) HTTPResponse ¶
func (response ListHostInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListHostInsightsResponse) String ¶
func (response ListHostInsightsResponse) String() string
type ListHostInsightsSortByEnum ¶
type ListHostInsightsSortByEnum string
ListHostInsightsSortByEnum Enum with underlying type: string
const ( ListHostInsightsSortByHostname ListHostInsightsSortByEnum = "hostName" ListHostInsightsSortByHosttype ListHostInsightsSortByEnum = "hostType" )
Set of constants representing the allowable values for ListHostInsightsSortByEnum
func GetListHostInsightsSortByEnumValues ¶
func GetListHostInsightsSortByEnumValues() []ListHostInsightsSortByEnum
GetListHostInsightsSortByEnumValues Enumerates the set of values for ListHostInsightsSortByEnum
type ListHostInsightsSortOrderEnum ¶
type ListHostInsightsSortOrderEnum string
ListHostInsightsSortOrderEnum Enum with underlying type: string
const ( ListHostInsightsSortOrderAsc ListHostInsightsSortOrderEnum = "ASC" ListHostInsightsSortOrderDesc ListHostInsightsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListHostInsightsSortOrderEnum
func GetListHostInsightsSortOrderEnumValues ¶
func GetListHostInsightsSortOrderEnumValues() []ListHostInsightsSortOrderEnum
GetListHostInsightsSortOrderEnumValues Enumerates the set of values for ListHostInsightsSortOrderEnum
type ListHostedEntitiesPlatformTypeEnum ¶
type ListHostedEntitiesPlatformTypeEnum string
ListHostedEntitiesPlatformTypeEnum Enum with underlying type: string
const (
ListHostedEntitiesPlatformTypeLinux ListHostedEntitiesPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for ListHostedEntitiesPlatformTypeEnum
func GetListHostedEntitiesPlatformTypeEnumValues ¶
func GetListHostedEntitiesPlatformTypeEnumValues() []ListHostedEntitiesPlatformTypeEnum
GetListHostedEntitiesPlatformTypeEnumValues Enumerates the set of values for ListHostedEntitiesPlatformTypeEnum
type 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"`
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// 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
}
ListHostedEntitiesRequest wrapper for the ListHostedEntities operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntitiesRequest.
func (ListHostedEntitiesRequest) BinaryRequestBody ¶
func (request ListHostedEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListHostedEntitiesRequest) HTTPRequest ¶
func (request ListHostedEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListHostedEntitiesRequest) RetryPolicy ¶
func (request ListHostedEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListHostedEntitiesRequest) String ¶
func (request ListHostedEntitiesRequest) String() string
type ListHostedEntitiesResponse ¶
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"`
}
ListHostedEntitiesResponse wrapper for the ListHostedEntities operation
func (ListHostedEntitiesResponse) HTTPResponse ¶
func (response ListHostedEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListHostedEntitiesResponse) String ¶
func (response ListHostedEntitiesResponse) String() string
type ListHostedEntitiesSortByEnum ¶
type ListHostedEntitiesSortByEnum string
ListHostedEntitiesSortByEnum Enum with underlying type: string
const ( ListHostedEntitiesSortByEntityname ListHostedEntitiesSortByEnum = "entityName" ListHostedEntitiesSortByEntitytype ListHostedEntitiesSortByEnum = "entityType" )
Set of constants representing the allowable values for ListHostedEntitiesSortByEnum
func GetListHostedEntitiesSortByEnumValues ¶
func GetListHostedEntitiesSortByEnumValues() []ListHostedEntitiesSortByEnum
GetListHostedEntitiesSortByEnumValues Enumerates the set of values for ListHostedEntitiesSortByEnum
type ListHostedEntitiesSortOrderEnum ¶
type ListHostedEntitiesSortOrderEnum string
ListHostedEntitiesSortOrderEnum Enum with underlying type: string
const ( ListHostedEntitiesSortOrderAsc ListHostedEntitiesSortOrderEnum = "ASC" ListHostedEntitiesSortOrderDesc ListHostedEntitiesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListHostedEntitiesSortOrderEnum
func GetListHostedEntitiesSortOrderEnumValues ¶
func GetListHostedEntitiesSortOrderEnumValues() []ListHostedEntitiesSortOrderEnum
GetListHostedEntitiesSortOrderEnumValues Enumerates the set of values for ListHostedEntitiesSortOrderEnum
type ListImportableAgentEntitiesRequest ¶
type ListImportableAgentEntitiesRequest 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"`
// 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 ListImportableAgentEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Hosted entity list sort options.
SortBy ListImportableAgentEntitiesSortByEnum `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
}
ListImportableAgentEntitiesRequest wrapper for the ListImportableAgentEntities operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableAgentEntities.go.html to see an example of how to use ListImportableAgentEntitiesRequest.
func (ListImportableAgentEntitiesRequest) BinaryRequestBody ¶
func (request ListImportableAgentEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListImportableAgentEntitiesRequest) HTTPRequest ¶
func (request ListImportableAgentEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListImportableAgentEntitiesRequest) RetryPolicy ¶
func (request ListImportableAgentEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListImportableAgentEntitiesRequest) String ¶
func (request ListImportableAgentEntitiesRequest) String() string
type ListImportableAgentEntitiesResponse ¶
type ListImportableAgentEntitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ImportableAgentEntitySummaryCollection instances
ImportableAgentEntitySummaryCollection `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"`
}
ListImportableAgentEntitiesResponse wrapper for the ListImportableAgentEntities operation
func (ListImportableAgentEntitiesResponse) HTTPResponse ¶
func (response ListImportableAgentEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListImportableAgentEntitiesResponse) String ¶
func (response ListImportableAgentEntitiesResponse) String() string
type ListImportableAgentEntitiesSortByEnum ¶
type ListImportableAgentEntitiesSortByEnum string
ListImportableAgentEntitiesSortByEnum Enum with underlying type: string
const ( ListImportableAgentEntitiesSortByEntityname ListImportableAgentEntitiesSortByEnum = "entityName" ListImportableAgentEntitiesSortByEntitytype ListImportableAgentEntitiesSortByEnum = "entityType" )
Set of constants representing the allowable values for ListImportableAgentEntitiesSortByEnum
func GetListImportableAgentEntitiesSortByEnumValues ¶
func GetListImportableAgentEntitiesSortByEnumValues() []ListImportableAgentEntitiesSortByEnum
GetListImportableAgentEntitiesSortByEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortByEnum
type ListImportableAgentEntitiesSortOrderEnum ¶
type ListImportableAgentEntitiesSortOrderEnum string
ListImportableAgentEntitiesSortOrderEnum Enum with underlying type: string
const ( ListImportableAgentEntitiesSortOrderAsc ListImportableAgentEntitiesSortOrderEnum = "ASC" ListImportableAgentEntitiesSortOrderDesc ListImportableAgentEntitiesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListImportableAgentEntitiesSortOrderEnum
func GetListImportableAgentEntitiesSortOrderEnumValues ¶
func GetListImportableAgentEntitiesSortOrderEnumValues() []ListImportableAgentEntitiesSortOrderEnum
GetListImportableAgentEntitiesSortOrderEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortOrderEnum
type 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"`
// Filter by one or more Enterprise Manager entity types. Currently, the supported types are "oracle_pdb", "oracle_database", "host", "oracle_dbmachine", "oracle_exa_cloud_service", and "oracle_oci_exadata_cloud_service". If this parameter is not specified, targets of all supported entity types are returned by default.
EnterpriseManagerEntityType []string `contributesTo:"query" name:"enterpriseManagerEntityType" collectionFormat:"multi"`
// Used in combination with enterpriseManagerParentEntityIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
EnterpriseManagerIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerIdentifier"`
// Used in combination with enterpriseManagerIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
EnterpriseManagerParentEntityIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerParentEntityIdentifier"`
// 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
}
ListImportableEnterpriseManagerEntitiesRequest wrapper for the ListImportableEnterpriseManagerEntities operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntitiesRequest.
func (ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody ¶
func (request ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListImportableEnterpriseManagerEntitiesRequest) HTTPRequest ¶
func (request ListImportableEnterpriseManagerEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListImportableEnterpriseManagerEntitiesRequest) RetryPolicy ¶
func (request ListImportableEnterpriseManagerEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListImportableEnterpriseManagerEntitiesRequest) String ¶
func (request ListImportableEnterpriseManagerEntitiesRequest) String() string
type ListImportableEnterpriseManagerEntitiesResponse ¶
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"`
}
ListImportableEnterpriseManagerEntitiesResponse wrapper for the ListImportableEnterpriseManagerEntities operation
func (ListImportableEnterpriseManagerEntitiesResponse) HTTPResponse ¶
func (response ListImportableEnterpriseManagerEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListImportableEnterpriseManagerEntitiesResponse) String ¶
func (response ListImportableEnterpriseManagerEntitiesResponse) String() string
type 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
}
ListSqlPlansRequest wrapper for the ListSqlPlans operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlansRequest.
func (ListSqlPlansRequest) BinaryRequestBody ¶
func (request ListSqlPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSqlPlansRequest) HTTPRequest ¶
func (request ListSqlPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSqlPlansRequest) RetryPolicy ¶
func (request ListSqlPlansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSqlPlansRequest) String ¶
func (request ListSqlPlansRequest) String() string
type ListSqlPlansResponse ¶
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"`
}
ListSqlPlansResponse wrapper for the ListSqlPlans operation
func (ListSqlPlansResponse) HTTPResponse ¶
func (response ListSqlPlansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSqlPlansResponse) String ¶
func (response ListSqlPlansResponse) String() string
type 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
}
ListSqlSearchesRequest wrapper for the ListSqlSearches operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearchesRequest.
func (ListSqlSearchesRequest) BinaryRequestBody ¶
func (request ListSqlSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSqlSearchesRequest) HTTPRequest ¶
func (request ListSqlSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSqlSearchesRequest) RetryPolicy ¶
func (request ListSqlSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSqlSearchesRequest) String ¶
func (request ListSqlSearchesRequest) String() string
type ListSqlSearchesResponse ¶
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"`
}
ListSqlSearchesResponse wrapper for the ListSqlSearches operation
func (ListSqlSearchesResponse) HTTPResponse ¶
func (response ListSqlSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSqlSearchesResponse) String ¶
func (response ListSqlSearchesResponse) String() string
type 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
}
ListSqlTextsRequest wrapper for the ListSqlTexts operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTextsRequest.
func (ListSqlTextsRequest) BinaryRequestBody ¶
func (request ListSqlTextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSqlTextsRequest) HTTPRequest ¶
func (request ListSqlTextsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSqlTextsRequest) RetryPolicy ¶
func (request ListSqlTextsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSqlTextsRequest) String ¶
func (request ListSqlTextsRequest) String() string
type ListSqlTextsResponse ¶
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"`
}
ListSqlTextsResponse wrapper for the ListSqlTexts operation
func (ListSqlTextsResponse) HTTPResponse ¶
func (response ListSqlTextsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSqlTextsResponse) String ¶
func (response ListSqlTextsResponse) String() string
type 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"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
type 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"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestLogEntryCollection instances
WorkRequestLogEntryCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct {
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The ID of the asynchronous work request.
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// A filter to return only resources their lifecycleState matches the given OperationStatus.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The ID of the related resource for the resource affected by the work request, e.g. the related Exadata Insight OCID of the Database Insight work request
RelatedResourceId *string `mandatory:"false" contributesTo:"query" name:"relatedResourceId"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
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"`
}
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
type MacsManagedExternalDatabaseConfigurationSummary ¶
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"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// 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"`
}
MacsManagedExternalDatabaseConfigurationSummary Configuration Summary of a Macs Managed External database.
func (MacsManagedExternalDatabaseConfigurationSummary) GetCdbName ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (MacsManagedExternalDatabaseConfigurationSummary) GetCompartmentId ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseName ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseType ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (MacsManagedExternalDatabaseConfigurationSummary) GetDefinedTags ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalDatabaseConfigurationSummary) GetFreeformTags ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalDatabaseConfigurationSummary) GetProcessorCount ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (MacsManagedExternalDatabaseConfigurationSummary) MarshalJSON ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalDatabaseConfigurationSummary) String ¶
func (m MacsManagedExternalDatabaseConfigurationSummary) String() string
type MacsManagedExternalDatabaseInsight ¶
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"`
}
MacsManagedExternalDatabaseInsight Database insight resource.
func (MacsManagedExternalDatabaseInsight) GetCompartmentId ¶
func (m MacsManagedExternalDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalDatabaseInsight) GetDatabaseType ¶
func (m MacsManagedExternalDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (MacsManagedExternalDatabaseInsight) GetDatabaseVersion ¶
func (m MacsManagedExternalDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (MacsManagedExternalDatabaseInsight) GetDefinedTags ¶
func (m MacsManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalDatabaseInsight) GetFreeformTags ¶
func (m MacsManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalDatabaseInsight) GetId ¶
func (m MacsManagedExternalDatabaseInsight) GetId() *string
GetId returns Id
func (MacsManagedExternalDatabaseInsight) GetLifecycleDetails ¶
func (m MacsManagedExternalDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (MacsManagedExternalDatabaseInsight) GetLifecycleState ¶
func (m MacsManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (MacsManagedExternalDatabaseInsight) GetProcessorCount ¶
func (m MacsManagedExternalDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (MacsManagedExternalDatabaseInsight) GetStatus ¶
func (m MacsManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (MacsManagedExternalDatabaseInsight) GetSystemTags ¶
func (m MacsManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (MacsManagedExternalDatabaseInsight) GetTimeCreated ¶
func (m MacsManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (MacsManagedExternalDatabaseInsight) GetTimeUpdated ¶
func (m MacsManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (MacsManagedExternalDatabaseInsight) MarshalJSON ¶
func (m MacsManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalDatabaseInsight) String ¶
func (m MacsManagedExternalDatabaseInsight) String() string
func (*MacsManagedExternalDatabaseInsight) UnmarshalJSON ¶
func (m *MacsManagedExternalDatabaseInsight) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type MacsManagedExternalDatabaseInsightSummary ¶
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"`
}
MacsManagedExternalDatabaseInsightSummary Summary of a database insight resource.
func (MacsManagedExternalDatabaseInsightSummary) GetCompartmentId ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseHostNames ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseId ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseName ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseType ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (MacsManagedExternalDatabaseInsightSummary) GetDatabaseVersion ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (MacsManagedExternalDatabaseInsightSummary) GetDefinedTags ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalDatabaseInsightSummary) GetFreeformTags ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalDatabaseInsightSummary) GetId ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetId() *string
GetId returns Id
func (MacsManagedExternalDatabaseInsightSummary) GetLifecycleDetails ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (MacsManagedExternalDatabaseInsightSummary) GetLifecycleState ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (MacsManagedExternalDatabaseInsightSummary) GetProcessorCount ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (MacsManagedExternalDatabaseInsightSummary) GetStatus ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (MacsManagedExternalDatabaseInsightSummary) GetSystemTags ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (MacsManagedExternalDatabaseInsightSummary) GetTimeCreated ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (MacsManagedExternalDatabaseInsightSummary) GetTimeUpdated ¶
func (m MacsManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (MacsManagedExternalDatabaseInsightSummary) MarshalJSON ¶
func (m MacsManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalDatabaseInsightSummary) String ¶
func (m MacsManagedExternalDatabaseInsightSummary) String() string
type MacsManagedExternalHostConfigurationSummary ¶
type MacsManagedExternalHostConfigurationSummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
HostInsightId *string `mandatory:"true" json:"hostInsightId"`
// 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"`
// Platform version.
PlatformVersion *string `mandatory:"true" json:"platformVersion"`
// Platform vendor.
PlatformVendor *string `mandatory:"true" json:"platformVendor"`
// Total CPU on this host.
TotalCpus *int `mandatory:"true" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
// CPU architechure
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
// Size of cache memory in megabytes.
CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
// Name of the CPU vendor.
CpuVendor *string `mandatory:"true" json:"cpuVendor"`
// Clock frequency of the processor in megahertz.
CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
// Model name of processor.
CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
// Number of cores per socket.
CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
// Number of total sockets.
TotalSockets *int `mandatory:"true" json:"totalSockets"`
// Number of threads per socket.
ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
// 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 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:"false" json:"connectorId"`
// Platform type.
PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
MacsManagedExternalHostConfigurationSummary Configuration Summary of a Macs Managed External host.
func (MacsManagedExternalHostConfigurationSummary) GetCompartmentId ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalHostConfigurationSummary) GetCoresPerSocket ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int
GetCoresPerSocket returns CoresPerSocket
func (MacsManagedExternalHostConfigurationSummary) GetCpuArchitecture ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string
GetCpuArchitecture returns CpuArchitecture
func (MacsManagedExternalHostConfigurationSummary) GetCpuCacheInMBs ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64
GetCpuCacheInMBs returns CpuCacheInMBs
func (MacsManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (MacsManagedExternalHostConfigurationSummary) GetCpuImplementation ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCpuImplementation() *string
GetCpuImplementation returns CpuImplementation
func (MacsManagedExternalHostConfigurationSummary) GetCpuVendor ¶
func (m MacsManagedExternalHostConfigurationSummary) GetCpuVendor() *string
GetCpuVendor returns CpuVendor
func (MacsManagedExternalHostConfigurationSummary) GetDefinedTags ¶
func (m MacsManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalHostConfigurationSummary) GetFreeformTags ¶
func (m MacsManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalHostConfigurationSummary) GetHostInsightId ¶
func (m MacsManagedExternalHostConfigurationSummary) GetHostInsightId() *string
GetHostInsightId returns HostInsightId
func (MacsManagedExternalHostConfigurationSummary) GetHostName ¶
func (m MacsManagedExternalHostConfigurationSummary) GetHostName() *string
GetHostName returns HostName
func (MacsManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled ¶
func (m MacsManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (MacsManagedExternalHostConfigurationSummary) GetPlatformType ¶
func (m MacsManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
GetPlatformType returns PlatformType
func (MacsManagedExternalHostConfigurationSummary) GetPlatformVendor ¶
func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVendor() *string
GetPlatformVendor returns PlatformVendor
func (MacsManagedExternalHostConfigurationSummary) GetPlatformVersion ¶
func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVersion() *string
GetPlatformVersion returns PlatformVersion
func (MacsManagedExternalHostConfigurationSummary) GetThreadsPerSocket ¶
func (m MacsManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int
GetThreadsPerSocket returns ThreadsPerSocket
func (MacsManagedExternalHostConfigurationSummary) GetTotalCpus ¶
func (m MacsManagedExternalHostConfigurationSummary) GetTotalCpus() *int
GetTotalCpus returns TotalCpus
func (MacsManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs ¶
func (m MacsManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64
GetTotalMemoryInGBs returns TotalMemoryInGBs
func (MacsManagedExternalHostConfigurationSummary) GetTotalSockets ¶
func (m MacsManagedExternalHostConfigurationSummary) GetTotalSockets() *int
GetTotalSockets returns TotalSockets
func (MacsManagedExternalHostConfigurationSummary) MarshalJSON ¶
func (m MacsManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalHostConfigurationSummary) String ¶
func (m MacsManagedExternalHostConfigurationSummary) String() string
type MacsManagedExternalHostInsight ¶
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"`
}
MacsManagedExternalHostInsight MACS-managed external host insight resource.
func (MacsManagedExternalHostInsight) GetCompartmentId ¶
func (m MacsManagedExternalHostInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalHostInsight) GetDefinedTags ¶
func (m MacsManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalHostInsight) GetFreeformTags ¶
func (m MacsManagedExternalHostInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalHostInsight) GetHostDisplayName ¶
func (m MacsManagedExternalHostInsight) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (MacsManagedExternalHostInsight) GetHostName ¶
func (m MacsManagedExternalHostInsight) GetHostName() *string
GetHostName returns HostName
func (MacsManagedExternalHostInsight) GetHostType ¶
func (m MacsManagedExternalHostInsight) GetHostType() *string
GetHostType returns HostType
func (MacsManagedExternalHostInsight) GetId ¶
func (m MacsManagedExternalHostInsight) GetId() *string
GetId returns Id
func (MacsManagedExternalHostInsight) GetLifecycleDetails ¶
func (m MacsManagedExternalHostInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (MacsManagedExternalHostInsight) GetLifecycleState ¶
func (m MacsManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (MacsManagedExternalHostInsight) GetProcessorCount ¶
func (m MacsManagedExternalHostInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (MacsManagedExternalHostInsight) GetStatus ¶
func (m MacsManagedExternalHostInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (MacsManagedExternalHostInsight) GetSystemTags ¶
func (m MacsManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (MacsManagedExternalHostInsight) GetTimeCreated ¶
func (m MacsManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (MacsManagedExternalHostInsight) GetTimeUpdated ¶
func (m MacsManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (MacsManagedExternalHostInsight) MarshalJSON ¶
func (m MacsManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalHostInsight) String ¶
func (m MacsManagedExternalHostInsight) String() string
type MacsManagedExternalHostInsightPlatformTypeEnum ¶
type MacsManagedExternalHostInsightPlatformTypeEnum string
MacsManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
const (
MacsManagedExternalHostInsightPlatformTypeLinux MacsManagedExternalHostInsightPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for MacsManagedExternalHostInsightPlatformTypeEnum
func GetMacsManagedExternalHostInsightPlatformTypeEnumValues ¶
func GetMacsManagedExternalHostInsightPlatformTypeEnumValues() []MacsManagedExternalHostInsightPlatformTypeEnum
GetMacsManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightPlatformTypeEnum
type MacsManagedExternalHostInsightSummary ¶
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"`
}
MacsManagedExternalHostInsightSummary Summary of a MACS-managed external host insight resource.
func (MacsManagedExternalHostInsightSummary) GetCompartmentId ¶
func (m MacsManagedExternalHostInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (MacsManagedExternalHostInsightSummary) GetDefinedTags ¶
func (m MacsManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (MacsManagedExternalHostInsightSummary) GetFreeformTags ¶
func (m MacsManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (MacsManagedExternalHostInsightSummary) GetHostDisplayName ¶
func (m MacsManagedExternalHostInsightSummary) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (MacsManagedExternalHostInsightSummary) GetHostName ¶
func (m MacsManagedExternalHostInsightSummary) GetHostName() *string
GetHostName returns HostName
func (MacsManagedExternalHostInsightSummary) GetHostType ¶
func (m MacsManagedExternalHostInsightSummary) GetHostType() *string
GetHostType returns HostType
func (MacsManagedExternalHostInsightSummary) GetId ¶
func (m MacsManagedExternalHostInsightSummary) GetId() *string
GetId returns Id
func (MacsManagedExternalHostInsightSummary) GetLifecycleDetails ¶
func (m MacsManagedExternalHostInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (MacsManagedExternalHostInsightSummary) GetLifecycleState ¶
func (m MacsManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (MacsManagedExternalHostInsightSummary) GetProcessorCount ¶
func (m MacsManagedExternalHostInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (MacsManagedExternalHostInsightSummary) GetStatus ¶
func (m MacsManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (MacsManagedExternalHostInsightSummary) GetSystemTags ¶
func (m MacsManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (MacsManagedExternalHostInsightSummary) GetTimeCreated ¶
func (m MacsManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (MacsManagedExternalHostInsightSummary) GetTimeUpdated ¶
func (m MacsManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (MacsManagedExternalHostInsightSummary) MarshalJSON ¶
func (m MacsManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MacsManagedExternalHostInsightSummary) String ¶
func (m MacsManagedExternalHostInsightSummary) String() string
type MacsManagedExternalHostInsightSummaryPlatformTypeEnum ¶
type MacsManagedExternalHostInsightSummaryPlatformTypeEnum string
MacsManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
const (
MacsManagedExternalHostInsightSummaryPlatformTypeLinux MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues ¶
func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues() []MacsManagedExternalHostInsightSummaryPlatformTypeEnum
GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
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" OperationTypeCreateExadataInsight OperationTypeEnum = "CREATE_EXADATA_INSIGHT" OperationTypeEnableExadataInsight OperationTypeEnum = "ENABLE_EXADATA_INSIGHT" OperationTypeDisableExadataInsight OperationTypeEnum = "DISABLE_EXADATA_INSIGHT" OperationTypeUpdateExadataInsight OperationTypeEnum = "UPDATE_EXADATA_INSIGHT" OperationTypeMoveExadataInsight OperationTypeEnum = "MOVE_EXADATA_INSIGHT" OperationTypeDeleteExadataInsight OperationTypeEnum = "DELETE_EXADATA_INSIGHT" OperationTypeAddExadataInsightMembers OperationTypeEnum = "ADD_EXADATA_INSIGHT_MEMBERS" OperationTypeExadataAutoSync OperationTypeEnum = "EXADATA_AUTO_SYNC" )
Set of constants representing the allowable values for OperationTypeEnum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type OperationsInsightsClient ¶
type OperationsInsightsClient struct {
common.BaseClient
// contains filtered or unexported fields
}
OperationsInsightsClient a client for OperationsInsights
func NewOperationsInsightsClientWithConfigurationProvider ¶
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 ¶
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 (OperationsInsightsClient) AddExadataInsightMembers ¶
func (client OperationsInsightsClient) AddExadataInsightMembers(ctx context.Context, request AddExadataInsightMembersRequest) (response AddExadataInsightMembersResponse, err error)
AddExadataInsightMembers Add new members (e.g. databases and hosts) to an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/AddExadataInsightMembers.go.html to see an example of how to use AddExadataInsightMembers API.
func (OperationsInsightsClient) ChangeDatabaseInsightCompartment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartment API.
func (OperationsInsightsClient) ChangeEnterpriseManagerBridgeCompartment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartment API.
func (OperationsInsightsClient) ChangeExadataInsightCompartment ¶
func (client OperationsInsightsClient) ChangeExadataInsightCompartment(ctx context.Context, request ChangeExadataInsightCompartmentRequest) (response ChangeExadataInsightCompartmentResponse, err error)
ChangeExadataInsightCompartment Moves an Exadata insight resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeExadataInsightCompartment.go.html to see an example of how to use ChangeExadataInsightCompartment API.
func (OperationsInsightsClient) ChangeHostInsightCompartment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartment API.
func (*OperationsInsightsClient) ConfigurationProvider ¶
func (client *OperationsInsightsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (OperationsInsightsClient) CreateDatabaseInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsight API.
func (OperationsInsightsClient) CreateEnterpriseManagerBridge ¶
func (client OperationsInsightsClient) CreateEnterpriseManagerBridge(ctx context.Context, request CreateEnterpriseManagerBridgeRequest) (response CreateEnterpriseManagerBridgeResponse, err error)
CreateEnterpriseManagerBridge Create a Enterprise Manager bridge in Operations Insights.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridge API.
func (OperationsInsightsClient) CreateExadataInsight ¶
func (client OperationsInsightsClient) CreateExadataInsight(ctx context.Context, request CreateExadataInsightRequest) (response CreateExadataInsightResponse, err error)
CreateExadataInsight Create an Exadata insight resource for an Exadata system in Operations Insights. The Exadata system will be enabled in Operations Insights. Exadata-related metric collection and analysis will be started.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateExadataInsight.go.html to see an example of how to use CreateExadataInsight API.
func (OperationsInsightsClient) CreateHostInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsight API.
func (OperationsInsightsClient) DeleteDatabaseInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsight API.
func (OperationsInsightsClient) DeleteEnterpriseManagerBridge ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridge API.
func (OperationsInsightsClient) DeleteExadataInsight ¶
func (client OperationsInsightsClient) DeleteExadataInsight(ctx context.Context, request DeleteExadataInsightRequest) (response DeleteExadataInsightResponse, err error)
DeleteExadataInsight Deletes an Exadata insight. The Exadata insight will be deleted and cannot be enabled again.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteExadataInsight.go.html to see an example of how to use DeleteExadataInsight API.
func (OperationsInsightsClient) DeleteHostInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsight API.
func (OperationsInsightsClient) DisableDatabaseInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsight API.
func (OperationsInsightsClient) DisableExadataInsight ¶
func (client OperationsInsightsClient) DisableExadataInsight(ctx context.Context, request DisableExadataInsightRequest) (response DisableExadataInsightResponse, err error)
DisableExadataInsight Disables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be stopped.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableExadataInsight.go.html to see an example of how to use DisableExadataInsight API.
func (OperationsInsightsClient) DisableHostInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsight API.
func (OperationsInsightsClient) EnableDatabaseInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsight API.
func (OperationsInsightsClient) EnableExadataInsight ¶
func (client OperationsInsightsClient) EnableExadataInsight(ctx context.Context, request EnableExadataInsightRequest) (response EnableExadataInsightResponse, err error)
EnableExadataInsight Enables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableExadataInsight.go.html to see an example of how to use EnableExadataInsight API.
func (OperationsInsightsClient) EnableHostInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsight API.
func (OperationsInsightsClient) GetDatabaseInsight ¶
func (client OperationsInsightsClient) GetDatabaseInsight(ctx context.Context, request GetDatabaseInsightRequest) (response GetDatabaseInsightResponse, err error)
GetDatabaseInsight Gets details of a database insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsight API.
func (OperationsInsightsClient) GetEnterpriseManagerBridge ¶
func (client OperationsInsightsClient) GetEnterpriseManagerBridge(ctx context.Context, request GetEnterpriseManagerBridgeRequest) (response GetEnterpriseManagerBridgeResponse, err error)
GetEnterpriseManagerBridge Gets details of an Operations Insights Enterprise Manager bridge.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridge API.
func (OperationsInsightsClient) GetExadataInsight ¶
func (client OperationsInsightsClient) GetExadataInsight(ctx context.Context, request GetExadataInsightRequest) (response GetExadataInsightResponse, err error)
GetExadataInsight Gets details of an Exadata insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetExadataInsight.go.html to see an example of how to use GetExadataInsight API.
func (OperationsInsightsClient) GetHostInsight ¶
func (client OperationsInsightsClient) GetHostInsight(ctx context.Context, request GetHostInsightRequest) (response GetHostInsightResponse, err error)
GetHostInsight Gets details of a host insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsight API.
func (OperationsInsightsClient) GetWorkRequest ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (OperationsInsightsClient) IngestDatabaseConfiguration ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfiguration API.
func (OperationsInsightsClient) IngestHostConfiguration ¶
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
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfiguration API.
func (OperationsInsightsClient) IngestHostMetrics ¶
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
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetrics API.
func (OperationsInsightsClient) IngestSqlBucket ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucket API.
func (OperationsInsightsClient) IngestSqlPlanLines ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLines API.
func (OperationsInsightsClient) IngestSqlText ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlText API.
func (OperationsInsightsClient) ListDatabaseConfigurations ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurations API.
func (OperationsInsightsClient) ListDatabaseInsights ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsights API.
func (OperationsInsightsClient) ListEnterpriseManagerBridges ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridges API.
func (OperationsInsightsClient) ListExadataConfigurations ¶
func (client OperationsInsightsClient) ListExadataConfigurations(ctx context.Context, request ListExadataConfigurationsRequest) (response ListExadataConfigurationsResponse, err error)
ListExadataConfigurations Gets a list of exadata insight configurations. Either compartmentId or exadataInsightsId query parameter must be specified.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataConfigurations.go.html to see an example of how to use ListExadataConfigurations API.
func (OperationsInsightsClient) ListExadataInsights ¶
func (client OperationsInsightsClient) ListExadataInsights(ctx context.Context, request ListExadataInsightsRequest) (response ListExadataInsightsResponse, err error)
ListExadataInsights Gets a list of Exadata insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataInsights.go.html to see an example of how to use ListExadataInsights API.
func (OperationsInsightsClient) ListHostConfigurations ¶
func (client OperationsInsightsClient) ListHostConfigurations(ctx context.Context, request ListHostConfigurationsRequest) (response ListHostConfigurationsResponse, err error)
ListHostConfigurations Gets a list of host insight configurations based on the query parameters specified. Either compartmentId or hostInsightId query parameter must be specified. When both compartmentId and compartmentIdInSubtree are specified, a list of host insight configurations in that compartment and in all sub-compartments will be returned.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostConfigurations.go.html to see an example of how to use ListHostConfigurations API.
func (OperationsInsightsClient) ListHostInsights ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsights API.
func (OperationsInsightsClient) ListHostedEntities ¶
func (client OperationsInsightsClient) ListHostedEntities(ctx context.Context, request ListHostedEntitiesRequest) (response ListHostedEntitiesResponse, err error)
ListHostedEntities Get a list of hosted entities details.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntities API.
func (OperationsInsightsClient) ListImportableAgentEntities ¶
func (client OperationsInsightsClient) ListImportableAgentEntities(ctx context.Context, request ListImportableAgentEntitiesRequest) (response ListImportableAgentEntitiesResponse, err error)
ListImportableAgentEntities Gets a list of agent entities available to add a new hostInsight. An agent entity is "available" and will be shown if all the following conditions are true:
- The agent OCID is not already being used for an existing hostInsight.
- The agent availabilityStatus = 'ACTIVE'
- The agent lifecycleState = 'ACTIVE'
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableAgentEntities.go.html to see an example of how to use ListImportableAgentEntities API.
func (OperationsInsightsClient) ListImportableEnterpriseManagerEntities ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntities API.
func (OperationsInsightsClient) ListSqlPlans ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlans API.
func (OperationsInsightsClient) ListSqlSearches ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearches API.
func (OperationsInsightsClient) ListSqlTexts ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTexts API.
func (OperationsInsightsClient) ListWorkRequestErrors ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (OperationsInsightsClient) ListWorkRequestLogs ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (OperationsInsightsClient) ListWorkRequests ¶
func (client OperationsInsightsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment. Either compartmentId or id must be specified. Only one of id, resourceId or relatedResourceId can be specified optionally.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (*OperationsInsightsClient) SetRegion ¶
func (client *OperationsInsightsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceCapacityTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrend API.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceForecastTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrend API.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceStatistics ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatistics API.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsage API.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUsageTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrend API.
func (OperationsInsightsClient) SummarizeDatabaseInsightResourceUtilizationInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
func (OperationsInsightsClient) SummarizeDatabaseInsightTablespaceUsageTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrend ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrend(ctx context.Context, request SummarizeExadataInsightResourceCapacityTrendRequest) (response SummarizeExadataInsightResourceCapacityTrendResponse, err error)
SummarizeExadataInsightResourceCapacityTrend Returns response with time series data (endTimestamp, capacity) for the time period specified for an exadata system for a resource metric. Additionally resources can be filtered using databaseInsightId, hostInsightId or storageServerName query parameters. Top five resources are returned if total exceeds the limit specified. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Database name is returned in name field. DatabaseInsightId, cdbName and hostName query parameter applies to ResourceType DATABASE. Valid values for ResourceType HOST are CPU and MEMORY. HostName is returned in name field. HostInsightId and hostName query parameter applies to ResourceType HOST. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT. Storage server name is returned in name field for resourceMetric IOPS and THROUGHPUT and asmName is returned in name field for resourceMetric STORAGE. StorageServerName query parameter applies to ResourceType STORAGE_SERVER. Valid values for ResourceType DISKGROUP is STORAGE. Comma delimited (asmName,diskgroupName) is returned in name field.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrend API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrendAggregated ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceCapacityTrendAggregated(ctx context.Context, request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) (response SummarizeExadataInsightResourceCapacityTrendAggregatedResponse, err error)
SummarizeExadataInsightResourceCapacityTrendAggregated Returns response with time series data (endTimestamp, capacity) for the time period specified for an exadata system or fleet aggregation for a resource metric. The maximum time range for analysis is 2 years, hence this is intentionally not paginated. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrend ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrend(ctx context.Context, request SummarizeExadataInsightResourceForecastTrendRequest) (response SummarizeExadataInsightResourceForecastTrendResponse, err error)
SummarizeExadataInsightResourceForecastTrend Get historical usage and forecast predictions for an exadata system with breakdown by databases, hosts or storage servers. Additionally resources can be filtered using databaseInsightId, hostInsightId or storageServerName query parameters. Top five resources are returned if total exceeds the limit specified. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Database name is returned in name field. DatabaseInsightId , cdbName and hostName query parameter applies to ResourceType DATABASE. Valid values for ResourceType HOST are CPU and MEMORY. HostName s returned in name field. HostInsightId and hostName query parameter applies to ResourceType HOST. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT. Storage server name is returned in name field for resourceMetric IOPS and THROUGHPUT and asmName is returned in name field for resourceMetric STORAGE. StorageServerName query parameter applies to ResourceType STORAGE_SERVER. Valid value for ResourceType DISKGROUP is STORAGE. Comma delimited (asmName,diskgroupName) is returned in name field.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrend.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrend API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrendAggregated ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceForecastTrendAggregated(ctx context.Context, request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) (response SummarizeExadataInsightResourceForecastTrendAggregatedResponse, err error)
SummarizeExadataInsightResourceForecastTrendAggregated Get aggregated historical usage and forecast predictions for resources. Either compartmentId or exadataInsightsId query parameter must be specified. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceStatistics ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceStatistics(ctx context.Context, request SummarizeExadataInsightResourceStatisticsRequest) (response SummarizeExadataInsightResourceStatisticsResponse, err error)
SummarizeExadataInsightResourceStatistics Lists the Resource statistics (usage, capacity, usage change percent, utilization percent) for each resource based on resourceMetric filtered by utilization level. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS, THROUGHPUT. Valid value for ResourceType DISKGROUP is STORAGE.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceStatistics.go.html to see an example of how to use SummarizeExadataInsightResourceStatistics API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceUsage ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceUsage(ctx context.Context, request SummarizeExadataInsightResourceUsageRequest) (response SummarizeExadataInsightResourceUsageResponse, err error)
SummarizeExadataInsightResourceUsage A cumulative distribution function is used to rank the usage data points per resource within the specified time period. For each resource, 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. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsage.go.html to see an example of how to use SummarizeExadataInsightResourceUsage API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceUsageAggregated ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceUsageAggregated(ctx context.Context, request SummarizeExadataInsightResourceUsageAggregatedRequest) (response SummarizeExadataInsightResourceUsageAggregatedResponse, err error)
SummarizeExadataInsightResourceUsageAggregated 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. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsageAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceUsageAggregated API.
func (OperationsInsightsClient) SummarizeExadataInsightResourceUtilizationInsight ¶
func (client OperationsInsightsClient) SummarizeExadataInsightResourceUtilizationInsight(ctx context.Context, request SummarizeExadataInsightResourceUtilizationInsightRequest) (response SummarizeExadataInsightResourceUtilizationInsightResponse, err error)
SummarizeExadataInsightResourceUtilizationInsight Gets current utilization, projected utilization and days to reach projectedUtilization for an exadata system over specified time period. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeExadataInsightResourceUtilizationInsight API.
func (OperationsInsightsClient) SummarizeExadataMembers ¶
func (client OperationsInsightsClient) SummarizeExadataMembers(ctx context.Context, request SummarizeExadataMembersRequest) (response SummarizeExadataMembersResponse, err error)
SummarizeExadataMembers Lists the software and hardware inventory of the Exadata System.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataMembers.go.html to see an example of how to use SummarizeExadataMembers API.
func (OperationsInsightsClient) SummarizeHostInsightResourceCapacityTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeHostInsightResourceCapacityTrend API.
func (OperationsInsightsClient) SummarizeHostInsightResourceForecastTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceForecastTrend.go.html to see an example of how to use SummarizeHostInsightResourceForecastTrend API.
func (OperationsInsightsClient) SummarizeHostInsightResourceStatistics ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceStatistics.go.html to see an example of how to use SummarizeHostInsightResourceStatistics API.
func (OperationsInsightsClient) SummarizeHostInsightResourceUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsage.go.html to see an example of how to use SummarizeHostInsightResourceUsage API.
func (OperationsInsightsClient) SummarizeHostInsightResourceUsageTrend ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsageTrend.go.html to see an example of how to use SummarizeHostInsightResourceUsageTrend API.
func (OperationsInsightsClient) SummarizeHostInsightResourceUtilizationInsight ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeHostInsightResourceUtilizationInsight API.
func (OperationsInsightsClient) SummarizeSqlInsights ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsights API.
func (OperationsInsightsClient) SummarizeSqlPlanInsights ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsights API.
func (OperationsInsightsClient) SummarizeSqlResponseTimeDistributions ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributions API.
func (OperationsInsightsClient) SummarizeSqlStatistics ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatistics API.
func (OperationsInsightsClient) SummarizeSqlStatisticsTimeSeries ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeries API.
func (OperationsInsightsClient) SummarizeSqlStatisticsTimeSeriesByPlan ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
func (OperationsInsightsClient) UpdateDatabaseInsight ¶
func (client OperationsInsightsClient) UpdateDatabaseInsight(ctx context.Context, request UpdateDatabaseInsightRequest) (response UpdateDatabaseInsightResponse, err error)
UpdateDatabaseInsight Updates configuration of a database insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateDatabaseInsight.go.html to see an example of how to use UpdateDatabaseInsight API.
func (OperationsInsightsClient) UpdateEnterpriseManagerBridge ¶
func (client OperationsInsightsClient) UpdateEnterpriseManagerBridge(ctx context.Context, request UpdateEnterpriseManagerBridgeRequest) (response UpdateEnterpriseManagerBridgeResponse, err error)
UpdateEnterpriseManagerBridge Updates configuration of an Operations Insights Enterprise Manager bridge.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateEnterpriseManagerBridge.go.html to see an example of how to use UpdateEnterpriseManagerBridge API.
func (OperationsInsightsClient) UpdateExadataInsight ¶
func (client OperationsInsightsClient) UpdateExadataInsight(ctx context.Context, request UpdateExadataInsightRequest) (response UpdateExadataInsightResponse, err error)
UpdateExadataInsight Updates configuration of an Exadata insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateExadataInsight.go.html to see an example of how to use UpdateExadataInsight API.
func (OperationsInsightsClient) UpdateHostInsight ¶
func (client OperationsInsightsClient) UpdateHostInsight(ctx context.Context, request UpdateHostInsightRequest) (response UpdateHostInsightResponse, err error)
UpdateHostInsight Updates configuration of a host insight.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateHostInsight.go.html to see an example of how to use UpdateHostInsight API.
type ProjectedDataItem ¶
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"`
}
ProjectedDataItem The timestamp of the projected event and their corresponding resource value. `highValue` and `lowValue` are the uncertainty bounds of the corresponding value.
func (ProjectedDataItem) String ¶
func (m ProjectedDataItem) String() string
type ResourceCapacityTrendAggregation ¶
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"`
}
ResourceCapacityTrendAggregation Resource Capacity samples
func (ResourceCapacityTrendAggregation) String ¶
func (m ResourceCapacityTrendAggregation) String() string
type ResourceInsightCurrentUtilization ¶
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"`
}
ResourceInsightCurrentUtilization Current utilization(High/low) for cpu or storage
func (ResourceInsightCurrentUtilization) String ¶
func (m ResourceInsightCurrentUtilization) String() string
type ResourceInsightProjectedUtilization ¶
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"`
}
ResourceInsightProjectedUtilization Projected utilization(High/low) for cpu or storage
func (ResourceInsightProjectedUtilization) String ¶
func (m ResourceInsightProjectedUtilization) String() string
type ResourceInsightProjectedUtilizationItem ¶
type ResourceInsightProjectedUtilizationItem struct {
// Db id
Id *string `mandatory:"true" json:"id"`
// Days to reach projected utilization
DaysToReach *int `mandatory:"true" json:"daysToReach"`
}
ResourceInsightProjectedUtilizationItem Projected utilization object containing dbid and daysToReach value
func (ResourceInsightProjectedUtilizationItem) String ¶
func (m ResourceInsightProjectedUtilizationItem) String() string
type ResourceStatistics ¶
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"`
// Array of instance metrics
InstanceMetrics []InstanceMetrics `mandatory:"false" json:"instanceMetrics"`
}
ResourceStatistics Contains resource statistics with usage unit
func (ResourceStatistics) String ¶
func (m ResourceStatistics) String() string
type ResourceStatisticsAggregation ¶
type ResourceStatisticsAggregation struct {
DatabaseDetails *DatabaseDetails `mandatory:"false" json:"databaseDetails"`
CurrentStatistics *ResourceStatistics `mandatory:"false" json:"currentStatistics"`
}
ResourceStatisticsAggregation Contains database details and resource statistics
func (ResourceStatisticsAggregation) String ¶
func (m ResourceStatisticsAggregation) String() string
type ResourceStatusEnum ¶
type ResourceStatusEnum string
ResourceStatusEnum Enum with underlying type: string
const ( ResourceStatusDisabled ResourceStatusEnum = "DISABLED" ResourceStatusEnabled ResourceStatusEnum = "ENABLED" ResourceStatusTerminated ResourceStatusEnum = "TERMINATED" )
Set of constants representing the allowable values for ResourceStatusEnum
func GetResourceStatusEnumValues ¶
func GetResourceStatusEnumValues() []ResourceStatusEnum
GetResourceStatusEnumValues Enumerates the set of values for ResourceStatusEnum
type ResourceUsageSummary ¶
type ResourceUsageSummary struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// 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"`
}
ResourceUsageSummary Contains resource usage summary
func (ResourceUsageSummary) String ¶
func (m ResourceUsageSummary) String() string
type ResourceUsageTrendAggregation ¶
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"`
}
ResourceUsageTrendAggregation Aggregate usage samples
func (ResourceUsageTrendAggregation) String ¶
func (m ResourceUsageTrendAggregation) String() string
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type SqlBucket ¶
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"`
}
SqlBucket Sql bucket type object.
type SqlInsightAggregation ¶
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"`
}
SqlInsightAggregation Represents a SQL Insight.
func (SqlInsightAggregation) String ¶
func (m SqlInsightAggregation) String() string
type SqlInsightAggregationCollection ¶
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"`
}
SqlInsightAggregationCollection SQL Insights response.
func (SqlInsightAggregationCollection) String ¶
func (m SqlInsightAggregationCollection) String() string
type SqlInsightThresholds ¶
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"`
}
SqlInsightThresholds Inventory details.
func (SqlInsightThresholds) String ¶
func (m SqlInsightThresholds) String() string
type SqlInventory ¶
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"`
}
SqlInventory Inventory details.
func (SqlInventory) String ¶
func (m SqlInventory) String() string
type SqlPlanCollection ¶
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"`
}
SqlPlanCollection SQL Plans for the particular SQL.
func (SqlPlanCollection) String ¶
func (m SqlPlanCollection) String() string
type SqlPlanInsightAggregation ¶
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"`
}
SqlPlanInsightAggregation SQL execution plan Performance statistics.
func (SqlPlanInsightAggregation) String ¶
func (m SqlPlanInsightAggregation) String() string
type SqlPlanInsightAggregationCollection ¶
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"`
}
SqlPlanInsightAggregationCollection SQL plan insights response.
func (SqlPlanInsightAggregationCollection) String ¶
func (m SqlPlanInsightAggregationCollection) String() string
type SqlPlanInsights ¶
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"`
}
SqlPlanInsights Represents collection of SQL Plan Insights.
func (SqlPlanInsights) String ¶
func (m SqlPlanInsights) String() string
type SqlPlanLine ¶
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"`
}
SqlPlanLine SQL Plan Line type object.
func (SqlPlanLine) String ¶
func (m SqlPlanLine) String() string
type SqlPlanSummary ¶
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"`
}
SqlPlanSummary SQL Plan details
func (SqlPlanSummary) String ¶
func (m SqlPlanSummary) String() string
type SqlResponseTimeDistributionAggregation ¶
type SqlResponseTimeDistributionAggregation struct {
// Response time bucket id
BucketId *string `mandatory:"true" json:"bucketId"`
// Total number of SQL executions
ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
}
SqlResponseTimeDistributionAggregation SQL Response time distribution entry.
func (SqlResponseTimeDistributionAggregation) String ¶
func (m SqlResponseTimeDistributionAggregation) String() string
type SqlResponseTimeDistributionAggregationCollection ¶
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"`
}
SqlResponseTimeDistributionAggregationCollection SQL response time distribution over the selected time window.
func (SqlResponseTimeDistributionAggregationCollection) String ¶
func (m SqlResponseTimeDistributionAggregationCollection) String() string
type SqlSearchCollection ¶
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"`
}
SqlSearchCollection Search SQL response.
func (SqlSearchCollection) String ¶
func (m SqlSearchCollection) String() string
type SqlSearchSummary ¶
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"`
}
SqlSearchSummary Database summary object resulting from a sql search operation.
func (SqlSearchSummary) String ¶
func (m SqlSearchSummary) String() string
type SqlStatisticAggregation ¶
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"`
}
SqlStatisticAggregation SQL Statistics
func (SqlStatisticAggregation) String ¶
func (m SqlStatisticAggregation) String() string
type SqlStatisticAggregationCollection ¶
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"`
}
SqlStatisticAggregationCollection SQL statistics response.
func (SqlStatisticAggregationCollection) String ¶
func (m SqlStatisticAggregationCollection) String() string
type SqlStatistics ¶
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"`
}
SqlStatistics Performance statistics for the SQL.
func (SqlStatistics) String ¶
func (m SqlStatistics) String() string
type SqlStatisticsTimeSeries ¶
type SqlStatisticsTimeSeries struct {
// SQL performance statistic name
Name *string `mandatory:"true" json:"name"`
// SQL performance statistic value
Values []float64 `mandatory:"true" json:"values"`
}
SqlStatisticsTimeSeries SQL performance statistics per database
func (SqlStatisticsTimeSeries) String ¶
func (m SqlStatisticsTimeSeries) String() string
type SqlStatisticsTimeSeriesAggregation ¶
type SqlStatisticsTimeSeriesAggregation struct {
DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`
// SQL performance statistics for a given database
Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"`
}
SqlStatisticsTimeSeriesAggregation Database details and SQL performance statistics for a given database
func (SqlStatisticsTimeSeriesAggregation) String ¶
func (m SqlStatisticsTimeSeriesAggregation) String() string
type SqlStatisticsTimeSeriesAggregationCollection ¶
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"`
}
SqlStatisticsTimeSeriesAggregationCollection SQL performance statistics over the selected time window.
func (SqlStatisticsTimeSeriesAggregationCollection) String ¶
func (m SqlStatisticsTimeSeriesAggregationCollection) String() string
type SqlStatisticsTimeSeriesByPlanAggregation ¶
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"`
}
SqlStatisticsTimeSeriesByPlanAggregation SQL performance statistics for a given plan
func (SqlStatisticsTimeSeriesByPlanAggregation) String ¶
func (m SqlStatisticsTimeSeriesByPlanAggregation) String() string
type SqlStatisticsTimeSeriesByPlanAggregationCollection ¶
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"`
}
SqlStatisticsTimeSeriesByPlanAggregationCollection SQL performance statistics by plan over the selected time window.
func (SqlStatisticsTimeSeriesByPlanAggregationCollection) String ¶
func (m SqlStatisticsTimeSeriesByPlanAggregationCollection) String() string
type SqlText ¶
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"`
}
SqlText SQL Text type object.
type SqlTextCollection ¶
type SqlTextCollection struct {
// array of SQL Texts.
Items []SqlTextSummary `mandatory:"true" json:"items"`
}
SqlTextCollection SQL Text for the particular SQL.
func (SqlTextCollection) String ¶
func (m SqlTextCollection) String() string
type SqlTextSummary ¶
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"`
}
SqlTextSummary SQL Text details
func (SqlTextSummary) String ¶
func (m SqlTextSummary) String() string
type StorageServerDetails ¶
type StorageServerDetails struct {
// The storage server name.
StorageServerName *string `mandatory:"true" json:"storageServerName"`
// The user-friendly name for the storage server. The name does not have to be unique.
StorageServerDisplayName *string `mandatory:"true" json:"storageServerDisplayName"`
}
StorageServerDetails Partial information about a storage server which includes name and displayName.
func (StorageServerDetails) String ¶
func (m StorageServerDetails) String() string
type StorageServerEnum ¶
type StorageServerEnum string
StorageServerEnum Enum with underlying type: string
const ( StorageServerStorage StorageServerEnum = "STORAGE" StorageServerIops StorageServerEnum = "IOPS" StorageServerThroughput StorageServerEnum = "THROUGHPUT" )
Set of constants representing the allowable values for StorageServerEnum
func GetStorageServerEnumValues ¶
func GetStorageServerEnumValues() []StorageServerEnum
GetStorageServerEnumValues Enumerates the set of values for StorageServerEnum
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection ¶
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"`
}
SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection Collection of resource capacity trend.
func (SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String ¶
func (m SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) String() string
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum string
SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeDatabaseInsightResourceCapacityTrendRequest wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrendRequest.
func (SummarizeDatabaseInsightResourceCapacityTrendRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceCapacityTrendRequest) String ¶
func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string
type SummarizeDatabaseInsightResourceCapacityTrendResponse ¶
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"`
}
SummarizeDatabaseInsightResourceCapacityTrendResponse wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
func (SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceCapacityTrendResponse) String ¶
func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) String() string
type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum ¶
type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum string
SummarizeDatabaseInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "endTimestamp" SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "capacity" SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "baseCapacity" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues ¶
func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum ¶
type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum string
SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues ¶
func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum ¶
type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum string
SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues ¶
func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
type SummarizeDatabaseInsightResourceForecastTrendAggregation ¶
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"`
}
SummarizeDatabaseInsightResourceForecastTrendAggregation Forecast results from the selected time period.
func (SummarizeDatabaseInsightResourceForecastTrendAggregation) String ¶
func (m SummarizeDatabaseInsightResourceForecastTrendAggregation) String() string
type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum string
SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum string
SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricCpu SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricStorage SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricIo SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemory SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum string
SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum string
SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "LINEAR" SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_AUTO" SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeDatabaseInsightResourceForecastTrendRequest wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrendRequest.
func (SummarizeDatabaseInsightResourceForecastTrendRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceForecastTrendRequest) String ¶
func (request SummarizeDatabaseInsightResourceForecastTrendRequest) String() string
type SummarizeDatabaseInsightResourceForecastTrendResponse ¶
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"`
}
SummarizeDatabaseInsightResourceForecastTrendResponse wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
func (SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceForecastTrendResponse) String ¶
func (response SummarizeDatabaseInsightResourceForecastTrendResponse) String() string
type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum string
SummarizeDatabaseInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceForecastTrendStatisticAvg SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "AVG" SummarizeDatabaseInsightResourceForecastTrendStatisticMax SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "MAX" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues() []SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum ¶
type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum string
SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues ¶
func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
type SummarizeDatabaseInsightResourceStatisticsAggregationCollection ¶
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"`
}
SummarizeDatabaseInsightResourceStatisticsAggregationCollection Returns list of the Databases with resource statistics like usage,capacity,utilization and usage change percent.
func (SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String ¶
func (m SummarizeDatabaseInsightResourceStatisticsAggregationCollection) String() string
type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum string
SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeDatabaseInsightResourceStatisticsRequest wrapper for the SummarizeDatabaseInsightResourceStatistics operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatisticsRequest.
func (SummarizeDatabaseInsightResourceStatisticsRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceStatisticsRequest) String ¶
func (request SummarizeDatabaseInsightResourceStatisticsRequest) String() string
type SummarizeDatabaseInsightResourceStatisticsResponse ¶
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"`
}
SummarizeDatabaseInsightResourceStatisticsResponse wrapper for the SummarizeDatabaseInsightResourceStatistics operation
func (SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceStatisticsResponse) String ¶
func (response SummarizeDatabaseInsightResourceStatisticsResponse) String() string
type SummarizeDatabaseInsightResourceStatisticsSortByEnum ¶
type SummarizeDatabaseInsightResourceStatisticsSortByEnum string
SummarizeDatabaseInsightResourceStatisticsSortByEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "utilizationPercent" SummarizeDatabaseInsightResourceStatisticsSortByUsage SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usage" SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usageChangePercent" SummarizeDatabaseInsightResourceStatisticsSortByDatabasename SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseName" SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseType" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues ¶
func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortByEnum
GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum ¶
type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum string
SummarizeDatabaseInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceStatisticsSortOrderAsc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceStatisticsSortOrderDesc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues ¶
func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
type SummarizeDatabaseInsightResourceUsageAggregation ¶
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"`
}
SummarizeDatabaseInsightResourceUsageAggregation Resource usage summation for the current time period
func (SummarizeDatabaseInsightResourceUsageAggregation) String ¶
func (m SummarizeDatabaseInsightResourceUsageAggregation) String() string
type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum string
SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricIo SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum string
SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeDatabaseInsightResourceUsageRequest wrapper for the SummarizeDatabaseInsightResourceUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageRequest.
func (SummarizeDatabaseInsightResourceUsageRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceUsageRequest) String ¶
func (request SummarizeDatabaseInsightResourceUsageRequest) String() string
type SummarizeDatabaseInsightResourceUsageResponse ¶
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"`
}
SummarizeDatabaseInsightResourceUsageResponse wrapper for the SummarizeDatabaseInsightResourceUsage operation
func (SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceUsageResponse) String ¶
func (response SummarizeDatabaseInsightResourceUsageResponse) String() string
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection ¶
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"`
}
SummarizeDatabaseInsightResourceUsageTrendAggregationCollection Top level response object.
func (SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String ¶
func (m SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) String() string
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum string
SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeDatabaseInsightResourceUsageTrendRequest wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrendRequest.
func (SummarizeDatabaseInsightResourceUsageTrendRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceUsageTrendRequest) String ¶
func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string
type SummarizeDatabaseInsightResourceUsageTrendResponse ¶
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"`
}
SummarizeDatabaseInsightResourceUsageTrendResponse wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
func (SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceUsageTrendResponse) String ¶
func (response SummarizeDatabaseInsightResourceUsageTrendResponse) String() string
type SummarizeDatabaseInsightResourceUsageTrendSortByEnum ¶
type SummarizeDatabaseInsightResourceUsageTrendSortByEnum string
SummarizeDatabaseInsightResourceUsageTrendSortByEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "endTimestamp" SummarizeDatabaseInsightResourceUsageTrendSortByUsage SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "usage" SummarizeDatabaseInsightResourceUsageTrendSortByCapacity SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "capacity" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortByEnum
GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum ¶
type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum string
SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "ASC" SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues ¶
func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
type SummarizeDatabaseInsightResourceUtilizationInsightAggregation ¶
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"`
}
SummarizeDatabaseInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for storage or CPU.
func (SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String ¶
func (m SummarizeDatabaseInsightResourceUtilizationInsightAggregation) String() string
type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum ¶
type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum string
SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "STORAGE" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricIo SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "IO" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_PGA" SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_SGA" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues ¶
func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum ¶
type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum string
SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues ¶
func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeDatabaseInsightResourceUtilizationInsightRequest wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsightRequest.
func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightResourceUtilizationInsightRequest) String ¶
func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string
type SummarizeDatabaseInsightResourceUtilizationInsightResponse ¶
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"`
}
SummarizeDatabaseInsightResourceUtilizationInsightResponse wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
func (SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightResourceUtilizationInsightResponse) String ¶
func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) String() string
type SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection ¶
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"`
}
SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection Top level response object.
func (SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection) String ¶
func (m SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection) String() string
type 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
}
SummarizeDatabaseInsightTablespaceUsageTrendRequest wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightTablespaceUsageTrendRequest.
func (SummarizeDatabaseInsightTablespaceUsageTrendRequest) BinaryRequestBody ¶
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeDatabaseInsightTablespaceUsageTrendRequest) HTTPRequest ¶
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeDatabaseInsightTablespaceUsageTrendRequest) RetryPolicy ¶
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeDatabaseInsightTablespaceUsageTrendRequest) String ¶
func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) String() string
type SummarizeDatabaseInsightTablespaceUsageTrendResponse ¶
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"`
}
SummarizeDatabaseInsightTablespaceUsageTrendResponse wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
func (SummarizeDatabaseInsightTablespaceUsageTrendResponse) HTTPResponse ¶
func (response SummarizeDatabaseInsightTablespaceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeDatabaseInsightTablespaceUsageTrendResponse) String ¶
func (response SummarizeDatabaseInsightTablespaceUsageTrendResponse) String() string
type SummarizeExadataInsightResourceCapacityTrendAggregatedRequest ¶
type SummarizeExadataInsightResourceCapacityTrendAggregatedRequest struct {
// Filter by resource.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" 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 list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" 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 SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Sorts using end timestamp or capacity.
SortBy SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// 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"`
// 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
}
SummarizeExadataInsightResourceCapacityTrendAggregatedRequest wrapper for the SummarizeExadataInsightResourceCapacityTrendAggregated operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrendAggregatedRequest.
func (SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) String ¶
func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) String() string
type SummarizeExadataInsightResourceCapacityTrendAggregatedResponse ¶
type SummarizeExadataInsightResourceCapacityTrendAggregatedResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceCapacityTrendAggregation instances
SummarizeExadataInsightResourceCapacityTrendAggregation `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"`
}
SummarizeExadataInsightResourceCapacityTrendAggregatedResponse wrapper for the SummarizeExadataInsightResourceCapacityTrendAggregated operation
func (SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) String ¶
func (response SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) String() string
type SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum ¶
type SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum string
SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEndtimestamp SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum = "endTimestamp" SummarizeExadataInsightResourceCapacityTrendAggregatedSortByCapacity SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum = "capacity" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
type SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum ¶
type SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum string
SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderAsc SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum = "ASC" SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderDesc SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
type SummarizeExadataInsightResourceCapacityTrendAggregation ¶
type SummarizeExadataInsightResourceCapacityTrendAggregation 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 exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// 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 []ExadataInsightResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
}
SummarizeExadataInsightResourceCapacityTrendAggregation Collection of resource capacity trend.
func (SummarizeExadataInsightResourceCapacityTrendAggregation) String ¶
func (m SummarizeExadataInsightResourceCapacityTrendAggregation) String() string
type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum string
SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIo SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIops SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum string
SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeHost SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
type SummarizeExadataInsightResourceCapacityTrendCollection ¶
type SummarizeExadataInsightResourceCapacityTrendCollection struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// Defines the type of exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// 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"`
// Capacity Data with time interval
Items []ExadataInsightResourceCapacityTrendSummary `mandatory:"true" json:"items"`
}
SummarizeExadataInsightResourceCapacityTrendCollection capacity results with breakdown by databases, hosts, storage servers or diskgroup.
func (SummarizeExadataInsightResourceCapacityTrendCollection) String ¶
func (m SummarizeExadataInsightResourceCapacityTrendCollection) String() string
type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum string
SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIo SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIops SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum string
SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeHost SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
type SummarizeExadataInsightResourceCapacityTrendRequest ¶
type SummarizeExadataInsightResourceCapacityTrendRequest struct {
// Filter by resource.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" 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 list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
DatabaseInsightId []string `contributesTo:"query" name:"databaseInsightId" collectionFormat:"multi"`
// Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
HostInsightId []string `contributesTo:"query" name:"hostInsightId" collectionFormat:"multi"`
// Optional storage server name on an exadata system.
StorageServerName []string `contributesTo:"query" name:"storageServerName" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" 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"`
// 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"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder SummarizeExadataInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The order in which resource capacity trend records are listed
SortBy SummarizeExadataInsightResourceCapacityTrendSortByEnum `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
}
SummarizeExadataInsightResourceCapacityTrendRequest wrapper for the SummarizeExadataInsightResourceCapacityTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrendRequest.
func (SummarizeExadataInsightResourceCapacityTrendRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceCapacityTrendRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceCapacityTrendRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceCapacityTrendRequest) String ¶
func (request SummarizeExadataInsightResourceCapacityTrendRequest) String() string
type SummarizeExadataInsightResourceCapacityTrendResponse ¶
type SummarizeExadataInsightResourceCapacityTrendResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceCapacityTrendCollection instances
SummarizeExadataInsightResourceCapacityTrendCollection `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"`
}
SummarizeExadataInsightResourceCapacityTrendResponse wrapper for the SummarizeExadataInsightResourceCapacityTrend operation
func (SummarizeExadataInsightResourceCapacityTrendResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceCapacityTrendResponse) String ¶
func (response SummarizeExadataInsightResourceCapacityTrendResponse) String() string
type SummarizeExadataInsightResourceCapacityTrendSortByEnum ¶
type SummarizeExadataInsightResourceCapacityTrendSortByEnum string
SummarizeExadataInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendSortById SummarizeExadataInsightResourceCapacityTrendSortByEnum = "id" SummarizeExadataInsightResourceCapacityTrendSortByName SummarizeExadataInsightResourceCapacityTrendSortByEnum = "name" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendSortByEnum
func GetSummarizeExadataInsightResourceCapacityTrendSortByEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendSortByEnumValues() []SummarizeExadataInsightResourceCapacityTrendSortByEnum
GetSummarizeExadataInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendSortByEnum
type SummarizeExadataInsightResourceCapacityTrendSortOrderEnum ¶
type SummarizeExadataInsightResourceCapacityTrendSortOrderEnum string
SummarizeExadataInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceCapacityTrendSortOrderAsc SummarizeExadataInsightResourceCapacityTrendSortOrderEnum = "ASC" SummarizeExadataInsightResourceCapacityTrendSortOrderDesc SummarizeExadataInsightResourceCapacityTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumValues ¶
func GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
type SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum ¶
type SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum string
SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelLinear SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "LINEAR" SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlAuto SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "ML_AUTO" SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlNoAuto SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "ML_NO_AUTO" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
type SummarizeExadataInsightResourceForecastTrendAggregatedRequest ¶
type SummarizeExadataInsightResourceForecastTrendAggregatedRequest struct {
// Filter by resource.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" 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 list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Choose the type of statistic metric data to be used for forecasting.
Statistic SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
// Number of days used for utilization forecast analysis.
ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
// 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 SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
// 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"`
// 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"`
// 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
}
SummarizeExadataInsightResourceForecastTrendAggregatedRequest wrapper for the SummarizeExadataInsightResourceForecastTrendAggregated operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrendAggregatedRequest.
func (SummarizeExadataInsightResourceForecastTrendAggregatedRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceForecastTrendAggregatedRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceForecastTrendAggregatedRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceForecastTrendAggregatedRequest) String ¶
func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) String() string
type SummarizeExadataInsightResourceForecastTrendAggregatedResponse ¶
type SummarizeExadataInsightResourceForecastTrendAggregatedResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceForecastTrendAggregation instances
SummarizeExadataInsightResourceForecastTrendAggregation `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"`
}
SummarizeExadataInsightResourceForecastTrendAggregatedResponse wrapper for the SummarizeExadataInsightResourceForecastTrendAggregated operation
func (SummarizeExadataInsightResourceForecastTrendAggregatedResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceForecastTrendAggregatedResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceForecastTrendAggregatedResponse) String ¶
func (response SummarizeExadataInsightResourceForecastTrendAggregatedResponse) String() string
type SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum ¶
type SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum string
SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendAggregatedStatisticAvg SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum = "AVG" SummarizeExadataInsightResourceForecastTrendAggregatedStatisticMax SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum = "MAX" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
type SummarizeExadataInsightResourceForecastTrendAggregation ¶
type SummarizeExadataInsightResourceForecastTrendAggregation 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 exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// Displays usage unit ( CORES, GB)
UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`
// Time series patterns used in the forecasting.
Pattern SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum `mandatory:"true" json:"pattern"`
// Days to reach capacity for a storage server
DaysToReachCapacity *int `mandatory:"true" json:"daysToReachCapacity"`
// 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"`
}
SummarizeExadataInsightResourceForecastTrendAggregation Usage and Forecast results from the selected time period.
func (SummarizeExadataInsightResourceForecastTrendAggregation) String ¶
func (m SummarizeExadataInsightResourceForecastTrendAggregation) String() string
type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum string
SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricIo SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricIops SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum
GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum
type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum string
SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeHost SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum
GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum
type SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum ¶
type SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum string
SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendAggregationPatternLinear SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "LINEAR" SummarizeExadataInsightResourceForecastTrendAggregationPatternMonthlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternMonthlyAndYearlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "MONTHLY_AND_YEARLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternWeeklySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternWeeklyAndMonthlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternWeeklyMonthlyAndYearlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternWeeklyAndYearlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "WEEKLY_AND_YEARLY_SEASONS" SummarizeExadataInsightResourceForecastTrendAggregationPatternYearlySeasons SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum = "YEARLY_SEASONS" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationPatternEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum
GetSummarizeExadataInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum
type SummarizeExadataInsightResourceForecastTrendCollection ¶
type SummarizeExadataInsightResourceForecastTrendCollection struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// Defines the type of exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// 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"`
// Collection of id, name , daysToReach Capacity, historical usage and projected usage forecast.
Items []ExadataInsightResourceForecastTrendSummary `mandatory:"true" json:"items"`
}
SummarizeExadataInsightResourceForecastTrendCollection Usage and Forecast results with breakdown by databases, hosts or storage servers.
func (SummarizeExadataInsightResourceForecastTrendCollection) String ¶
func (m SummarizeExadataInsightResourceForecastTrendCollection) String() string
type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum string
SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIo SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIops SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum string
SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeHost SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
type SummarizeExadataInsightResourceForecastTrendForecastModelEnum ¶
type SummarizeExadataInsightResourceForecastTrendForecastModelEnum string
SummarizeExadataInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendForecastModelLinear SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "LINEAR" SummarizeExadataInsightResourceForecastTrendForecastModelMlAuto SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "ML_AUTO" SummarizeExadataInsightResourceForecastTrendForecastModelMlNoAuto SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
func GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumValues() []SummarizeExadataInsightResourceForecastTrendForecastModelEnum
GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
type SummarizeExadataInsightResourceForecastTrendRequest ¶
type SummarizeExadataInsightResourceForecastTrendRequest struct {
// Filter by resource.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
// 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 list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
DatabaseInsightId []string `contributesTo:"query" name:"databaseInsightId" collectionFormat:"multi"`
// Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
HostInsightId []string `contributesTo:"query" name:"hostInsightId" collectionFormat:"multi"`
// Optional storage server name on an exadata system.
StorageServerName []string `contributesTo:"query" name:"storageServerName" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Choose the type of statistic metric data to be used for forecasting.
Statistic SummarizeExadataInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
// Number of days used for utilization forecast analysis.
ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
// 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 SummarizeExadataInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" 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"`
// 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"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder SummarizeExadataInsightResourceForecastTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The order in which resource Forecast trend records are listed
SortBy SummarizeExadataInsightResourceForecastTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
// 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
}
SummarizeExadataInsightResourceForecastTrendRequest wrapper for the SummarizeExadataInsightResourceForecastTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrend.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrendRequest.
func (SummarizeExadataInsightResourceForecastTrendRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceForecastTrendRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceForecastTrendRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceForecastTrendRequest) String ¶
func (request SummarizeExadataInsightResourceForecastTrendRequest) String() string
type SummarizeExadataInsightResourceForecastTrendResponse ¶
type SummarizeExadataInsightResourceForecastTrendResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceForecastTrendCollection instances
SummarizeExadataInsightResourceForecastTrendCollection `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"`
}
SummarizeExadataInsightResourceForecastTrendResponse wrapper for the SummarizeExadataInsightResourceForecastTrend operation
func (SummarizeExadataInsightResourceForecastTrendResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceForecastTrendResponse) String ¶
func (response SummarizeExadataInsightResourceForecastTrendResponse) String() string
type SummarizeExadataInsightResourceForecastTrendSortByEnum ¶
type SummarizeExadataInsightResourceForecastTrendSortByEnum string
SummarizeExadataInsightResourceForecastTrendSortByEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendSortById SummarizeExadataInsightResourceForecastTrendSortByEnum = "id" SummarizeExadataInsightResourceForecastTrendSortByName SummarizeExadataInsightResourceForecastTrendSortByEnum = "name" SummarizeExadataInsightResourceForecastTrendSortByDaystoreachcapacity SummarizeExadataInsightResourceForecastTrendSortByEnum = "daysToReachCapacity" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendSortByEnum
func GetSummarizeExadataInsightResourceForecastTrendSortByEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendSortByEnumValues() []SummarizeExadataInsightResourceForecastTrendSortByEnum
GetSummarizeExadataInsightResourceForecastTrendSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendSortByEnum
type SummarizeExadataInsightResourceForecastTrendSortOrderEnum ¶
type SummarizeExadataInsightResourceForecastTrendSortOrderEnum string
SummarizeExadataInsightResourceForecastTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendSortOrderAsc SummarizeExadataInsightResourceForecastTrendSortOrderEnum = "ASC" SummarizeExadataInsightResourceForecastTrendSortOrderDesc SummarizeExadataInsightResourceForecastTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
func GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumValues() []SummarizeExadataInsightResourceForecastTrendSortOrderEnum
GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
type SummarizeExadataInsightResourceForecastTrendStatisticEnum ¶
type SummarizeExadataInsightResourceForecastTrendStatisticEnum string
SummarizeExadataInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceForecastTrendStatisticAvg SummarizeExadataInsightResourceForecastTrendStatisticEnum = "AVG" SummarizeExadataInsightResourceForecastTrendStatisticMax SummarizeExadataInsightResourceForecastTrendStatisticEnum = "MAX" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendStatisticEnum
func GetSummarizeExadataInsightResourceForecastTrendStatisticEnumValues ¶
func GetSummarizeExadataInsightResourceForecastTrendStatisticEnumValues() []SummarizeExadataInsightResourceForecastTrendStatisticEnum
GetSummarizeExadataInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendStatisticEnum
type SummarizeExadataInsightResourceStatisticsAggregationCollection ¶
type SummarizeExadataInsightResourceStatisticsAggregationCollection 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"`
// Collection of Resource Statistics items
Items []ExadataInsightResourceStatisticsAggregation `mandatory:"true" json:"items"`
// Displays usage unit ( CORES, GB)
UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`
// Defines the type of exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
}
SummarizeExadataInsightResourceStatisticsAggregationCollection Returns list of the resources with resource statistics like usage,capacity,utilization and usage change percent.
func (SummarizeExadataInsightResourceStatisticsAggregationCollection) String ¶
func (m SummarizeExadataInsightResourceStatisticsAggregationCollection) String() string
func (*SummarizeExadataInsightResourceStatisticsAggregationCollection) UnmarshalJSON ¶
func (m *SummarizeExadataInsightResourceStatisticsAggregationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum string
SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricIo SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricIops SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum
GetSummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum
type SummarizeExadataInsightResourceStatisticsRequest ¶
type SummarizeExadataInsightResourceStatisticsRequest struct {
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
// Filter by resource.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
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 Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
// Percentile values of daily usage to be used for computing the aggregate resource usage.
Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder SummarizeExadataInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The order in which resource statistics records are listed
SortBy SummarizeExadataInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.cloud.oracle.com/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
}
SummarizeExadataInsightResourceStatisticsRequest wrapper for the SummarizeExadataInsightResourceStatistics operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceStatistics.go.html to see an example of how to use SummarizeExadataInsightResourceStatisticsRequest.
func (SummarizeExadataInsightResourceStatisticsRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceStatisticsRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceStatisticsRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceStatisticsRequest) String ¶
func (request SummarizeExadataInsightResourceStatisticsRequest) String() string
type SummarizeExadataInsightResourceStatisticsResponse ¶
type SummarizeExadataInsightResourceStatisticsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceStatisticsAggregationCollection instances
SummarizeExadataInsightResourceStatisticsAggregationCollection `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"`
}
SummarizeExadataInsightResourceStatisticsResponse wrapper for the SummarizeExadataInsightResourceStatistics operation
func (SummarizeExadataInsightResourceStatisticsResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceStatisticsResponse) String ¶
func (response SummarizeExadataInsightResourceStatisticsResponse) String() string
type SummarizeExadataInsightResourceStatisticsSortByEnum ¶
type SummarizeExadataInsightResourceStatisticsSortByEnum string
SummarizeExadataInsightResourceStatisticsSortByEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceStatisticsSortByUtilizationpercent SummarizeExadataInsightResourceStatisticsSortByEnum = "utilizationPercent" SummarizeExadataInsightResourceStatisticsSortByUsage SummarizeExadataInsightResourceStatisticsSortByEnum = "usage" SummarizeExadataInsightResourceStatisticsSortByUsagechangepercent SummarizeExadataInsightResourceStatisticsSortByEnum = "usageChangePercent" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceStatisticsSortByEnum
func GetSummarizeExadataInsightResourceStatisticsSortByEnumValues ¶
func GetSummarizeExadataInsightResourceStatisticsSortByEnumValues() []SummarizeExadataInsightResourceStatisticsSortByEnum
GetSummarizeExadataInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceStatisticsSortByEnum
type SummarizeExadataInsightResourceStatisticsSortOrderEnum ¶
type SummarizeExadataInsightResourceStatisticsSortOrderEnum string
SummarizeExadataInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceStatisticsSortOrderAsc SummarizeExadataInsightResourceStatisticsSortOrderEnum = "ASC" SummarizeExadataInsightResourceStatisticsSortOrderDesc SummarizeExadataInsightResourceStatisticsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceStatisticsSortOrderEnum
func GetSummarizeExadataInsightResourceStatisticsSortOrderEnumValues ¶
func GetSummarizeExadataInsightResourceStatisticsSortOrderEnumValues() []SummarizeExadataInsightResourceStatisticsSortOrderEnum
GetSummarizeExadataInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceStatisticsSortOrderEnum
type SummarizeExadataInsightResourceUsageAggregatedRequest ¶
type SummarizeExadataInsightResourceUsageAggregatedRequest 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.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" 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"`
// 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"`
// 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
}
SummarizeExadataInsightResourceUsageAggregatedRequest wrapper for the SummarizeExadataInsightResourceUsageAggregated operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsageAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceUsageAggregatedRequest.
func (SummarizeExadataInsightResourceUsageAggregatedRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceUsageAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceUsageAggregatedRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceUsageAggregatedRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceUsageAggregatedRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceUsageAggregatedRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceUsageAggregatedRequest) String ¶
func (request SummarizeExadataInsightResourceUsageAggregatedRequest) String() string
type SummarizeExadataInsightResourceUsageAggregatedResponse ¶
type SummarizeExadataInsightResourceUsageAggregatedResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceUsageAggregation instances
SummarizeExadataInsightResourceUsageAggregation `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"`
}
SummarizeExadataInsightResourceUsageAggregatedResponse wrapper for the SummarizeExadataInsightResourceUsageAggregated operation
func (SummarizeExadataInsightResourceUsageAggregatedResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceUsageAggregatedResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceUsageAggregatedResponse) String ¶
func (response SummarizeExadataInsightResourceUsageAggregatedResponse) String() string
type SummarizeExadataInsightResourceUsageAggregation ¶
type SummarizeExadataInsightResourceUsageAggregation 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 exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// 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"`
}
SummarizeExadataInsightResourceUsageAggregation Resource usage summation for the current time period
func (SummarizeExadataInsightResourceUsageAggregation) String ¶
func (m SummarizeExadataInsightResourceUsageAggregation) String() string
type SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum string
SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIo SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIops SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
type SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum string
SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeHost SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
type SummarizeExadataInsightResourceUsageCollection ¶
type SummarizeExadataInsightResourceUsageCollection 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 exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// Displays usage unit (CORES, GB)
UsageUnit UsageUnitEnum `mandatory:"true" json:"usageUnit"`
// Collection of Resource Usage Summary items
Items []ResourceUsageSummary `mandatory:"true" json:"items"`
}
SummarizeExadataInsightResourceUsageCollection Resource usage , allocation, utilization and usage ChangePercent for the current time period
func (SummarizeExadataInsightResourceUsageCollection) String ¶
func (m SummarizeExadataInsightResourceUsageCollection) String() string
type SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum string
SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIo SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIops SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
type SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum string
SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeHost SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
type SummarizeExadataInsightResourceUsageRequest ¶
type SummarizeExadataInsightResourceUsageRequest 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.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder SummarizeExadataInsightResourceUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The order in which resource usage summary records are listed
SortBy SummarizeExadataInsightResourceUsageSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
// 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"`
// Percentile values of daily usage to be used for computing the aggregate resource usage.
Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
// 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"`
// 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
}
SummarizeExadataInsightResourceUsageRequest wrapper for the SummarizeExadataInsightResourceUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsage.go.html to see an example of how to use SummarizeExadataInsightResourceUsageRequest.
func (SummarizeExadataInsightResourceUsageRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceUsageRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceUsageRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceUsageRequest) String ¶
func (request SummarizeExadataInsightResourceUsageRequest) String() string
type SummarizeExadataInsightResourceUsageResponse ¶
type SummarizeExadataInsightResourceUsageResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceUsageCollection instances
SummarizeExadataInsightResourceUsageCollection `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"`
}
SummarizeExadataInsightResourceUsageResponse wrapper for the SummarizeExadataInsightResourceUsage operation
func (SummarizeExadataInsightResourceUsageResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceUsageResponse) String ¶
func (response SummarizeExadataInsightResourceUsageResponse) String() string
type SummarizeExadataInsightResourceUsageSortByEnum ¶
type SummarizeExadataInsightResourceUsageSortByEnum string
SummarizeExadataInsightResourceUsageSortByEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageSortByUtilizationpercent SummarizeExadataInsightResourceUsageSortByEnum = "utilizationPercent" SummarizeExadataInsightResourceUsageSortByUsage SummarizeExadataInsightResourceUsageSortByEnum = "usage" SummarizeExadataInsightResourceUsageSortByCapacity SummarizeExadataInsightResourceUsageSortByEnum = "capacity" SummarizeExadataInsightResourceUsageSortByUsagechangepercent SummarizeExadataInsightResourceUsageSortByEnum = "usageChangePercent" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageSortByEnum
func GetSummarizeExadataInsightResourceUsageSortByEnumValues ¶
func GetSummarizeExadataInsightResourceUsageSortByEnumValues() []SummarizeExadataInsightResourceUsageSortByEnum
GetSummarizeExadataInsightResourceUsageSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageSortByEnum
type SummarizeExadataInsightResourceUsageSortOrderEnum ¶
type SummarizeExadataInsightResourceUsageSortOrderEnum string
SummarizeExadataInsightResourceUsageSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUsageSortOrderAsc SummarizeExadataInsightResourceUsageSortOrderEnum = "ASC" SummarizeExadataInsightResourceUsageSortOrderDesc SummarizeExadataInsightResourceUsageSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageSortOrderEnum
func GetSummarizeExadataInsightResourceUsageSortOrderEnumValues ¶
func GetSummarizeExadataInsightResourceUsageSortOrderEnumValues() []SummarizeExadataInsightResourceUsageSortOrderEnum
GetSummarizeExadataInsightResourceUsageSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageSortOrderEnum
type SummarizeExadataInsightResourceUtilizationInsightAggregation ¶
type SummarizeExadataInsightResourceUtilizationInsightAggregation 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 exadata resource metric (example: CPU, STORAGE)
ExadataResourceMetric SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
// Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
ExadataResourceType SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
// Collection of Exadata system utilization
Utilization []ExadataInsightResourceInsightUtilizationItem `mandatory:"true" json:"utilization"`
}
SummarizeExadataInsightResourceUtilizationInsightAggregation Insights response containing utilization values for exadata systems.
func (SummarizeExadataInsightResourceUtilizationInsightAggregation) String ¶
func (m SummarizeExadataInsightResourceUtilizationInsightAggregation) String() string
type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum ¶
type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum string
SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "CPU" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "STORAGE" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIo SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "IO" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "MEMORY" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIops SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "IOPS" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "THROUGHPUT" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumValues ¶
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum ¶
type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum string
SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum Enum with underlying type: string
const ( SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "DATABASE" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeHost SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "HOST" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "STORAGE_SERVER" SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "DISKGROUP" )
Set of constants representing the allowable values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumValues ¶
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
type SummarizeExadataInsightResourceUtilizationInsightRequest ¶
type SummarizeExadataInsightResourceUtilizationInsightRequest 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.
// Supported values are HOST , STORAGE_SERVER and DATABASE
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Filter by resource metric.
// Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// Number of days used for utilization forecast analysis.
ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
// Number of days used for utilization forecast analysis.
ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by hostname.
HostName []string `contributesTo:"query" name:"hostName" 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"`
// 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"`
// 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
}
SummarizeExadataInsightResourceUtilizationInsightRequest wrapper for the SummarizeExadataInsightResourceUtilizationInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeExadataInsightResourceUtilizationInsightRequest.
func (SummarizeExadataInsightResourceUtilizationInsightRequest) BinaryRequestBody ¶
func (request SummarizeExadataInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataInsightResourceUtilizationInsightRequest) HTTPRequest ¶
func (request SummarizeExadataInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataInsightResourceUtilizationInsightRequest) RetryPolicy ¶
func (request SummarizeExadataInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataInsightResourceUtilizationInsightRequest) String ¶
func (request SummarizeExadataInsightResourceUtilizationInsightRequest) String() string
type SummarizeExadataInsightResourceUtilizationInsightResponse ¶
type SummarizeExadataInsightResourceUtilizationInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SummarizeExadataInsightResourceUtilizationInsightAggregation instances
SummarizeExadataInsightResourceUtilizationInsightAggregation `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"`
}
SummarizeExadataInsightResourceUtilizationInsightResponse wrapper for the SummarizeExadataInsightResourceUtilizationInsight operation
func (SummarizeExadataInsightResourceUtilizationInsightResponse) HTTPResponse ¶
func (response SummarizeExadataInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataInsightResourceUtilizationInsightResponse) String ¶
func (response SummarizeExadataInsightResourceUtilizationInsightResponse) String() string
type SummarizeExadataMembersRequest ¶
type SummarizeExadataMembersRequest struct {
// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder SummarizeExadataMembersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The order in which exadata member records are listed
SortBy SummarizeExadataMembersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.cloud.oracle.com/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
}
SummarizeExadataMembersRequest wrapper for the SummarizeExadataMembers operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataMembers.go.html to see an example of how to use SummarizeExadataMembersRequest.
func (SummarizeExadataMembersRequest) BinaryRequestBody ¶
func (request SummarizeExadataMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeExadataMembersRequest) HTTPRequest ¶
func (request SummarizeExadataMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeExadataMembersRequest) RetryPolicy ¶
func (request SummarizeExadataMembersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeExadataMembersRequest) String ¶
func (request SummarizeExadataMembersRequest) String() string
type SummarizeExadataMembersResponse ¶
type SummarizeExadataMembersResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ExadataMemberCollection instances
ExadataMemberCollection `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"`
}
SummarizeExadataMembersResponse wrapper for the SummarizeExadataMembers operation
func (SummarizeExadataMembersResponse) HTTPResponse ¶
func (response SummarizeExadataMembersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeExadataMembersResponse) String ¶
func (response SummarizeExadataMembersResponse) String() string
type SummarizeExadataMembersSortByEnum ¶
type SummarizeExadataMembersSortByEnum string
SummarizeExadataMembersSortByEnum Enum with underlying type: string
const ( SummarizeExadataMembersSortByName SummarizeExadataMembersSortByEnum = "name" SummarizeExadataMembersSortByDisplayname SummarizeExadataMembersSortByEnum = "displayName" SummarizeExadataMembersSortByEntitytype SummarizeExadataMembersSortByEnum = "entityType" )
Set of constants representing the allowable values for SummarizeExadataMembersSortByEnum
func GetSummarizeExadataMembersSortByEnumValues ¶
func GetSummarizeExadataMembersSortByEnumValues() []SummarizeExadataMembersSortByEnum
GetSummarizeExadataMembersSortByEnumValues Enumerates the set of values for SummarizeExadataMembersSortByEnum
type SummarizeExadataMembersSortOrderEnum ¶
type SummarizeExadataMembersSortOrderEnum string
SummarizeExadataMembersSortOrderEnum Enum with underlying type: string
const ( SummarizeExadataMembersSortOrderAsc SummarizeExadataMembersSortOrderEnum = "ASC" SummarizeExadataMembersSortOrderDesc SummarizeExadataMembersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeExadataMembersSortOrderEnum
func GetSummarizeExadataMembersSortOrderEnumValues ¶
func GetSummarizeExadataMembersSortOrderEnumValues() []SummarizeExadataMembersSortOrderEnum
GetSummarizeExadataMembersSortOrderEnumValues Enumerates the set of values for SummarizeExadataMembersSortOrderEnum
type SummarizeHostInsightResourceCapacityTrendAggregationCollection ¶
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"`
}
SummarizeHostInsightResourceCapacityTrendAggregationCollection Top level response object.
func (SummarizeHostInsightResourceCapacityTrendAggregationCollection) String ¶
func (m SummarizeHostInsightResourceCapacityTrendAggregationCollection) String() string
type SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum ¶
type SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
type SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum ¶
type SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum string
SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceCapacityTrendPlatformTypeLinux SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceCapacityTrendRequest wrapper for the SummarizeHostInsightResourceCapacityTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeHostInsightResourceCapacityTrendRequest.
func (SummarizeHostInsightResourceCapacityTrendRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceCapacityTrendRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceCapacityTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceCapacityTrendRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceCapacityTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceCapacityTrendRequest) String ¶
func (request SummarizeHostInsightResourceCapacityTrendRequest) String() string
type SummarizeHostInsightResourceCapacityTrendResponse ¶
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"`
}
SummarizeHostInsightResourceCapacityTrendResponse wrapper for the SummarizeHostInsightResourceCapacityTrend operation
func (SummarizeHostInsightResourceCapacityTrendResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceCapacityTrendResponse) String ¶
func (response SummarizeHostInsightResourceCapacityTrendResponse) String() string
type SummarizeHostInsightResourceCapacityTrendSortByEnum ¶
type SummarizeHostInsightResourceCapacityTrendSortByEnum string
SummarizeHostInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceCapacityTrendSortByEndtimestamp SummarizeHostInsightResourceCapacityTrendSortByEnum = "endTimestamp" SummarizeHostInsightResourceCapacityTrendSortByCapacity SummarizeHostInsightResourceCapacityTrendSortByEnum = "capacity" )
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortByEnum
func GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues ¶
func GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues() []SummarizeHostInsightResourceCapacityTrendSortByEnum
GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortByEnum
type SummarizeHostInsightResourceCapacityTrendSortOrderEnum ¶
type SummarizeHostInsightResourceCapacityTrendSortOrderEnum string
SummarizeHostInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceCapacityTrendSortOrderAsc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "ASC" SummarizeHostInsightResourceCapacityTrendSortOrderDesc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues ¶
func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeHostInsightResourceCapacityTrendSortOrderEnum
GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
type SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum ¶
type SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum string
SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues ¶
func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
type SummarizeHostInsightResourceForecastTrendAggregation ¶
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"`
}
SummarizeHostInsightResourceForecastTrendAggregation Forecast results from the selected time period.
func (SummarizeHostInsightResourceForecastTrendAggregation) String ¶
func (m SummarizeHostInsightResourceForecastTrendAggregation) String() string
type SummarizeHostInsightResourceForecastTrendAggregationPatternEnum ¶
type SummarizeHostInsightResourceForecastTrendAggregationPatternEnum string
SummarizeHostInsightResourceForecastTrendAggregationPatternEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumValues() []SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
type SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum ¶
type SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum string
SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceForecastTrendAggregationResourceMetricCpu SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceForecastTrendAggregationResourceMetricMemory SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceForecastTrendAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
type SummarizeHostInsightResourceForecastTrendForecastModelEnum ¶
type SummarizeHostInsightResourceForecastTrendForecastModelEnum string
SummarizeHostInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceForecastTrendForecastModelLinear SummarizeHostInsightResourceForecastTrendForecastModelEnum = "LINEAR" SummarizeHostInsightResourceForecastTrendForecastModelMlAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_AUTO" SummarizeHostInsightResourceForecastTrendForecastModelMlNoAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO" )
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues() []SummarizeHostInsightResourceForecastTrendForecastModelEnum
GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
type SummarizeHostInsightResourceForecastTrendPlatformTypeEnum ¶
type SummarizeHostInsightResourceForecastTrendPlatformTypeEnum string
SummarizeHostInsightResourceForecastTrendPlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceForecastTrendPlatformTypeLinux SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceForecastTrendRequest wrapper for the SummarizeHostInsightResourceForecastTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceForecastTrend.go.html to see an example of how to use SummarizeHostInsightResourceForecastTrendRequest.
func (SummarizeHostInsightResourceForecastTrendRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceForecastTrendRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceForecastTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceForecastTrendRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceForecastTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceForecastTrendRequest) String ¶
func (request SummarizeHostInsightResourceForecastTrendRequest) String() string
type SummarizeHostInsightResourceForecastTrendResponse ¶
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"`
}
SummarizeHostInsightResourceForecastTrendResponse wrapper for the SummarizeHostInsightResourceForecastTrend operation
func (SummarizeHostInsightResourceForecastTrendResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceForecastTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceForecastTrendResponse) String ¶
func (response SummarizeHostInsightResourceForecastTrendResponse) String() string
type SummarizeHostInsightResourceForecastTrendStatisticEnum ¶
type SummarizeHostInsightResourceForecastTrendStatisticEnum string
SummarizeHostInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceForecastTrendStatisticAvg SummarizeHostInsightResourceForecastTrendStatisticEnum = "AVG" SummarizeHostInsightResourceForecastTrendStatisticMax SummarizeHostInsightResourceForecastTrendStatisticEnum = "MAX" )
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendStatisticEnum
func GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues() []SummarizeHostInsightResourceForecastTrendStatisticEnum
GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendStatisticEnum
type SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum ¶
type SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum string
SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION" SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION" )
Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues ¶
func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
type SummarizeHostInsightResourceStatisticsAggregationCollection ¶
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"`
}
SummarizeHostInsightResourceStatisticsAggregationCollection Returns list of hosts with resource statistics like usage, capacity, utilization, usage change percent and load.
func (SummarizeHostInsightResourceStatisticsAggregationCollection) String ¶
func (m SummarizeHostInsightResourceStatisticsAggregationCollection) String() string
type SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum ¶
type SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
type SummarizeHostInsightResourceStatisticsPlatformTypeEnum ¶
type SummarizeHostInsightResourceStatisticsPlatformTypeEnum string
SummarizeHostInsightResourceStatisticsPlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceStatisticsPlatformTypeLinux SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues() []SummarizeHostInsightResourceStatisticsPlatformTypeEnum
GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceStatisticsRequest wrapper for the SummarizeHostInsightResourceStatistics operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceStatistics.go.html to see an example of how to use SummarizeHostInsightResourceStatisticsRequest.
func (SummarizeHostInsightResourceStatisticsRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceStatisticsRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceStatisticsRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceStatisticsRequest) String ¶
func (request SummarizeHostInsightResourceStatisticsRequest) String() string
type SummarizeHostInsightResourceStatisticsResponse ¶
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"`
}
SummarizeHostInsightResourceStatisticsResponse wrapper for the SummarizeHostInsightResourceStatistics operation
func (SummarizeHostInsightResourceStatisticsResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceStatisticsResponse) String ¶
func (response SummarizeHostInsightResourceStatisticsResponse) String() string
type SummarizeHostInsightResourceStatisticsSortByEnum ¶
type SummarizeHostInsightResourceStatisticsSortByEnum string
SummarizeHostInsightResourceStatisticsSortByEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceStatisticsSortByUtilizationpercent SummarizeHostInsightResourceStatisticsSortByEnum = "utilizationPercent" SummarizeHostInsightResourceStatisticsSortByUsage SummarizeHostInsightResourceStatisticsSortByEnum = "usage" SummarizeHostInsightResourceStatisticsSortByUsagechangepercent SummarizeHostInsightResourceStatisticsSortByEnum = "usageChangePercent" SummarizeHostInsightResourceStatisticsSortByHostname SummarizeHostInsightResourceStatisticsSortByEnum = "hostName" SummarizeHostInsightResourceStatisticsSortByPlatformtype SummarizeHostInsightResourceStatisticsSortByEnum = "platformType" )
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortByEnum
func GetSummarizeHostInsightResourceStatisticsSortByEnumValues ¶
func GetSummarizeHostInsightResourceStatisticsSortByEnumValues() []SummarizeHostInsightResourceStatisticsSortByEnum
GetSummarizeHostInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortByEnum
type SummarizeHostInsightResourceStatisticsSortOrderEnum ¶
type SummarizeHostInsightResourceStatisticsSortOrderEnum string
SummarizeHostInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceStatisticsSortOrderAsc SummarizeHostInsightResourceStatisticsSortOrderEnum = "ASC" SummarizeHostInsightResourceStatisticsSortOrderDesc SummarizeHostInsightResourceStatisticsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortOrderEnum
func GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues ¶
func GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues() []SummarizeHostInsightResourceStatisticsSortOrderEnum
GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortOrderEnum
type SummarizeHostInsightResourceUsageAggregation ¶
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"`
}
SummarizeHostInsightResourceUsageAggregation Resource usage summation for the current time period.
func (SummarizeHostInsightResourceUsageAggregation) String ¶
func (m SummarizeHostInsightResourceUsageAggregation) String() string
type SummarizeHostInsightResourceUsageAggregationResourceMetricEnum ¶
type SummarizeHostInsightResourceUsageAggregationResourceMetricEnum string
SummarizeHostInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceUsageAggregationResourceMetricCpu SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceUsageAggregationResourceMetricMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUsageAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
type SummarizeHostInsightResourceUsagePlatformTypeEnum ¶
type SummarizeHostInsightResourceUsagePlatformTypeEnum string
SummarizeHostInsightResourceUsagePlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceUsagePlatformTypeLinux SummarizeHostInsightResourceUsagePlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceUsagePlatformTypeEnum
func GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues() []SummarizeHostInsightResourceUsagePlatformTypeEnum
GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsagePlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceUsageRequest wrapper for the SummarizeHostInsightResourceUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsage.go.html to see an example of how to use SummarizeHostInsightResourceUsageRequest.
func (SummarizeHostInsightResourceUsageRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceUsageRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceUsageRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceUsageRequest) String ¶
func (request SummarizeHostInsightResourceUsageRequest) String() string
type SummarizeHostInsightResourceUsageResponse ¶
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"`
}
SummarizeHostInsightResourceUsageResponse wrapper for the SummarizeHostInsightResourceUsage operation
func (SummarizeHostInsightResourceUsageResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceUsageResponse) String ¶
func (response SummarizeHostInsightResourceUsageResponse) String() string
type SummarizeHostInsightResourceUsageTrendAggregationCollection ¶
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"`
}
SummarizeHostInsightResourceUsageTrendAggregationCollection Top level response object.
func (SummarizeHostInsightResourceUsageTrendAggregationCollection) String ¶
func (m SummarizeHostInsightResourceUsageTrendAggregationCollection) String() string
type SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum ¶
type SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU" SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
type SummarizeHostInsightResourceUsageTrendPlatformTypeEnum ¶
type SummarizeHostInsightResourceUsageTrendPlatformTypeEnum string
SummarizeHostInsightResourceUsageTrendPlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceUsageTrendPlatformTypeLinux SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceUsageTrendRequest wrapper for the SummarizeHostInsightResourceUsageTrend operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsageTrend.go.html to see an example of how to use SummarizeHostInsightResourceUsageTrendRequest.
func (SummarizeHostInsightResourceUsageTrendRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceUsageTrendRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceUsageTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceUsageTrendRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceUsageTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceUsageTrendRequest) String ¶
func (request SummarizeHostInsightResourceUsageTrendRequest) String() string
type SummarizeHostInsightResourceUsageTrendResponse ¶
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"`
}
SummarizeHostInsightResourceUsageTrendResponse wrapper for the SummarizeHostInsightResourceUsageTrend operation
func (SummarizeHostInsightResourceUsageTrendResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceUsageTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceUsageTrendResponse) String ¶
func (response SummarizeHostInsightResourceUsageTrendResponse) String() string
type SummarizeHostInsightResourceUsageTrendSortByEnum ¶
type SummarizeHostInsightResourceUsageTrendSortByEnum string
SummarizeHostInsightResourceUsageTrendSortByEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceUsageTrendSortByEndtimestamp SummarizeHostInsightResourceUsageTrendSortByEnum = "endTimestamp" SummarizeHostInsightResourceUsageTrendSortByUsage SummarizeHostInsightResourceUsageTrendSortByEnum = "usage" SummarizeHostInsightResourceUsageTrendSortByCapacity SummarizeHostInsightResourceUsageTrendSortByEnum = "capacity" )
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortByEnum
func GetSummarizeHostInsightResourceUsageTrendSortByEnumValues ¶
func GetSummarizeHostInsightResourceUsageTrendSortByEnumValues() []SummarizeHostInsightResourceUsageTrendSortByEnum
GetSummarizeHostInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortByEnum
type SummarizeHostInsightResourceUsageTrendSortOrderEnum ¶
type SummarizeHostInsightResourceUsageTrendSortOrderEnum string
SummarizeHostInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceUsageTrendSortOrderAsc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "ASC" SummarizeHostInsightResourceUsageTrendSortOrderDesc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues ¶
func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues() []SummarizeHostInsightResourceUsageTrendSortOrderEnum
GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
type SummarizeHostInsightResourceUtilizationInsightAggregation ¶
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"`
}
SummarizeHostInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for CPU or memory.
func (SummarizeHostInsightResourceUtilizationInsightAggregation) String ¶
func (m SummarizeHostInsightResourceUtilizationInsightAggregation) String() string
type SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum ¶
type SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum string
SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
const ( SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU" SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY" SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "LOGICAL_MEMORY" )
Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues ¶
func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
type SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum ¶
type SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum string
SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum Enum with underlying type: string
const (
SummarizeHostInsightResourceUtilizationInsightPlatformTypeLinux SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "LINUX"
)
Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues ¶
func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues() []SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" 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
}
SummarizeHostInsightResourceUtilizationInsightRequest wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeHostInsightResourceUtilizationInsightRequest.
func (SummarizeHostInsightResourceUtilizationInsightRequest) BinaryRequestBody ¶
func (request SummarizeHostInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeHostInsightResourceUtilizationInsightRequest) HTTPRequest ¶
func (request SummarizeHostInsightResourceUtilizationInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeHostInsightResourceUtilizationInsightRequest) RetryPolicy ¶
func (request SummarizeHostInsightResourceUtilizationInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeHostInsightResourceUtilizationInsightRequest) String ¶
func (request SummarizeHostInsightResourceUtilizationInsightRequest) String() string
type SummarizeHostInsightResourceUtilizationInsightResponse ¶
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"`
}
SummarizeHostInsightResourceUtilizationInsightResponse wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
func (SummarizeHostInsightResourceUtilizationInsightResponse) HTTPResponse ¶
func (response SummarizeHostInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeHostInsightResourceUtilizationInsightResponse) String ¶
func (response SummarizeHostInsightResourceUtilizationInsightResponse) String() string
type SummarizeSqlInsightsDatabaseTypeEnum ¶
type SummarizeSqlInsightsDatabaseTypeEnum string
SummarizeSqlInsightsDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeSqlInsightsDatabaseTypeEnum
func GetSummarizeSqlInsightsDatabaseTypeEnumValues ¶
func GetSummarizeSqlInsightsDatabaseTypeEnumValues() []SummarizeSqlInsightsDatabaseTypeEnum
GetSummarizeSqlInsightsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlInsightsDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeSqlInsightsRequest wrapper for the SummarizeSqlInsights operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsightsRequest.
func (SummarizeSqlInsightsRequest) BinaryRequestBody ¶
func (request SummarizeSqlInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlInsightsRequest) HTTPRequest ¶
func (request SummarizeSqlInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlInsightsRequest) RetryPolicy ¶
func (request SummarizeSqlInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlInsightsRequest) String ¶
func (request SummarizeSqlInsightsRequest) String() string
type SummarizeSqlInsightsResponse ¶
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"`
}
SummarizeSqlInsightsResponse wrapper for the SummarizeSqlInsights operation
func (SummarizeSqlInsightsResponse) HTTPResponse ¶
func (response SummarizeSqlInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlInsightsResponse) String ¶
func (response SummarizeSqlInsightsResponse) String() string
type 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
}
SummarizeSqlPlanInsightsRequest wrapper for the SummarizeSqlPlanInsights operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsightsRequest.
func (SummarizeSqlPlanInsightsRequest) BinaryRequestBody ¶
func (request SummarizeSqlPlanInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlPlanInsightsRequest) HTTPRequest ¶
func (request SummarizeSqlPlanInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlPlanInsightsRequest) RetryPolicy ¶
func (request SummarizeSqlPlanInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlPlanInsightsRequest) String ¶
func (request SummarizeSqlPlanInsightsRequest) String() string
type SummarizeSqlPlanInsightsResponse ¶
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"`
}
SummarizeSqlPlanInsightsResponse wrapper for the SummarizeSqlPlanInsights operation
func (SummarizeSqlPlanInsightsResponse) HTTPResponse ¶
func (response SummarizeSqlPlanInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlPlanInsightsResponse) String ¶
func (response SummarizeSqlPlanInsightsResponse) String() string
type 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
}
SummarizeSqlResponseTimeDistributionsRequest wrapper for the SummarizeSqlResponseTimeDistributions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributionsRequest.
func (SummarizeSqlResponseTimeDistributionsRequest) BinaryRequestBody ¶
func (request SummarizeSqlResponseTimeDistributionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest ¶
func (request SummarizeSqlResponseTimeDistributionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy ¶
func (request SummarizeSqlResponseTimeDistributionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlResponseTimeDistributionsRequest) String ¶
func (request SummarizeSqlResponseTimeDistributionsRequest) String() string
type SummarizeSqlResponseTimeDistributionsResponse ¶
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"`
}
SummarizeSqlResponseTimeDistributionsResponse wrapper for the SummarizeSqlResponseTimeDistributions operation
func (SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse ¶
func (response SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlResponseTimeDistributionsResponse) String ¶
func (response SummarizeSqlResponseTimeDistributionsResponse) String() string
type SummarizeSqlStatisticsCategoryEnum ¶
type SummarizeSqlStatisticsCategoryEnum string
SummarizeSqlStatisticsCategoryEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeSqlStatisticsCategoryEnum
func GetSummarizeSqlStatisticsCategoryEnumValues ¶
func GetSummarizeSqlStatisticsCategoryEnumValues() []SummarizeSqlStatisticsCategoryEnum
GetSummarizeSqlStatisticsCategoryEnumValues Enumerates the set of values for SummarizeSqlStatisticsCategoryEnum
type SummarizeSqlStatisticsDatabaseTypeEnum ¶
type SummarizeSqlStatisticsDatabaseTypeEnum string
SummarizeSqlStatisticsDatabaseTypeEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeSqlStatisticsDatabaseTypeEnum
func GetSummarizeSqlStatisticsDatabaseTypeEnumValues ¶
func GetSummarizeSqlStatisticsDatabaseTypeEnumValues() []SummarizeSqlStatisticsDatabaseTypeEnum
GetSummarizeSqlStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlStatisticsDatabaseTypeEnum
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeSqlStatisticsRequest wrapper for the SummarizeSqlStatistics operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatisticsRequest.
func (SummarizeSqlStatisticsRequest) BinaryRequestBody ¶
func (request SummarizeSqlStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlStatisticsRequest) HTTPRequest ¶
func (request SummarizeSqlStatisticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlStatisticsRequest) RetryPolicy ¶
func (request SummarizeSqlStatisticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlStatisticsRequest) String ¶
func (request SummarizeSqlStatisticsRequest) String() string
type SummarizeSqlStatisticsResponse ¶
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"`
}
SummarizeSqlStatisticsResponse wrapper for the SummarizeSqlStatistics operation
func (SummarizeSqlStatisticsResponse) HTTPResponse ¶
func (response SummarizeSqlStatisticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlStatisticsResponse) String ¶
func (response SummarizeSqlStatisticsResponse) String() string
type SummarizeSqlStatisticsSortByEnum ¶
type SummarizeSqlStatisticsSortByEnum string
SummarizeSqlStatisticsSortByEnum Enum with underlying type: string
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" SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct SummarizeSqlStatisticsSortByEnum = "changeInExecutionsPerHourInPct" SummarizeSqlStatisticsSortByChangeininefficiencyinpct SummarizeSqlStatisticsSortByEnum = "changeInInefficiencyInPct" )
Set of constants representing the allowable values for SummarizeSqlStatisticsSortByEnum
func GetSummarizeSqlStatisticsSortByEnumValues ¶
func GetSummarizeSqlStatisticsSortByEnumValues() []SummarizeSqlStatisticsSortByEnum
GetSummarizeSqlStatisticsSortByEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortByEnum
type SummarizeSqlStatisticsSortOrderEnum ¶
type SummarizeSqlStatisticsSortOrderEnum string
SummarizeSqlStatisticsSortOrderEnum Enum with underlying type: string
const ( SummarizeSqlStatisticsSortOrderAsc SummarizeSqlStatisticsSortOrderEnum = "ASC" SummarizeSqlStatisticsSortOrderDesc SummarizeSqlStatisticsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeSqlStatisticsSortOrderEnum
func GetSummarizeSqlStatisticsSortOrderEnumValues ¶
func GetSummarizeSqlStatisticsSortOrderEnumValues() []SummarizeSqlStatisticsSortOrderEnum
GetSummarizeSqlStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortOrderEnum
type 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
}
SummarizeSqlStatisticsTimeSeriesByPlanRequest wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlanRequest.
func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) BinaryRequestBody ¶
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest ¶
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy ¶
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlStatisticsTimeSeriesByPlanRequest) String ¶
func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string
type SummarizeSqlStatisticsTimeSeriesByPlanResponse ¶
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"`
}
SummarizeSqlStatisticsTimeSeriesByPlanResponse wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
func (SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse ¶
func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlStatisticsTimeSeriesByPlanResponse) String ¶
func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) String() string
type 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"`
// Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" 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
}
SummarizeSqlStatisticsTimeSeriesRequest wrapper for the SummarizeSqlStatisticsTimeSeries operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesRequest.
func (SummarizeSqlStatisticsTimeSeriesRequest) BinaryRequestBody ¶
func (request SummarizeSqlStatisticsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest ¶
func (request SummarizeSqlStatisticsTimeSeriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy ¶
func (request SummarizeSqlStatisticsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeSqlStatisticsTimeSeriesRequest) String ¶
func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string
type SummarizeSqlStatisticsTimeSeriesResponse ¶
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"`
}
SummarizeSqlStatisticsTimeSeriesResponse wrapper for the SummarizeSqlStatisticsTimeSeries operation
func (SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse ¶
func (response SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeSqlStatisticsTimeSeriesResponse) String ¶
func (response SummarizeSqlStatisticsTimeSeriesResponse) String() string
type SummaryStatistics ¶
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"`
}
SummaryStatistics Contains common summary statistics.
func (SummaryStatistics) String ¶
func (m SummaryStatistics) String() string
type TablespaceUsageTrend ¶
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"`
}
TablespaceUsageTrend Usage data samples
func (TablespaceUsageTrend) String ¶
func (m TablespaceUsageTrend) String() string
type TablespaceUsageTrendAggregation ¶
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"`
}
TablespaceUsageTrendAggregation Usage data per tablespace for a Pluggable database
func (TablespaceUsageTrendAggregation) String ¶
func (m TablespaceUsageTrendAggregation) String() string
type UpdateAutonomousDatabaseInsightDetails ¶
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"`
}
UpdateAutonomousDatabaseInsightDetails The information to be updated.
func (UpdateAutonomousDatabaseInsightDetails) GetDefinedTags ¶
func (m UpdateAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateAutonomousDatabaseInsightDetails) GetFreeformTags ¶
func (m UpdateAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateAutonomousDatabaseInsightDetails) MarshalJSON ¶
func (m UpdateAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateAutonomousDatabaseInsightDetails) String ¶
func (m UpdateAutonomousDatabaseInsightDetails) String() string
type UpdateDatabaseInsightDetails ¶
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{}
}
UpdateDatabaseInsightDetails The information to be updated.
type 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
}
UpdateDatabaseInsightRequest wrapper for the UpdateDatabaseInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateDatabaseInsight.go.html to see an example of how to use UpdateDatabaseInsightRequest.
func (UpdateDatabaseInsightRequest) BinaryRequestBody ¶
func (request UpdateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDatabaseInsightRequest) HTTPRequest ¶
func (request UpdateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDatabaseInsightRequest) RetryPolicy ¶
func (request UpdateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDatabaseInsightRequest) String ¶
func (request UpdateDatabaseInsightRequest) String() string
type UpdateDatabaseInsightResponse ¶
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"`
}
UpdateDatabaseInsightResponse wrapper for the UpdateDatabaseInsight operation
func (UpdateDatabaseInsightResponse) HTTPResponse ¶
func (response UpdateDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDatabaseInsightResponse) String ¶
func (response UpdateDatabaseInsightResponse) String() string
type UpdateEmManagedExternalDatabaseInsightDetails ¶
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"`
}
UpdateEmManagedExternalDatabaseInsightDetails The information to be updated.
func (UpdateEmManagedExternalDatabaseInsightDetails) GetDefinedTags ¶
func (m UpdateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateEmManagedExternalDatabaseInsightDetails) GetFreeformTags ¶
func (m UpdateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateEmManagedExternalDatabaseInsightDetails) MarshalJSON ¶
func (m UpdateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateEmManagedExternalDatabaseInsightDetails) String ¶
func (m UpdateEmManagedExternalDatabaseInsightDetails) String() string
type UpdateEmManagedExternalExadataInsightDetails ¶
type UpdateEmManagedExternalExadataInsightDetails 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"`
// Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
}
UpdateEmManagedExternalExadataInsightDetails The information to be updated.
func (UpdateEmManagedExternalExadataInsightDetails) GetDefinedTags ¶
func (m UpdateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateEmManagedExternalExadataInsightDetails) GetFreeformTags ¶
func (m UpdateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateEmManagedExternalExadataInsightDetails) MarshalJSON ¶
func (m UpdateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateEmManagedExternalExadataInsightDetails) String ¶
func (m UpdateEmManagedExternalExadataInsightDetails) String() string
type UpdateEmManagedExternalHostInsightDetails ¶
type UpdateEmManagedExternalHostInsightDetails 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"`
}
UpdateEmManagedExternalHostInsightDetails The information to be updated.
func (UpdateEmManagedExternalHostInsightDetails) GetDefinedTags ¶
func (m UpdateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateEmManagedExternalHostInsightDetails) GetFreeformTags ¶
func (m UpdateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateEmManagedExternalHostInsightDetails) MarshalJSON ¶
func (m UpdateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateEmManagedExternalHostInsightDetails) String ¶
func (m UpdateEmManagedExternalHostInsightDetails) String() string
type UpdateEnterpriseManagerBridgeDetails ¶
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"`
}
UpdateEnterpriseManagerBridgeDetails The information to be updated.
func (UpdateEnterpriseManagerBridgeDetails) String ¶
func (m UpdateEnterpriseManagerBridgeDetails) String() string
type 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
}
UpdateEnterpriseManagerBridgeRequest wrapper for the UpdateEnterpriseManagerBridge operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateEnterpriseManagerBridge.go.html to see an example of how to use UpdateEnterpriseManagerBridgeRequest.
func (UpdateEnterpriseManagerBridgeRequest) BinaryRequestBody ¶
func (request UpdateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateEnterpriseManagerBridgeRequest) HTTPRequest ¶
func (request UpdateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateEnterpriseManagerBridgeRequest) RetryPolicy ¶
func (request UpdateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateEnterpriseManagerBridgeRequest) String ¶
func (request UpdateEnterpriseManagerBridgeRequest) String() string
type UpdateEnterpriseManagerBridgeResponse ¶
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"`
}
UpdateEnterpriseManagerBridgeResponse wrapper for the UpdateEnterpriseManagerBridge operation
func (UpdateEnterpriseManagerBridgeResponse) HTTPResponse ¶
func (response UpdateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateEnterpriseManagerBridgeResponse) String ¶
func (response UpdateEnterpriseManagerBridgeResponse) String() string
type UpdateExadataInsightDetails ¶
type UpdateExadataInsightDetails 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{}
}
UpdateExadataInsightDetails The information to be updated.
type UpdateExadataInsightRequest ¶
type UpdateExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// The configuration to be updated.
UpdateExadataInsightDetails `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
}
UpdateExadataInsightRequest wrapper for the UpdateExadataInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateExadataInsight.go.html to see an example of how to use UpdateExadataInsightRequest.
func (UpdateExadataInsightRequest) BinaryRequestBody ¶
func (request UpdateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateExadataInsightRequest) HTTPRequest ¶
func (request UpdateExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateExadataInsightRequest) RetryPolicy ¶
func (request UpdateExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateExadataInsightRequest) String ¶
func (request UpdateExadataInsightRequest) String() string
type UpdateExadataInsightResponse ¶
type UpdateExadataInsightResponse 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"`
}
UpdateExadataInsightResponse wrapper for the UpdateExadataInsight operation
func (UpdateExadataInsightResponse) HTTPResponse ¶
func (response UpdateExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateExadataInsightResponse) String ¶
func (response UpdateExadataInsightResponse) String() string
type UpdateHostInsightDetails ¶
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{}
}
UpdateHostInsightDetails The information to be updated.
type 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
}
UpdateHostInsightRequest wrapper for the UpdateHostInsight operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateHostInsight.go.html to see an example of how to use UpdateHostInsightRequest.
func (UpdateHostInsightRequest) BinaryRequestBody ¶
func (request UpdateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateHostInsightRequest) HTTPRequest ¶
func (request UpdateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateHostInsightRequest) RetryPolicy ¶
func (request UpdateHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateHostInsightRequest) String ¶
func (request UpdateHostInsightRequest) String() string
type UpdateHostInsightResponse ¶
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"`
}
UpdateHostInsightResponse wrapper for the UpdateHostInsight operation
func (UpdateHostInsightResponse) HTTPResponse ¶
func (response UpdateHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateHostInsightResponse) String ¶
func (response UpdateHostInsightResponse) String() string
type UpdateMacsManagedExternalDatabaseInsightDetails ¶
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"`
}
UpdateMacsManagedExternalDatabaseInsightDetails The information to be updated.
func (UpdateMacsManagedExternalDatabaseInsightDetails) GetDefinedTags ¶
func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateMacsManagedExternalDatabaseInsightDetails) GetFreeformTags ¶
func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateMacsManagedExternalDatabaseInsightDetails) MarshalJSON ¶
func (m UpdateMacsManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateMacsManagedExternalDatabaseInsightDetails) String ¶
func (m UpdateMacsManagedExternalDatabaseInsightDetails) String() string
type UpdateMacsManagedExternalHostInsightDetails ¶
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"`
}
UpdateMacsManagedExternalHostInsightDetails The information to be updated.
func (UpdateMacsManagedExternalHostInsightDetails) GetDefinedTags ¶
func (m UpdateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateMacsManagedExternalHostInsightDetails) GetFreeformTags ¶
func (m UpdateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateMacsManagedExternalHostInsightDetails) MarshalJSON ¶
func (m UpdateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateMacsManagedExternalHostInsightDetails) String ¶
func (m UpdateMacsManagedExternalHostInsightDetails) String() string
type UsageUnitEnum ¶
type UsageUnitEnum string
UsageUnitEnum Enum with underlying type: string
const ( UsageUnitCores UsageUnitEnum = "CORES" UsageUnitGb UsageUnitEnum = "GB" UsageUnitMbps UsageUnitEnum = "MBPS" UsageUnitIops UsageUnitEnum = "IOPS" UsageUnitPercent UsageUnitEnum = "PERCENT" )
Set of constants representing the allowable values for UsageUnitEnum
func GetUsageUnitEnumValues ¶
func GetUsageUnitEnumValues() []UsageUnitEnum
GetUsageUnitEnumValues Enumerates the set of values for UsageUnitEnum
type WorkRequest ¶
type WorkRequest struct {
// Type of the work request
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// Status of current work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The id of the work request.
Id *string `mandatory:"true" json:"id"`
// The ocid of the compartment that contains the work request. Work requests should be scoped to
// the same compartment as the resource the work request affects. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the request was created, as described in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
// section 14.29.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestCollection ¶
type WorkRequestCollection struct {
// List of workRequests.
Items []WorkRequest `mandatory:"true" json:"items"`
}
WorkRequestCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestCollection) String ¶
func (m WorkRequestCollection) String() string
type WorkRequestError ¶
type WorkRequestError struct {
// A machine-usable code for the error that occured. Error codes are listed on
// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
Code *string `mandatory:"true" json:"code"`
// A human readable description of the issue encountered.
Message *string `mandatory:"true" json:"message"`
// The time the error occured. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct {
// List of workRequestError objects.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct {
// Human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The time the log message was written. An RFC3339 formatted datetime string
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct {
// List of workRequestLogEntries.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
type WorkRequestResource ¶
type WorkRequestResource struct {
// The resource type the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the work tracked in the work request.
// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
// work is complete for that resource at which point it will transition to CREATED, UPDATED,
// or DELETED, respectively.
ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
// The identifier of the resource the work request affects.
Identifier *string `mandatory:"true" json:"identifier"`
// The URI path that the user can do a GET on to access the resource
EntityUri *string `mandatory:"false" json:"entityUri"`
// Additional information that helps to explain the resource.
Metadata map[string]string `mandatory:"false" json:"metadata"`
}
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const ( WorkRequestResourceMetadataKeyRelatedResourceIds WorkRequestResourceMetadataKeyEnum = "RELATED_RESOURCE_IDS" WorkRequestResourceMetadataKeyResourceName WorkRequestResourceMetadataKeyEnum = "RESOURCE_NAME" )
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequests ¶
type WorkRequests struct {
// OPSI Work Request Object.
WorkRequests *interface{} `mandatory:"false" json:"workRequests"`
}
WorkRequests Logical grouping used for Operations Insights Work Request operations.
func (WorkRequests) String ¶
func (m WorkRequests) String() string
Source Files
¶
- action_type.go
- add_em_managed_external_exadata_insight_members_details.go
- add_exadata_insight_members_details.go
- add_exadata_insight_members_request_response.go
- autonomous_database_configuration_summary.go
- autonomous_database_insight.go
- autonomous_database_insight_summary.go
- change_database_insight_compartment_details.go
- change_database_insight_compartment_request_response.go
- change_enterprise_manager_bridge_compartment_details.go
- change_enterprise_manager_bridge_compartment_request_response.go
- change_exadata_insight_compartment_details.go
- change_exadata_insight_compartment_request_response.go
- change_host_insight_compartment_details.go
- change_host_insight_compartment_request_response.go
- connection_details.go
- create_database_insight_details.go
- create_database_insight_request_response.go
- create_em_managed_external_database_insight_details.go
- create_em_managed_external_exadata_insight_details.go
- create_em_managed_external_exadata_member_entity_details.go
- create_em_managed_external_host_insight_details.go
- create_enterprise_manager_bridge_details.go
- create_enterprise_manager_bridge_request_response.go
- create_exadata_insight_details.go
- create_exadata_insight_request_response.go
- create_host_insight_details.go
- create_host_insight_request_response.go
- create_macs_managed_external_host_insight_details.go
- credential_details.go
- credentials_by_source.go
- database.go
- database_configuration_collection.go
- database_configuration_metric_group.go
- database_configuration_summary.go
- database_details.go
- database_entity_source.go
- database_entity_source_all.go
- database_insight.go
- database_insight_summary.go
- database_insights.go
- database_insights_collection.go
- db_external_instance.go
- db_external_properties.go
- dbos_config_instance.go
- delete_database_insight_request_response.go
- delete_enterprise_manager_bridge_request_response.go
- delete_exadata_insight_request_response.go
- delete_host_insight_request_response.go
- disable_database_insight_request_response.go
- disable_exadata_insight_request_response.go
- disable_host_insight_request_response.go
- disk_group.go
- disk_group_details.go
- em_managed_external_database_configuration_summary.go
- em_managed_external_database_insight.go
- em_managed_external_database_insight_summary.go
- em_managed_external_exadata_insight.go
- em_managed_external_exadata_insight_summary.go
- em_managed_external_host_configuration_summary.go
- em_managed_external_host_insight.go
- em_managed_external_host_insight_summary.go
- enable_database_insight_details.go
- enable_database_insight_request_response.go
- enable_em_managed_external_database_insight_details.go
- enable_em_managed_external_exadata_insight_details.go
- enable_em_managed_external_host_insight_details.go
- enable_exadata_insight_details.go
- enable_exadata_insight_request_response.go
- enable_host_insight_details.go
- enable_host_insight_request_response.go
- enable_macs_managed_external_host_insight_details.go
- enterprise_manager_bridge.go
- enterprise_manager_bridge_collection.go
- enterprise_manager_bridge_summary.go
- enterprise_manager_bridges.go
- exadata_configuration_collection.go
- exadata_configuration_summary.go
- exadata_database_machine_configuration_summary.go
- exadata_database_statistics_summary.go
- exadata_details.go
- exadata_diskgroup_statistics_summary.go
- exadata_entity_source.go
- exadata_host_statistics_summary.go
- exadata_insight.go
- exadata_insight_lifecycle_state.go
- exadata_insight_resource_capacity_trend_aggregation.go
- exadata_insight_resource_capacity_trend_summary.go
- exadata_insight_resource_forecast_trend_summary.go
- exadata_insight_resource_insight_utilization_item.go
- exadata_insight_resource_statistics.go
- exadata_insight_resource_statistics_aggregation.go
- exadata_insight_summary.go
- exadata_insight_summary_collection.go
- exadata_insights.go
- exadata_member_collection.go
- exadata_member_summary.go
- exadata_rack_type.go
- exadata_storage_server_statistics_summary.go
- exadata_type.go
- get_database_insight_request_response.go
- get_enterprise_manager_bridge_request_response.go
- get_exadata_insight_request_response.go
- get_host_insight_request_response.go
- get_work_request_request_response.go
- historical_data_item.go
- host.go
- host_configuration_collection.go
- host_configuration_metric_group.go
- host_configuration_summary.go
- host_cpu_hardware_configuration.go
- host_cpu_statistics.go
- host_cpu_usage.go
- host_details.go
- host_entities.go
- host_entity_source.go
- host_hardware_configuration.go
- host_importable_agent_entity_summary.go
- host_insight.go
- host_insight_resource_statistics_aggregation.go
- host_insight_summary.go
- host_insight_summary_collection.go
- host_insights.go
- host_instance_map.go
- host_memory_configuration.go
- host_memory_statistics.go
- host_memory_usage.go
- host_network_activity_summary.go
- host_network_configuration.go
- host_performance_metric_group.go
- host_product.go
- host_resource_allocation.go
- host_resource_capacity_trend_aggregation.go
- host_resource_statistics.go
- hosted_entity_collection.go
- hosted_entity_summary.go
- importable_agent_entity_source.go
- importable_agent_entity_summary.go
- importable_agent_entity_summary_collection.go
- importable_enterprise_manager_entity.go
- importable_enterprise_manager_entity_collection.go
- ingest_database_configuration_details.go
- ingest_database_configuration_request_response.go
- ingest_database_configuration_response_details.go
- ingest_host_configuration_details.go
- ingest_host_configuration_request_response.go
- ingest_host_configuration_response_details.go
- ingest_host_metrics_details.go
- ingest_host_metrics_request_response.go
- ingest_host_metrics_response_details.go
- ingest_sql_bucket_details.go
- ingest_sql_bucket_request_response.go
- ingest_sql_bucket_response_details.go
- ingest_sql_plan_lines_details.go
- ingest_sql_plan_lines_request_response.go
- ingest_sql_plan_lines_response_details.go
- ingest_sql_text_details.go
- ingest_sql_text_request_response.go
- ingest_sql_text_response_details.go
- instance_metrics.go
- lifecycle_state.go
- list_database_configurations_request_response.go
- list_database_insights_request_response.go
- list_enterprise_manager_bridges_request_response.go
- list_exadata_configurations_request_response.go
- list_exadata_insights_request_response.go
- list_host_configurations_request_response.go
- list_host_insights_request_response.go
- list_hosted_entities_request_response.go
- list_importable_agent_entities_request_response.go
- list_importable_enterprise_manager_entities_request_response.go
- list_sql_plans_request_response.go
- list_sql_searches_request_response.go
- list_sql_texts_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- macs_managed_external_database_configuration_summary.go
- macs_managed_external_database_insight.go
- macs_managed_external_database_insight_summary.go
- macs_managed_external_host_configuration_summary.go
- macs_managed_external_host_insight.go
- macs_managed_external_host_insight_summary.go
- operation_status.go
- operation_type.go
- opsi_operationsinsights_client.go
- projected_data_item.go
- resource_capacity_trend_aggregation.go
- resource_insight_current_utilization.go
- resource_insight_projected_utilization.go
- resource_insight_projected_utilization_item.go
- resource_statistics.go
- resource_statistics_aggregation.go
- resource_status.go
- resource_usage_summary.go
- resource_usage_trend_aggregation.go
- sort_order.go
- sql_bucket.go
- sql_insight_aggregation.go
- sql_insight_aggregation_collection.go
- sql_insight_thresholds.go
- sql_inventory.go
- sql_plan_collection.go
- sql_plan_insight_aggregation.go
- sql_plan_insight_aggregation_collection.go
- sql_plan_insights.go
- sql_plan_line.go
- sql_plan_summary.go
- sql_response_time_distribution_aggregation.go
- sql_response_time_distribution_aggregation_collection.go
- sql_search_collection.go
- sql_search_summary.go
- sql_statistic_aggregation.go
- sql_statistic_aggregation_collection.go
- sql_statistics.go
- sql_statistics_time_series.go
- sql_statistics_time_series_aggregation.go
- sql_statistics_time_series_aggregation_collection.go
- sql_statistics_time_series_by_plan_aggregation.go
- sql_statistics_time_series_by_plan_aggregation_collection.go
- sql_text.go
- sql_text_collection.go
- sql_text_summary.go
- storage_server.go
- storage_server_details.go
- summarize_database_insight_resource_capacity_trend_aggregation_collection.go
- summarize_database_insight_resource_capacity_trend_request_response.go
- summarize_database_insight_resource_forecast_trend_aggregation.go
- summarize_database_insight_resource_forecast_trend_request_response.go
- summarize_database_insight_resource_statistics_aggregation_collection.go
- summarize_database_insight_resource_statistics_request_response.go
- summarize_database_insight_resource_usage_aggregation.go
- summarize_database_insight_resource_usage_request_response.go
- summarize_database_insight_resource_usage_trend_aggregation_collection.go
- summarize_database_insight_resource_usage_trend_request_response.go
- summarize_database_insight_resource_utilization_insight_aggregation.go
- summarize_database_insight_resource_utilization_insight_request_response.go
- summarize_database_insight_tablespace_usage_trend_aggregation_collection.go
- summarize_database_insight_tablespace_usage_trend_request_response.go
- summarize_exadata_insight_resource_capacity_trend_aggregated_request_response.go
- summarize_exadata_insight_resource_capacity_trend_aggregation.go
- summarize_exadata_insight_resource_capacity_trend_collection.go
- summarize_exadata_insight_resource_capacity_trend_request_response.go
- summarize_exadata_insight_resource_forecast_trend_aggregated_request_response.go
- summarize_exadata_insight_resource_forecast_trend_aggregation.go
- summarize_exadata_insight_resource_forecast_trend_collection.go
- summarize_exadata_insight_resource_forecast_trend_request_response.go
- summarize_exadata_insight_resource_statistics_aggregation_collection.go
- summarize_exadata_insight_resource_statistics_request_response.go
- summarize_exadata_insight_resource_usage_aggregated_request_response.go
- summarize_exadata_insight_resource_usage_aggregation.go
- summarize_exadata_insight_resource_usage_collection.go
- summarize_exadata_insight_resource_usage_request_response.go
- summarize_exadata_insight_resource_utilization_insight_aggregation.go
- summarize_exadata_insight_resource_utilization_insight_request_response.go
- summarize_exadata_members_request_response.go
- summarize_host_insight_resource_capacity_trend_aggregation_collection.go
- summarize_host_insight_resource_capacity_trend_request_response.go
- summarize_host_insight_resource_forecast_trend_aggregation.go
- summarize_host_insight_resource_forecast_trend_request_response.go
- summarize_host_insight_resource_statistics_aggregation_collection.go
- summarize_host_insight_resource_statistics_request_response.go
- summarize_host_insight_resource_usage_aggregation.go
- summarize_host_insight_resource_usage_request_response.go
- summarize_host_insight_resource_usage_trend_aggregation_collection.go
- summarize_host_insight_resource_usage_trend_request_response.go
- summarize_host_insight_resource_utilization_insight_aggregation.go
- summarize_host_insight_resource_utilization_insight_request_response.go
- summarize_sql_insights_request_response.go
- summarize_sql_plan_insights_request_response.go
- summarize_sql_response_time_distributions_request_response.go
- summarize_sql_statistics_request_response.go
- summarize_sql_statistics_time_series_by_plan_request_response.go
- summarize_sql_statistics_time_series_request_response.go
- summary_statistics.go
- tablespace_usage_trend.go
- tablespace_usage_trend_aggregation.go
- update_autonomous_database_insight_details.go
- update_database_insight_details.go
- update_database_insight_request_response.go
- update_em_managed_external_database_insight_details.go
- update_em_managed_external_exadata_insight_details.go
- update_em_managed_external_host_insight_details.go
- update_enterprise_manager_bridge_details.go
- update_enterprise_manager_bridge_request_response.go
- update_exadata_insight_details.go
- update_exadata_insight_request_response.go
- update_host_insight_details.go
- update_host_insight_request_response.go
- update_macs_managed_external_database_insight_details.go
- update_macs_managed_external_host_insight_details.go
- usage_unit.go
- work_request.go
- work_request_collection.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_resource_metadata_key.go
- work_requests.go