databasemanagement

package
v38.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityTimeSeriesMetrics

type ActivityTimeSeriesMetrics struct {

	// The date and time the activity metric was created.
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

	CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"`

	WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"`

	UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"`

	CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"`
}

ActivityTimeSeriesMetrics The response object representing activityMetric details for a specific database at a particular time.

func (ActivityTimeSeriesMetrics) String

func (m ActivityTimeSeriesMetrics) String() string

type AddManagedDatabaseToManagedDatabaseGroupDetails

type AddManagedDatabaseToManagedDatabaseGroupDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"`
}

AddManagedDatabaseToManagedDatabaseGroupDetails The Managed Database details required to add it to a Managed Database Group.

func (AddManagedDatabaseToManagedDatabaseGroupDetails) String

type AddManagedDatabaseToManagedDatabaseGroupRequest

type AddManagedDatabaseToManagedDatabaseGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

	// The Managed Database details required to add the Managed Database to a Managed Database Group.
	AddManagedDatabaseToManagedDatabaseGroupDetails `contributesTo:"body"`

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

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

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

AddManagedDatabaseToManagedDatabaseGroupRequest wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroupRequest.

func (AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest

func (request AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddManagedDatabaseToManagedDatabaseGroupRequest) RetryPolicy

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

func (AddManagedDatabaseToManagedDatabaseGroupRequest) String

type AddManagedDatabaseToManagedDatabaseGroupResponse

type AddManagedDatabaseToManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AddManagedDatabaseToManagedDatabaseGroupResponse wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation

func (AddManagedDatabaseToManagedDatabaseGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (AddManagedDatabaseToManagedDatabaseGroupResponse) String

type AllowedParameterValue

type AllowedParameterValue struct {

	// The ordinal number in the list (1-based).
	Ordinal *float32 `mandatory:"false" json:"ordinal"`

	// The parameter value at ordinal.
	Value *string `mandatory:"false" json:"value"`

	// Indicates whether the given ordinal value is the default value for the parameter.
	IsDefault *bool `mandatory:"false" json:"isDefault"`
}

AllowedParameterValue A valid value for a database parameter.

func (AllowedParameterValue) String

func (m AllowedParameterValue) String() string

type ChangeDatabaseParameterDetails

type ChangeDatabaseParameterDetails struct {

	// The parameter name.
	Name *string `mandatory:"true" json:"name"`

	// The parameter value.
	Value *string `mandatory:"true" json:"value"`

	// A comment string to associate with the change in parameter value.
	// It cannot contain control characters or a line break.
	UpdateComment *string `mandatory:"false" json:"updateComment"`
}

ChangeDatabaseParameterDetails The value of a database parameter to change.

func (ChangeDatabaseParameterDetails) String

type ChangeDatabaseParametersDetails

type ChangeDatabaseParametersDetails struct {
	Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"`

	// The clause used to specify when the parameter change takes effect.
	// Use `MEMORY` to make the change in memory and affect it immediately.
	// Use `SPFILE` to make the change in the server parameter file. The
	// change takes effect when the database is next shut down and started
	// up again. Use `BOTH` to make the change in memory and in the server
	// parameter file. The change takes effect immediately and persists
	// after the database is shut down and started up again.
	Scope ParameterScopeEnum `mandatory:"true" json:"scope"`

	// A list of database parameters and their values.
	Parameters []ChangeDatabaseParameterDetails `mandatory:"true" json:"parameters"`
}

ChangeDatabaseParametersDetails The details required to change database parameters' values.

func (ChangeDatabaseParametersDetails) String

type ChangeDatabaseParametersRequest

type ChangeDatabaseParametersRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"`

	// The details required to change database parameters' values.
	ChangeDatabaseParametersDetails `contributesTo:"body"`

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

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

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

ChangeDatabaseParametersRequest wrapper for the ChangeDatabaseParameters operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParametersRequest.

func (ChangeDatabaseParametersRequest) HTTPRequest

func (request ChangeDatabaseParametersRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDatabaseParametersRequest) RetryPolicy

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

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

func (ChangeDatabaseParametersRequest) String

func (request ChangeDatabaseParametersRequest) String() string

type ChangeDatabaseParametersResponse

type ChangeDatabaseParametersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UpdateDatabaseParametersResult instance
	UpdateDatabaseParametersResult `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"`
}

ChangeDatabaseParametersResponse wrapper for the ChangeDatabaseParameters operation

func (ChangeDatabaseParametersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeDatabaseParametersResponse) String

func (response ChangeDatabaseParametersResponse) String() string

type ChangeJobCompartmentDetails

type ChangeJobCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
	// compartment to which the job should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeJobCompartmentDetails The details required to change the compartment of a job.

func (ChangeJobCompartmentDetails) String

type ChangeJobCompartmentRequest

type ChangeJobCompartmentRequest struct {

	// The identifier of the job.
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the job to.
	ChangeJobCompartmentDetails `contributesTo:"body"`

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

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

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.

func (ChangeJobCompartmentRequest) HTTPRequest

func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeJobCompartmentRequest) RetryPolicy

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

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

func (ChangeJobCompartmentRequest) String

func (request ChangeJobCompartmentRequest) String() string

type ChangeJobCompartmentResponse

type ChangeJobCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation

func (ChangeJobCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeJobCompartmentResponse) String

func (response ChangeJobCompartmentResponse) String() string

type ChangeManagedDatabaseGroupCompartmentDetails

type ChangeManagedDatabaseGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
	// compartment to which the Managed Database Group should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeManagedDatabaseGroupCompartmentDetails The details required to change the compartment of a Managed Database Group.

func (ChangeManagedDatabaseGroupCompartmentDetails) String

type ChangeManagedDatabaseGroupCompartmentRequest

type ChangeManagedDatabaseGroupCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the Managed Database Group to.
	ChangeManagedDatabaseGroupCompartmentDetails `contributesTo:"body"`

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

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

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

ChangeManagedDatabaseGroupCompartmentRequest wrapper for the ChangeManagedDatabaseGroupCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartmentRequest.

func (ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest

func (request ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeManagedDatabaseGroupCompartmentRequest) RetryPolicy

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

func (ChangeManagedDatabaseGroupCompartmentRequest) String

type ChangeManagedDatabaseGroupCompartmentResponse

type ChangeManagedDatabaseGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeManagedDatabaseGroupCompartmentResponse wrapper for the ChangeManagedDatabaseGroupCompartment operation

func (ChangeManagedDatabaseGroupCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeManagedDatabaseGroupCompartmentResponse) String

type ChildDatabase

type ChildDatabase struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	Id *string `mandatory:"true" json:"id"`

	// The name of the Managed Database.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the Managed Database was added to the group.
	TimeAdded *common.SDKTime `mandatory:"true" json:"timeAdded"`

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"`

	// The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`
}

ChildDatabase The child Managed Database of a Managed Database Group.

func (ChildDatabase) String

func (m ChildDatabase) String() string

type CompareTypeEnum

type CompareTypeEnum string

CompareTypeEnum Enum with underlying type: string

const (
	CompareTypeHour CompareTypeEnum = "HOUR"
	CompareTypeDay  CompareTypeEnum = "DAY"
)

Set of constants representing the allowable values for CompareTypeEnum

func GetCompareTypeEnumValues

func GetCompareTypeEnumValues() []CompareTypeEnum

GetCompareTypeEnumValues Enumerates the set of values for CompareTypeEnum

type CreateJobDetails

type CreateJobDetails interface {

	// The name of the job. Valid characters are uppercase or lowercase letters,
	// numbers, and "_". The name of the job cannot be modified. It must be unique
	// in the compartment and must begin with an alphabetic character.
	GetName() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides.
	GetCompartmentId() *string

	// The schedule type of the job.
	GetScheduleType() JobScheduleTypeEnum

	// The description of the job.
	GetDescription() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed.
	GetManagedDatabaseGroupId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed.
	GetManagedDatabaseId() *string

	// The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided.
	GetDatabaseSubType() DatabaseSubTypeEnum

	// The job timeout duration, which is expressed like "1h 10m 15s".
	GetTimeout() *string

	GetResultLocation() JobExecutionResultLocation
}

CreateJobDetails The details required to create a job.

type CreateJobRequest

type CreateJobRequest struct {

	// The details required to create a job.
	CreateJobDetails `contributesTo:"body"`

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

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

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

CreateJobRequest wrapper for the CreateJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateJob.go.html to see an example of how to use CreateJobRequest.

func (CreateJobRequest) HTTPRequest

func (request CreateJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateJobRequest) RetryPolicy

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

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

func (CreateJobRequest) String

func (request CreateJobRequest) String() string

type CreateJobResponse

type CreateJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// A link to the created job.
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

CreateJobResponse wrapper for the CreateJob operation

func (CreateJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateJobResponse) String

func (response CreateJobResponse) String() string

type CreateManagedDatabaseGroupDetails

type CreateManagedDatabaseGroupDetails struct {

	// The name of the Managed Database Group. Valid characters are uppercase or
	// lowercase letters, numbers, and "_". The name of the Managed Database Group
	// cannot be modified. It must be unique in the compartment and must begin with
	// an alphabetic character.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// in which the Managed Database Group resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The information specified by the user about the Managed Database Group.
	Description *string `mandatory:"false" json:"description"`
}

CreateManagedDatabaseGroupDetails The details required to create a Managed Database Group.

func (CreateManagedDatabaseGroupDetails) String

type CreateManagedDatabaseGroupRequest

type CreateManagedDatabaseGroupRequest struct {

	// The details required to create a Managed Database Group.
	CreateManagedDatabaseGroupDetails `contributesTo:"body"`

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

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

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

CreateManagedDatabaseGroupRequest wrapper for the CreateManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroupRequest.

func (CreateManagedDatabaseGroupRequest) HTTPRequest

func (request CreateManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateManagedDatabaseGroupRequest) RetryPolicy

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

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

func (CreateManagedDatabaseGroupRequest) String

func (request CreateManagedDatabaseGroupRequest) String() string

type CreateManagedDatabaseGroupResponse

type CreateManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedDatabaseGroup instance
	ManagedDatabaseGroup `presentIn:"body"`

	// A link to the newly created Managed Database Group.
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

CreateManagedDatabaseGroupResponse wrapper for the CreateManagedDatabaseGroup operation

func (CreateManagedDatabaseGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateManagedDatabaseGroupResponse) String

func (response CreateManagedDatabaseGroupResponse) String() string

type CreateSqlJobDetails

type CreateSqlJobDetails struct {

	// The name of the job. Valid characters are uppercase or lowercase letters,
	// numbers, and "_". The name of the job cannot be modified. It must be unique
	// in the compartment and must begin with an alphabetic character.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The description of the job.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed.
	ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`

	// The job timeout duration, which is expressed like "1h 10m 15s".
	Timeout *string `mandatory:"false" json:"timeout"`

	ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"`

	// The SQL text to be executed as part of the job.
	SqlText *string `mandatory:"false" json:"sqlText"`

	// The database user name used to execute the SQL job. If the job is being executed on a
	// Managed Database Group, then the user name should exist on all the databases in the
	// group with the same password.
	UserName *string `mandatory:"false" json:"userName"`

	// The password for the database user name used to execute the SQL job.
	Password *string `mandatory:"false" json:"password"`

	// The schedule type of the job.
	ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`

	// The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`

	SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"`

	// The SQL operation type.
	OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"`

	// The role of the database user. Indicates whether the database user is a normal user or sysdba.
	Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"`
}

CreateSqlJobDetails The details specific to the SQL job request.

func (CreateSqlJobDetails) GetCompartmentId

func (m CreateSqlJobDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateSqlJobDetails) GetDatabaseSubType

func (m CreateSqlJobDetails) GetDatabaseSubType() DatabaseSubTypeEnum

GetDatabaseSubType returns DatabaseSubType

func (CreateSqlJobDetails) GetDescription

func (m CreateSqlJobDetails) GetDescription() *string

GetDescription returns Description

func (CreateSqlJobDetails) GetManagedDatabaseGroupId

func (m CreateSqlJobDetails) GetManagedDatabaseGroupId() *string

GetManagedDatabaseGroupId returns ManagedDatabaseGroupId

func (CreateSqlJobDetails) GetManagedDatabaseId

func (m CreateSqlJobDetails) GetManagedDatabaseId() *string

GetManagedDatabaseId returns ManagedDatabaseId

func (CreateSqlJobDetails) GetName

func (m CreateSqlJobDetails) GetName() *string

GetName returns Name

func (CreateSqlJobDetails) GetResultLocation

func (m CreateSqlJobDetails) GetResultLocation() JobExecutionResultLocation

GetResultLocation returns ResultLocation

func (CreateSqlJobDetails) GetScheduleType

func (m CreateSqlJobDetails) GetScheduleType() JobScheduleTypeEnum

GetScheduleType returns ScheduleType

func (CreateSqlJobDetails) GetTimeout

func (m CreateSqlJobDetails) GetTimeout() *string

GetTimeout returns Timeout

func (CreateSqlJobDetails) MarshalJSON

func (m CreateSqlJobDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateSqlJobDetails) String

func (m CreateSqlJobDetails) String() string

func (*CreateSqlJobDetails) UnmarshalJSON

func (m *CreateSqlJobDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type DatabaseCredentials

type DatabaseCredentials struct {

	// The database user name used to perform management activity.
	UserName *string `mandatory:"false" json:"userName"`

	// The password for the database user name.
	Password *string `mandatory:"false" json:"password"`

	// The role of the database user. Indicates whether the database user is a normal user or sysdba.
	Role DatabaseCredentialsRoleEnum `mandatory:"false" json:"role,omitempty"`
}

DatabaseCredentials The database credentials used to perform management activity.

func (DatabaseCredentials) String

func (m DatabaseCredentials) String() string

type DatabaseCredentialsRoleEnum

type DatabaseCredentialsRoleEnum string

DatabaseCredentialsRoleEnum Enum with underlying type: string

const (
	DatabaseCredentialsRoleNormal DatabaseCredentialsRoleEnum = "NORMAL"
	DatabaseCredentialsRoleSysdba DatabaseCredentialsRoleEnum = "SYSDBA"
)

Set of constants representing the allowable values for DatabaseCredentialsRoleEnum

func GetDatabaseCredentialsRoleEnumValues

func GetDatabaseCredentialsRoleEnumValues() []DatabaseCredentialsRoleEnum

GetDatabaseCredentialsRoleEnumValues Enumerates the set of values for DatabaseCredentialsRoleEnum

type DatabaseFleetHealthMetrics

type DatabaseFleetHealthMetrics struct {

	// The baseline date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
	// This is the date and time against which percentage change is calculated.
	CompareBaselineTime *string `mandatory:"true" json:"compareBaselineTime"`

	// The target date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
	// All the metrics are returned for the target date and time and the percentage change
	// is calculated against the baseline date and time.
	CompareTargetTime *string `mandatory:"true" json:"compareTargetTime"`

	// A list of the databases present in the fleet and their usage metrics.
	FleetDatabases []DatabaseUsageMetrics `mandatory:"true" json:"fleetDatabases"`

	// The time window used for metrics comparison.
	CompareType CompareTypeEnum `mandatory:"false" json:"compareType,omitempty"`

	FleetSummary *FleetSummary `mandatory:"false" json:"fleetSummary"`
}

DatabaseFleetHealthMetrics The details of the fleet health metrics.

func (DatabaseFleetHealthMetrics) String

type DatabaseHomeMetricDefinition

type DatabaseHomeMetricDefinition struct {

	// A list of the active session metrics for CPU and Wait time for a specific database.
	ActivityTimeSeriesMetrics []ActivityTimeSeriesMetrics `mandatory:"true" json:"activityTimeSeriesMetrics"`

	DbTimeAggregateMetrics *DatabaseTimeAggregateMetrics `mandatory:"true" json:"dbTimeAggregateMetrics"`

	IoAggregateMetrics *DatabaseIoAggregateMetrics `mandatory:"true" json:"ioAggregateMetrics"`

	MemoryAggregateMetrics *MemoryAggregateMetrics `mandatory:"true" json:"memoryAggregateMetrics"`

	DbStorageAggregateMetrics *DatabaseStorageAggregateMetrics `mandatory:"true" json:"dbStorageAggregateMetrics"`
}

DatabaseHomeMetricDefinition The response containing the CPU, Storage, Wait, DB Time, and Memory metrics for a specific database.

func (DatabaseHomeMetricDefinition) String

type DatabaseHomeMetrics

type DatabaseHomeMetrics struct {
	DatabaseHomeMetrics *DatabaseHomeMetricDefinition `mandatory:"true" json:"databaseHomeMetrics"`
}

DatabaseHomeMetrics The response containing the metric collection for a specific database.

func (DatabaseHomeMetrics) String

func (m DatabaseHomeMetrics) String() string

type DatabaseIoAggregateMetrics

type DatabaseIoAggregateMetrics struct {

	// A list of the Input/Output Operations Per Second metrics grouped by IOType for a specific database.
	Iops []MetricDataPoint `mandatory:"false" json:"iops"`

	// A list of the IOThroughput metrics grouped for a specific database.
	IoThroughput []MetricDataPoint `mandatory:"false" json:"ioThroughput"`
}

DatabaseIoAggregateMetrics The database Input/Output metric details.

func (DatabaseIoAggregateMetrics) String

type DatabaseParameterSummary

type DatabaseParameterSummary struct {

	// The parameter name.
	Name *string `mandatory:"true" json:"name"`

	// The parameter type.
	Type DatabaseParameterSummaryTypeEnum `mandatory:"true" json:"type"`

	// The parameter value.
	Value *string `mandatory:"true" json:"value"`

	// The parameter value in a user-friendly format. For example, if the `value` property shows the value 262144 for a big integer parameter, then the `displayValue` property will show the value 256K.
	DisplayValue *string `mandatory:"true" json:"displayValue"`

	// The parameter number.
	Number *float32 `mandatory:"false" json:"number"`

	// Indicates whether the parameter is set to the default value (`TRUE`) or the parameter value was specified in the parameter file (`FALSE`).
	IsDefault *bool `mandatory:"false" json:"isDefault"`

	// Indicates whether the parameter can be changed with `ALTER SESSION` (`TRUE`) or not (`FALSE`)
	IsSessionModifiable *bool `mandatory:"false" json:"isSessionModifiable"`

	// Indicates whether the parameter can be changed with `ALTER SYSTEM` and when the change takes effect:
	// - IMMEDIATE: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect immediately.
	// - DEFERRED: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect in subsequent sessions.
	// - FALSE: Parameter cannot be changed with `ALTER SYSTEM` unless a server parameter file was used to start the instance. The change takes effect in subsequent instances.
	IsSystemModifiable DatabaseParameterSummaryIsSystemModifiableEnum `mandatory:"false" json:"isSystemModifiable,omitempty"`

	// Indicates whether the parameter can be modified on a per-PDB basis (`TRUE`) or not (`FALSE`). In a non-CDB, the value of this property is `null`.
	IsPdbModifiable *bool `mandatory:"false" json:"isPdbModifiable"`

	// For parameters that can be changed with `ALTER SYSTEM`, indicates whether the value of the parameter can be different for every instance (`TRUE`) or whether the parameter must have the same value for all Real Application Clusters instances (`FALSE`). For other parameters, this is always `FALSE`.
	IsInstanceModifiable *bool `mandatory:"false" json:"isInstanceModifiable"`

	// Indicates how the parameter was modified. If an `ALTER SYSTEM` was performed, the value will be `MODIFIED`.
	IsModified DatabaseParameterSummaryIsModifiedEnum `mandatory:"false" json:"isModified,omitempty"`

	// Indicates whether Oracle adjusted the input value to a more suitable value.
	IsAdjusted *bool `mandatory:"false" json:"isAdjusted"`

	// Indicates whether the parameter has been deprecated (`TRUE`) or not (`FALSE`).
	IsDeprecated *bool `mandatory:"false" json:"isDeprecated"`

	// Indicates whether the parameter is a basic parameter (`TRUE`) or not (`FALSE`).
	IsBasic *bool `mandatory:"false" json:"isBasic"`

	// The description of the parameter.
	Description *string `mandatory:"false" json:"description"`

	// The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings.
	Ordinal *float32 `mandatory:"false" json:"ordinal"`

	// The comments associated with the most recent update.
	UpdateComment *string `mandatory:"false" json:"updateComment"`

	// The ID of the database container to which the data pertains.
	// Possible values include:
	// - `0`: This value is used for data that pertain to the entire CDB. This value is also used for data in non-CDBs.
	// - `1`: This value is used for data that pertain to only the root container.
	// - `n`: Where n is the applicable container ID for the data.
	ContainerId *float32 `mandatory:"false" json:"containerId"`

	// The parameter category.
	Category *string `mandatory:"false" json:"category"`

	// Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases.
	// A `UNIQUE` parameter is one which is unique to each Oracle Real Application
	// Clusters (Oracle RAC) instance. For example, the parameter `INSTANCE_NUMBER`
	// must have different values in each instance. An `IDENTICAL` parameter must
	// have the same value for every instance. For example, the parameter
	// `DB_BLOCK_SIZE` must have the same value in all instances.
	Constraint DatabaseParameterSummaryConstraintEnum `mandatory:"false" json:"constraint,omitempty"`

	// The database instance SID for which the parameter is defined.
	Sid *string `mandatory:"false" json:"sid"`

	// Indicates whether the parameter was specified in the server parameter file (`TRUE`) or not (`FALSE`). Applicable only when the parameter source is `SPFILE`.
	IsSpecified *bool `mandatory:"false" json:"isSpecified"`

	// A list of allowed values for this parameter.
	AllowedValues []AllowedParameterValue `mandatory:"false" json:"allowedValues"`
}

DatabaseParameterSummary The details of a database parameter.

func (DatabaseParameterSummary) String

func (m DatabaseParameterSummary) String() string

type DatabaseParameterSummaryConstraintEnum

type DatabaseParameterSummaryConstraintEnum string

DatabaseParameterSummaryConstraintEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryConstraintUnique    DatabaseParameterSummaryConstraintEnum = "UNIQUE"
	DatabaseParameterSummaryConstraintIdentical DatabaseParameterSummaryConstraintEnum = "IDENTICAL"
	DatabaseParameterSummaryConstraintNone      DatabaseParameterSummaryConstraintEnum = "NONE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryConstraintEnum

func GetDatabaseParameterSummaryConstraintEnumValues

func GetDatabaseParameterSummaryConstraintEnumValues() []DatabaseParameterSummaryConstraintEnum

GetDatabaseParameterSummaryConstraintEnumValues Enumerates the set of values for DatabaseParameterSummaryConstraintEnum

type DatabaseParameterSummaryIsModifiedEnum

type DatabaseParameterSummaryIsModifiedEnum string

DatabaseParameterSummaryIsModifiedEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryIsModifiedModified DatabaseParameterSummaryIsModifiedEnum = "MODIFIED"
	DatabaseParameterSummaryIsModifiedFalse    DatabaseParameterSummaryIsModifiedEnum = "FALSE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryIsModifiedEnum

func GetDatabaseParameterSummaryIsModifiedEnumValues

func GetDatabaseParameterSummaryIsModifiedEnumValues() []DatabaseParameterSummaryIsModifiedEnum

GetDatabaseParameterSummaryIsModifiedEnumValues Enumerates the set of values for DatabaseParameterSummaryIsModifiedEnum

type DatabaseParameterSummaryIsSystemModifiableEnum

type DatabaseParameterSummaryIsSystemModifiableEnum string

DatabaseParameterSummaryIsSystemModifiableEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryIsSystemModifiableImmediate DatabaseParameterSummaryIsSystemModifiableEnum = "IMMEDIATE"
	DatabaseParameterSummaryIsSystemModifiableDeferred  DatabaseParameterSummaryIsSystemModifiableEnum = "DEFERRED"
	DatabaseParameterSummaryIsSystemModifiableFalse     DatabaseParameterSummaryIsSystemModifiableEnum = "FALSE"
)

Set of constants representing the allowable values for DatabaseParameterSummaryIsSystemModifiableEnum

func GetDatabaseParameterSummaryIsSystemModifiableEnumValues

func GetDatabaseParameterSummaryIsSystemModifiableEnumValues() []DatabaseParameterSummaryIsSystemModifiableEnum

GetDatabaseParameterSummaryIsSystemModifiableEnumValues Enumerates the set of values for DatabaseParameterSummaryIsSystemModifiableEnum

type DatabaseParameterSummaryTypeEnum

type DatabaseParameterSummaryTypeEnum string

DatabaseParameterSummaryTypeEnum Enum with underlying type: string

const (
	DatabaseParameterSummaryTypeBoolean    DatabaseParameterSummaryTypeEnum = "BOOLEAN"
	DatabaseParameterSummaryTypeString     DatabaseParameterSummaryTypeEnum = "STRING"
	DatabaseParameterSummaryTypeInteger    DatabaseParameterSummaryTypeEnum = "INTEGER"
	DatabaseParameterSummaryTypeFilename   DatabaseParameterSummaryTypeEnum = "FILENAME"
	DatabaseParameterSummaryTypeBigInteger DatabaseParameterSummaryTypeEnum = "BIG_INTEGER"
	DatabaseParameterSummaryTypeReserved   DatabaseParameterSummaryTypeEnum = "RESERVED"
)

Set of constants representing the allowable values for DatabaseParameterSummaryTypeEnum

func GetDatabaseParameterSummaryTypeEnumValues

func GetDatabaseParameterSummaryTypeEnumValues() []DatabaseParameterSummaryTypeEnum

GetDatabaseParameterSummaryTypeEnumValues Enumerates the set of values for DatabaseParameterSummaryTypeEnum

type DatabaseParameterUpdateStatus

type DatabaseParameterUpdateStatus struct {

	// The status of the parameter update.
	Status DatabaseParameterUpdateStatusStatusEnum `mandatory:"false" json:"status,omitempty"`

	// An error code that defines the failure or `null` if the parameter
	// was updated successfully.
	ErrorCode *string `mandatory:"false" json:"errorCode"`

	// The error message indicating the reason for failure or `null` if
	// the parameter was updated successfully.
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`
}

DatabaseParameterUpdateStatus The result of database parameter update.

func (DatabaseParameterUpdateStatus) String

type DatabaseParameterUpdateStatusStatusEnum

type DatabaseParameterUpdateStatusStatusEnum string

DatabaseParameterUpdateStatusStatusEnum Enum with underlying type: string

const (
	DatabaseParameterUpdateStatusStatusSucceeded DatabaseParameterUpdateStatusStatusEnum = "SUCCEEDED"
	DatabaseParameterUpdateStatusStatusFailed    DatabaseParameterUpdateStatusStatusEnum = "FAILED"
)

Set of constants representing the allowable values for DatabaseParameterUpdateStatusStatusEnum

func GetDatabaseParameterUpdateStatusStatusEnumValues

func GetDatabaseParameterUpdateStatusStatusEnumValues() []DatabaseParameterUpdateStatusStatusEnum

GetDatabaseParameterUpdateStatusStatusEnumValues Enumerates the set of values for DatabaseParameterUpdateStatusStatusEnum

type DatabaseParametersCollection

type DatabaseParametersCollection struct {

	// The name of the Managed Database.
	DatabaseName *string `mandatory:"true" json:"databaseName"`

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"`

	// The subtype of the Oracle Database. Indicates whether the database
	// is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"`

	// The Oracle Database version.
	DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`

	// An array of DatabaseParameterSummary objects.
	Items []DatabaseParameterSummary `mandatory:"true" json:"items"`
}

DatabaseParametersCollection The details of the database parameters.

func (DatabaseParametersCollection) String

type DatabaseStatusEnum

type DatabaseStatusEnum string

DatabaseStatusEnum Enum with underlying type: string

const (
	DatabaseStatusUp      DatabaseStatusEnum = "UP"
	DatabaseStatusDown    DatabaseStatusEnum = "DOWN"
	DatabaseStatusUnknown DatabaseStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for DatabaseStatusEnum

func GetDatabaseStatusEnumValues

func GetDatabaseStatusEnumValues() []DatabaseStatusEnum

GetDatabaseStatusEnumValues Enumerates the set of values for DatabaseStatusEnum

type DatabaseStorageAggregateMetrics

type DatabaseStorageAggregateMetrics struct {
	StorageAllocated *MetricDataPoint `mandatory:"false" json:"storageAllocated"`

	StorageUsed *MetricDataPoint `mandatory:"false" json:"storageUsed"`

	// A list of the storage metrics grouped by TableSpace for a specific database.
	StorageUsedByTableSpace []MetricDataPoint `mandatory:"false" json:"storageUsedByTableSpace"`
}

DatabaseStorageAggregateMetrics The database storage metric values.

func (DatabaseStorageAggregateMetrics) String

type DatabaseSubTypeEnum

type DatabaseSubTypeEnum string

DatabaseSubTypeEnum Enum with underlying type: string

const (
	DatabaseSubTypeCdb    DatabaseSubTypeEnum = "CDB"
	DatabaseSubTypePdb    DatabaseSubTypeEnum = "PDB"
	DatabaseSubTypeNonCdb DatabaseSubTypeEnum = "NON_CDB"
)

Set of constants representing the allowable values for DatabaseSubTypeEnum

func GetDatabaseSubTypeEnumValues

func GetDatabaseSubTypeEnumValues() []DatabaseSubTypeEnum

GetDatabaseSubTypeEnumValues Enumerates the set of values for DatabaseSubTypeEnum

type DatabaseTimeAggregateMetrics

type DatabaseTimeAggregateMetrics struct {
	CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"`

	CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"`

	WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"`

	UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"`
}

DatabaseTimeAggregateMetrics The database time metric details.

func (DatabaseTimeAggregateMetrics) String

type DatabaseTypeEnum

type DatabaseTypeEnum string

DatabaseTypeEnum Enum with underlying type: string

const (
	DatabaseTypeExternalSidb DatabaseTypeEnum = "EXTERNAL_SIDB"
	DatabaseTypeExternalRac  DatabaseTypeEnum = "EXTERNAL_RAC"
)

Set of constants representing the allowable values for DatabaseTypeEnum

func GetDatabaseTypeEnumValues

func GetDatabaseTypeEnumValues() []DatabaseTypeEnum

GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum

type DatabaseUsageMetrics

type DatabaseUsageMetrics struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	DbId *string `mandatory:"false" json:"dbId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the Managed Database resides.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"`

	// The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`

	// The display name of the Managed Database.
	DatabaseName *string `mandatory:"false" json:"databaseName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database, in the case of a Pluggable Database.
	DatabaseContainerId *string `mandatory:"false" json:"databaseContainerId"`

	// A list of the database health metrics like CPU, Storage, and Memory.
	Metrics []FleetMetricDefinition `mandatory:"false" json:"metrics"`
}

DatabaseUsageMetrics The list of aggregated metrics for Managed Databases in the fleet.

func (DatabaseUsageMetrics) String

func (m DatabaseUsageMetrics) String() string

type Datafile

type Datafile struct {

	// The filename (including the path) of the datafile or tempfile.
	Name *string `mandatory:"true" json:"name"`

	// The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was dropped.
	Status DatafileStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The online status of the file.
	OnlineStatus DatafileOnlineStatusEnum `mandatory:"false" json:"onlineStatus,omitempty"`

	// Indicates whether the datafile is auto-extensible.
	IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"`

	// The lost write protection status of the file.
	LostWriteProtect DatafileLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"`

	// Type of tablespace this file belongs to. If it's for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types.
	Shared DatafileSharedEnum `mandatory:"false" json:"shared,omitempty"`

	// Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces.
	InstanceId *float32 `mandatory:"false" json:"instanceId"`

	// The maximum file size in KB.
	MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"`

	// The allocated file size in KB.
	AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"`

	// The size of the file available for user data in KB. The actual size of the file minus the USER_BYTES value is used to store file-related metadata.
	UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"`

	// The number of blocks used as auto-extension increment.
	IncrementBy *float32 `mandatory:"false" json:"incrementBy"`

	// The free space available in the datafile in KB.
	FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"`

	// The total space used in the datafile in KB.
	UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"`

	// The percentage of used space out of the maximum available space in the file.
	UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"`

	// The percentage of used space out of the total allocated space in the file.
	UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"`
}

Datafile The details of a datafile.

func (Datafile) String

func (m Datafile) String() string

type DatafileLostWriteProtectEnum

type DatafileLostWriteProtectEnum string

DatafileLostWriteProtectEnum Enum with underlying type: string

const (
	DatafileLostWriteProtectEnabled    DatafileLostWriteProtectEnum = "ENABLED"
	DatafileLostWriteProtectProtectOff DatafileLostWriteProtectEnum = "PROTECT_OFF"
	DatafileLostWriteProtectSuspend    DatafileLostWriteProtectEnum = "SUSPEND"
)

Set of constants representing the allowable values for DatafileLostWriteProtectEnum

func GetDatafileLostWriteProtectEnumValues

func GetDatafileLostWriteProtectEnumValues() []DatafileLostWriteProtectEnum

GetDatafileLostWriteProtectEnumValues Enumerates the set of values for DatafileLostWriteProtectEnum

type DatafileOnlineStatusEnum

type DatafileOnlineStatusEnum string

DatafileOnlineStatusEnum Enum with underlying type: string

const (
	DatafileOnlineStatusSysoff  DatafileOnlineStatusEnum = "SYSOFF"
	DatafileOnlineStatusSystem  DatafileOnlineStatusEnum = "SYSTEM"
	DatafileOnlineStatusOffline DatafileOnlineStatusEnum = "OFFLINE"
	DatafileOnlineStatusOnline  DatafileOnlineStatusEnum = "ONLINE"
	DatafileOnlineStatusRecover DatafileOnlineStatusEnum = "RECOVER"
)

Set of constants representing the allowable values for DatafileOnlineStatusEnum

func GetDatafileOnlineStatusEnumValues

func GetDatafileOnlineStatusEnumValues() []DatafileOnlineStatusEnum

GetDatafileOnlineStatusEnumValues Enumerates the set of values for DatafileOnlineStatusEnum

type DatafileSharedEnum

type DatafileSharedEnum string

DatafileSharedEnum Enum with underlying type: string

const (
	DatafileSharedShared      DatafileSharedEnum = "SHARED"
	DatafileSharedLocalForRim DatafileSharedEnum = "LOCAL_FOR_RIM"
	DatafileSharedLocalForAll DatafileSharedEnum = "LOCAL_FOR_ALL"
)

Set of constants representing the allowable values for DatafileSharedEnum

func GetDatafileSharedEnumValues

func GetDatafileSharedEnumValues() []DatafileSharedEnum

GetDatafileSharedEnumValues Enumerates the set of values for DatafileSharedEnum

type DatafileStatusEnum

type DatafileStatusEnum string

DatafileStatusEnum Enum with underlying type: string

const (
	DatafileStatusAvailable DatafileStatusEnum = "AVAILABLE"
	DatafileStatusInvalid   DatafileStatusEnum = "INVALID"
	DatafileStatusOffline   DatafileStatusEnum = "OFFLINE"
	DatafileStatusOnline    DatafileStatusEnum = "ONLINE"
	DatafileStatusUnknown   DatafileStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for DatafileStatusEnum

func GetDatafileStatusEnumValues

func GetDatafileStatusEnumValues() []DatafileStatusEnum

GetDatafileStatusEnumValues Enumerates the set of values for DatafileStatusEnum

type DbManagementClient

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

DbManagementClient a client for DbManagement

func NewDbManagementClientWithConfigurationProvider

func NewDbManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DbManagementClient, err error)

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

func NewDbManagementClientWithOboToken

func NewDbManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DbManagementClient, err error)

NewDbManagementClientWithOboToken Creates a new default DbManagement 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 (DbManagementClient) AddManagedDatabaseToManagedDatabaseGroup

func (client DbManagementClient) AddManagedDatabaseToManagedDatabaseGroup(ctx context.Context, request AddManagedDatabaseToManagedDatabaseGroupRequest) (response AddManagedDatabaseToManagedDatabaseGroupResponse, err error)

AddManagedDatabaseToManagedDatabaseGroup Adds a Managed Database to a specific Managed Database Group. After the database is added, it will be included in the management activities performed on the Managed Database Group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroup API.

func (DbManagementClient) ChangeDatabaseParameters

func (client DbManagementClient) ChangeDatabaseParameters(ctx context.Context, request ChangeDatabaseParametersRequest) (response ChangeDatabaseParametersResponse, err error)

ChangeDatabaseParameters Changes database parameters' values. There are two kinds of database parameters: - Dynamic parameters: They can be changed for the current Oracle Database instance. The changes take effect immediately. - Static parameters: They cannot be changed for the current instance. You must change these parameters and then restart the database before changes take effect. **Note:** If the instance is started using a text initialization parameter file, the parameter changes are applicable only for the current instance. You must update them manually to be passed to a future instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParameters API.

func (DbManagementClient) ChangeJobCompartment

func (client DbManagementClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)

ChangeJobCompartment Moves a job.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.

func (DbManagementClient) ChangeManagedDatabaseGroupCompartment

func (client DbManagementClient) ChangeManagedDatabaseGroupCompartment(ctx context.Context, request ChangeManagedDatabaseGroupCompartmentRequest) (response ChangeManagedDatabaseGroupCompartmentResponse, err error)

ChangeManagedDatabaseGroupCompartment Moves a Managed Database Group to a different compartment. The destination compartment must not have a Managed Database Group with the same name.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartment API.

func (*DbManagementClient) ConfigurationProvider

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

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

func (DbManagementClient) CreateJob

func (client DbManagementClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)

CreateJob Creates a job to be executed on a Managed Database or Managed Database Group. Only one of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as input in CreateJobDetails resource in request body.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateJob.go.html to see an example of how to use CreateJob API.

func (DbManagementClient) CreateManagedDatabaseGroup

func (client DbManagementClient) CreateManagedDatabaseGroup(ctx context.Context, request CreateManagedDatabaseGroupRequest) (response CreateManagedDatabaseGroupResponse, err error)

CreateManagedDatabaseGroup Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroup API.

func (DbManagementClient) DeleteJob

func (client DbManagementClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)

DeleteJob Deletes the job specified by jobId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJob API.

func (DbManagementClient) DeleteManagedDatabaseGroup

func (client DbManagementClient) DeleteManagedDatabaseGroup(ctx context.Context, request DeleteManagedDatabaseGroupRequest) (response DeleteManagedDatabaseGroupResponse, err error)

DeleteManagedDatabaseGroup Deletes the Managed Database Group specified by managedDatabaseGroupId. If the group contains Managed Databases, then it cannot be deleted.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroup API.

func (DbManagementClient) GetDatabaseFleetHealthMetrics

func (client DbManagementClient) GetDatabaseFleetHealthMetrics(ctx context.Context, request GetDatabaseFleetHealthMetricsRequest) (response GetDatabaseFleetHealthMetricsResponse, err error)

GetDatabaseFleetHealthMetrics Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group. Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetrics API.

func (DbManagementClient) GetDatabaseHomeMetrics

func (client DbManagementClient) GetDatabaseHomeMetrics(ctx context.Context, request GetDatabaseHomeMetricsRequest) (response GetDatabaseHomeMetricsResponse, err error)

GetDatabaseHomeMetrics Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetrics API.

func (DbManagementClient) GetJob

func (client DbManagementClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)

GetJob Gets the details for the job specified by jobId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJob.go.html to see an example of how to use GetJob API.

func (DbManagementClient) GetJobExecution

func (client DbManagementClient) GetJobExecution(ctx context.Context, request GetJobExecutionRequest) (response GetJobExecutionResponse, err error)

GetJobExecution Gets the details for the job execution specified by jobExecutionId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecution API.

func (DbManagementClient) GetJobRun

func (client DbManagementClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)

GetJobRun Gets the details for the job run specified by jobRunId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRun API.

func (DbManagementClient) GetManagedDatabase

func (client DbManagementClient) GetManagedDatabase(ctx context.Context, request GetManagedDatabaseRequest) (response GetManagedDatabaseResponse, err error)

GetManagedDatabase Gets the details for the Managed Database specified by managedDatabaseId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabase API.

func (DbManagementClient) GetManagedDatabaseGroup

func (client DbManagementClient) GetManagedDatabaseGroup(ctx context.Context, request GetManagedDatabaseGroupRequest) (response GetManagedDatabaseGroupResponse, err error)

GetManagedDatabaseGroup Gets the details for the Managed Database Group specified by managedDatabaseGroupId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroup API.

func (DbManagementClient) ListDatabaseParameters

func (client DbManagementClient) ListDatabaseParameters(ctx context.Context, request ListDatabaseParametersRequest) (response ListDatabaseParametersResponse, err error)

ListDatabaseParameters Gets the list of database parameters for the specified Managed Database. The parameters are listed in alphabetical order, along with their current values.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParameters API.

func (DbManagementClient) ListJobExecutions

func (client DbManagementClient) ListJobExecutions(ctx context.Context, request ListJobExecutionsRequest) (response ListJobExecutionsResponse, err error)

ListJobExecutions Gets the job execution for a specific ID or the list of job executions for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutions API.

func (DbManagementClient) ListJobRuns

func (client DbManagementClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)

ListJobRuns Gets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job runs in the compartment are listed. Job runs can also be filtered based on name and runStatus parameters.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRuns API.

func (DbManagementClient) ListJobs

func (client DbManagementClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)

ListJobs Gets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, managedDatabaseId or managedDatabaseGroupId, should be provided. If none of these parameters is provided, all the jobs in the compartment are listed. Jobs can also be filtered based on the name and lifecycleState parameters.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobs.go.html to see an example of how to use ListJobs API.

func (DbManagementClient) ListManagedDatabaseGroups

func (client DbManagementClient) ListManagedDatabaseGroups(ctx context.Context, request ListManagedDatabaseGroupsRequest) (response ListManagedDatabaseGroupsResponse, err error)

ListManagedDatabaseGroups Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroups API.

func (DbManagementClient) ListManagedDatabases

func (client DbManagementClient) ListManagedDatabases(ctx context.Context, request ListManagedDatabasesRequest) (response ListManagedDatabasesResponse, err error)

ListManagedDatabases Gets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment. Managed Databases can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Databases in the compartment are listed.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabases API.

func (DbManagementClient) ListTablespaces

func (client DbManagementClient) ListTablespaces(ctx context.Context, request ListTablespacesRequest) (response ListTablespacesResponse, err error)

ListTablespaces Gets the list of tablespaces for the specified managedDatabaseId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespaces API.

func (DbManagementClient) RemoveManagedDatabaseFromManagedDatabaseGroup

func (client DbManagementClient) RemoveManagedDatabaseFromManagedDatabaseGroup(ctx context.Context, request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse, err error)

RemoveManagedDatabaseFromManagedDatabaseGroup Removes a Managed Database from a Managed Database Group. Any management activities that are currently running on this database will continue to run to completion. However, any activities scheduled to run in the future will not be performed on this database.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.

func (DbManagementClient) ResetDatabaseParameters

func (client DbManagementClient) ResetDatabaseParameters(ctx context.Context, request ResetDatabaseParametersRequest) (response ResetDatabaseParametersResponse, err error)

ResetDatabaseParameters Resets database parameters' values to their default or startup values.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParameters API.

func (*DbManagementClient) SetRegion

func (client *DbManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DbManagementClient) UpdateManagedDatabaseGroup

func (client DbManagementClient) UpdateManagedDatabaseGroup(ctx context.Context, request UpdateManagedDatabaseGroupRequest) (response UpdateManagedDatabaseGroupResponse, err error)

UpdateManagedDatabaseGroup Updates the Managed Database Group specified by managedDatabaseGroupId.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroup API.

type DeleteJobRequest

type DeleteJobRequest struct {

	// The identifier of the job.
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

DeleteJobRequest wrapper for the DeleteJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJobRequest.

func (DeleteJobRequest) HTTPRequest

func (request DeleteJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteJobRequest) RetryPolicy

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

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

func (DeleteJobRequest) String

func (request DeleteJobRequest) String() string

type DeleteJobResponse

type DeleteJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteJobResponse wrapper for the DeleteJob operation

func (DeleteJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteJobResponse) String

func (response DeleteJobResponse) String() string

type DeleteManagedDatabaseGroupRequest

type DeleteManagedDatabaseGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

DeleteManagedDatabaseGroupRequest wrapper for the DeleteManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroupRequest.

func (DeleteManagedDatabaseGroupRequest) HTTPRequest

func (request DeleteManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagedDatabaseGroupRequest) RetryPolicy

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

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

func (DeleteManagedDatabaseGroupRequest) String

func (request DeleteManagedDatabaseGroupRequest) String() string

type DeleteManagedDatabaseGroupResponse

type DeleteManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteManagedDatabaseGroupResponse wrapper for the DeleteManagedDatabaseGroup operation

func (DeleteManagedDatabaseGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagedDatabaseGroupResponse) String

func (response DeleteManagedDatabaseGroupResponse) String() string

type FleetMetricDefinition

type FleetMetricDefinition struct {

	// The name of the metric.
	MetricName *string `mandatory:"false" json:"metricName"`

	// The baseline value of the metric.
	BaselineValue *float64 `mandatory:"false" json:"baselineValue"`

	// The target value of the metric.
	TargetValue *float64 `mandatory:"false" json:"targetValue"`

	// The unit of the value.
	Unit *string `mandatory:"false" json:"unit"`

	// The data point date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

	// The percentage change in the metric aggregated value compared to the baseline value.
	PercentageChange *float64 `mandatory:"false" json:"percentageChange"`

	// The dimensions of the metric.
	Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"`
}

FleetMetricDefinition The database metric details.

func (FleetMetricDefinition) String

func (m FleetMetricDefinition) String() string

type FleetMetricSummaryDefinition

type FleetMetricSummaryDefinition struct {

	// The name of the metric.
	MetricName *string `mandatory:"false" json:"metricName"`

	// The metric aggregated value at the baseline date and time.
	BaselineValue *float64 `mandatory:"false" json:"baselineValue"`

	// The metric aggregated value at the target date and time.
	TargetValue *float64 `mandatory:"false" json:"targetValue"`

	// The unit of the value.
	Unit *string `mandatory:"false" json:"unit"`

	// The percentage change in the metric aggregated value compared to the baseline value.
	PercentageChange *float64 `mandatory:"false" json:"percentageChange"`

	// The unique dimension key and values of the baseline metric.
	Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"`
}

FleetMetricSummaryDefinition A summary of the fleet metrics, which provides the metric aggregated value of the databases in the fleet.

func (FleetMetricSummaryDefinition) String

type FleetStatusByCategory

type FleetStatusByCategory struct {

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"`

	// The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`

	// The number of databases in the fleet.
	InventoryCount *int `mandatory:"false" json:"inventoryCount"`
}

FleetStatusByCategory The number of databases in the fleet, grouped by database type and sub type.

func (FleetStatusByCategory) String

func (m FleetStatusByCategory) String() string

type FleetSummary

type FleetSummary struct {

	// A list of databases present in the fleet and their usage metrics.
	AggregatedMetrics []FleetMetricSummaryDefinition `mandatory:"false" json:"aggregatedMetrics"`

	// A list of the databases in the fleet, grouped by database type and subtype.
	Inventory []FleetStatusByCategory `mandatory:"false" json:"inventory"`
}

FleetSummary A summary of the inventory count grouped by database type and subtype, and the metrics that describe the aggregated usage of CPU, storage, and so on of all the databases in the fleet.

func (FleetSummary) String

func (m FleetSummary) String() string

type GetDatabaseFleetHealthMetricsCompareTypeEnum

type GetDatabaseFleetHealthMetricsCompareTypeEnum string

GetDatabaseFleetHealthMetricsCompareTypeEnum Enum with underlying type: string

const (
	GetDatabaseFleetHealthMetricsCompareTypeHour GetDatabaseFleetHealthMetricsCompareTypeEnum = "HOUR"
	GetDatabaseFleetHealthMetricsCompareTypeDay  GetDatabaseFleetHealthMetricsCompareTypeEnum = "DAY"
)

Set of constants representing the allowable values for GetDatabaseFleetHealthMetricsCompareTypeEnum

func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues

func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues() []GetDatabaseFleetHealthMetricsCompareTypeEnum

GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues Enumerates the set of values for GetDatabaseFleetHealthMetricsCompareTypeEnum

type GetDatabaseFleetHealthMetricsRequest

type GetDatabaseFleetHealthMetricsRequest struct {

	// The baseline time for metrics comparison.
	CompareBaselineTime *string `mandatory:"true" contributesTo:"query" name:"compareBaselineTime"`

	// The target time for metrics comparison.
	CompareTargetTime *string `mandatory:"true" contributesTo:"query" name:"compareTargetTime"`

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The time window used for metrics comparison.
	CompareType GetDatabaseFleetHealthMetricsCompareTypeEnum `mandatory:"false" contributesTo:"query" name:"compareType" omitEmpty:"true"`

	// The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics.
	FilterByMetricNames *string `mandatory:"false" contributesTo:"query" name:"filterByMetricNames"`

	// The filter used to filter the databases in the fleet by a specific Oracle Database type.
	FilterByDatabaseType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseType"`

	// The filter used to filter the databases in the fleet by a specific Oracle Database subtype.
	FilterByDatabaseSubType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseSubType"`

	// 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
}

GetDatabaseFleetHealthMetricsRequest wrapper for the GetDatabaseFleetHealthMetrics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetricsRequest.

func (GetDatabaseFleetHealthMetricsRequest) HTTPRequest

func (request GetDatabaseFleetHealthMetricsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDatabaseFleetHealthMetricsRequest) RetryPolicy

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

func (GetDatabaseFleetHealthMetricsRequest) String

type GetDatabaseFleetHealthMetricsResponse

type GetDatabaseFleetHealthMetricsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DatabaseFleetHealthMetrics instance
	DatabaseFleetHealthMetrics `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"`
}

GetDatabaseFleetHealthMetricsResponse wrapper for the GetDatabaseFleetHealthMetrics operation

func (GetDatabaseFleetHealthMetricsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDatabaseFleetHealthMetricsResponse) String

type GetDatabaseHomeMetricsRequest

type GetDatabaseHomeMetricsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"query" name:"managedDatabaseId"`

	// The start time for the time range to retrieve the health metrics of a Managed Database
	// in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
	StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"`

	// The end time for the time range to retrieve the health metrics of a Managed Database
	// in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
	EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"`

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

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

GetDatabaseHomeMetricsRequest wrapper for the GetDatabaseHomeMetrics operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetricsRequest.

func (GetDatabaseHomeMetricsRequest) HTTPRequest

func (request GetDatabaseHomeMetricsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDatabaseHomeMetricsRequest) RetryPolicy

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

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

func (GetDatabaseHomeMetricsRequest) String

func (request GetDatabaseHomeMetricsRequest) String() string

type GetDatabaseHomeMetricsResponse

type GetDatabaseHomeMetricsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DatabaseHomeMetrics instance
	DatabaseHomeMetrics `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"`
}

GetDatabaseHomeMetricsResponse wrapper for the GetDatabaseHomeMetrics operation

func (GetDatabaseHomeMetricsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDatabaseHomeMetricsResponse) String

func (response GetDatabaseHomeMetricsResponse) String() string

type GetJobExecutionRequest

type GetJobExecutionRequest struct {

	// The identifier of the job execution.
	JobExecutionId *string `mandatory:"true" contributesTo:"path" name:"jobExecutionId"`

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

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

GetJobExecutionRequest wrapper for the GetJobExecution operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecutionRequest.

func (GetJobExecutionRequest) HTTPRequest

func (request GetJobExecutionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobExecutionRequest) RetryPolicy

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

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

func (GetJobExecutionRequest) String

func (request GetJobExecutionRequest) String() string

type GetJobExecutionResponse

type GetJobExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The JobExecution instance
	JobExecution `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"`
}

GetJobExecutionResponse wrapper for the GetJobExecution operation

func (GetJobExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJobExecutionResponse) String

func (response GetJobExecutionResponse) String() string

type GetJobRequest

type GetJobRequest struct {

	// The identifier of the job.
	JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

GetJobRequest wrapper for the GetJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJob.go.html to see an example of how to use GetJobRequest.

func (GetJobRequest) HTTPRequest

func (request GetJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobRequest) RetryPolicy

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

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

func (GetJobRequest) String

func (request GetJobRequest) String() string

type GetJobResponse

type GetJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Job instance
	Job `presentIn:"body"`

	// A link to the created job.
	Location *string `presentIn:"header" name:"location"`

	// 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"`
}

GetJobResponse wrapper for the GetJob operation

func (GetJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJobResponse) String

func (response GetJobResponse) String() string

type GetJobRunRequest

type GetJobRunRequest struct {

	// The identifier of the job run.
	JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"`

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

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

GetJobRunRequest wrapper for the GetJobRun operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRunRequest.

func (GetJobRunRequest) HTTPRequest

func (request GetJobRunRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobRunRequest) RetryPolicy

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

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

func (GetJobRunRequest) String

func (request GetJobRunRequest) String() string

type GetJobRunResponse

type GetJobRunResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The JobRun instance
	JobRun `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"`
}

GetJobRunResponse wrapper for the GetJobRun operation

func (GetJobRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetJobRunResponse) String

func (response GetJobRunResponse) String() string

type GetManagedDatabaseGroupRequest

type GetManagedDatabaseGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

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

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

GetManagedDatabaseGroupRequest wrapper for the GetManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroupRequest.

func (GetManagedDatabaseGroupRequest) HTTPRequest

func (request GetManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagedDatabaseGroupRequest) RetryPolicy

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

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

func (GetManagedDatabaseGroupRequest) String

func (request GetManagedDatabaseGroupRequest) String() string

type GetManagedDatabaseGroupResponse

type GetManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedDatabaseGroup instance
	ManagedDatabaseGroup `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"`
}

GetManagedDatabaseGroupResponse wrapper for the GetManagedDatabaseGroup operation

func (GetManagedDatabaseGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagedDatabaseGroupResponse) String

func (response GetManagedDatabaseGroupResponse) String() string

type GetManagedDatabaseRequest

type GetManagedDatabaseRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"`

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

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

GetManagedDatabaseRequest wrapper for the GetManagedDatabase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabaseRequest.

func (GetManagedDatabaseRequest) HTTPRequest

func (request GetManagedDatabaseRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagedDatabaseRequest) RetryPolicy

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

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

func (GetManagedDatabaseRequest) String

func (request GetManagedDatabaseRequest) String() string

type GetManagedDatabaseResponse

type GetManagedDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedDatabase instance
	ManagedDatabase `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"`
}

GetManagedDatabaseResponse wrapper for the GetManagedDatabase operation

func (GetManagedDatabaseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagedDatabaseResponse) String

func (response GetManagedDatabaseResponse) String() string

type Job

type Job interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job.
	GetId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides.
	GetCompartmentId() *string

	// The display name of the job.
	GetName() *string

	// The schedule type of the job.
	GetScheduleType() JobScheduleTypeEnum

	// The lifecycle state of the job.
	GetLifecycleState() JobLifecycleStateEnum

	// The date and time when the job was created.
	GetTimeCreated() *common.SDKTime

	// The date and time when the job was last updated.
	GetTimeUpdated() *common.SDKTime

	// The description of the job.
	GetDescription() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed.
	GetManagedDatabaseGroupId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed.
	GetManagedDatabaseId() *string

	// The details of the Managed Databases where the job has to be executed.
	GetManagedDatabasesDetails() []JobDatabase

	// The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided.
	GetDatabaseSubType() DatabaseSubTypeEnum

	// The job timeout duration, which is expressed like "1h 10m 15s".
	GetTimeout() *string

	GetResultLocation() JobExecutionResultLocation

	// The error message that is returned if the job submission fails. Null is returned in all other scenarios.
	GetSubmissionErrorMessage() *string
}

Job The details of the job.

type JobCollection

type JobCollection struct {

	// A list of JobSummary objects.
	Items []JobSummary `mandatory:"true" json:"items"`
}

JobCollection A collection of job objects.

func (JobCollection) String

func (m JobCollection) String() string

type JobDatabase

type JobDatabase struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	Id *string `mandatory:"true" json:"id"`

	// The name of the Managed Database.
	Name *string `mandatory:"true" json:"name"`
}

JobDatabase The Managed Database on which the job is executed.

func (JobDatabase) String

func (m JobDatabase) String() string

type JobExecution

type JobExecution struct {

	// The identifier of the job execution.
	Id *string `mandatory:"true" json:"id"`

	// The name of the job execution.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database associated with the job execution.
	ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"`

	// The name of the Managed Database associated with the job execution.
	ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job.
	JobId *string `mandatory:"true" json:"jobId"`

	// The name of the parent job.
	JobName *string `mandatory:"true" json:"jobName"`

	// The identifier of the associated job run.
	JobRunId *string `mandatory:"true" json:"jobRunId"`

	// The status of the job execution.
	Status JobExecutionStatusEnum `mandatory:"true" json:"status"`

	// The date and time when the job execution was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The error message that is returned if the job execution fails. Null is returned if the job is
	// still running or if the job execution is successful.
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`

	ResultDetails JobExecutionResultDetails `mandatory:"false" json:"resultDetails"`

	// The date and time when the job execution completed.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`
}

JobExecution The details of a job execution.

func (JobExecution) String

func (m JobExecution) String() string

func (*JobExecution) UnmarshalJSON

func (m *JobExecution) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type JobExecutionCollection

type JobExecutionCollection struct {

	// A list of JobExecutionSummary objects.
	Items []JobExecutionSummary `mandatory:"true" json:"items"`
}

JobExecutionCollection A collection of job execution objects.

func (JobExecutionCollection) String

func (m JobExecutionCollection) String() string

type JobExecutionResultDetails

type JobExecutionResultDetails interface {
}

JobExecutionResultDetails The job execution result details.

type JobExecutionResultDetailsTypeEnum

type JobExecutionResultDetailsTypeEnum string

JobExecutionResultDetailsTypeEnum Enum with underlying type: string

const (
	JobExecutionResultDetailsTypeObjectStorage JobExecutionResultDetailsTypeEnum = "OBJECT_STORAGE"
)

Set of constants representing the allowable values for JobExecutionResultDetailsTypeEnum

func GetJobExecutionResultDetailsTypeEnumValues

func GetJobExecutionResultDetailsTypeEnumValues() []JobExecutionResultDetailsTypeEnum

GetJobExecutionResultDetailsTypeEnumValues Enumerates the set of values for JobExecutionResultDetailsTypeEnum

type JobExecutionResultLocation

type JobExecutionResultLocation interface {
}

JobExecutionResultLocation The location of the job execution result.

type JobExecutionResultLocationTypeEnum

type JobExecutionResultLocationTypeEnum string

JobExecutionResultLocationTypeEnum Enum with underlying type: string

const (
	JobExecutionResultLocationTypeObjectStorage JobExecutionResultLocationTypeEnum = "OBJECT_STORAGE"
)

Set of constants representing the allowable values for JobExecutionResultLocationTypeEnum

func GetJobExecutionResultLocationTypeEnumValues

func GetJobExecutionResultLocationTypeEnumValues() []JobExecutionResultLocationTypeEnum

GetJobExecutionResultLocationTypeEnumValues Enumerates the set of values for JobExecutionResultLocationTypeEnum

type JobExecutionStatusEnum

type JobExecutionStatusEnum string

JobExecutionStatusEnum Enum with underlying type: string

const (
	JobExecutionStatusSucceeded  JobExecutionStatusEnum = "SUCCEEDED"
	JobExecutionStatusFailed     JobExecutionStatusEnum = "FAILED"
	JobExecutionStatusInProgress JobExecutionStatusEnum = "IN_PROGRESS"
)

Set of constants representing the allowable values for JobExecutionStatusEnum

func GetJobExecutionStatusEnumValues

func GetJobExecutionStatusEnumValues() []JobExecutionStatusEnum

GetJobExecutionStatusEnumValues Enumerates the set of values for JobExecutionStatusEnum

type JobExecutionSummary

type JobExecutionSummary struct {

	// The identifier of the job execution.
	Id *string `mandatory:"true" json:"id"`

	// The name of the job execution.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database associated with the job execution.
	ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"`

	// The name of the Managed Database associated with the job execution.
	ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job.
	JobId *string `mandatory:"true" json:"jobId"`

	// The name of the parent job.
	JobName *string `mandatory:"true" json:"jobName"`

	// The status of the job execution.
	Status JobExecutionStatusEnum `mandatory:"true" json:"status"`

	// The date and time when the job execution was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The date and time when the job execution was completed.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`
}

JobExecutionSummary A summary of a job execution on a Managed Database.

func (JobExecutionSummary) String

func (m JobExecutionSummary) String() string

type JobLifecycleStateEnum

type JobLifecycleStateEnum string

JobLifecycleStateEnum Enum with underlying type: string

const (
	JobLifecycleStateActive   JobLifecycleStateEnum = "ACTIVE"
	JobLifecycleStateInactive JobLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for JobLifecycleStateEnum

func GetJobLifecycleStateEnumValues

func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum

GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum

type JobRun

type JobRun struct {

	// The identifier of the job run.
	Id *string `mandatory:"true" json:"id"`

	// The name of the job run.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job.
	JobId *string `mandatory:"true" json:"jobId"`

	// The name of the parent job.
	JobName *string `mandatory:"true" json:"jobName"`

	// The status of the job run.
	RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"`

	// The date and time when the job run was submitted.
	TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"`

	// The date and time when the job run was last updated.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database where the parent job has to be executed.
	ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`
}

JobRun The details of a specific job run.

func (JobRun) String

func (m JobRun) String() string

type JobRunCollection

type JobRunCollection struct {

	// A list of JobRunSummary objects.
	Items []JobRunSummary `mandatory:"true" json:"items"`
}

JobRunCollection A collection of job run objects.

func (JobRunCollection) String

func (m JobRunCollection) String() string

type JobRunRunStatusEnum

type JobRunRunStatusEnum string

JobRunRunStatusEnum Enum with underlying type: string

const (
	JobRunRunStatusCompleted  JobRunRunStatusEnum = "COMPLETED"
	JobRunRunStatusFailed     JobRunRunStatusEnum = "FAILED"
	JobRunRunStatusInProgress JobRunRunStatusEnum = "IN_PROGRESS"
)

Set of constants representing the allowable values for JobRunRunStatusEnum

func GetJobRunRunStatusEnumValues

func GetJobRunRunStatusEnumValues() []JobRunRunStatusEnum

GetJobRunRunStatusEnumValues Enumerates the set of values for JobRunRunStatusEnum

type JobRunSummary

type JobRunSummary struct {

	// The identifier of the job run.
	Id *string `mandatory:"true" json:"id"`

	// The name of the job run.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job.
	JobId *string `mandatory:"true" json:"jobId"`

	// The name of the parent job.
	JobName *string `mandatory:"true" json:"jobName"`

	// The status of the job run.
	RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"`

	// The date and time when the job run was submitted.
	TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"`

	// The date and time when the job run was last updated.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the parent job has to be executed.
	ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`
}

JobRunSummary A summary of a specific job run.

func (JobRunSummary) String

func (m JobRunSummary) String() string

type JobScheduleTypeEnum

type JobScheduleTypeEnum string

JobScheduleTypeEnum Enum with underlying type: string

const (
	JobScheduleTypeImmediate JobScheduleTypeEnum = "IMMEDIATE"
)

Set of constants representing the allowable values for JobScheduleTypeEnum

func GetJobScheduleTypeEnumValues

func GetJobScheduleTypeEnumValues() []JobScheduleTypeEnum

GetJobScheduleTypeEnumValues Enumerates the set of values for JobScheduleTypeEnum

type JobSummary

type JobSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the job.
	Name *string `mandatory:"true" json:"name"`

	// The schedule type of the job.
	ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`

	// The type of job.
	JobType JobTypesEnum `mandatory:"true" json:"jobType"`

	// The lifecycle state of the job.
	LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time when the job was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the job was last updated.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The description of the job.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed.
	ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`

	// The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`

	// The job timeout duration, which is expressed like "1h 10m 15s".
	Timeout *string `mandatory:"false" json:"timeout"`

	// The error message that is returned if the job submission fails. Null is returned in all other scenarios.
	SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"`
}

JobSummary A summary of the job.

func (JobSummary) String

func (m JobSummary) String() string

type JobTypesEnum

type JobTypesEnum string

JobTypesEnum Enum with underlying type: string

const (
	JobTypesSql JobTypesEnum = "SQL"
)

Set of constants representing the allowable values for JobTypesEnum

func GetJobTypesEnumValues

func GetJobTypesEnumValues() []JobTypesEnum

GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum

type LifecycleStatesEnum

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for LifecycleStatesEnum

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

type ListDatabaseParametersRequest

type ListDatabaseParametersRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"`

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

	// The source used to list database parameters. `CURRENT` is used to get the
	// database parameters that are currently in effect for the database
	// instance. `SPFILE` is used to list parameters from the server parameter
	// file. Default is `CURRENT`.
	Source ListDatabaseParametersSourceEnum `mandatory:"false" contributesTo:"query" name:"source" omitEmpty:"true"`

	// A filter to return all parameters that have the text given in their names.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// When true, results include a list of valid values for parameters (if applicable).
	IsAllowedValuesIncluded *bool `mandatory:"false" contributesTo:"query" name:"isAllowedValuesIncluded"`

	// The field to sort information by. Only one sortOrder can be used. The
	// default sort order for `NAME` is ascending and it is case-sensitive.
	SortBy ListDatabaseParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListDatabaseParametersSortOrderEnum `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
}

ListDatabaseParametersRequest wrapper for the ListDatabaseParameters operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParametersRequest.

func (ListDatabaseParametersRequest) HTTPRequest

func (request ListDatabaseParametersRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDatabaseParametersRequest) RetryPolicy

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

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

func (ListDatabaseParametersRequest) String

func (request ListDatabaseParametersRequest) String() string

type ListDatabaseParametersResponse

type ListDatabaseParametersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DatabaseParametersCollection instance
	DatabaseParametersCollection `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"`
}

ListDatabaseParametersResponse wrapper for the ListDatabaseParameters operation

func (ListDatabaseParametersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDatabaseParametersResponse) String

func (response ListDatabaseParametersResponse) String() string

type ListDatabaseParametersSortByEnum

type ListDatabaseParametersSortByEnum string

ListDatabaseParametersSortByEnum Enum with underlying type: string

const (
	ListDatabaseParametersSortByName ListDatabaseParametersSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListDatabaseParametersSortByEnum

func GetListDatabaseParametersSortByEnumValues

func GetListDatabaseParametersSortByEnumValues() []ListDatabaseParametersSortByEnum

GetListDatabaseParametersSortByEnumValues Enumerates the set of values for ListDatabaseParametersSortByEnum

type ListDatabaseParametersSortOrderEnum

type ListDatabaseParametersSortOrderEnum string

ListDatabaseParametersSortOrderEnum Enum with underlying type: string

const (
	ListDatabaseParametersSortOrderAsc  ListDatabaseParametersSortOrderEnum = "ASC"
	ListDatabaseParametersSortOrderDesc ListDatabaseParametersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDatabaseParametersSortOrderEnum

func GetListDatabaseParametersSortOrderEnumValues

func GetListDatabaseParametersSortOrderEnumValues() []ListDatabaseParametersSortOrderEnum

GetListDatabaseParametersSortOrderEnumValues Enumerates the set of values for ListDatabaseParametersSortOrderEnum

type ListDatabaseParametersSourceEnum

type ListDatabaseParametersSourceEnum string

ListDatabaseParametersSourceEnum Enum with underlying type: string

const (
	ListDatabaseParametersSourceCurrent ListDatabaseParametersSourceEnum = "CURRENT"
	ListDatabaseParametersSourceSpfile  ListDatabaseParametersSourceEnum = "SPFILE"
)

Set of constants representing the allowable values for ListDatabaseParametersSourceEnum

func GetListDatabaseParametersSourceEnumValues

func GetListDatabaseParametersSourceEnumValues() []ListDatabaseParametersSourceEnum

GetListDatabaseParametersSourceEnumValues Enumerates the set of values for ListDatabaseParametersSourceEnum

type ListJobExecutionsRequest

type ListJobExecutionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The identifier of the resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The identifier of the job.
	JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"`

	// The status of the job execution.
	Status *string `mandatory:"false" contributesTo:"query" name:"status"`

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

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListJobExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListJobExecutionsSortOrderEnum `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
}

ListJobExecutionsRequest wrapper for the ListJobExecutions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutionsRequest.

func (ListJobExecutionsRequest) HTTPRequest

func (request ListJobExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobExecutionsRequest) RetryPolicy

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

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

func (ListJobExecutionsRequest) String

func (request ListJobExecutionsRequest) String() string

type ListJobExecutionsResponse

type ListJobExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobExecutionCollection instances
	JobExecutionCollection `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"`
}

ListJobExecutionsResponse wrapper for the ListJobExecutions operation

func (ListJobExecutionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJobExecutionsResponse) String

func (response ListJobExecutionsResponse) String() string

type ListJobExecutionsSortByEnum

type ListJobExecutionsSortByEnum string

ListJobExecutionsSortByEnum Enum with underlying type: string

const (
	ListJobExecutionsSortByTimecreated ListJobExecutionsSortByEnum = "TIMECREATED"
	ListJobExecutionsSortByName        ListJobExecutionsSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListJobExecutionsSortByEnum

func GetListJobExecutionsSortByEnumValues

func GetListJobExecutionsSortByEnumValues() []ListJobExecutionsSortByEnum

GetListJobExecutionsSortByEnumValues Enumerates the set of values for ListJobExecutionsSortByEnum

type ListJobExecutionsSortOrderEnum

type ListJobExecutionsSortOrderEnum string

ListJobExecutionsSortOrderEnum Enum with underlying type: string

const (
	ListJobExecutionsSortOrderAsc  ListJobExecutionsSortOrderEnum = "ASC"
	ListJobExecutionsSortOrderDesc ListJobExecutionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobExecutionsSortOrderEnum

func GetListJobExecutionsSortOrderEnumValues

func GetListJobExecutionsSortOrderEnumValues() []ListJobExecutionsSortOrderEnum

GetListJobExecutionsSortOrderEnumValues Enumerates the set of values for ListJobExecutionsSortOrderEnum

type ListJobRunsRequest

type ListJobRunsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The identifier of the resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The identifier of the job.
	JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"`

	// The status of the job run.
	RunStatus *string `mandatory:"false" contributesTo:"query" name:"runStatus"`

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

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListJobRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListJobRunsSortOrderEnum `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
}

ListJobRunsRequest wrapper for the ListJobRuns operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.

func (ListJobRunsRequest) HTTPRequest

func (request ListJobRunsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobRunsRequest) RetryPolicy

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

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

func (ListJobRunsRequest) String

func (request ListJobRunsRequest) String() string

type ListJobRunsResponse

type ListJobRunsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobRunCollection instances
	JobRunCollection `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"`
}

ListJobRunsResponse wrapper for the ListJobRuns operation

func (ListJobRunsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJobRunsResponse) String

func (response ListJobRunsResponse) String() string

type ListJobRunsSortByEnum

type ListJobRunsSortByEnum string

ListJobRunsSortByEnum Enum with underlying type: string

const (
	ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "TIMECREATED"
	ListJobRunsSortByName        ListJobRunsSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListJobRunsSortByEnum

func GetListJobRunsSortByEnumValues

func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum

GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum

type ListJobRunsSortOrderEnum

type ListJobRunsSortOrderEnum string

ListJobRunsSortOrderEnum Enum with underlying type: string

const (
	ListJobRunsSortOrderAsc  ListJobRunsSortOrderEnum = "ASC"
	ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobRunsSortOrderEnum

func GetListJobRunsSortOrderEnumValues

func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum

GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum

type ListJobsRequest

type ListJobsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The identifier of the resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"`

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

	// The lifecycle state of the job.
	LifecycleState JobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListJobsSortOrderEnum `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
}

ListJobsRequest wrapper for the ListJobs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListJobs.go.html to see an example of how to use ListJobsRequest.

func (ListJobsRequest) HTTPRequest

func (request ListJobsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobsRequest) RetryPolicy

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

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

func (ListJobsRequest) String

func (request ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of JobCollection instances
	JobCollection `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"`
}

ListJobsResponse wrapper for the ListJobs operation

func (ListJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListJobsResponse) String

func (response ListJobsResponse) String() string

type ListJobsSortByEnum

type ListJobsSortByEnum string

ListJobsSortByEnum Enum with underlying type: string

const (
	ListJobsSortByTimecreated ListJobsSortByEnum = "TIMECREATED"
	ListJobsSortByName        ListJobsSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListJobsSortByEnum

func GetListJobsSortByEnumValues

func GetListJobsSortByEnumValues() []ListJobsSortByEnum

GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum

type ListJobsSortOrderEnum

type ListJobsSortOrderEnum string

ListJobsSortOrderEnum Enum with underlying type: string

const (
	ListJobsSortOrderAsc  ListJobsSortOrderEnum = "ASC"
	ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobsSortOrderEnum

func GetListJobsSortOrderEnumValues

func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum

GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum

type ListManagedDatabaseGroupsLifecycleStateEnum

type ListManagedDatabaseGroupsLifecycleStateEnum string

ListManagedDatabaseGroupsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedDatabaseGroupsLifecycleStateCreating ListManagedDatabaseGroupsLifecycleStateEnum = "CREATING"
	ListManagedDatabaseGroupsLifecycleStateUpdating ListManagedDatabaseGroupsLifecycleStateEnum = "UPDATING"
	ListManagedDatabaseGroupsLifecycleStateActive   ListManagedDatabaseGroupsLifecycleStateEnum = "ACTIVE"
	ListManagedDatabaseGroupsLifecycleStateDeleting ListManagedDatabaseGroupsLifecycleStateEnum = "DELETING"
	ListManagedDatabaseGroupsLifecycleStateDeleted  ListManagedDatabaseGroupsLifecycleStateEnum = "DELETED"
	ListManagedDatabaseGroupsLifecycleStateFailed   ListManagedDatabaseGroupsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedDatabaseGroupsLifecycleStateEnum

func GetListManagedDatabaseGroupsLifecycleStateEnumValues

func GetListManagedDatabaseGroupsLifecycleStateEnumValues() []ListManagedDatabaseGroupsLifecycleStateEnum

GetListManagedDatabaseGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedDatabaseGroupsLifecycleStateEnum

type ListManagedDatabaseGroupsRequest

type ListManagedDatabaseGroupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The identifier of the resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

	// The lifecycle state of a resource.
	LifecycleState ListManagedDatabaseGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListManagedDatabaseGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListManagedDatabaseGroupsSortOrderEnum `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
}

ListManagedDatabaseGroupsRequest wrapper for the ListManagedDatabaseGroups operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroupsRequest.

func (ListManagedDatabaseGroupsRequest) HTTPRequest

func (request ListManagedDatabaseGroupsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedDatabaseGroupsRequest) RetryPolicy

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

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

func (ListManagedDatabaseGroupsRequest) String

func (request ListManagedDatabaseGroupsRequest) String() string

type ListManagedDatabaseGroupsResponse

type ListManagedDatabaseGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedDatabaseGroupCollection instances
	ManagedDatabaseGroupCollection `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"`
}

ListManagedDatabaseGroupsResponse wrapper for the ListManagedDatabaseGroups operation

func (ListManagedDatabaseGroupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagedDatabaseGroupsResponse) String

func (response ListManagedDatabaseGroupsResponse) String() string

type ListManagedDatabaseGroupsSortByEnum

type ListManagedDatabaseGroupsSortByEnum string

ListManagedDatabaseGroupsSortByEnum Enum with underlying type: string

const (
	ListManagedDatabaseGroupsSortByTimecreated ListManagedDatabaseGroupsSortByEnum = "TIMECREATED"
	ListManagedDatabaseGroupsSortByName        ListManagedDatabaseGroupsSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListManagedDatabaseGroupsSortByEnum

func GetListManagedDatabaseGroupsSortByEnumValues

func GetListManagedDatabaseGroupsSortByEnumValues() []ListManagedDatabaseGroupsSortByEnum

GetListManagedDatabaseGroupsSortByEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortByEnum

type ListManagedDatabaseGroupsSortOrderEnum

type ListManagedDatabaseGroupsSortOrderEnum string

ListManagedDatabaseGroupsSortOrderEnum Enum with underlying type: string

const (
	ListManagedDatabaseGroupsSortOrderAsc  ListManagedDatabaseGroupsSortOrderEnum = "ASC"
	ListManagedDatabaseGroupsSortOrderDesc ListManagedDatabaseGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedDatabaseGroupsSortOrderEnum

func GetListManagedDatabaseGroupsSortOrderEnumValues

func GetListManagedDatabaseGroupsSortOrderEnumValues() []ListManagedDatabaseGroupsSortOrderEnum

GetListManagedDatabaseGroupsSortOrderEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortOrderEnum

type ListManagedDatabasesRequest

type ListManagedDatabasesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The identifier of the resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListManagedDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListManagedDatabasesSortOrderEnum `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
}

ListManagedDatabasesRequest wrapper for the ListManagedDatabases operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabasesRequest.

func (ListManagedDatabasesRequest) HTTPRequest

func (request ListManagedDatabasesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedDatabasesRequest) RetryPolicy

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

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

func (ListManagedDatabasesRequest) String

func (request ListManagedDatabasesRequest) String() string

type ListManagedDatabasesResponse

type ListManagedDatabasesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedDatabaseCollection instances
	ManagedDatabaseCollection `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"`
}

ListManagedDatabasesResponse wrapper for the ListManagedDatabases operation

func (ListManagedDatabasesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagedDatabasesResponse) String

func (response ListManagedDatabasesResponse) String() string

type ListManagedDatabasesSortByEnum

type ListManagedDatabasesSortByEnum string

ListManagedDatabasesSortByEnum Enum with underlying type: string

const (
	ListManagedDatabasesSortByTimecreated ListManagedDatabasesSortByEnum = "TIMECREATED"
	ListManagedDatabasesSortByName        ListManagedDatabasesSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListManagedDatabasesSortByEnum

func GetListManagedDatabasesSortByEnumValues

func GetListManagedDatabasesSortByEnumValues() []ListManagedDatabasesSortByEnum

GetListManagedDatabasesSortByEnumValues Enumerates the set of values for ListManagedDatabasesSortByEnum

type ListManagedDatabasesSortOrderEnum

type ListManagedDatabasesSortOrderEnum string

ListManagedDatabasesSortOrderEnum Enum with underlying type: string

const (
	ListManagedDatabasesSortOrderAsc  ListManagedDatabasesSortOrderEnum = "ASC"
	ListManagedDatabasesSortOrderDesc ListManagedDatabasesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedDatabasesSortOrderEnum

func GetListManagedDatabasesSortOrderEnumValues

func GetListManagedDatabasesSortOrderEnumValues() []ListManagedDatabasesSortOrderEnum

GetListManagedDatabasesSortOrderEnumValues Enumerates the set of values for ListManagedDatabasesSortOrderEnum

type ListTablespacesRequest

type ListTablespacesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"`

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

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

	// The field to sort information by. Only one sortOrder can be used. The default sort order
	// for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
	// The ‘NAME’ sort order is case-sensitive.
	SortBy ListTablespacesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
	SortOrder ListTablespacesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The page token representing the page, from where the next set of paginated results
	// are retrieved. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The maximum number of records returned in paginated response.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

ListTablespacesRequest wrapper for the ListTablespaces operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespacesRequest.

func (ListTablespacesRequest) HTTPRequest

func (request ListTablespacesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTablespacesRequest) RetryPolicy

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

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

func (ListTablespacesRequest) String

func (request ListTablespacesRequest) String() string

type ListTablespacesResponse

type ListTablespacesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TablespaceCollection instances
	TablespaceCollection `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"`
}

ListTablespacesResponse wrapper for the ListTablespaces operation

func (ListTablespacesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTablespacesResponse) String

func (response ListTablespacesResponse) String() string

type ListTablespacesSortByEnum

type ListTablespacesSortByEnum string

ListTablespacesSortByEnum Enum with underlying type: string

const (
	ListTablespacesSortByTimecreated ListTablespacesSortByEnum = "TIMECREATED"
	ListTablespacesSortByName        ListTablespacesSortByEnum = "NAME"
)

Set of constants representing the allowable values for ListTablespacesSortByEnum

func GetListTablespacesSortByEnumValues

func GetListTablespacesSortByEnumValues() []ListTablespacesSortByEnum

GetListTablespacesSortByEnumValues Enumerates the set of values for ListTablespacesSortByEnum

type ListTablespacesSortOrderEnum

type ListTablespacesSortOrderEnum string

ListTablespacesSortOrderEnum Enum with underlying type: string

const (
	ListTablespacesSortOrderAsc  ListTablespacesSortOrderEnum = "ASC"
	ListTablespacesSortOrderDesc ListTablespacesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTablespacesSortOrderEnum

func GetListTablespacesSortOrderEnumValues

func GetListTablespacesSortOrderEnumValues() []ListTablespacesSortOrderEnum

GetListTablespacesSortOrderEnumValues Enumerates the set of values for ListTablespacesSortOrderEnum

type ManagedDatabase

type ManagedDatabase struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the Managed Database.
	Name *string `mandatory:"true" json:"name"`

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"`

	// The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"`

	// Indicates whether the Oracle Database is part of a cluster.
	IsCluster *bool `mandatory:"true" json:"isCluster"`

	// The date and time the Managed Database was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database
	// if Managed Database is a Pluggable Database.
	ParentContainerId *string `mandatory:"false" json:"parentContainerId"`

	// A list of Managed Database Groups that the Managed Database belongs to.
	ManagedDatabaseGroups []ParentGroup `mandatory:"false" json:"managedDatabaseGroups"`

	// The status of the Oracle Database. Indicates whether the status of the database
	// is UP, DOWN, or UNKNOWN at the current time.
	DatabaseStatus DatabaseStatusEnum `mandatory:"false" json:"databaseStatus,omitempty"`

	// The additional details specific to a type of database defined in `{"key": "value"}` format.
	// Example: `{"bar-key": "value"}`
	AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`
}

ManagedDatabase The details of a Managed Database.

func (ManagedDatabase) String

func (m ManagedDatabase) String() string

type ManagedDatabaseCollection

type ManagedDatabaseCollection struct {

	// An array of ManagedDatabaseSummary resources.
	Items []ManagedDatabaseSummary `mandatory:"true" json:"items"`
}

ManagedDatabaseCollection A collection of Managed Database objects.

func (ManagedDatabaseCollection) String

func (m ManagedDatabaseCollection) String() string

type ManagedDatabaseGroup

type ManagedDatabaseGroup struct {

	// The name of the Managed Database Group.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A list of Managed Databases in the Managed Database Group.
	ManagedDatabases []ChildDatabase `mandatory:"true" json:"managedDatabases"`

	// The current lifecycle state of the Managed Database Group.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the Managed Database Group was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The information specified by the user about the Managed Database Group.
	Description *string `mandatory:"false" json:"description"`

	// The date and time the Managed Database Group was last updated.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

ManagedDatabaseGroup The details of a Managed Database Group.

func (ManagedDatabaseGroup) String

func (m ManagedDatabaseGroup) String() string

type ManagedDatabaseGroupCollection

type ManagedDatabaseGroupCollection struct {

	// An array of ManagedDatabaseGroupSummary resources.
	Items []ManagedDatabaseGroupSummary `mandatory:"true" json:"items"`
}

ManagedDatabaseGroupCollection A collection of Managed Database Group resources.

func (ManagedDatabaseGroupCollection) String

type ManagedDatabaseGroupSummary

type ManagedDatabaseGroupSummary struct {

	// The name of the Managed Database Group.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The number of Managed Databases in the Managed Database Group.
	ManagedDatabaseCount *int `mandatory:"true" json:"managedDatabaseCount"`

	// The current lifecycle state of the Managed Database Group.
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the Managed Database Group was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The information specified by the user about the Managed Database Group.
	Description *string `mandatory:"false" json:"description"`
}

ManagedDatabaseGroupSummary A group of Managed Databases that will be managed together.

func (ManagedDatabaseGroupSummary) String

type ManagedDatabaseSummary

type ManagedDatabaseSummary struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the Managed Database.
	Name *string `mandatory:"true" json:"name"`

	// The type of Oracle Database installation.
	DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"`

	// The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"`

	// Indicates whether the Oracle Database is part of a cluster.
	IsCluster *bool `mandatory:"true" json:"isCluster"`

	// The date and time the Managed Database was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database
	// if the Managed Database is a Pluggable Database.
	ParentContainerId *string `mandatory:"false" json:"parentContainerId"`
}

ManagedDatabaseSummary A summary of the Managed Database.

func (ManagedDatabaseSummary) String

func (m ManagedDatabaseSummary) String() string

type MemoryAggregateMetrics

type MemoryAggregateMetrics struct {

	// A list of the memory usage metrics grouped by memorypool for a specific database.
	MemoryUsage []MetricDataPoint `mandatory:"false" json:"memoryUsage"`
}

MemoryAggregateMetrics The memory aggregate metric details.

func (MemoryAggregateMetrics) String

func (m MemoryAggregateMetrics) String() string

type MetricDataPoint

type MetricDataPoint struct {

	// The value of the metric.
	Value *float64 `mandatory:"false" json:"value"`

	// The unit of the metric value.
	Unit *string `mandatory:"false" json:"unit"`

	// The dimensions of the metric.
	Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"`
}

MetricDataPoint The metric values with dimension details.

func (MetricDataPoint) String

func (m MetricDataPoint) String() string

type MetricDimensionDefinition

type MetricDimensionDefinition struct {

	// The name of the dimension.
	DimensionName *string `mandatory:"false" json:"dimensionName"`

	// The value of the dimension.
	DimensionValue *string `mandatory:"false" json:"dimensionValue"`
}

MetricDimensionDefinition The metric dimension details.

func (MetricDimensionDefinition) String

func (m MetricDimensionDefinition) String() string

type ObjectStorageJobExecutionResultDetails

type ObjectStorageJobExecutionResultDetails struct {

	// The Object Storage namespace used for job execution result storage.
	NamespaceName *string `mandatory:"false" json:"namespaceName"`

	// The name of the bucket used for job execution result storage.
	BucketName *string `mandatory:"false" json:"bucketName"`

	// The name of the object containing the job execution result.
	ObjectName *string `mandatory:"false" json:"objectName"`

	// The number of rows returned in the result. Only applicable for QUERY SqlType.
	RowCount *int `mandatory:"false" json:"rowCount"`
}

ObjectStorageJobExecutionResultDetails The details of the job execution result stored in Object Storage. The job execution result could be accessed using the Object Storage API.

func (ObjectStorageJobExecutionResultDetails) MarshalJSON

func (m ObjectStorageJobExecutionResultDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectStorageJobExecutionResultDetails) String

type ObjectStorageJobExecutionResultLocation

type ObjectStorageJobExecutionResultLocation struct {

	// The Object Storage namespace used for job execution result storage.
	NamespaceName *string `mandatory:"false" json:"namespaceName"`

	// The name of the bucket used for job execution result storage.
	BucketName *string `mandatory:"false" json:"bucketName"`
}

ObjectStorageJobExecutionResultLocation The details about Object Storage job execution result location type.

func (ObjectStorageJobExecutionResultLocation) MarshalJSON

func (m ObjectStorageJobExecutionResultLocation) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectStorageJobExecutionResultLocation) String

type ParameterScopeEnum

type ParameterScopeEnum string

ParameterScopeEnum Enum with underlying type: string

const (
	ParameterScopeMemory ParameterScopeEnum = "MEMORY"
	ParameterScopeSpfile ParameterScopeEnum = "SPFILE"
	ParameterScopeBoth   ParameterScopeEnum = "BOTH"
)

Set of constants representing the allowable values for ParameterScopeEnum

func GetParameterScopeEnumValues

func GetParameterScopeEnumValues() []ParameterScopeEnum

GetParameterScopeEnumValues Enumerates the set of values for ParameterScopeEnum

type ParentGroup

type ParentGroup struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	Id *string `mandatory:"true" json:"id"`

	// The name of the Managed Database Group.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ParentGroup The parent Managed Database Group of a Managed Database.

func (ParentGroup) String

func (m ParentGroup) String() string

type RemoveManagedDatabaseFromManagedDatabaseGroupDetails

type RemoveManagedDatabaseFromManagedDatabaseGroupDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"`
}

RemoveManagedDatabaseFromManagedDatabaseGroupDetails The Managed Database details required to remove it from a Managed Database Group.

func (RemoveManagedDatabaseFromManagedDatabaseGroupDetails) String

type RemoveManagedDatabaseFromManagedDatabaseGroupRequest

type RemoveManagedDatabaseFromManagedDatabaseGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

	// The Managed Database details required to remove the Managed Database from a Managed Database Group.
	RemoveManagedDatabaseFromManagedDatabaseGroupDetails `contributesTo:"body"`

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

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

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

RemoveManagedDatabaseFromManagedDatabaseGroupRequest wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroupRequest.

func (RemoveManagedDatabaseFromManagedDatabaseGroupRequest) HTTPRequest

func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveManagedDatabaseFromManagedDatabaseGroupRequest) RetryPolicy

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

func (RemoveManagedDatabaseFromManagedDatabaseGroupRequest) String

type RemoveManagedDatabaseFromManagedDatabaseGroupResponse

type RemoveManagedDatabaseFromManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RemoveManagedDatabaseFromManagedDatabaseGroupResponse wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation

func (RemoveManagedDatabaseFromManagedDatabaseGroupResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (RemoveManagedDatabaseFromManagedDatabaseGroupResponse) String

type ResetDatabaseParametersDetails

type ResetDatabaseParametersDetails struct {
	Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"`

	// The clause used to specify when the parameter change takes effect.
	// Use `MEMORY` to make the change in memory and affect it immediately.
	// Use `SPFILE` to make the change in the server parameter file. The
	// change takes effect when the database is next shut down and started
	// up again. Use `BOTH` to make the change in memory and in the server
	// parameter file. The change takes effect immediately and persists
	// after the database is shut down and started up again.
	Scope ParameterScopeEnum `mandatory:"true" json:"scope"`

	// A list of database parameter names.
	Parameters []string `mandatory:"true" json:"parameters"`
}

ResetDatabaseParametersDetails The details required to reset database parameters' values.

func (ResetDatabaseParametersDetails) String

type ResetDatabaseParametersRequest

type ResetDatabaseParametersRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database.
	ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"`

	// The details required to reset database parameters.
	ResetDatabaseParametersDetails `contributesTo:"body"`

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

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

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

ResetDatabaseParametersRequest wrapper for the ResetDatabaseParameters operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParametersRequest.

func (ResetDatabaseParametersRequest) HTTPRequest

func (request ResetDatabaseParametersRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResetDatabaseParametersRequest) RetryPolicy

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

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

func (ResetDatabaseParametersRequest) String

func (request ResetDatabaseParametersRequest) String() string

type ResetDatabaseParametersResponse

type ResetDatabaseParametersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UpdateDatabaseParametersResult instance
	UpdateDatabaseParametersResult `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"`
}

ResetDatabaseParametersResponse wrapper for the ResetDatabaseParameters operation

func (ResetDatabaseParametersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResetDatabaseParametersResponse) String

func (response ResetDatabaseParametersResponse) String() string

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrdersEnum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SqlJob

type SqlJob struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the job.
	Name *string `mandatory:"true" json:"name"`

	// The date and time when the job was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the job was last updated.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The description of the job.
	Description *string `mandatory:"false" json:"description"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed.
	ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed.
	ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`

	// The details of the Managed Databases where the job has to be executed.
	ManagedDatabasesDetails []JobDatabase `mandatory:"false" json:"managedDatabasesDetails"`

	// The job timeout duration, which is expressed like "1h 10m 15s".
	Timeout *string `mandatory:"false" json:"timeout"`

	ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"`

	// The error message that is returned if the job submission fails. Null is returned in all other scenarios.
	SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"`

	// The SQL text to be executed in the job. This is a mandatory field for the EXECUTE_SQL operationType.
	SqlText *string `mandatory:"false" json:"sqlText"`

	// The database user name used to execute the SQL job. If the job is being executed on a Managed Database Group,
	// then the user name should exist on all the databases in the group with the same password.
	UserName *string `mandatory:"false" json:"userName"`

	// The type of SQL. This is a mandatory field for the EXECUTE_SQL operationType.
	SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"`

	// The SQL operation type.
	OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"`

	// The role of the database user. Indicates whether the database user is a normal user or sysdba.
	Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"`

	// The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided.
	DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`

	// The schedule type of the job.
	ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`

	// The lifecycle state of the job.
	LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SqlJob The details of the SQL job.

func (SqlJob) GetCompartmentId

func (m SqlJob) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SqlJob) GetDatabaseSubType

func (m SqlJob) GetDatabaseSubType() DatabaseSubTypeEnum

GetDatabaseSubType returns DatabaseSubType

func (SqlJob) GetDescription

func (m SqlJob) GetDescription() *string

GetDescription returns Description

func (SqlJob) GetId

func (m SqlJob) GetId() *string

GetId returns Id

func (SqlJob) GetLifecycleState

func (m SqlJob) GetLifecycleState() JobLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SqlJob) GetManagedDatabaseGroupId

func (m SqlJob) GetManagedDatabaseGroupId() *string

GetManagedDatabaseGroupId returns ManagedDatabaseGroupId

func (SqlJob) GetManagedDatabaseId

func (m SqlJob) GetManagedDatabaseId() *string

GetManagedDatabaseId returns ManagedDatabaseId

func (SqlJob) GetManagedDatabasesDetails

func (m SqlJob) GetManagedDatabasesDetails() []JobDatabase

GetManagedDatabasesDetails returns ManagedDatabasesDetails

func (SqlJob) GetName

func (m SqlJob) GetName() *string

GetName returns Name

func (SqlJob) GetResultLocation

func (m SqlJob) GetResultLocation() JobExecutionResultLocation

GetResultLocation returns ResultLocation

func (SqlJob) GetScheduleType

func (m SqlJob) GetScheduleType() JobScheduleTypeEnum

GetScheduleType returns ScheduleType

func (SqlJob) GetSubmissionErrorMessage

func (m SqlJob) GetSubmissionErrorMessage() *string

GetSubmissionErrorMessage returns SubmissionErrorMessage

func (SqlJob) GetTimeCreated

func (m SqlJob) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SqlJob) GetTimeUpdated

func (m SqlJob) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (SqlJob) GetTimeout

func (m SqlJob) GetTimeout() *string

GetTimeout returns Timeout

func (SqlJob) MarshalJSON

func (m SqlJob) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SqlJob) String

func (m SqlJob) String() string

func (*SqlJob) UnmarshalJSON

func (m *SqlJob) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type SqlJobOperationTypeEnum

type SqlJobOperationTypeEnum string

SqlJobOperationTypeEnum Enum with underlying type: string

const (
	SqlJobOperationTypeExecuteSql SqlJobOperationTypeEnum = "EXECUTE_SQL"
)

Set of constants representing the allowable values for SqlJobOperationTypeEnum

func GetSqlJobOperationTypeEnumValues

func GetSqlJobOperationTypeEnumValues() []SqlJobOperationTypeEnum

GetSqlJobOperationTypeEnumValues Enumerates the set of values for SqlJobOperationTypeEnum

type SqlJobRoleEnum

type SqlJobRoleEnum string

SqlJobRoleEnum Enum with underlying type: string

const (
	SqlJobRoleNormal SqlJobRoleEnum = "NORMAL"
	SqlJobRoleSysdba SqlJobRoleEnum = "SYSDBA"
)

Set of constants representing the allowable values for SqlJobRoleEnum

func GetSqlJobRoleEnumValues

func GetSqlJobRoleEnumValues() []SqlJobRoleEnum

GetSqlJobRoleEnumValues Enumerates the set of values for SqlJobRoleEnum

type SqlJobSqlTypeEnum

type SqlJobSqlTypeEnum string

SqlJobSqlTypeEnum Enum with underlying type: string

const (
	SqlJobSqlTypeQuery SqlJobSqlTypeEnum = "QUERY"
	SqlJobSqlTypeDml   SqlJobSqlTypeEnum = "DML"
	SqlJobSqlTypeDdl   SqlJobSqlTypeEnum = "DDL"
	SqlJobSqlTypePlsql SqlJobSqlTypeEnum = "PLSQL"
)

Set of constants representing the allowable values for SqlJobSqlTypeEnum

func GetSqlJobSqlTypeEnumValues

func GetSqlJobSqlTypeEnumValues() []SqlJobSqlTypeEnum

GetSqlJobSqlTypeEnumValues Enumerates the set of values for SqlJobSqlTypeEnum

type Tablespace

type Tablespace struct {

	// The name of the tablespace.
	Name *string `mandatory:"true" json:"name"`

	// The type of the tablespace.
	Type TablespaceTypeEnum `mandatory:"true" json:"type"`

	// The status of the tablespace.
	Status TablespaceStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The tablespace block size in bytes.
	BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"`

	// The default logging attribute.
	Logging TablespaceLoggingEnum `mandatory:"false" json:"logging,omitempty"`

	// Indicates whether the tablespace is under Force Logging mode.
	IsForceLogging *bool `mandatory:"false" json:"isForceLogging"`

	// Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
	ExtentManagement TablespaceExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"`

	// The type of extent allocation in effect for the tablespace.
	AllocationType TablespaceAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"`

	// Indicates whether the tablespace is plugged in.
	IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"`

	// Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).
	SegmentSpaceManagement TablespaceSegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"`

	// Indicates whether default table compression is enabled or disabled.
	DefaultTableCompression TablespaceDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"`

	// Indicates whether undo retention guarantee is enabled for the tablespace.
	Retention TablespaceRetentionEnum `mandatory:"false" json:"retention,omitempty"`

	// Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
	IsBigfile *bool `mandatory:"false" json:"isBigfile"`

	// Indicates whether predicates are evaluated by Host or by Storage.
	PredicateEvaluation TablespacePredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"`

	// Indicates whether the tablespace is encrypted.
	IsEncrypted *bool `mandatory:"false" json:"isEncrypted"`

	// The operation type for which default compression is enabled.
	CompressFor TablespaceCompressForEnum `mandatory:"false" json:"compressFor,omitempty"`

	// Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in this tablespace.
	DefaultInMemory TablespaceDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"`

	// Indicates the default priority for In-Memory Column Store (IM column store) population for this tablespace.
	DefaultInMemoryPriority TablespaceDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"`

	// Indicates how the IM column store is distributed by default for this tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.
	DefaultInMemoryDistribute TablespaceDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"`

	// Indicates the default compression level for the IM column store for this tablespace.
	DefaultInMemoryCompression TablespaceDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"`

	// Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
	DefaultInMemoryDuplicate TablespaceDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"`

	// Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types.
	Shared TablespaceSharedEnum `mandatory:"false" json:"shared,omitempty"`

	// Indicates whether default index compression is enabled or disabled.
	DefaultIndexCompression TablespaceDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"`

	// The operation type for which default index compression is enabled.
	IndexCompressFor TablespaceIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"`

	// This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata.
	DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"`

	// Indicates how the IM column store is populated on various instances by default for this tablespace.
	DefaultInMemoryService TablespaceDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"`

	// Indicates the service name for the service on which the IM column store should be populated by default for this tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
	DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"`

	// The lost write protection setting for the tablespace.
	LostWriteProtect TablespaceLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"`

	// Indicates whether this is a chunk tablespace.
	IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"`

	// The temporary tablespace group.
	TempGroup *string `mandatory:"false" json:"tempGroup"`

	// The maximum tablespace size in KB. If the tablespace contains any datafiles with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its datafiles is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only datafiles with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all datafiles in the tablespace.
	MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"`

	// The allocated tablespace size in KB.
	AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"`

	// The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata.
	UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"`

	// The free space available in this tablespace in KB.
	FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"`

	// The total space used by the tablespace in KB.
	UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"`

	// The percentage of used space out of the maximum available space in the tablespace.
	UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"`

	// The percentage of used space out of the total allocated space in the tablespace.
	UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"`

	// A list of the datafiles associated with the tablespace.
	Datafiles []Datafile `mandatory:"false" json:"datafiles"`
}

Tablespace The details of a tablespace.

func (Tablespace) String

func (m Tablespace) String() string

type TablespaceAllocationTypeEnum

type TablespaceAllocationTypeEnum string

TablespaceAllocationTypeEnum Enum with underlying type: string

const (
	TablespaceAllocationTypeSystem  TablespaceAllocationTypeEnum = "SYSTEM"
	TablespaceAllocationTypeUniform TablespaceAllocationTypeEnum = "UNIFORM"
	TablespaceAllocationTypeUser    TablespaceAllocationTypeEnum = "USER"
)

Set of constants representing the allowable values for TablespaceAllocationTypeEnum

func GetTablespaceAllocationTypeEnumValues

func GetTablespaceAllocationTypeEnumValues() []TablespaceAllocationTypeEnum

GetTablespaceAllocationTypeEnumValues Enumerates the set of values for TablespaceAllocationTypeEnum

type TablespaceCollection

type TablespaceCollection struct {

	// An array of TablespaceSummary resources.
	Items []TablespaceSummary `mandatory:"true" json:"items"`
}

TablespaceCollection A collection of tablespaces for a specific database.

func (TablespaceCollection) String

func (m TablespaceCollection) String() string

type TablespaceCompressForEnum

type TablespaceCompressForEnum string

TablespaceCompressForEnum Enum with underlying type: string

const (
	TablespaceCompressForBasic            TablespaceCompressForEnum = "BASIC"
	TablespaceCompressForAdvanced         TablespaceCompressForEnum = "ADVANCED"
	TablespaceCompressForQueryLow         TablespaceCompressForEnum = "QUERY_LOW"
	TablespaceCompressForQueryHigh        TablespaceCompressForEnum = "QUERY_HIGH"
	TablespaceCompressForArchiveLow       TablespaceCompressForEnum = "ARCHIVE_LOW"
	TablespaceCompressForArchiveHigh      TablespaceCompressForEnum = "ARCHIVE_HIGH"
	TablespaceCompressForDirectLoadOnly   TablespaceCompressForEnum = "DIRECT_LOAD_ONLY"
	TablespaceCompressForForAllOperations TablespaceCompressForEnum = "FOR_ALL_OPERATIONS"
)

Set of constants representing the allowable values for TablespaceCompressForEnum

func GetTablespaceCompressForEnumValues

func GetTablespaceCompressForEnumValues() []TablespaceCompressForEnum

GetTablespaceCompressForEnumValues Enumerates the set of values for TablespaceCompressForEnum

type TablespaceDefaultInMemoryCompressionEnum

type TablespaceDefaultInMemoryCompressionEnum string

TablespaceDefaultInMemoryCompressionEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryCompressionNoMemcompress   TablespaceDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS"
	TablespaceDefaultInMemoryCompressionForDml          TablespaceDefaultInMemoryCompressionEnum = "FOR_DML"
	TablespaceDefaultInMemoryCompressionForQueryLow     TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW"
	TablespaceDefaultInMemoryCompressionForQueryHigh    TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH"
	TablespaceDefaultInMemoryCompressionForCapacityLow  TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW"
	TablespaceDefaultInMemoryCompressionForCapacityHigh TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryCompressionEnum

func GetTablespaceDefaultInMemoryCompressionEnumValues

func GetTablespaceDefaultInMemoryCompressionEnumValues() []TablespaceDefaultInMemoryCompressionEnum

GetTablespaceDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceDefaultInMemoryCompressionEnum

type TablespaceDefaultInMemoryDistributeEnum

type TablespaceDefaultInMemoryDistributeEnum string

TablespaceDefaultInMemoryDistributeEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryDistributeAuto           TablespaceDefaultInMemoryDistributeEnum = "AUTO"
	TablespaceDefaultInMemoryDistributeByRowidRange   TablespaceDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE"
	TablespaceDefaultInMemoryDistributeByPartition    TablespaceDefaultInMemoryDistributeEnum = "BY_PARTITION"
	TablespaceDefaultInMemoryDistributeBySubpartition TablespaceDefaultInMemoryDistributeEnum = "BY_SUBPARTITION"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryDistributeEnum

func GetTablespaceDefaultInMemoryDistributeEnumValues

func GetTablespaceDefaultInMemoryDistributeEnumValues() []TablespaceDefaultInMemoryDistributeEnum

GetTablespaceDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDistributeEnum

type TablespaceDefaultInMemoryDuplicateEnum

type TablespaceDefaultInMemoryDuplicateEnum string

TablespaceDefaultInMemoryDuplicateEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryDuplicateNoDuplicate  TablespaceDefaultInMemoryDuplicateEnum = "NO_DUPLICATE"
	TablespaceDefaultInMemoryDuplicateDuplicate    TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE"
	TablespaceDefaultInMemoryDuplicateDuplicateAll TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryDuplicateEnum

func GetTablespaceDefaultInMemoryDuplicateEnumValues

func GetTablespaceDefaultInMemoryDuplicateEnumValues() []TablespaceDefaultInMemoryDuplicateEnum

GetTablespaceDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDuplicateEnum

type TablespaceDefaultInMemoryEnum

type TablespaceDefaultInMemoryEnum string

TablespaceDefaultInMemoryEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryEnabled  TablespaceDefaultInMemoryEnum = "ENABLED"
	TablespaceDefaultInMemoryDisabled TablespaceDefaultInMemoryEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryEnum

func GetTablespaceDefaultInMemoryEnumValues

func GetTablespaceDefaultInMemoryEnumValues() []TablespaceDefaultInMemoryEnum

GetTablespaceDefaultInMemoryEnumValues Enumerates the set of values for TablespaceDefaultInMemoryEnum

type TablespaceDefaultInMemoryPriorityEnum

type TablespaceDefaultInMemoryPriorityEnum string

TablespaceDefaultInMemoryPriorityEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryPriorityLow      TablespaceDefaultInMemoryPriorityEnum = "LOW"
	TablespaceDefaultInMemoryPriorityMedium   TablespaceDefaultInMemoryPriorityEnum = "MEDIUM"
	TablespaceDefaultInMemoryPriorityHigh     TablespaceDefaultInMemoryPriorityEnum = "HIGH"
	TablespaceDefaultInMemoryPriorityCritical TablespaceDefaultInMemoryPriorityEnum = "CRITICAL"
	TablespaceDefaultInMemoryPriorityNone     TablespaceDefaultInMemoryPriorityEnum = "NONE"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryPriorityEnum

func GetTablespaceDefaultInMemoryPriorityEnumValues

func GetTablespaceDefaultInMemoryPriorityEnumValues() []TablespaceDefaultInMemoryPriorityEnum

GetTablespaceDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceDefaultInMemoryPriorityEnum

type TablespaceDefaultInMemoryServiceEnum

type TablespaceDefaultInMemoryServiceEnum string

TablespaceDefaultInMemoryServiceEnum Enum with underlying type: string

const (
	TablespaceDefaultInMemoryServiceDefault     TablespaceDefaultInMemoryServiceEnum = "DEFAULT"
	TablespaceDefaultInMemoryServiceNone        TablespaceDefaultInMemoryServiceEnum = "NONE"
	TablespaceDefaultInMemoryServiceAll         TablespaceDefaultInMemoryServiceEnum = "ALL"
	TablespaceDefaultInMemoryServiceUserDefined TablespaceDefaultInMemoryServiceEnum = "USER_DEFINED"
)

Set of constants representing the allowable values for TablespaceDefaultInMemoryServiceEnum

func GetTablespaceDefaultInMemoryServiceEnumValues

func GetTablespaceDefaultInMemoryServiceEnumValues() []TablespaceDefaultInMemoryServiceEnum

GetTablespaceDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceDefaultInMemoryServiceEnum

type TablespaceDefaultIndexCompressionEnum

type TablespaceDefaultIndexCompressionEnum string

TablespaceDefaultIndexCompressionEnum Enum with underlying type: string

const (
	TablespaceDefaultIndexCompressionEnabled  TablespaceDefaultIndexCompressionEnum = "ENABLED"
	TablespaceDefaultIndexCompressionDisabled TablespaceDefaultIndexCompressionEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceDefaultIndexCompressionEnum

func GetTablespaceDefaultIndexCompressionEnumValues

func GetTablespaceDefaultIndexCompressionEnumValues() []TablespaceDefaultIndexCompressionEnum

GetTablespaceDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceDefaultIndexCompressionEnum

type TablespaceDefaultTableCompressionEnum

type TablespaceDefaultTableCompressionEnum string

TablespaceDefaultTableCompressionEnum Enum with underlying type: string

const (
	TablespaceDefaultTableCompressionEnabled  TablespaceDefaultTableCompressionEnum = "ENABLED"
	TablespaceDefaultTableCompressionDisabled TablespaceDefaultTableCompressionEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceDefaultTableCompressionEnum

func GetTablespaceDefaultTableCompressionEnumValues

func GetTablespaceDefaultTableCompressionEnumValues() []TablespaceDefaultTableCompressionEnum

GetTablespaceDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceDefaultTableCompressionEnum

type TablespaceExtentManagementEnum

type TablespaceExtentManagementEnum string

TablespaceExtentManagementEnum Enum with underlying type: string

const (
	TablespaceExtentManagementLocal      TablespaceExtentManagementEnum = "LOCAL"
	TablespaceExtentManagementDictionary TablespaceExtentManagementEnum = "DICTIONARY"
)

Set of constants representing the allowable values for TablespaceExtentManagementEnum

func GetTablespaceExtentManagementEnumValues

func GetTablespaceExtentManagementEnumValues() []TablespaceExtentManagementEnum

GetTablespaceExtentManagementEnumValues Enumerates the set of values for TablespaceExtentManagementEnum

type TablespaceIndexCompressForEnum

type TablespaceIndexCompressForEnum string

TablespaceIndexCompressForEnum Enum with underlying type: string

const (
	TablespaceIndexCompressForLow  TablespaceIndexCompressForEnum = "ADVANCED_LOW"
	TablespaceIndexCompressForHigh TablespaceIndexCompressForEnum = "ADVANCED_HIGH"
)

Set of constants representing the allowable values for TablespaceIndexCompressForEnum

func GetTablespaceIndexCompressForEnumValues

func GetTablespaceIndexCompressForEnumValues() []TablespaceIndexCompressForEnum

GetTablespaceIndexCompressForEnumValues Enumerates the set of values for TablespaceIndexCompressForEnum

type TablespaceLoggingEnum

type TablespaceLoggingEnum string

TablespaceLoggingEnum Enum with underlying type: string

const (
	TablespaceLoggingLogging   TablespaceLoggingEnum = "LOGGING"
	TablespaceLoggingNologging TablespaceLoggingEnum = "NOLOGGING"
)

Set of constants representing the allowable values for TablespaceLoggingEnum

func GetTablespaceLoggingEnumValues

func GetTablespaceLoggingEnumValues() []TablespaceLoggingEnum

GetTablespaceLoggingEnumValues Enumerates the set of values for TablespaceLoggingEnum

type TablespaceLostWriteProtectEnum

type TablespaceLostWriteProtectEnum string

TablespaceLostWriteProtectEnum Enum with underlying type: string

const (
	TablespaceLostWriteProtectEnabled    TablespaceLostWriteProtectEnum = "ENABLED"
	TablespaceLostWriteProtectProtectOff TablespaceLostWriteProtectEnum = "PROTECT_OFF"
	TablespaceLostWriteProtectSuspend    TablespaceLostWriteProtectEnum = "SUSPEND"
)

Set of constants representing the allowable values for TablespaceLostWriteProtectEnum

func GetTablespaceLostWriteProtectEnumValues

func GetTablespaceLostWriteProtectEnumValues() []TablespaceLostWriteProtectEnum

GetTablespaceLostWriteProtectEnumValues Enumerates the set of values for TablespaceLostWriteProtectEnum

type TablespacePredicateEvaluationEnum

type TablespacePredicateEvaluationEnum string

TablespacePredicateEvaluationEnum Enum with underlying type: string

const (
	TablespacePredicateEvaluationHost    TablespacePredicateEvaluationEnum = "HOST"
	TablespacePredicateEvaluationStorage TablespacePredicateEvaluationEnum = "STORAGE"
)

Set of constants representing the allowable values for TablespacePredicateEvaluationEnum

func GetTablespacePredicateEvaluationEnumValues

func GetTablespacePredicateEvaluationEnumValues() []TablespacePredicateEvaluationEnum

GetTablespacePredicateEvaluationEnumValues Enumerates the set of values for TablespacePredicateEvaluationEnum

type TablespaceRetentionEnum

type TablespaceRetentionEnum string

TablespaceRetentionEnum Enum with underlying type: string

const (
	TablespaceRetentionGuarantee   TablespaceRetentionEnum = "GUARANTEE"
	TablespaceRetentionNoguarantee TablespaceRetentionEnum = "NOGUARANTEE"
	TablespaceRetentionNotApply    TablespaceRetentionEnum = "NOT_APPLY"
)

Set of constants representing the allowable values for TablespaceRetentionEnum

func GetTablespaceRetentionEnumValues

func GetTablespaceRetentionEnumValues() []TablespaceRetentionEnum

GetTablespaceRetentionEnumValues Enumerates the set of values for TablespaceRetentionEnum

type TablespaceSegmentSpaceManagementEnum

type TablespaceSegmentSpaceManagementEnum string

TablespaceSegmentSpaceManagementEnum Enum with underlying type: string

const (
	TablespaceSegmentSpaceManagementManual TablespaceSegmentSpaceManagementEnum = "MANUAL"
	TablespaceSegmentSpaceManagementAuto   TablespaceSegmentSpaceManagementEnum = "AUTO"
)

Set of constants representing the allowable values for TablespaceSegmentSpaceManagementEnum

func GetTablespaceSegmentSpaceManagementEnumValues

func GetTablespaceSegmentSpaceManagementEnumValues() []TablespaceSegmentSpaceManagementEnum

GetTablespaceSegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSegmentSpaceManagementEnum

type TablespaceSharedEnum

type TablespaceSharedEnum string

TablespaceSharedEnum Enum with underlying type: string

const (
	TablespaceSharedShared      TablespaceSharedEnum = "SHARED"
	TablespaceSharedLocalOnLeaf TablespaceSharedEnum = "LOCAL_ON_LEAF"
	TablespaceSharedLocalOnAll  TablespaceSharedEnum = "LOCAL_ON_ALL"
)

Set of constants representing the allowable values for TablespaceSharedEnum

func GetTablespaceSharedEnumValues

func GetTablespaceSharedEnumValues() []TablespaceSharedEnum

GetTablespaceSharedEnumValues Enumerates the set of values for TablespaceSharedEnum

type TablespaceStatusEnum

type TablespaceStatusEnum string

TablespaceStatusEnum Enum with underlying type: string

const (
	TablespaceStatusOnline   TablespaceStatusEnum = "ONLINE"
	TablespaceStatusOffline  TablespaceStatusEnum = "OFFLINE"
	TablespaceStatusReadOnly TablespaceStatusEnum = "READ_ONLY"
)

Set of constants representing the allowable values for TablespaceStatusEnum

func GetTablespaceStatusEnumValues

func GetTablespaceStatusEnumValues() []TablespaceStatusEnum

GetTablespaceStatusEnumValues Enumerates the set of values for TablespaceStatusEnum

type TablespaceSummary

type TablespaceSummary struct {

	// The name of the tablespace.
	Name *string `mandatory:"true" json:"name"`

	// The type of the tablespace.
	Type TablespaceSummaryTypeEnum `mandatory:"true" json:"type"`

	// The status of the tablespace.
	Status TablespaceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The tablespace block size in bytes.
	BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"`

	// The default logging attribute.
	Logging TablespaceSummaryLoggingEnum `mandatory:"false" json:"logging,omitempty"`

	// Indicates whether the tablespace is under Force Logging mode.
	IsForceLogging *bool `mandatory:"false" json:"isForceLogging"`

	// Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
	ExtentManagement TablespaceSummaryExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"`

	// The type of extent allocation in effect for the tablespace.
	AllocationType TablespaceSummaryAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"`

	// Indicates whether the tablespace is plugged in.
	IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"`

	// Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).
	SegmentSpaceManagement TablespaceSummarySegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"`

	// Indicates whether default table compression is enabled or disabled.
	DefaultTableCompression TablespaceSummaryDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"`

	// Indicates whether undo retention guarantee is enabled for the tablespace.
	Retention TablespaceSummaryRetentionEnum `mandatory:"false" json:"retention,omitempty"`

	// Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
	IsBigfile *bool `mandatory:"false" json:"isBigfile"`

	// Indicates whether predicates are evaluated by Host or by Storage.
	PredicateEvaluation TablespaceSummaryPredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"`

	// Indicates whether the tablespace is encrypted.
	IsEncrypted *bool `mandatory:"false" json:"isEncrypted"`

	// The operation type for which default compression is enabled.
	CompressFor TablespaceSummaryCompressForEnum `mandatory:"false" json:"compressFor,omitempty"`

	// Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in this tablespace.
	DefaultInMemory TablespaceSummaryDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"`

	// Indicates the default priority for In-Memory Column Store (IM column store) population for this tablespace.
	DefaultInMemoryPriority TablespaceSummaryDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"`

	// Indicates how the IM column store is distributed by default for this tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.
	DefaultInMemoryDistribute TablespaceSummaryDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"`

	// Indicates the default compression level for the IM column store for this tablespace.
	DefaultInMemoryCompression TablespaceSummaryDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"`

	// Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
	DefaultInMemoryDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"`

	// Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types.
	Shared TablespaceSummarySharedEnum `mandatory:"false" json:"shared,omitempty"`

	// Indicates whether default index compression is enabled or disabled.
	DefaultIndexCompression TablespaceSummaryDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"`

	// The operation type for which default index compression is enabled.
	IndexCompressFor TablespaceSummaryIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"`

	// This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata.
	DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"`

	// Indicates how the IM column store is populated on various instances by default for this tablespace.
	DefaultInMemoryService TablespaceSummaryDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"`

	// Indicates the service name for the service on which the IM column store should be populated by default for this tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
	DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"`

	// The lost write protection setting for the tablespace.
	LostWriteProtect TablespaceSummaryLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"`

	// Indicates whether this is a chunk tablespace.
	IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"`

	// The temporary tablespace group.
	TempGroup *string `mandatory:"false" json:"tempGroup"`

	// The maximum tablespace size in KB. If the tablespace contains any datafiles with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its datafiles is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only datafiles with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all datafiles in the tablespace.
	MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"`

	// The allocated tablespace size in KB.
	AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"`

	// The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata.
	UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"`

	// The free space available in this tablespace in KB.
	FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"`

	// The total space used by the tablespace in KB.
	UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"`

	// The percentage of used space out of the maximum available space in the tablespace.
	UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"`

	// The percentage of used space out of the total allocated space in the tablespace.
	UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"`

	// A list of the datafiles associated with the tablespace.
	Datafiles []Datafile `mandatory:"false" json:"datafiles"`
}

TablespaceSummary The summary of a tablespace.

func (TablespaceSummary) String

func (m TablespaceSummary) String() string

type TablespaceSummaryAllocationTypeEnum

type TablespaceSummaryAllocationTypeEnum string

TablespaceSummaryAllocationTypeEnum Enum with underlying type: string

const (
	TablespaceSummaryAllocationTypeSystem  TablespaceSummaryAllocationTypeEnum = "SYSTEM"
	TablespaceSummaryAllocationTypeUniform TablespaceSummaryAllocationTypeEnum = "UNIFORM"
	TablespaceSummaryAllocationTypeUser    TablespaceSummaryAllocationTypeEnum = "USER"
)

Set of constants representing the allowable values for TablespaceSummaryAllocationTypeEnum

func GetTablespaceSummaryAllocationTypeEnumValues

func GetTablespaceSummaryAllocationTypeEnumValues() []TablespaceSummaryAllocationTypeEnum

GetTablespaceSummaryAllocationTypeEnumValues Enumerates the set of values for TablespaceSummaryAllocationTypeEnum

type TablespaceSummaryCompressForEnum

type TablespaceSummaryCompressForEnum string

TablespaceSummaryCompressForEnum Enum with underlying type: string

const (
	TablespaceSummaryCompressForBasic            TablespaceSummaryCompressForEnum = "BASIC"
	TablespaceSummaryCompressForAdvanced         TablespaceSummaryCompressForEnum = "ADVANCED"
	TablespaceSummaryCompressForQueryLow         TablespaceSummaryCompressForEnum = "QUERY_LOW"
	TablespaceSummaryCompressForQueryHigh        TablespaceSummaryCompressForEnum = "QUERY_HIGH"
	TablespaceSummaryCompressForArchiveLow       TablespaceSummaryCompressForEnum = "ARCHIVE_LOW"
	TablespaceSummaryCompressForArchiveHigh      TablespaceSummaryCompressForEnum = "ARCHIVE_HIGH"
	TablespaceSummaryCompressForDirectLoadOnly   TablespaceSummaryCompressForEnum = "DIRECT_LOAD_ONLY"
	TablespaceSummaryCompressForForAllOperations TablespaceSummaryCompressForEnum = "FOR_ALL_OPERATIONS"
)

Set of constants representing the allowable values for TablespaceSummaryCompressForEnum

func GetTablespaceSummaryCompressForEnumValues

func GetTablespaceSummaryCompressForEnumValues() []TablespaceSummaryCompressForEnum

GetTablespaceSummaryCompressForEnumValues Enumerates the set of values for TablespaceSummaryCompressForEnum

type TablespaceSummaryDefaultInMemoryCompressionEnum

type TablespaceSummaryDefaultInMemoryCompressionEnum string

TablespaceSummaryDefaultInMemoryCompressionEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryCompressionNoMemcompress   TablespaceSummaryDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS"
	TablespaceSummaryDefaultInMemoryCompressionForDml          TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_DML"
	TablespaceSummaryDefaultInMemoryCompressionForQueryLow     TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW"
	TablespaceSummaryDefaultInMemoryCompressionForQueryHigh    TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH"
	TablespaceSummaryDefaultInMemoryCompressionForCapacityLow  TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW"
	TablespaceSummaryDefaultInMemoryCompressionForCapacityHigh TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryCompressionEnum

func GetTablespaceSummaryDefaultInMemoryCompressionEnumValues

func GetTablespaceSummaryDefaultInMemoryCompressionEnumValues() []TablespaceSummaryDefaultInMemoryCompressionEnum

GetTablespaceSummaryDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryCompressionEnum

type TablespaceSummaryDefaultInMemoryDistributeEnum

type TablespaceSummaryDefaultInMemoryDistributeEnum string

TablespaceSummaryDefaultInMemoryDistributeEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryDistributeAuto           TablespaceSummaryDefaultInMemoryDistributeEnum = "AUTO"
	TablespaceSummaryDefaultInMemoryDistributeByRowidRange   TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE"
	TablespaceSummaryDefaultInMemoryDistributeByPartition    TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_PARTITION"
	TablespaceSummaryDefaultInMemoryDistributeBySubpartition TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_SUBPARTITION"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDistributeEnum

func GetTablespaceSummaryDefaultInMemoryDistributeEnumValues

func GetTablespaceSummaryDefaultInMemoryDistributeEnumValues() []TablespaceSummaryDefaultInMemoryDistributeEnum

GetTablespaceSummaryDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDistributeEnum

type TablespaceSummaryDefaultInMemoryDuplicateEnum

type TablespaceSummaryDefaultInMemoryDuplicateEnum string

TablespaceSummaryDefaultInMemoryDuplicateEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryDuplicateNoDuplicate  TablespaceSummaryDefaultInMemoryDuplicateEnum = "NO_DUPLICATE"
	TablespaceSummaryDefaultInMemoryDuplicateDuplicate    TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE"
	TablespaceSummaryDefaultInMemoryDuplicateDuplicateAll TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDuplicateEnum

func GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues

func GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues() []TablespaceSummaryDefaultInMemoryDuplicateEnum

GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDuplicateEnum

type TablespaceSummaryDefaultInMemoryEnum

type TablespaceSummaryDefaultInMemoryEnum string

TablespaceSummaryDefaultInMemoryEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryEnabled  TablespaceSummaryDefaultInMemoryEnum = "ENABLED"
	TablespaceSummaryDefaultInMemoryDisabled TablespaceSummaryDefaultInMemoryEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryEnum

func GetTablespaceSummaryDefaultInMemoryEnumValues

func GetTablespaceSummaryDefaultInMemoryEnumValues() []TablespaceSummaryDefaultInMemoryEnum

GetTablespaceSummaryDefaultInMemoryEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryEnum

type TablespaceSummaryDefaultInMemoryPriorityEnum

type TablespaceSummaryDefaultInMemoryPriorityEnum string

TablespaceSummaryDefaultInMemoryPriorityEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryPriorityLow      TablespaceSummaryDefaultInMemoryPriorityEnum = "LOW"
	TablespaceSummaryDefaultInMemoryPriorityMedium   TablespaceSummaryDefaultInMemoryPriorityEnum = "MEDIUM"
	TablespaceSummaryDefaultInMemoryPriorityHigh     TablespaceSummaryDefaultInMemoryPriorityEnum = "HIGH"
	TablespaceSummaryDefaultInMemoryPriorityCritical TablespaceSummaryDefaultInMemoryPriorityEnum = "CRITICAL"
	TablespaceSummaryDefaultInMemoryPriorityNone     TablespaceSummaryDefaultInMemoryPriorityEnum = "NONE"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryPriorityEnum

func GetTablespaceSummaryDefaultInMemoryPriorityEnumValues

func GetTablespaceSummaryDefaultInMemoryPriorityEnumValues() []TablespaceSummaryDefaultInMemoryPriorityEnum

GetTablespaceSummaryDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryPriorityEnum

type TablespaceSummaryDefaultInMemoryServiceEnum

type TablespaceSummaryDefaultInMemoryServiceEnum string

TablespaceSummaryDefaultInMemoryServiceEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultInMemoryServiceDefault     TablespaceSummaryDefaultInMemoryServiceEnum = "DEFAULT"
	TablespaceSummaryDefaultInMemoryServiceNone        TablespaceSummaryDefaultInMemoryServiceEnum = "NONE"
	TablespaceSummaryDefaultInMemoryServiceAll         TablespaceSummaryDefaultInMemoryServiceEnum = "ALL"
	TablespaceSummaryDefaultInMemoryServiceUserDefined TablespaceSummaryDefaultInMemoryServiceEnum = "USER_DEFINED"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryServiceEnum

func GetTablespaceSummaryDefaultInMemoryServiceEnumValues

func GetTablespaceSummaryDefaultInMemoryServiceEnumValues() []TablespaceSummaryDefaultInMemoryServiceEnum

GetTablespaceSummaryDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryServiceEnum

type TablespaceSummaryDefaultIndexCompressionEnum

type TablespaceSummaryDefaultIndexCompressionEnum string

TablespaceSummaryDefaultIndexCompressionEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultIndexCompressionEnabled  TablespaceSummaryDefaultIndexCompressionEnum = "ENABLED"
	TablespaceSummaryDefaultIndexCompressionDisabled TablespaceSummaryDefaultIndexCompressionEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultIndexCompressionEnum

func GetTablespaceSummaryDefaultIndexCompressionEnumValues

func GetTablespaceSummaryDefaultIndexCompressionEnumValues() []TablespaceSummaryDefaultIndexCompressionEnum

GetTablespaceSummaryDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultIndexCompressionEnum

type TablespaceSummaryDefaultTableCompressionEnum

type TablespaceSummaryDefaultTableCompressionEnum string

TablespaceSummaryDefaultTableCompressionEnum Enum with underlying type: string

const (
	TablespaceSummaryDefaultTableCompressionEnabled  TablespaceSummaryDefaultTableCompressionEnum = "ENABLED"
	TablespaceSummaryDefaultTableCompressionDisabled TablespaceSummaryDefaultTableCompressionEnum = "DISABLED"
)

Set of constants representing the allowable values for TablespaceSummaryDefaultTableCompressionEnum

func GetTablespaceSummaryDefaultTableCompressionEnumValues

func GetTablespaceSummaryDefaultTableCompressionEnumValues() []TablespaceSummaryDefaultTableCompressionEnum

GetTablespaceSummaryDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultTableCompressionEnum

type TablespaceSummaryExtentManagementEnum

type TablespaceSummaryExtentManagementEnum string

TablespaceSummaryExtentManagementEnum Enum with underlying type: string

const (
	TablespaceSummaryExtentManagementLocal      TablespaceSummaryExtentManagementEnum = "LOCAL"
	TablespaceSummaryExtentManagementDictionary TablespaceSummaryExtentManagementEnum = "DICTIONARY"
)

Set of constants representing the allowable values for TablespaceSummaryExtentManagementEnum

func GetTablespaceSummaryExtentManagementEnumValues

func GetTablespaceSummaryExtentManagementEnumValues() []TablespaceSummaryExtentManagementEnum

GetTablespaceSummaryExtentManagementEnumValues Enumerates the set of values for TablespaceSummaryExtentManagementEnum

type TablespaceSummaryIndexCompressForEnum

type TablespaceSummaryIndexCompressForEnum string

TablespaceSummaryIndexCompressForEnum Enum with underlying type: string

const (
	TablespaceSummaryIndexCompressForLow  TablespaceSummaryIndexCompressForEnum = "ADVANCED_LOW"
	TablespaceSummaryIndexCompressForHigh TablespaceSummaryIndexCompressForEnum = "ADVANCED_HIGH"
)

Set of constants representing the allowable values for TablespaceSummaryIndexCompressForEnum

func GetTablespaceSummaryIndexCompressForEnumValues

func GetTablespaceSummaryIndexCompressForEnumValues() []TablespaceSummaryIndexCompressForEnum

GetTablespaceSummaryIndexCompressForEnumValues Enumerates the set of values for TablespaceSummaryIndexCompressForEnum

type TablespaceSummaryLoggingEnum

type TablespaceSummaryLoggingEnum string

TablespaceSummaryLoggingEnum Enum with underlying type: string

const (
	TablespaceSummaryLoggingLogging   TablespaceSummaryLoggingEnum = "LOGGING"
	TablespaceSummaryLoggingNologging TablespaceSummaryLoggingEnum = "NOLOGGING"
)

Set of constants representing the allowable values for TablespaceSummaryLoggingEnum

func GetTablespaceSummaryLoggingEnumValues

func GetTablespaceSummaryLoggingEnumValues() []TablespaceSummaryLoggingEnum

GetTablespaceSummaryLoggingEnumValues Enumerates the set of values for TablespaceSummaryLoggingEnum

type TablespaceSummaryLostWriteProtectEnum

type TablespaceSummaryLostWriteProtectEnum string

TablespaceSummaryLostWriteProtectEnum Enum with underlying type: string

const (
	TablespaceSummaryLostWriteProtectEnabled    TablespaceSummaryLostWriteProtectEnum = "ENABLED"
	TablespaceSummaryLostWriteProtectProtectOff TablespaceSummaryLostWriteProtectEnum = "PROTECT_OFF"
	TablespaceSummaryLostWriteProtectSuspend    TablespaceSummaryLostWriteProtectEnum = "SUSPEND"
)

Set of constants representing the allowable values for TablespaceSummaryLostWriteProtectEnum

func GetTablespaceSummaryLostWriteProtectEnumValues

func GetTablespaceSummaryLostWriteProtectEnumValues() []TablespaceSummaryLostWriteProtectEnum

GetTablespaceSummaryLostWriteProtectEnumValues Enumerates the set of values for TablespaceSummaryLostWriteProtectEnum

type TablespaceSummaryPredicateEvaluationEnum

type TablespaceSummaryPredicateEvaluationEnum string

TablespaceSummaryPredicateEvaluationEnum Enum with underlying type: string

const (
	TablespaceSummaryPredicateEvaluationHost    TablespaceSummaryPredicateEvaluationEnum = "HOST"
	TablespaceSummaryPredicateEvaluationStorage TablespaceSummaryPredicateEvaluationEnum = "STORAGE"
)

Set of constants representing the allowable values for TablespaceSummaryPredicateEvaluationEnum

func GetTablespaceSummaryPredicateEvaluationEnumValues

func GetTablespaceSummaryPredicateEvaluationEnumValues() []TablespaceSummaryPredicateEvaluationEnum

GetTablespaceSummaryPredicateEvaluationEnumValues Enumerates the set of values for TablespaceSummaryPredicateEvaluationEnum

type TablespaceSummaryRetentionEnum

type TablespaceSummaryRetentionEnum string

TablespaceSummaryRetentionEnum Enum with underlying type: string

const (
	TablespaceSummaryRetentionGuarantee   TablespaceSummaryRetentionEnum = "GUARANTEE"
	TablespaceSummaryRetentionNoguarantee TablespaceSummaryRetentionEnum = "NOGUARANTEE"
	TablespaceSummaryRetentionNotApply    TablespaceSummaryRetentionEnum = "NOT_APPLY"
)

Set of constants representing the allowable values for TablespaceSummaryRetentionEnum

func GetTablespaceSummaryRetentionEnumValues

func GetTablespaceSummaryRetentionEnumValues() []TablespaceSummaryRetentionEnum

GetTablespaceSummaryRetentionEnumValues Enumerates the set of values for TablespaceSummaryRetentionEnum

type TablespaceSummarySegmentSpaceManagementEnum

type TablespaceSummarySegmentSpaceManagementEnum string

TablespaceSummarySegmentSpaceManagementEnum Enum with underlying type: string

const (
	TablespaceSummarySegmentSpaceManagementManual TablespaceSummarySegmentSpaceManagementEnum = "MANUAL"
	TablespaceSummarySegmentSpaceManagementAuto   TablespaceSummarySegmentSpaceManagementEnum = "AUTO"
)

Set of constants representing the allowable values for TablespaceSummarySegmentSpaceManagementEnum

func GetTablespaceSummarySegmentSpaceManagementEnumValues

func GetTablespaceSummarySegmentSpaceManagementEnumValues() []TablespaceSummarySegmentSpaceManagementEnum

GetTablespaceSummarySegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSummarySegmentSpaceManagementEnum

type TablespaceSummarySharedEnum

type TablespaceSummarySharedEnum string

TablespaceSummarySharedEnum Enum with underlying type: string

const (
	TablespaceSummarySharedShared      TablespaceSummarySharedEnum = "SHARED"
	TablespaceSummarySharedLocalOnLeaf TablespaceSummarySharedEnum = "LOCAL_ON_LEAF"
	TablespaceSummarySharedLocalOnAll  TablespaceSummarySharedEnum = "LOCAL_ON_ALL"
)

Set of constants representing the allowable values for TablespaceSummarySharedEnum

func GetTablespaceSummarySharedEnumValues

func GetTablespaceSummarySharedEnumValues() []TablespaceSummarySharedEnum

GetTablespaceSummarySharedEnumValues Enumerates the set of values for TablespaceSummarySharedEnum

type TablespaceSummaryStatusEnum

type TablespaceSummaryStatusEnum string

TablespaceSummaryStatusEnum Enum with underlying type: string

const (
	TablespaceSummaryStatusOnline   TablespaceSummaryStatusEnum = "ONLINE"
	TablespaceSummaryStatusOffline  TablespaceSummaryStatusEnum = "OFFLINE"
	TablespaceSummaryStatusReadOnly TablespaceSummaryStatusEnum = "READ_ONLY"
)

Set of constants representing the allowable values for TablespaceSummaryStatusEnum

func GetTablespaceSummaryStatusEnumValues

func GetTablespaceSummaryStatusEnumValues() []TablespaceSummaryStatusEnum

GetTablespaceSummaryStatusEnumValues Enumerates the set of values for TablespaceSummaryStatusEnum

type TablespaceSummaryTypeEnum

type TablespaceSummaryTypeEnum string

TablespaceSummaryTypeEnum Enum with underlying type: string

const (
	TablespaceSummaryTypeUndo                TablespaceSummaryTypeEnum = "UNDO"
	TablespaceSummaryTypeLostWriteProtection TablespaceSummaryTypeEnum = "LOST_WRITE_PROTECTION"
	TablespaceSummaryTypePermanent           TablespaceSummaryTypeEnum = "PERMANENT"
	TablespaceSummaryTypeTemporary           TablespaceSummaryTypeEnum = "TEMPORARY"
)

Set of constants representing the allowable values for TablespaceSummaryTypeEnum

func GetTablespaceSummaryTypeEnumValues

func GetTablespaceSummaryTypeEnumValues() []TablespaceSummaryTypeEnum

GetTablespaceSummaryTypeEnumValues Enumerates the set of values for TablespaceSummaryTypeEnum

type TablespaceTypeEnum

type TablespaceTypeEnum string

TablespaceTypeEnum Enum with underlying type: string

const (
	TablespaceTypeUndo                TablespaceTypeEnum = "UNDO"
	TablespaceTypeLostWriteProtection TablespaceTypeEnum = "LOST_WRITE_PROTECTION"
	TablespaceTypePermanent           TablespaceTypeEnum = "PERMANENT"
	TablespaceTypeTemporary           TablespaceTypeEnum = "TEMPORARY"
)

Set of constants representing the allowable values for TablespaceTypeEnum

func GetTablespaceTypeEnumValues

func GetTablespaceTypeEnumValues() []TablespaceTypeEnum

GetTablespaceTypeEnumValues Enumerates the set of values for TablespaceTypeEnum

type UpdateDatabaseParametersResult

type UpdateDatabaseParametersResult struct {

	// A map with the parameter name as key and its update status as value.
	Status map[string]DatabaseParameterUpdateStatus `mandatory:"true" json:"status"`
}

UpdateDatabaseParametersResult The results of database parameters' update.

func (UpdateDatabaseParametersResult) String

type UpdateManagedDatabaseGroupDetails

type UpdateManagedDatabaseGroupDetails struct {

	// The information specified by the user about the Managed Database Group.
	Description *string `mandatory:"false" json:"description"`
}

UpdateManagedDatabaseGroupDetails The details required to update a Managed Database Group.

func (UpdateManagedDatabaseGroupDetails) String

type UpdateManagedDatabaseGroupRequest

type UpdateManagedDatabaseGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group.
	ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"`

	// The details required to update a Managed Database Group.
	UpdateManagedDatabaseGroupDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateManagedDatabaseGroupRequest wrapper for the UpdateManagedDatabaseGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroupRequest.

func (UpdateManagedDatabaseGroupRequest) HTTPRequest

func (request UpdateManagedDatabaseGroupRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedDatabaseGroupRequest) RetryPolicy

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

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

func (UpdateManagedDatabaseGroupRequest) String

func (request UpdateManagedDatabaseGroupRequest) String() string

type UpdateManagedDatabaseGroupResponse

type UpdateManagedDatabaseGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedDatabaseGroup instance
	ManagedDatabaseGroup `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"`
}

UpdateManagedDatabaseGroupResponse wrapper for the UpdateManagedDatabaseGroup operation

func (UpdateManagedDatabaseGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagedDatabaseGroupResponse) String

func (response UpdateManagedDatabaseGroupResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL