database

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Apache-2.0, UPL-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup struct {

	// The name of the Availability Domain that the backup is located in.
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The Oracle Database Edition of the DbSystem on which the backup was taken.
	DatabaseEdition *string `mandatory:"false" json:"databaseEdition"`

	// The OCID of the database.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	// Size of the database in mega-bytes at the time the backup was taken.
	DbDataSizeInMBs *int `mandatory:"false" json:"dbDataSizeInMBs"`

	// The user-friendly name for the backup. It does not have to be unique.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the backup.
	Id *string `mandatory:"false" json:"id"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the backup.
	LifecycleState BackupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the backup was completed.
	TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

	// The date and time the backup starts.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The type of backup.
	Type BackupTypeEnum `mandatory:"false" json:"type,omitempty"`
}

Backup A database backup To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (Backup) String

func (m Backup) String() string

type BackupLifecycleStateEnum

type BackupLifecycleStateEnum string

BackupLifecycleStateEnum Enum with underlying type: string

const (
	BackupLifecycleStateCreating  BackupLifecycleStateEnum = "CREATING"
	BackupLifecycleStateActive    BackupLifecycleStateEnum = "ACTIVE"
	BackupLifecycleStateDeleting  BackupLifecycleStateEnum = "DELETING"
	BackupLifecycleStateDeleted   BackupLifecycleStateEnum = "DELETED"
	BackupLifecycleStateFailed    BackupLifecycleStateEnum = "FAILED"
	BackupLifecycleStateRestoring BackupLifecycleStateEnum = "RESTORING"
)

Set of constants representing the allowable values for BackupLifecycleState

func GetBackupLifecycleStateEnumValues

func GetBackupLifecycleStateEnumValues() []BackupLifecycleStateEnum

GetBackupLifecycleStateEnumValues Enumerates the set of values for BackupLifecycleState

type BackupSummary

type BackupSummary struct {

	// The name of the Availability Domain that the backup is located in.
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The Oracle Database Edition of the DbSystem on which the backup was taken.
	DatabaseEdition *string `mandatory:"false" json:"databaseEdition"`

	// The OCID of the database.
	DatabaseId *string `mandatory:"false" json:"databaseId"`

	// Size of the database in mega-bytes at the time the backup was taken.
	DbDataSizeInMBs *int `mandatory:"false" json:"dbDataSizeInMBs"`

	// The user-friendly name for the backup. It does not have to be unique.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the backup.
	Id *string `mandatory:"false" json:"id"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the backup.
	LifecycleState BackupSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the backup was completed.
	TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

	// The date and time the backup starts.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The type of backup.
	Type BackupSummaryTypeEnum `mandatory:"false" json:"type,omitempty"`
}

BackupSummary A database backup To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (BackupSummary) String

func (m BackupSummary) String() string

type BackupSummaryLifecycleStateEnum

type BackupSummaryLifecycleStateEnum string

BackupSummaryLifecycleStateEnum Enum with underlying type: string

const (
	BackupSummaryLifecycleStateCreating  BackupSummaryLifecycleStateEnum = "CREATING"
	BackupSummaryLifecycleStateActive    BackupSummaryLifecycleStateEnum = "ACTIVE"
	BackupSummaryLifecycleStateDeleting  BackupSummaryLifecycleStateEnum = "DELETING"
	BackupSummaryLifecycleStateDeleted   BackupSummaryLifecycleStateEnum = "DELETED"
	BackupSummaryLifecycleStateFailed    BackupSummaryLifecycleStateEnum = "FAILED"
	BackupSummaryLifecycleStateRestoring BackupSummaryLifecycleStateEnum = "RESTORING"
)

Set of constants representing the allowable values for BackupSummaryLifecycleState

func GetBackupSummaryLifecycleStateEnumValues

func GetBackupSummaryLifecycleStateEnumValues() []BackupSummaryLifecycleStateEnum

GetBackupSummaryLifecycleStateEnumValues Enumerates the set of values for BackupSummaryLifecycleState

type BackupSummaryTypeEnum

type BackupSummaryTypeEnum string

BackupSummaryTypeEnum Enum with underlying type: string

const (
	BackupSummaryTypeIncremental BackupSummaryTypeEnum = "INCREMENTAL"
	BackupSummaryTypeFull        BackupSummaryTypeEnum = "FULL"
)

Set of constants representing the allowable values for BackupSummaryType

func GetBackupSummaryTypeEnumValues

func GetBackupSummaryTypeEnumValues() []BackupSummaryTypeEnum

GetBackupSummaryTypeEnumValues Enumerates the set of values for BackupSummaryType

type BackupTypeEnum

type BackupTypeEnum string

BackupTypeEnum Enum with underlying type: string

const (
	BackupTypeIncremental BackupTypeEnum = "INCREMENTAL"
	BackupTypeFull        BackupTypeEnum = "FULL"
)

Set of constants representing the allowable values for BackupType

func GetBackupTypeEnumValues

func GetBackupTypeEnumValues() []BackupTypeEnum

GetBackupTypeEnumValues Enumerates the set of values for BackupType

type CreateBackupDetails

type CreateBackupDetails struct {

	// The OCID of the database.
	DatabaseId *string `mandatory:"true" json:"databaseId"`

	// The user-friendly name for the backup. It does not have to be unique.
	DisplayName *string `mandatory:"true" json:"displayName"`
}

CreateBackupDetails The representation of CreateBackupDetails

func (CreateBackupDetails) String

func (m CreateBackupDetails) String() string

type CreateBackupRequest

type CreateBackupRequest struct {

	// Request to create a new database backup.
	CreateBackupDetails `contributesTo:"body"`

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

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

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

CreateBackupRequest wrapper for the CreateBackup operation

func (CreateBackupRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateBackupRequest) RetryPolicy added in v1.3.0

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

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

func (CreateBackupRequest) String

func (request CreateBackupRequest) String() string

type CreateBackupResponse

type CreateBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

CreateBackupResponse wrapper for the CreateBackup operation

func (CreateBackupResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateBackupResponse) String

func (response CreateBackupResponse) String() string

type CreateDataGuardAssociationDetails

type CreateDataGuardAssociationDetails interface {

	// A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
	// The password must contain no fewer than nine characters and include:
	// * At least two uppercase characters.
	// * At least two lowercase characters.
	// * At least two numeric characters.
	// * At least two special characters. Valid special characters include "_", "#", and "-" only.
	// **The password MUST be the same as the primary admin password.**
	GetDatabaseAdminPassword() *string

	// The protection mode to set up between the primary and standby databases. For more information, see
	// Oracle Data Guard Protection Modes (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
	// in the Oracle Data Guard documentation.
	// **IMPORTANT** - The only protection mode currently supported by the Database Service is MAXIMUM_PERFORMANCE.
	GetProtectionMode() CreateDataGuardAssociationDetailsProtectionModeEnum

	// The redo transport type to use for this Data Guard association.  Valid values depend on the specified `protectionMode`:
	// * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
	// * MAXIMUM_PERFORMANCE - ASYNC
	// * MAXIMUM_PROTECTION - SYNC
	// For more information, see
	// Redo Transport Services (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
	// in the Oracle Data Guard documentation.
	// **IMPORTANT** - The only transport type currently supported by the Database Service is ASYNC.
	GetTransportType() CreateDataGuardAssociationDetailsTransportTypeEnum
}

CreateDataGuardAssociationDetails The configuration details for creating a Data Guard association between databases. **NOTE:** "ExistingDbSystem" is the only supported `creationType` value. Therefore, all CreateDataGuardAssociation requests must include the `peerDbSystemId` parameter found in the CreateDataGuardAssociationToExistingDbSystemDetails object.

type CreateDataGuardAssociationDetailsProtectionModeEnum

type CreateDataGuardAssociationDetailsProtectionModeEnum string

CreateDataGuardAssociationDetailsProtectionModeEnum Enum with underlying type: string

const (
	CreateDataGuardAssociationDetailsProtectionModeAvailability CreateDataGuardAssociationDetailsProtectionModeEnum = "MAXIMUM_AVAILABILITY"
	CreateDataGuardAssociationDetailsProtectionModePerformance  CreateDataGuardAssociationDetailsProtectionModeEnum = "MAXIMUM_PERFORMANCE"
	CreateDataGuardAssociationDetailsProtectionModeProtection   CreateDataGuardAssociationDetailsProtectionModeEnum = "MAXIMUM_PROTECTION"
)

Set of constants representing the allowable values for CreateDataGuardAssociationDetailsProtectionMode

func GetCreateDataGuardAssociationDetailsProtectionModeEnumValues

func GetCreateDataGuardAssociationDetailsProtectionModeEnumValues() []CreateDataGuardAssociationDetailsProtectionModeEnum

GetCreateDataGuardAssociationDetailsProtectionModeEnumValues Enumerates the set of values for CreateDataGuardAssociationDetailsProtectionMode

type CreateDataGuardAssociationDetailsTransportTypeEnum

type CreateDataGuardAssociationDetailsTransportTypeEnum string

CreateDataGuardAssociationDetailsTransportTypeEnum Enum with underlying type: string

const (
	CreateDataGuardAssociationDetailsTransportTypeSync     CreateDataGuardAssociationDetailsTransportTypeEnum = "SYNC"
	CreateDataGuardAssociationDetailsTransportTypeAsync    CreateDataGuardAssociationDetailsTransportTypeEnum = "ASYNC"
	CreateDataGuardAssociationDetailsTransportTypeFastsync CreateDataGuardAssociationDetailsTransportTypeEnum = "FASTSYNC"
)

Set of constants representing the allowable values for CreateDataGuardAssociationDetailsTransportType

func GetCreateDataGuardAssociationDetailsTransportTypeEnumValues

func GetCreateDataGuardAssociationDetailsTransportTypeEnumValues() []CreateDataGuardAssociationDetailsTransportTypeEnum

GetCreateDataGuardAssociationDetailsTransportTypeEnumValues Enumerates the set of values for CreateDataGuardAssociationDetailsTransportType

type CreateDataGuardAssociationRequest

type CreateDataGuardAssociationRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// A request to create a Data Guard association.
	CreateDataGuardAssociationDetails `contributesTo:"body"`

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

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

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

CreateDataGuardAssociationRequest wrapper for the CreateDataGuardAssociation operation

func (CreateDataGuardAssociationRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateDataGuardAssociationRequest) RetryPolicy added in v1.3.0

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

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

func (CreateDataGuardAssociationRequest) String

func (request CreateDataGuardAssociationRequest) String() string

type CreateDataGuardAssociationResponse

type CreateDataGuardAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

CreateDataGuardAssociationResponse wrapper for the CreateDataGuardAssociation operation

func (CreateDataGuardAssociationResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDataGuardAssociationResponse) String

func (response CreateDataGuardAssociationResponse) String() string

type CreateDataGuardAssociationToExistingDbSystemDetails

type CreateDataGuardAssociationToExistingDbSystemDetails struct {

	// A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
	// The password must contain no fewer than nine characters and include:
	// * At least two uppercase characters.
	// * At least two lowercase characters.
	// * At least two numeric characters.
	// * At least two special characters. Valid special characters include "_", "#", and "-" only.
	// **The password MUST be the same as the primary admin password.**
	DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System to create the standby database on.
	PeerDbSystemId *string `mandatory:"false" json:"peerDbSystemId"`

	// The protection mode to set up between the primary and standby databases. For more information, see
	// Oracle Data Guard Protection Modes (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
	// in the Oracle Data Guard documentation.
	// **IMPORTANT** - The only protection mode currently supported by the Database Service is MAXIMUM_PERFORMANCE.
	ProtectionMode CreateDataGuardAssociationDetailsProtectionModeEnum `mandatory:"true" json:"protectionMode"`

	// The redo transport type to use for this Data Guard association.  Valid values depend on the specified `protectionMode`:
	// * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
	// * MAXIMUM_PERFORMANCE - ASYNC
	// * MAXIMUM_PROTECTION - SYNC
	// For more information, see
	// Redo Transport Services (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
	// in the Oracle Data Guard documentation.
	// **IMPORTANT** - The only transport type currently supported by the Database Service is ASYNC.
	TransportType CreateDataGuardAssociationDetailsTransportTypeEnum `mandatory:"true" json:"transportType"`
}

CreateDataGuardAssociationToExistingDbSystemDetails The configuration details for creating a Data Guard association to an existing database.

func (CreateDataGuardAssociationToExistingDbSystemDetails) GetDatabaseAdminPassword

func (m CreateDataGuardAssociationToExistingDbSystemDetails) GetDatabaseAdminPassword() *string

GetDatabaseAdminPassword returns DatabaseAdminPassword

func (CreateDataGuardAssociationToExistingDbSystemDetails) GetProtectionMode

GetProtectionMode returns ProtectionMode

func (CreateDataGuardAssociationToExistingDbSystemDetails) GetTransportType

GetTransportType returns TransportType

func (CreateDataGuardAssociationToExistingDbSystemDetails) MarshalJSON

MarshalJSON marshals to json representation

func (CreateDataGuardAssociationToExistingDbSystemDetails) String

type CreateDatabaseDetails

type CreateDatabaseDetails struct {

	// A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -.
	AdminPassword *string `mandatory:"true" json:"adminPassword"`

	// The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
	DbName *string `mandatory:"true" json:"dbName"`

	// The character set for the database.  The default is AL32UTF8. Allowed values are:
	// AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
	CharacterSet *string `mandatory:"false" json:"characterSet"`

	DbBackupConfig *DbBackupConfig `mandatory:"false" json:"dbBackupConfig"`

	// Database workload type.
	DbWorkload CreateDatabaseDetailsDbWorkloadEnum `mandatory:"false" json:"dbWorkload,omitempty"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// National character set for the database.  The default is AL16UTF16. Allowed values are:
	// AL16UTF16 or UTF8.
	NcharacterSet *string `mandatory:"false" json:"ncharacterSet"`

	// Pluggable database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
	PdbName *string `mandatory:"false" json:"pdbName"`
}

CreateDatabaseDetails The representation of CreateDatabaseDetails

func (CreateDatabaseDetails) String

func (m CreateDatabaseDetails) String() string

type CreateDatabaseDetailsDbWorkloadEnum

type CreateDatabaseDetailsDbWorkloadEnum string

CreateDatabaseDetailsDbWorkloadEnum Enum with underlying type: string

const (
	CreateDatabaseDetailsDbWorkloadOltp CreateDatabaseDetailsDbWorkloadEnum = "OLTP"
	CreateDatabaseDetailsDbWorkloadDss  CreateDatabaseDetailsDbWorkloadEnum = "DSS"
)

Set of constants representing the allowable values for CreateDatabaseDetailsDbWorkload

func GetCreateDatabaseDetailsDbWorkloadEnumValues

func GetCreateDatabaseDetailsDbWorkloadEnumValues() []CreateDatabaseDetailsDbWorkloadEnum

GetCreateDatabaseDetailsDbWorkloadEnumValues Enumerates the set of values for CreateDatabaseDetailsDbWorkload

type CreateDatabaseFromBackupDetails

type CreateDatabaseFromBackupDetails struct {

	// A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \#, or -.
	AdminPassword *string `mandatory:"true" json:"adminPassword"`

	// The backup OCID.
	BackupId *string `mandatory:"true" json:"backupId"`

	// The password to open the TDE wallet.
	BackupTDEPassword *string `mandatory:"true" json:"backupTDEPassword"`
}

CreateDatabaseFromBackupDetails The representation of CreateDatabaseFromBackupDetails

func (CreateDatabaseFromBackupDetails) String

type CreateDbHomeDetails

type CreateDbHomeDetails struct {
	Database *CreateDatabaseDetails `mandatory:"true" json:"database"`

	// A valid Oracle database version. To get a list of supported versions, use the ListDbVersions operation.
	DbVersion *string `mandatory:"true" json:"dbVersion"`

	// The user-provided name of the database home.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateDbHomeDetails The representation of CreateDbHomeDetails

func (CreateDbHomeDetails) String

func (m CreateDbHomeDetails) String() string

type CreateDbHomeFromBackupDetails added in v1.6.0

type CreateDbHomeFromBackupDetails struct {
	Database *CreateDatabaseFromBackupDetails `mandatory:"true" json:"database"`

	// The user-provided name of the database home.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateDbHomeFromBackupDetails The representation of CreateDbHomeFromBackupDetails

func (CreateDbHomeFromBackupDetails) String added in v1.6.0

type CreateDbHomeRequest

type CreateDbHomeRequest struct {

	// Request to create a new DB Home.
	CreateDbHomeWithDbSystemIdBase `contributesTo:"body"`

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

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

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

CreateDbHomeRequest wrapper for the CreateDbHome operation

func (CreateDbHomeRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateDbHomeRequest) RetryPolicy added in v1.3.0

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

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

func (CreateDbHomeRequest) String

func (request CreateDbHomeRequest) String() string

type CreateDbHomeResponse

type CreateDbHomeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

CreateDbHomeResponse wrapper for the CreateDbHome operation

func (CreateDbHomeResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDbHomeResponse) String

func (response CreateDbHomeResponse) String() string

type CreateDbHomeWithDbSystemIdBase

type CreateDbHomeWithDbSystemIdBase interface {

	// The OCID of the DB System.
	GetDbSystemId() *string

	// The user-provided name of the database home.
	GetDisplayName() *string
}

CreateDbHomeWithDbSystemIdBase The representation of CreateDbHomeWithDbSystemIdBase

type CreateDbHomeWithDbSystemIdDetails

type CreateDbHomeWithDbSystemIdDetails struct {

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"true" json:"dbSystemId"`

	Database *CreateDatabaseDetails `mandatory:"true" json:"database"`

	// A valid Oracle database version. To get a list of supported versions, use the ListDbVersions operation.
	DbVersion *string `mandatory:"true" json:"dbVersion"`

	// The user-provided name of the database home.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateDbHomeWithDbSystemIdDetails The representation of CreateDbHomeWithDbSystemIdDetails

func (CreateDbHomeWithDbSystemIdDetails) GetDbSystemId

func (m CreateDbHomeWithDbSystemIdDetails) GetDbSystemId() *string

GetDbSystemId returns DbSystemId

func (CreateDbHomeWithDbSystemIdDetails) GetDisplayName

func (m CreateDbHomeWithDbSystemIdDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateDbHomeWithDbSystemIdDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateDbHomeWithDbSystemIdDetails) String

type CreateDbHomeWithDbSystemIdFromBackupDetails

type CreateDbHomeWithDbSystemIdFromBackupDetails struct {

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"true" json:"dbSystemId"`

	Database *CreateDatabaseFromBackupDetails `mandatory:"true" json:"database"`

	// The user-provided name of the database home.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

CreateDbHomeWithDbSystemIdFromBackupDetails The representation of CreateDbHomeWithDbSystemIdFromBackupDetails

func (CreateDbHomeWithDbSystemIdFromBackupDetails) GetDbSystemId

GetDbSystemId returns DbSystemId

func (CreateDbHomeWithDbSystemIdFromBackupDetails) GetDisplayName

GetDisplayName returns DisplayName

func (CreateDbHomeWithDbSystemIdFromBackupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateDbHomeWithDbSystemIdFromBackupDetails) String

type DataGuardAssociation

type DataGuardAssociation struct {

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
	DatabaseId *string `mandatory:"true" json:"databaseId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the Data Guard association.
	LifecycleState DataGuardAssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
	// peer database.
	PeerDbSystemId *string `mandatory:"true" json:"peerDbSystemId"`

	// The role of the peer database in this Data Guard association.
	PeerRole DataGuardAssociationPeerRoleEnum `mandatory:"true" json:"peerRole"`

	// The protection mode of this Data Guard association. For more information, see
	// Oracle Data Guard Protection Modes (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
	// in the Oracle Data Guard documentation.
	ProtectionMode DataGuardAssociationProtectionModeEnum `mandatory:"true" json:"protectionMode"`

	// The role of the reporting database in this Data Guard association.
	Role DataGuardAssociationRoleEnum `mandatory:"true" json:"role"`

	// The lag time between updates to the primary database and application of the redo data on the standby database,
	// as computed by the reporting database.
	// Example: `9 seconds`
	ApplyLag *string `mandatory:"false" json:"applyLag"`

	// The rate at which redo logs are synced between the associated databases.
	// Example: `180 Mb per second`
	ApplyRate *string `mandatory:"false" json:"applyRate"`

	// Additional information about the current lifecycleState, if available.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the peer database's Data Guard association.
	PeerDataGuardAssociationId *string `mandatory:"false" json:"peerDataGuardAssociationId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the associated peer database.
	PeerDatabaseId *string `mandatory:"false" json:"peerDatabaseId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home containing the associated peer database.
	PeerDbHomeId *string `mandatory:"false" json:"peerDbHomeId"`

	// The date and time the Data Guard Association was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The redo transport type used by this Data Guard association.  For more information, see
	// Redo Transport Services (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
	// in the Oracle Data Guard documentation.
	TransportType DataGuardAssociationTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}

DataGuardAssociation The properties that define a Data Guard association. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm). For information about endpoints and signing API requests, see About the API (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see SDKS and Other Tools (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm).

func (DataGuardAssociation) String

func (m DataGuardAssociation) String() string

type DataGuardAssociationLifecycleStateEnum

type DataGuardAssociationLifecycleStateEnum string

DataGuardAssociationLifecycleStateEnum Enum with underlying type: string

const (
	DataGuardAssociationLifecycleStateProvisioning DataGuardAssociationLifecycleStateEnum = "PROVISIONING"
	DataGuardAssociationLifecycleStateAvailable    DataGuardAssociationLifecycleStateEnum = "AVAILABLE"
	DataGuardAssociationLifecycleStateUpdating     DataGuardAssociationLifecycleStateEnum = "UPDATING"
	DataGuardAssociationLifecycleStateTerminating  DataGuardAssociationLifecycleStateEnum = "TERMINATING"
	DataGuardAssociationLifecycleStateTerminated   DataGuardAssociationLifecycleStateEnum = "TERMINATED"
	DataGuardAssociationLifecycleStateFailed       DataGuardAssociationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DataGuardAssociationLifecycleState

func GetDataGuardAssociationLifecycleStateEnumValues

func GetDataGuardAssociationLifecycleStateEnumValues() []DataGuardAssociationLifecycleStateEnum

GetDataGuardAssociationLifecycleStateEnumValues Enumerates the set of values for DataGuardAssociationLifecycleState

type DataGuardAssociationPeerRoleEnum

type DataGuardAssociationPeerRoleEnum string

DataGuardAssociationPeerRoleEnum Enum with underlying type: string

const (
	DataGuardAssociationPeerRolePrimary         DataGuardAssociationPeerRoleEnum = "PRIMARY"
	DataGuardAssociationPeerRoleStandby         DataGuardAssociationPeerRoleEnum = "STANDBY"
	DataGuardAssociationPeerRoleDisabledStandby DataGuardAssociationPeerRoleEnum = "DISABLED_STANDBY"
)

Set of constants representing the allowable values for DataGuardAssociationPeerRole

func GetDataGuardAssociationPeerRoleEnumValues

func GetDataGuardAssociationPeerRoleEnumValues() []DataGuardAssociationPeerRoleEnum

GetDataGuardAssociationPeerRoleEnumValues Enumerates the set of values for DataGuardAssociationPeerRole

type DataGuardAssociationProtectionModeEnum

type DataGuardAssociationProtectionModeEnum string

DataGuardAssociationProtectionModeEnum Enum with underlying type: string

const (
	DataGuardAssociationProtectionModeAvailability DataGuardAssociationProtectionModeEnum = "MAXIMUM_AVAILABILITY"
	DataGuardAssociationProtectionModePerformance  DataGuardAssociationProtectionModeEnum = "MAXIMUM_PERFORMANCE"
	DataGuardAssociationProtectionModeProtection   DataGuardAssociationProtectionModeEnum = "MAXIMUM_PROTECTION"
)

Set of constants representing the allowable values for DataGuardAssociationProtectionMode

func GetDataGuardAssociationProtectionModeEnumValues

func GetDataGuardAssociationProtectionModeEnumValues() []DataGuardAssociationProtectionModeEnum

GetDataGuardAssociationProtectionModeEnumValues Enumerates the set of values for DataGuardAssociationProtectionMode

type DataGuardAssociationRoleEnum

type DataGuardAssociationRoleEnum string

DataGuardAssociationRoleEnum Enum with underlying type: string

const (
	DataGuardAssociationRolePrimary         DataGuardAssociationRoleEnum = "PRIMARY"
	DataGuardAssociationRoleStandby         DataGuardAssociationRoleEnum = "STANDBY"
	DataGuardAssociationRoleDisabledStandby DataGuardAssociationRoleEnum = "DISABLED_STANDBY"
)

Set of constants representing the allowable values for DataGuardAssociationRole

func GetDataGuardAssociationRoleEnumValues

func GetDataGuardAssociationRoleEnumValues() []DataGuardAssociationRoleEnum

GetDataGuardAssociationRoleEnumValues Enumerates the set of values for DataGuardAssociationRole

type DataGuardAssociationSummary

type DataGuardAssociationSummary struct {

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the reporting database.
	DatabaseId *string `mandatory:"true" json:"databaseId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the Data Guard association.
	LifecycleState DataGuardAssociationSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System containing the associated
	// peer database.
	PeerDbSystemId *string `mandatory:"true" json:"peerDbSystemId"`

	// The role of the peer database in this Data Guard association.
	PeerRole DataGuardAssociationSummaryPeerRoleEnum `mandatory:"true" json:"peerRole"`

	// The protection mode of this Data Guard association. For more information, see
	// Oracle Data Guard Protection Modes (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000)
	// in the Oracle Data Guard documentation.
	ProtectionMode DataGuardAssociationSummaryProtectionModeEnum `mandatory:"true" json:"protectionMode"`

	// The role of the reporting database in this Data Guard association.
	Role DataGuardAssociationSummaryRoleEnum `mandatory:"true" json:"role"`

	// The lag time between updates to the primary database and application of the redo data on the standby database,
	// as computed by the reporting database.
	// Example: `9 seconds`
	ApplyLag *string `mandatory:"false" json:"applyLag"`

	// The rate at which redo logs are synced between the associated databases.
	// Example: `180 Mb per second`
	ApplyRate *string `mandatory:"false" json:"applyRate"`

	// Additional information about the current lifecycleState, if available.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the peer database's Data Guard association.
	PeerDataGuardAssociationId *string `mandatory:"false" json:"peerDataGuardAssociationId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the associated peer database.
	PeerDatabaseId *string `mandatory:"false" json:"peerDatabaseId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the database home containing the associated peer database.
	PeerDbHomeId *string `mandatory:"false" json:"peerDbHomeId"`

	// The date and time the Data Guard Association was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The redo transport type used by this Data Guard association.  For more information, see
	// Redo Transport Services (http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400)
	// in the Oracle Data Guard documentation.
	TransportType DataGuardAssociationSummaryTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}

DataGuardAssociationSummary The properties that define a Data Guard association. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm). For information about endpoints and signing API requests, see About the API (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see SDKS and Other Tools (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm).

func (DataGuardAssociationSummary) String

type DataGuardAssociationSummaryLifecycleStateEnum

type DataGuardAssociationSummaryLifecycleStateEnum string

DataGuardAssociationSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DataGuardAssociationSummaryLifecycleStateProvisioning DataGuardAssociationSummaryLifecycleStateEnum = "PROVISIONING"
	DataGuardAssociationSummaryLifecycleStateAvailable    DataGuardAssociationSummaryLifecycleStateEnum = "AVAILABLE"
	DataGuardAssociationSummaryLifecycleStateUpdating     DataGuardAssociationSummaryLifecycleStateEnum = "UPDATING"
	DataGuardAssociationSummaryLifecycleStateTerminating  DataGuardAssociationSummaryLifecycleStateEnum = "TERMINATING"
	DataGuardAssociationSummaryLifecycleStateTerminated   DataGuardAssociationSummaryLifecycleStateEnum = "TERMINATED"
	DataGuardAssociationSummaryLifecycleStateFailed       DataGuardAssociationSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DataGuardAssociationSummaryLifecycleState

func GetDataGuardAssociationSummaryLifecycleStateEnumValues

func GetDataGuardAssociationSummaryLifecycleStateEnumValues() []DataGuardAssociationSummaryLifecycleStateEnum

GetDataGuardAssociationSummaryLifecycleStateEnumValues Enumerates the set of values for DataGuardAssociationSummaryLifecycleState

type DataGuardAssociationSummaryPeerRoleEnum

type DataGuardAssociationSummaryPeerRoleEnum string

DataGuardAssociationSummaryPeerRoleEnum Enum with underlying type: string

const (
	DataGuardAssociationSummaryPeerRolePrimary         DataGuardAssociationSummaryPeerRoleEnum = "PRIMARY"
	DataGuardAssociationSummaryPeerRoleStandby         DataGuardAssociationSummaryPeerRoleEnum = "STANDBY"
	DataGuardAssociationSummaryPeerRoleDisabledStandby DataGuardAssociationSummaryPeerRoleEnum = "DISABLED_STANDBY"
)

Set of constants representing the allowable values for DataGuardAssociationSummaryPeerRole

func GetDataGuardAssociationSummaryPeerRoleEnumValues

func GetDataGuardAssociationSummaryPeerRoleEnumValues() []DataGuardAssociationSummaryPeerRoleEnum

GetDataGuardAssociationSummaryPeerRoleEnumValues Enumerates the set of values for DataGuardAssociationSummaryPeerRole

type DataGuardAssociationSummaryProtectionModeEnum

type DataGuardAssociationSummaryProtectionModeEnum string

DataGuardAssociationSummaryProtectionModeEnum Enum with underlying type: string

const (
	DataGuardAssociationSummaryProtectionModeAvailability DataGuardAssociationSummaryProtectionModeEnum = "MAXIMUM_AVAILABILITY"
	DataGuardAssociationSummaryProtectionModePerformance  DataGuardAssociationSummaryProtectionModeEnum = "MAXIMUM_PERFORMANCE"
	DataGuardAssociationSummaryProtectionModeProtection   DataGuardAssociationSummaryProtectionModeEnum = "MAXIMUM_PROTECTION"
)

Set of constants representing the allowable values for DataGuardAssociationSummaryProtectionMode

func GetDataGuardAssociationSummaryProtectionModeEnumValues

func GetDataGuardAssociationSummaryProtectionModeEnumValues() []DataGuardAssociationSummaryProtectionModeEnum

GetDataGuardAssociationSummaryProtectionModeEnumValues Enumerates the set of values for DataGuardAssociationSummaryProtectionMode

type DataGuardAssociationSummaryRoleEnum

type DataGuardAssociationSummaryRoleEnum string

DataGuardAssociationSummaryRoleEnum Enum with underlying type: string

const (
	DataGuardAssociationSummaryRolePrimary         DataGuardAssociationSummaryRoleEnum = "PRIMARY"
	DataGuardAssociationSummaryRoleStandby         DataGuardAssociationSummaryRoleEnum = "STANDBY"
	DataGuardAssociationSummaryRoleDisabledStandby DataGuardAssociationSummaryRoleEnum = "DISABLED_STANDBY"
)

Set of constants representing the allowable values for DataGuardAssociationSummaryRole

func GetDataGuardAssociationSummaryRoleEnumValues

func GetDataGuardAssociationSummaryRoleEnumValues() []DataGuardAssociationSummaryRoleEnum

GetDataGuardAssociationSummaryRoleEnumValues Enumerates the set of values for DataGuardAssociationSummaryRole

type DataGuardAssociationSummaryTransportTypeEnum

type DataGuardAssociationSummaryTransportTypeEnum string

DataGuardAssociationSummaryTransportTypeEnum Enum with underlying type: string

const (
	DataGuardAssociationSummaryTransportTypeSync     DataGuardAssociationSummaryTransportTypeEnum = "SYNC"
	DataGuardAssociationSummaryTransportTypeAsync    DataGuardAssociationSummaryTransportTypeEnum = "ASYNC"
	DataGuardAssociationSummaryTransportTypeFastsync DataGuardAssociationSummaryTransportTypeEnum = "FASTSYNC"
)

Set of constants representing the allowable values for DataGuardAssociationSummaryTransportType

func GetDataGuardAssociationSummaryTransportTypeEnumValues

func GetDataGuardAssociationSummaryTransportTypeEnumValues() []DataGuardAssociationSummaryTransportTypeEnum

GetDataGuardAssociationSummaryTransportTypeEnumValues Enumerates the set of values for DataGuardAssociationSummaryTransportType

type DataGuardAssociationTransportTypeEnum

type DataGuardAssociationTransportTypeEnum string

DataGuardAssociationTransportTypeEnum Enum with underlying type: string

const (
	DataGuardAssociationTransportTypeSync     DataGuardAssociationTransportTypeEnum = "SYNC"
	DataGuardAssociationTransportTypeAsync    DataGuardAssociationTransportTypeEnum = "ASYNC"
	DataGuardAssociationTransportTypeFastsync DataGuardAssociationTransportTypeEnum = "FASTSYNC"
)

Set of constants representing the allowable values for DataGuardAssociationTransportType

func GetDataGuardAssociationTransportTypeEnumValues

func GetDataGuardAssociationTransportTypeEnumValues() []DataGuardAssociationTransportTypeEnum

GetDataGuardAssociationTransportTypeEnumValues Enumerates the set of values for DataGuardAssociationTransportType

type Database

type Database struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The database name.
	DbName *string `mandatory:"true" json:"dbName"`

	// A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
	DbUniqueName *string `mandatory:"true" json:"dbUniqueName"`

	// The OCID of the database.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database.
	LifecycleState DatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The character set for the database.
	CharacterSet *string `mandatory:"false" json:"characterSet"`

	DbBackupConfig *DbBackupConfig `mandatory:"false" json:"dbBackupConfig"`

	// The OCID of the database home.
	DbHomeId *string `mandatory:"false" json:"dbHomeId"`

	// Database workload type.
	DbWorkload *string `mandatory:"false" json:"dbWorkload"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The national character set for the database.
	NcharacterSet *string `mandatory:"false" json:"ncharacterSet"`

	// Pluggable database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
	PdbName *string `mandatory:"false" json:"pdbName"`

	// The date and time the database was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

Database An Oracle database on a DB System. For more information, see Managing Oracle Databases (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (Database) String

func (m Database) String() string

type DatabaseClient

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

DatabaseClient a client for Database

func NewDatabaseClientWithConfigurationProvider

func NewDatabaseClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DatabaseClient, err error)

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

func (*DatabaseClient) ConfigurationProvider

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

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

func (DatabaseClient) CreateBackup

func (client DatabaseClient) CreateBackup(ctx context.Context, request CreateBackupRequest) (response CreateBackupResponse, err error)

CreateBackup Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.

func (DatabaseClient) CreateDataGuardAssociation

func (client DatabaseClient) CreateDataGuardAssociation(ctx context.Context, request CreateDataGuardAssociationRequest) (response CreateDataGuardAssociationResponse, err error)

CreateDataGuardAssociation Creates a new Data Guard association. A Data Guard association represents the replication relationship between the specified database and a peer database. For more information, see Using Oracle Data Guard (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Tasks/usingdataguard.htm). All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see Resource Identifiers (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).

func (DatabaseClient) CreateDbHome

func (client DatabaseClient) CreateDbHome(ctx context.Context, request CreateDbHomeRequest) (response CreateDbHomeResponse, err error)

CreateDbHome Creates a new DB Home in the specified DB System based on the request parameters you provide.

func (DatabaseClient) DbNodeAction

func (client DatabaseClient) DbNodeAction(ctx context.Context, request DbNodeActionRequest) (response DbNodeActionResponse, err error)

DbNodeAction Performs an action, such as one of the power actions (start, stop, softreset, or reset), on the specified DB Node. **start** - power on **stop** - power off **softreset** - ACPI shutdown and power on **reset** - power off and power on Note that the **stop** state has no effect on the resources you consume. Billing continues for DB Nodes that you stop, and related resources continue to apply against any relevant quotas. You must terminate the DB System (TerminateDbSystem) to remove its resources from billing and quotas.

func (DatabaseClient) DeleteBackup

func (client DatabaseClient) DeleteBackup(ctx context.Context, request DeleteBackupRequest) (response DeleteBackupResponse, err error)

DeleteBackup Deletes a full backup. You cannot delete automatic backups using this API.

func (DatabaseClient) DeleteDbHome

func (client DatabaseClient) DeleteDbHome(ctx context.Context, request DeleteDbHomeRequest) (response DeleteDbHomeResponse, err error)

DeleteDbHome Deletes a DB Home. The DB Home and its database data are local to the DB System and will be lost when it is deleted. Oracle recommends that you back up any data in the DB System prior to deleting it.

func (DatabaseClient) FailoverDataGuardAssociation

func (client DatabaseClient) FailoverDataGuardAssociation(ctx context.Context, request FailoverDataGuardAssociationRequest) (response FailoverDataGuardAssociationResponse, err error)

FailoverDataGuardAssociation Performs a failover to transition the standby database identified by the `databaseId` parameter into the specified Data Guard association's primary role after the existing primary database fails or becomes unreachable. A failover might result in data loss depending on the protection mode in effect at the time of the primary database failure.

func (DatabaseClient) GetBackup

func (client DatabaseClient) GetBackup(ctx context.Context, request GetBackupRequest) (response GetBackupResponse, err error)

GetBackup Gets information about the specified backup.

func (DatabaseClient) GetDataGuardAssociation

func (client DatabaseClient) GetDataGuardAssociation(ctx context.Context, request GetDataGuardAssociationRequest) (response GetDataGuardAssociationResponse, err error)

GetDataGuardAssociation Gets the specified Data Guard association's configuration information.

func (DatabaseClient) GetDatabase

func (client DatabaseClient) GetDatabase(ctx context.Context, request GetDatabaseRequest) (response GetDatabaseResponse, err error)

GetDatabase Gets information about a specific database.

func (DatabaseClient) GetDbHome

func (client DatabaseClient) GetDbHome(ctx context.Context, request GetDbHomeRequest) (response GetDbHomeResponse, err error)

GetDbHome Gets information about the specified database home.

func (DatabaseClient) GetDbHomePatch

func (client DatabaseClient) GetDbHomePatch(ctx context.Context, request GetDbHomePatchRequest) (response GetDbHomePatchResponse, err error)

GetDbHomePatch Gets information about a specified patch package.

func (DatabaseClient) GetDbHomePatchHistoryEntry

func (client DatabaseClient) GetDbHomePatchHistoryEntry(ctx context.Context, request GetDbHomePatchHistoryEntryRequest) (response GetDbHomePatchHistoryEntryResponse, err error)

GetDbHomePatchHistoryEntry Gets the patch history details for the specified patchHistoryEntryId

func (DatabaseClient) GetDbNode

func (client DatabaseClient) GetDbNode(ctx context.Context, request GetDbNodeRequest) (response GetDbNodeResponse, err error)

GetDbNode Gets information about the specified database node.

func (DatabaseClient) GetDbSystem

func (client DatabaseClient) GetDbSystem(ctx context.Context, request GetDbSystemRequest) (response GetDbSystemResponse, err error)

GetDbSystem Gets information about the specified DB System.

func (DatabaseClient) GetDbSystemPatch

func (client DatabaseClient) GetDbSystemPatch(ctx context.Context, request GetDbSystemPatchRequest) (response GetDbSystemPatchResponse, err error)

GetDbSystemPatch Gets information about a specified patch package.

func (DatabaseClient) GetDbSystemPatchHistoryEntry

func (client DatabaseClient) GetDbSystemPatchHistoryEntry(ctx context.Context, request GetDbSystemPatchHistoryEntryRequest) (response GetDbSystemPatchHistoryEntryResponse, err error)

GetDbSystemPatchHistoryEntry Gets the patch history details for the specified patchHistoryEntryId.

func (DatabaseClient) LaunchDbSystem

func (client DatabaseClient) LaunchDbSystem(ctx context.Context, request LaunchDbSystemRequest) (response LaunchDbSystemResponse, err error)

LaunchDbSystem Launches a new DB System in the specified compartment and Availability Domain. You'll specify a single Oracle Database Edition that applies to all the databases on that DB System. The selected edition cannot be changed. An initial database is created on the DB System based on the request parameters you provide and some default options. For more information, see Default Options for the Initial Database (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Tasks/launchingDB.htm#Default_Options_for_the_Initial_Database). The DB System will include a command line interface (CLI) that you can use to create additional databases and manage existing databases. For more information, see the Oracle Database CLI Reference (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/References/odacli.htm#Oracle_Database_CLI_Reference).

func (DatabaseClient) ListBackups

func (client DatabaseClient) ListBackups(ctx context.Context, request ListBackupsRequest) (response ListBackupsResponse, err error)

ListBackups Gets a list of backups based on the databaseId or compartmentId specified. Either one of the query parameters must be provided.

func (DatabaseClient) ListDataGuardAssociations

func (client DatabaseClient) ListDataGuardAssociations(ctx context.Context, request ListDataGuardAssociationsRequest) (response ListDataGuardAssociationsResponse, err error)

ListDataGuardAssociations Lists all Data Guard associations for the specified database.

func (DatabaseClient) ListDatabases

func (client DatabaseClient) ListDatabases(ctx context.Context, request ListDatabasesRequest) (response ListDatabasesResponse, err error)

ListDatabases Gets a list of the databases in the specified database home.

func (DatabaseClient) ListDbHomePatchHistoryEntries

func (client DatabaseClient) ListDbHomePatchHistoryEntries(ctx context.Context, request ListDbHomePatchHistoryEntriesRequest) (response ListDbHomePatchHistoryEntriesResponse, err error)

ListDbHomePatchHistoryEntries Gets history of the actions taken for patches for the specified database home.

func (DatabaseClient) ListDbHomePatches

func (client DatabaseClient) ListDbHomePatches(ctx context.Context, request ListDbHomePatchesRequest) (response ListDbHomePatchesResponse, err error)

ListDbHomePatches Lists patches applicable to the requested database home.

func (DatabaseClient) ListDbHomes

func (client DatabaseClient) ListDbHomes(ctx context.Context, request ListDbHomesRequest) (response ListDbHomesResponse, err error)

ListDbHomes Gets a list of database homes in the specified DB System and compartment. A database home is a directory where Oracle database software is installed.

func (DatabaseClient) ListDbNodes

func (client DatabaseClient) ListDbNodes(ctx context.Context, request ListDbNodesRequest) (response ListDbNodesResponse, err error)

ListDbNodes Gets a list of database nodes in the specified DB System and compartment. A database node is a server running database software.

func (DatabaseClient) ListDbSystemPatchHistoryEntries

func (client DatabaseClient) ListDbSystemPatchHistoryEntries(ctx context.Context, request ListDbSystemPatchHistoryEntriesRequest) (response ListDbSystemPatchHistoryEntriesResponse, err error)

ListDbSystemPatchHistoryEntries Gets the history of the patch actions performed on the specified DB System.

func (DatabaseClient) ListDbSystemPatches

func (client DatabaseClient) ListDbSystemPatches(ctx context.Context, request ListDbSystemPatchesRequest) (response ListDbSystemPatchesResponse, err error)

ListDbSystemPatches Lists the patches applicable to the requested DB System.

func (DatabaseClient) ListDbSystemShapes

func (client DatabaseClient) ListDbSystemShapes(ctx context.Context, request ListDbSystemShapesRequest) (response ListDbSystemShapesResponse, err error)

ListDbSystemShapes Gets a list of the shapes that can be used to launch a new DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.

func (DatabaseClient) ListDbSystems

func (client DatabaseClient) ListDbSystems(ctx context.Context, request ListDbSystemsRequest) (response ListDbSystemsResponse, err error)

ListDbSystems Gets a list of the DB Systems in the specified compartment. You can specify a backupId to list only the DB Systems that support creating a database using this backup in this compartment.

func (DatabaseClient) ListDbVersions

func (client DatabaseClient) ListDbVersions(ctx context.Context, request ListDbVersionsRequest) (response ListDbVersionsResponse, err error)

ListDbVersions Gets a list of supported Oracle database versions.

func (DatabaseClient) ReinstateDataGuardAssociation

func (client DatabaseClient) ReinstateDataGuardAssociation(ctx context.Context, request ReinstateDataGuardAssociationRequest) (response ReinstateDataGuardAssociationResponse, err error)

ReinstateDataGuardAssociation Reinstates the database identified by the `databaseId` parameter into the standby role in a Data Guard association.

func (DatabaseClient) RestoreDatabase

func (client DatabaseClient) RestoreDatabase(ctx context.Context, request RestoreDatabaseRequest) (response RestoreDatabaseResponse, err error)

RestoreDatabase Restore a Database based on the request parameters you provide.

func (*DatabaseClient) SetRegion

func (client *DatabaseClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DatabaseClient) SwitchoverDataGuardAssociation

func (client DatabaseClient) SwitchoverDataGuardAssociation(ctx context.Context, request SwitchoverDataGuardAssociationRequest) (response SwitchoverDataGuardAssociationResponse, err error)

SwitchoverDataGuardAssociation Performs a switchover to transition the primary database of a Data Guard association into a standby role. The standby database associated with the `dataGuardAssociationId` assumes the primary database role. A switchover guarantees no data loss.

func (DatabaseClient) TerminateDbSystem

func (client DatabaseClient) TerminateDbSystem(ctx context.Context, request TerminateDbSystemRequest) (response TerminateDbSystemResponse, err error)

TerminateDbSystem Terminates a DB System and permanently deletes it and any databases running on it, and any storage volumes attached to it. The database data is local to the DB System and will be lost when the system is terminated. Oracle recommends that you back up any data in the DB System prior to terminating it.

func (DatabaseClient) UpdateDatabase

func (client DatabaseClient) UpdateDatabase(ctx context.Context, request UpdateDatabaseRequest) (response UpdateDatabaseResponse, err error)

UpdateDatabase Update a Database based on the request parameters you provide.

func (DatabaseClient) UpdateDbHome

func (client DatabaseClient) UpdateDbHome(ctx context.Context, request UpdateDbHomeRequest) (response UpdateDbHomeResponse, err error)

UpdateDbHome Patches the specified dbHome.

func (DatabaseClient) UpdateDbSystem

func (client DatabaseClient) UpdateDbSystem(ctx context.Context, request UpdateDbSystemRequest) (response UpdateDbSystemResponse, err error)

UpdateDbSystem Updates the properties of a DB System, such as the CPU core count.

type DatabaseLifecycleStateEnum

type DatabaseLifecycleStateEnum string

DatabaseLifecycleStateEnum Enum with underlying type: string

const (
	DatabaseLifecycleStateProvisioning     DatabaseLifecycleStateEnum = "PROVISIONING"
	DatabaseLifecycleStateAvailable        DatabaseLifecycleStateEnum = "AVAILABLE"
	DatabaseLifecycleStateUpdating         DatabaseLifecycleStateEnum = "UPDATING"
	DatabaseLifecycleStateBackupInProgress DatabaseLifecycleStateEnum = "BACKUP_IN_PROGRESS"
	DatabaseLifecycleStateTerminating      DatabaseLifecycleStateEnum = "TERMINATING"
	DatabaseLifecycleStateTerminated       DatabaseLifecycleStateEnum = "TERMINATED"
	DatabaseLifecycleStateRestoreFailed    DatabaseLifecycleStateEnum = "RESTORE_FAILED"
	DatabaseLifecycleStateFailed           DatabaseLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DatabaseLifecycleState

func GetDatabaseLifecycleStateEnumValues

func GetDatabaseLifecycleStateEnumValues() []DatabaseLifecycleStateEnum

GetDatabaseLifecycleStateEnumValues Enumerates the set of values for DatabaseLifecycleState

type DatabaseSummary

type DatabaseSummary struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The database name.
	DbName *string `mandatory:"true" json:"dbName"`

	// A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
	DbUniqueName *string `mandatory:"true" json:"dbUniqueName"`

	// The OCID of the database.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database.
	LifecycleState DatabaseSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The character set for the database.
	CharacterSet *string `mandatory:"false" json:"characterSet"`

	DbBackupConfig *DbBackupConfig `mandatory:"false" json:"dbBackupConfig"`

	// The OCID of the database home.
	DbHomeId *string `mandatory:"false" json:"dbHomeId"`

	// Database workload type.
	DbWorkload *string `mandatory:"false" json:"dbWorkload"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The national character set for the database.
	NcharacterSet *string `mandatory:"false" json:"ncharacterSet"`

	// Pluggable database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
	PdbName *string `mandatory:"false" json:"pdbName"`

	// The date and time the database was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

DatabaseSummary An Oracle database on a DB System. For more information, see Managing Oracle Databases (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DatabaseSummary) String

func (m DatabaseSummary) String() string

type DatabaseSummaryLifecycleStateEnum

type DatabaseSummaryLifecycleStateEnum string

DatabaseSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DatabaseSummaryLifecycleStateProvisioning     DatabaseSummaryLifecycleStateEnum = "PROVISIONING"
	DatabaseSummaryLifecycleStateAvailable        DatabaseSummaryLifecycleStateEnum = "AVAILABLE"
	DatabaseSummaryLifecycleStateUpdating         DatabaseSummaryLifecycleStateEnum = "UPDATING"
	DatabaseSummaryLifecycleStateBackupInProgress DatabaseSummaryLifecycleStateEnum = "BACKUP_IN_PROGRESS"
	DatabaseSummaryLifecycleStateTerminating      DatabaseSummaryLifecycleStateEnum = "TERMINATING"
	DatabaseSummaryLifecycleStateTerminated       DatabaseSummaryLifecycleStateEnum = "TERMINATED"
	DatabaseSummaryLifecycleStateRestoreFailed    DatabaseSummaryLifecycleStateEnum = "RESTORE_FAILED"
	DatabaseSummaryLifecycleStateFailed           DatabaseSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DatabaseSummaryLifecycleState

func GetDatabaseSummaryLifecycleStateEnumValues

func GetDatabaseSummaryLifecycleStateEnumValues() []DatabaseSummaryLifecycleStateEnum

GetDatabaseSummaryLifecycleStateEnumValues Enumerates the set of values for DatabaseSummaryLifecycleState

type DbBackupConfig

type DbBackupConfig struct {

	// If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
	AutoBackupEnabled *bool `mandatory:"false" json:"autoBackupEnabled"`
}

DbBackupConfig Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbBackupConfig) String

func (m DbBackupConfig) String() string

type DbHome

type DbHome struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The Oracle database version.
	DbVersion *string `mandatory:"true" json:"dbVersion"`

	// The user-provided name for the database home. It does not need to be unique.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the database home.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database home.
	LifecycleState DbHomeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// The OCID of the last patch history. This is updated as soon as a patch operation is started.
	LastPatchHistoryEntryId *string `mandatory:"false" json:"lastPatchHistoryEntryId"`

	// The date and time the database home was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

DbHome A directory where Oracle database software is installed. Each DB System can have multiple database homes, and each database home can have multiple databases within it. All the databases within a single database home must be the same database version, but different database homes can run different versions. For more information, see Managing Oracle Databases (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbHome) String

func (m DbHome) String() string

type DbHomeLifecycleStateEnum

type DbHomeLifecycleStateEnum string

DbHomeLifecycleStateEnum Enum with underlying type: string

const (
	DbHomeLifecycleStateProvisioning DbHomeLifecycleStateEnum = "PROVISIONING"
	DbHomeLifecycleStateAvailable    DbHomeLifecycleStateEnum = "AVAILABLE"
	DbHomeLifecycleStateUpdating     DbHomeLifecycleStateEnum = "UPDATING"
	DbHomeLifecycleStateTerminating  DbHomeLifecycleStateEnum = "TERMINATING"
	DbHomeLifecycleStateTerminated   DbHomeLifecycleStateEnum = "TERMINATED"
	DbHomeLifecycleStateFailed       DbHomeLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbHomeLifecycleState

func GetDbHomeLifecycleStateEnumValues

func GetDbHomeLifecycleStateEnumValues() []DbHomeLifecycleStateEnum

GetDbHomeLifecycleStateEnumValues Enumerates the set of values for DbHomeLifecycleState

type DbHomeSummary

type DbHomeSummary struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The Oracle database version.
	DbVersion *string `mandatory:"true" json:"dbVersion"`

	// The user-provided name for the database home. It does not need to be unique.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the database home.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database home.
	LifecycleState DbHomeSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// The OCID of the last patch history. This is updated as soon as a patch operation is started.
	LastPatchHistoryEntryId *string `mandatory:"false" json:"lastPatchHistoryEntryId"`

	// The date and time the database home was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

DbHomeSummary A directory where Oracle database software is installed. Each DB System can have multiple database homes, and each database home can have multiple databases within it. All the databases within a single database home must be the same database version, but different database homes can run different versions. For more information, see Managing Oracle Databases (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbHomeSummary) String

func (m DbHomeSummary) String() string

type DbHomeSummaryLifecycleStateEnum

type DbHomeSummaryLifecycleStateEnum string

DbHomeSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DbHomeSummaryLifecycleStateProvisioning DbHomeSummaryLifecycleStateEnum = "PROVISIONING"
	DbHomeSummaryLifecycleStateAvailable    DbHomeSummaryLifecycleStateEnum = "AVAILABLE"
	DbHomeSummaryLifecycleStateUpdating     DbHomeSummaryLifecycleStateEnum = "UPDATING"
	DbHomeSummaryLifecycleStateTerminating  DbHomeSummaryLifecycleStateEnum = "TERMINATING"
	DbHomeSummaryLifecycleStateTerminated   DbHomeSummaryLifecycleStateEnum = "TERMINATED"
	DbHomeSummaryLifecycleStateFailed       DbHomeSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbHomeSummaryLifecycleState

func GetDbHomeSummaryLifecycleStateEnumValues

func GetDbHomeSummaryLifecycleStateEnumValues() []DbHomeSummaryLifecycleStateEnum

GetDbHomeSummaryLifecycleStateEnumValues Enumerates the set of values for DbHomeSummaryLifecycleState

type DbNode

type DbNode struct {

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"true" json:"dbSystemId"`

	// The OCID of the DB Node.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database node.
	LifecycleState DbNodeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

	// The OCID of the VNIC.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// The OCID of the backup VNIC.
	BackupVnicId *string `mandatory:"false" json:"backupVnicId"`

	// The host name for the DB Node.
	Hostname *string `mandatory:"false" json:"hostname"`

	// Storage size, in GBs, of the software volume that is allocated to the DB system. This is applicable only for VM-based DBs.
	SoftwareStorageSizeInGB *int `mandatory:"false" json:"softwareStorageSizeInGB"`
}

DbNode A server where Oracle database software is running. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbNode) String

func (m DbNode) String() string

type DbNodeActionActionEnum

type DbNodeActionActionEnum string

DbNodeActionActionEnum Enum with underlying type: string

const (
	DbNodeActionActionStop      DbNodeActionActionEnum = "STOP"
	DbNodeActionActionStart     DbNodeActionActionEnum = "START"
	DbNodeActionActionSoftreset DbNodeActionActionEnum = "SOFTRESET"
	DbNodeActionActionReset     DbNodeActionActionEnum = "RESET"
)

Set of constants representing the allowable values for DbNodeActionAction

func GetDbNodeActionActionEnumValues

func GetDbNodeActionActionEnumValues() []DbNodeActionActionEnum

GetDbNodeActionActionEnumValues Enumerates the set of values for DbNodeActionAction

type DbNodeActionRequest

type DbNodeActionRequest struct {

	// The database node OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbNodeId *string `mandatory:"true" contributesTo:"path" name:"dbNodeId"`

	// The action to perform on the DB Node.
	Action DbNodeActionActionEnum `mandatory:"true" contributesTo:"query" name:"action" omitEmpty:"true"`

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

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

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

DbNodeActionRequest wrapper for the DbNodeAction operation

func (DbNodeActionRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (DbNodeActionRequest) RetryPolicy added in v1.3.0

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

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

func (DbNodeActionRequest) String

func (request DbNodeActionRequest) String() string

type DbNodeActionResponse

type DbNodeActionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

DbNodeActionResponse wrapper for the DbNodeAction operation

func (DbNodeActionResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (DbNodeActionResponse) String

func (response DbNodeActionResponse) String() string

type DbNodeLifecycleStateEnum

type DbNodeLifecycleStateEnum string

DbNodeLifecycleStateEnum Enum with underlying type: string

const (
	DbNodeLifecycleStateProvisioning DbNodeLifecycleStateEnum = "PROVISIONING"
	DbNodeLifecycleStateAvailable    DbNodeLifecycleStateEnum = "AVAILABLE"
	DbNodeLifecycleStateUpdating     DbNodeLifecycleStateEnum = "UPDATING"
	DbNodeLifecycleStateStopping     DbNodeLifecycleStateEnum = "STOPPING"
	DbNodeLifecycleStateStopped      DbNodeLifecycleStateEnum = "STOPPED"
	DbNodeLifecycleStateStarting     DbNodeLifecycleStateEnum = "STARTING"
	DbNodeLifecycleStateTerminating  DbNodeLifecycleStateEnum = "TERMINATING"
	DbNodeLifecycleStateTerminated   DbNodeLifecycleStateEnum = "TERMINATED"
	DbNodeLifecycleStateFailed       DbNodeLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbNodeLifecycleState

func GetDbNodeLifecycleStateEnumValues

func GetDbNodeLifecycleStateEnumValues() []DbNodeLifecycleStateEnum

GetDbNodeLifecycleStateEnumValues Enumerates the set of values for DbNodeLifecycleState

type DbNodeSummary

type DbNodeSummary struct {

	// The OCID of the DB System.
	DbSystemId *string `mandatory:"true" json:"dbSystemId"`

	// The OCID of the DB Node.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the database node.
	LifecycleState DbNodeSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

	// The OCID of the VNIC.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// The OCID of the backup VNIC.
	BackupVnicId *string `mandatory:"false" json:"backupVnicId"`

	// The host name for the DB Node.
	Hostname *string `mandatory:"false" json:"hostname"`

	// Storage size, in GBs, of the software volume that is allocated to the DB system. This is applicable only for VM-based DBs.
	SoftwareStorageSizeInGB *int `mandatory:"false" json:"softwareStorageSizeInGB"`
}

DbNodeSummary A server where Oracle database software is running. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbNodeSummary) String

func (m DbNodeSummary) String() string

type DbNodeSummaryLifecycleStateEnum

type DbNodeSummaryLifecycleStateEnum string

DbNodeSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DbNodeSummaryLifecycleStateProvisioning DbNodeSummaryLifecycleStateEnum = "PROVISIONING"
	DbNodeSummaryLifecycleStateAvailable    DbNodeSummaryLifecycleStateEnum = "AVAILABLE"
	DbNodeSummaryLifecycleStateUpdating     DbNodeSummaryLifecycleStateEnum = "UPDATING"
	DbNodeSummaryLifecycleStateStopping     DbNodeSummaryLifecycleStateEnum = "STOPPING"
	DbNodeSummaryLifecycleStateStopped      DbNodeSummaryLifecycleStateEnum = "STOPPED"
	DbNodeSummaryLifecycleStateStarting     DbNodeSummaryLifecycleStateEnum = "STARTING"
	DbNodeSummaryLifecycleStateTerminating  DbNodeSummaryLifecycleStateEnum = "TERMINATING"
	DbNodeSummaryLifecycleStateTerminated   DbNodeSummaryLifecycleStateEnum = "TERMINATED"
	DbNodeSummaryLifecycleStateFailed       DbNodeSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbNodeSummaryLifecycleState

func GetDbNodeSummaryLifecycleStateEnumValues

func GetDbNodeSummaryLifecycleStateEnumValues() []DbNodeSummaryLifecycleStateEnum

GetDbNodeSummaryLifecycleStateEnumValues Enumerates the set of values for DbNodeSummaryLifecycleState

type DbSystem

type DbSystem struct {

	// The name of the Availability Domain that the DB System is located in.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The number of CPU cores enabled on the DB System.
	CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`

	// The Oracle Database Edition that applies to all the databases on the DB System.
	DatabaseEdition DbSystemDatabaseEditionEnum `mandatory:"true" json:"databaseEdition"`

	// The user-friendly name for the DB System. It does not have to be unique.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The domain name for the DB System.
	Domain *string `mandatory:"true" json:"domain"`

	// The host name for the DB Node.
	Hostname *string `mandatory:"true" json:"hostname"`

	// The OCID of the DB System.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the DB System.
	LifecycleState DbSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
	Shape *string `mandatory:"true" json:"shape"`

	// The public key portion of one or more key pairs used for SSH access to the DB System.
	SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

	// The OCID of the subnet the DB System is associated with.
	// **Subnet Restrictions:**
	// - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
	// - For Exadata and VM-based RAC DB Systems, do not use a subnet that overlaps with 192.168.128.0/20
	// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
	// Specifying an overlapping subnet will cause the private interconnect to malfunction.
	// This restriction applies to both the client subnet and backup subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID of the backup network subnet the DB System is associated with. Applicable only to Exadata.
	// **Subnet Restriction:** See above subnetId's 'Subnet Restriction'.
	// to malfunction.
	BackupSubnetId *string `mandatory:"false" json:"backupSubnetId"`

	// Cluster name for Exadata and 2-node RAC DB Systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
	ClusterName *string `mandatory:"false" json:"clusterName"`

	// The percentage assigned to DATA storage (user data and database files).
	// The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80.
	DataStoragePercentage *int `mandatory:"false" json:"dataStoragePercentage"`

	// Data storage size, in GBs, that is currently available to the DB system. This is applicable only for VM-based DBs.
	DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The type of redundancy configured for the DB System.
	// Normal is 2-way redundancy.
	// High is 3-way redundancy.
	DiskRedundancy DbSystemDiskRedundancyEnum `mandatory:"false" json:"diskRedundancy,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the last patch history. This is updated as soon as a patch operation is started.
	LastPatchHistoryEntryId *string `mandatory:"false" json:"lastPatchHistoryEntryId"`

	// The Oracle license model that applies to all the databases on the DB System. The default is LICENSE_INCLUDED.
	LicenseModel DbSystemLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The port number configured for the listener on the DB System.
	ListenerPort *int `mandatory:"false" json:"listenerPort"`

	// Number of nodes in this DB system. For RAC DBs, this will be greater than 1.
	NodeCount *int `mandatory:"false" json:"nodeCount"`

	// RECO/REDO storage size, in GBs, that is currently allocated to the DB system. This is applicable only for VM-based DBs.
	RecoStorageSizeInGB *int `mandatory:"false" json:"recoStorageSizeInGB"`

	// The OCID of the DNS record for the SCAN IP addresses that are associated with the DB System.
	ScanDnsRecordId *string `mandatory:"false" json:"scanDnsRecordId"`

	// The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB System.
	// SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
	// Clusterware directs the requests to the appropriate nodes in the cluster.
	// - For a single-node DB System, this list is empty.
	ScanIpIds []string `mandatory:"false" json:"scanIpIds"`

	// The date and time the DB System was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The version of the DB System.
	Version *string `mandatory:"false" json:"version"`

	// The OCID of the virtual IP (VIP) addresses associated with the DB System.
	// The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB System to
	// enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
	// - For a single-node DB System, this list is empty.
	VipIds []string `mandatory:"false" json:"vipIds"`
}

DbSystem The Database Service supports several types of DB Systems, ranging in size, price, and performance. For details about each type of system, see: - Exadata DB Systems (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/exaoverview.htm) - Bare Metal and Virtual Machine DB Systems (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

For information about access control and compartments, see Overview of the Identity Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). For information about Availability Domains, see Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm). To get a list of Availability Domains, use the `ListAvailabilityDomains` operation in the Identity Service API.

func (DbSystem) String

func (m DbSystem) String() string

type DbSystemDatabaseEditionEnum

type DbSystemDatabaseEditionEnum string

DbSystemDatabaseEditionEnum Enum with underlying type: string

const (
	DbSystemDatabaseEditionStandardEdition                     DbSystemDatabaseEditionEnum = "STANDARD_EDITION"
	DbSystemDatabaseEditionEnterpriseEdition                   DbSystemDatabaseEditionEnum = "ENTERPRISE_EDITION"
	DbSystemDatabaseEditionEnterpriseEditionExtremePerformance DbSystemDatabaseEditionEnum = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
	DbSystemDatabaseEditionEnterpriseEditionHighPerformance    DbSystemDatabaseEditionEnum = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
)

Set of constants representing the allowable values for DbSystemDatabaseEdition

func GetDbSystemDatabaseEditionEnumValues

func GetDbSystemDatabaseEditionEnumValues() []DbSystemDatabaseEditionEnum

GetDbSystemDatabaseEditionEnumValues Enumerates the set of values for DbSystemDatabaseEdition

type DbSystemDiskRedundancyEnum

type DbSystemDiskRedundancyEnum string

DbSystemDiskRedundancyEnum Enum with underlying type: string

const (
	DbSystemDiskRedundancyHigh   DbSystemDiskRedundancyEnum = "HIGH"
	DbSystemDiskRedundancyNormal DbSystemDiskRedundancyEnum = "NORMAL"
)

Set of constants representing the allowable values for DbSystemDiskRedundancy

func GetDbSystemDiskRedundancyEnumValues

func GetDbSystemDiskRedundancyEnumValues() []DbSystemDiskRedundancyEnum

GetDbSystemDiskRedundancyEnumValues Enumerates the set of values for DbSystemDiskRedundancy

type DbSystemLicenseModelEnum

type DbSystemLicenseModelEnum string

DbSystemLicenseModelEnum Enum with underlying type: string

const (
	DbSystemLicenseModelLicenseIncluded     DbSystemLicenseModelEnum = "LICENSE_INCLUDED"
	DbSystemLicenseModelBringYourOwnLicense DbSystemLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for DbSystemLicenseModel

func GetDbSystemLicenseModelEnumValues

func GetDbSystemLicenseModelEnumValues() []DbSystemLicenseModelEnum

GetDbSystemLicenseModelEnumValues Enumerates the set of values for DbSystemLicenseModel

type DbSystemLifecycleStateEnum

type DbSystemLifecycleStateEnum string

DbSystemLifecycleStateEnum Enum with underlying type: string

const (
	DbSystemLifecycleStateProvisioning DbSystemLifecycleStateEnum = "PROVISIONING"
	DbSystemLifecycleStateAvailable    DbSystemLifecycleStateEnum = "AVAILABLE"
	DbSystemLifecycleStateUpdating     DbSystemLifecycleStateEnum = "UPDATING"
	DbSystemLifecycleStateTerminating  DbSystemLifecycleStateEnum = "TERMINATING"
	DbSystemLifecycleStateTerminated   DbSystemLifecycleStateEnum = "TERMINATED"
	DbSystemLifecycleStateFailed       DbSystemLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbSystemLifecycleState

func GetDbSystemLifecycleStateEnumValues

func GetDbSystemLifecycleStateEnumValues() []DbSystemLifecycleStateEnum

GetDbSystemLifecycleStateEnumValues Enumerates the set of values for DbSystemLifecycleState

type DbSystemShapeSummary

type DbSystemShapeSummary struct {

	// The maximum number of CPU cores that can be enabled on the DB System for this shape.
	AvailableCoreCount *int `mandatory:"true" json:"availableCoreCount"`

	// The name of the shape used for the DB System.
	Name *string `mandatory:"true" json:"name"`

	// The discrete number by which the CPU core count for this shape can be increased or decreased.
	CoreCountIncrement *int `mandatory:"false" json:"coreCountIncrement"`

	// The maximum number of database nodes available for this shape.
	MaximumNodeCount *int `mandatory:"false" json:"maximumNodeCount"`

	// The minimum number of CPU cores that can be enabled on the DB System for this shape.
	MinimumCoreCount *int `mandatory:"false" json:"minimumCoreCount"`

	// The minimum number of database nodes available for this shape.
	MinimumNodeCount *int `mandatory:"false" json:"minimumNodeCount"`

	// Deprecated. Use `name` instead of `shape`.
	Shape *string `mandatory:"false" json:"shape"`
}

DbSystemShapeSummary The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. For a description of shapes, see DB System Launch Options (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/References/launchoptions.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbSystemShapeSummary) String

func (m DbSystemShapeSummary) String() string

type DbSystemSummary

type DbSystemSummary struct {

	// The name of the Availability Domain that the DB System is located in.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The number of CPU cores enabled on the DB System.
	CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`

	// The Oracle Database Edition that applies to all the databases on the DB System.
	DatabaseEdition DbSystemSummaryDatabaseEditionEnum `mandatory:"true" json:"databaseEdition"`

	// The user-friendly name for the DB System. It does not have to be unique.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The domain name for the DB System.
	Domain *string `mandatory:"true" json:"domain"`

	// The host name for the DB Node.
	Hostname *string `mandatory:"true" json:"hostname"`

	// The OCID of the DB System.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the DB System.
	LifecycleState DbSystemSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
	Shape *string `mandatory:"true" json:"shape"`

	// The public key portion of one or more key pairs used for SSH access to the DB System.
	SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

	// The OCID of the subnet the DB System is associated with.
	// **Subnet Restrictions:**
	// - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
	// - For Exadata and VM-based RAC DB Systems, do not use a subnet that overlaps with 192.168.128.0/20
	// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
	// Specifying an overlapping subnet will cause the private interconnect to malfunction.
	// This restriction applies to both the client subnet and backup subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID of the backup network subnet the DB System is associated with. Applicable only to Exadata.
	// **Subnet Restriction:** See above subnetId's 'Subnet Restriction'.
	// to malfunction.
	BackupSubnetId *string `mandatory:"false" json:"backupSubnetId"`

	// Cluster name for Exadata and 2-node RAC DB Systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
	ClusterName *string `mandatory:"false" json:"clusterName"`

	// The percentage assigned to DATA storage (user data and database files).
	// The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80.
	DataStoragePercentage *int `mandatory:"false" json:"dataStoragePercentage"`

	// Data storage size, in GBs, that is currently available to the DB system. This is applicable only for VM-based DBs.
	DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The type of redundancy configured for the DB System.
	// Normal is 2-way redundancy.
	// High is 3-way redundancy.
	DiskRedundancy DbSystemSummaryDiskRedundancyEnum `mandatory:"false" json:"diskRedundancy,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the last patch history. This is updated as soon as a patch operation is started.
	LastPatchHistoryEntryId *string `mandatory:"false" json:"lastPatchHistoryEntryId"`

	// The Oracle license model that applies to all the databases on the DB System. The default is LICENSE_INCLUDED.
	LicenseModel DbSystemSummaryLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`

	// Additional information about the current lifecycleState.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The port number configured for the listener on the DB System.
	ListenerPort *int `mandatory:"false" json:"listenerPort"`

	// Number of nodes in this DB system. For RAC DBs, this will be greater than 1.
	NodeCount *int `mandatory:"false" json:"nodeCount"`

	// RECO/REDO storage size, in GBs, that is currently allocated to the DB system. This is applicable only for VM-based DBs.
	RecoStorageSizeInGB *int `mandatory:"false" json:"recoStorageSizeInGB"`

	// The OCID of the DNS record for the SCAN IP addresses that are associated with the DB System.
	ScanDnsRecordId *string `mandatory:"false" json:"scanDnsRecordId"`

	// The OCID of the Single Client Access Name (SCAN) IP addresses associated with the DB System.
	// SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
	// Clusterware directs the requests to the appropriate nodes in the cluster.
	// - For a single-node DB System, this list is empty.
	ScanIpIds []string `mandatory:"false" json:"scanIpIds"`

	// The date and time the DB System was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The version of the DB System.
	Version *string `mandatory:"false" json:"version"`

	// The OCID of the virtual IP (VIP) addresses associated with the DB System.
	// The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB System to
	// enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
	// - For a single-node DB System, this list is empty.
	VipIds []string `mandatory:"false" json:"vipIds"`
}

DbSystemSummary The Database Service supports several types of DB Systems, ranging in size, price, and performance. For details about each type of system, see: - Exadata DB Systems (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/exaoverview.htm) - Bare Metal and Virtual Machine DB Systems (https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Concepts/overview.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

For information about access control and compartments, see Overview of the Identity Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). For information about Availability Domains, see Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm). To get a list of Availability Domains, use the `ListAvailabilityDomains` operation in the Identity Service API.

func (DbSystemSummary) String

func (m DbSystemSummary) String() string

type DbSystemSummaryDatabaseEditionEnum

type DbSystemSummaryDatabaseEditionEnum string

DbSystemSummaryDatabaseEditionEnum Enum with underlying type: string

const (
	DbSystemSummaryDatabaseEditionStandardEdition                     DbSystemSummaryDatabaseEditionEnum = "STANDARD_EDITION"
	DbSystemSummaryDatabaseEditionEnterpriseEdition                   DbSystemSummaryDatabaseEditionEnum = "ENTERPRISE_EDITION"
	DbSystemSummaryDatabaseEditionEnterpriseEditionExtremePerformance DbSystemSummaryDatabaseEditionEnum = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
	DbSystemSummaryDatabaseEditionEnterpriseEditionHighPerformance    DbSystemSummaryDatabaseEditionEnum = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
)

Set of constants representing the allowable values for DbSystemSummaryDatabaseEdition

func GetDbSystemSummaryDatabaseEditionEnumValues

func GetDbSystemSummaryDatabaseEditionEnumValues() []DbSystemSummaryDatabaseEditionEnum

GetDbSystemSummaryDatabaseEditionEnumValues Enumerates the set of values for DbSystemSummaryDatabaseEdition

type DbSystemSummaryDiskRedundancyEnum

type DbSystemSummaryDiskRedundancyEnum string

DbSystemSummaryDiskRedundancyEnum Enum with underlying type: string

const (
	DbSystemSummaryDiskRedundancyHigh   DbSystemSummaryDiskRedundancyEnum = "HIGH"
	DbSystemSummaryDiskRedundancyNormal DbSystemSummaryDiskRedundancyEnum = "NORMAL"
)

Set of constants representing the allowable values for DbSystemSummaryDiskRedundancy

func GetDbSystemSummaryDiskRedundancyEnumValues

func GetDbSystemSummaryDiskRedundancyEnumValues() []DbSystemSummaryDiskRedundancyEnum

GetDbSystemSummaryDiskRedundancyEnumValues Enumerates the set of values for DbSystemSummaryDiskRedundancy

type DbSystemSummaryLicenseModelEnum

type DbSystemSummaryLicenseModelEnum string

DbSystemSummaryLicenseModelEnum Enum with underlying type: string

const (
	DbSystemSummaryLicenseModelLicenseIncluded     DbSystemSummaryLicenseModelEnum = "LICENSE_INCLUDED"
	DbSystemSummaryLicenseModelBringYourOwnLicense DbSystemSummaryLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for DbSystemSummaryLicenseModel

func GetDbSystemSummaryLicenseModelEnumValues

func GetDbSystemSummaryLicenseModelEnumValues() []DbSystemSummaryLicenseModelEnum

GetDbSystemSummaryLicenseModelEnumValues Enumerates the set of values for DbSystemSummaryLicenseModel

type DbSystemSummaryLifecycleStateEnum

type DbSystemSummaryLifecycleStateEnum string

DbSystemSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DbSystemSummaryLifecycleStateProvisioning DbSystemSummaryLifecycleStateEnum = "PROVISIONING"
	DbSystemSummaryLifecycleStateAvailable    DbSystemSummaryLifecycleStateEnum = "AVAILABLE"
	DbSystemSummaryLifecycleStateUpdating     DbSystemSummaryLifecycleStateEnum = "UPDATING"
	DbSystemSummaryLifecycleStateTerminating  DbSystemSummaryLifecycleStateEnum = "TERMINATING"
	DbSystemSummaryLifecycleStateTerminated   DbSystemSummaryLifecycleStateEnum = "TERMINATED"
	DbSystemSummaryLifecycleStateFailed       DbSystemSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DbSystemSummaryLifecycleState

func GetDbSystemSummaryLifecycleStateEnumValues

func GetDbSystemSummaryLifecycleStateEnumValues() []DbSystemSummaryLifecycleStateEnum

GetDbSystemSummaryLifecycleStateEnumValues Enumerates the set of values for DbSystemSummaryLifecycleState

type DbVersionSummary

type DbVersionSummary struct {

	// A valid Oracle database version.
	Version *string `mandatory:"true" json:"version"`

	// True if this version of the Oracle database software supports pluggable dbs.
	SupportsPdb *bool `mandatory:"false" json:"supportsPdb"`
}

DbVersionSummary The Oracle database software version. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (DbVersionSummary) String

func (m DbVersionSummary) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// The backup OCID.
	BackupId *string `mandatory:"true" contributesTo:"path" name:"backupId"`

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

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

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

DeleteBackupRequest wrapper for the DeleteBackup operation

func (DeleteBackupRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteBackupRequest) RetryPolicy added in v1.3.0

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

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

func (DeleteBackupRequest) String

func (request DeleteBackupRequest) String() string

type DeleteBackupResponse

type DeleteBackupResponse 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"`
}

DeleteBackupResponse wrapper for the DeleteBackup operation

func (DeleteBackupResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteBackupResponse) String

func (response DeleteBackupResponse) String() string

type DeleteDbHomeRequest

type DeleteDbHomeRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

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

	// Whether to perform a final backup of the database or not. Default is false. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
	PerformFinalBackup *bool `mandatory:"false" contributesTo:"query" name:"performFinalBackup"`

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

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

DeleteDbHomeRequest wrapper for the DeleteDbHome operation

func (DeleteDbHomeRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteDbHomeRequest) RetryPolicy added in v1.3.0

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

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

func (DeleteDbHomeRequest) String

func (request DeleteDbHomeRequest) String() string

type DeleteDbHomeResponse

type DeleteDbHomeResponse 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"`
}

DeleteDbHomeResponse wrapper for the DeleteDbHome operation

func (DeleteDbHomeResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteDbHomeResponse) String

func (response DeleteDbHomeResponse) String() string

type FailoverDataGuardAssociationDetails

type FailoverDataGuardAssociationDetails struct {

	// The DB System administrator password.
	DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`
}

FailoverDataGuardAssociationDetails The Data Guard association failover parameters.

func (FailoverDataGuardAssociationDetails) String

type FailoverDataGuardAssociationRequest

type FailoverDataGuardAssociationRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// The Data Guard association's OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DataGuardAssociationId *string `mandatory:"true" contributesTo:"path" name:"dataGuardAssociationId"`

	// A request to perform a failover, transitioning a standby database into a primary database.
	FailoverDataGuardAssociationDetails `contributesTo:"body"`

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

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

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

FailoverDataGuardAssociationRequest wrapper for the FailoverDataGuardAssociation operation

func (FailoverDataGuardAssociationRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (FailoverDataGuardAssociationRequest) RetryPolicy added in v1.3.0

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

func (FailoverDataGuardAssociationRequest) String

type FailoverDataGuardAssociationResponse

type FailoverDataGuardAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

FailoverDataGuardAssociationResponse wrapper for the FailoverDataGuardAssociation operation

func (FailoverDataGuardAssociationResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (FailoverDataGuardAssociationResponse) String

func (response FailoverDataGuardAssociationResponse) String() string

type GetBackupRequest

type GetBackupRequest struct {

	// The backup OCID.
	BackupId *string `mandatory:"true" contributesTo:"path" name:"backupId"`

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

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

GetBackupRequest wrapper for the GetBackup operation

func (GetBackupRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetBackupRequest) RetryPolicy added in v1.3.0

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

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

func (GetBackupRequest) String

func (request GetBackupRequest) String() string

type GetBackupResponse

type GetBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetBackupResponse wrapper for the GetBackup operation

func (GetBackupResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetBackupResponse) String

func (response GetBackupResponse) String() string

type GetDataGuardAssociationRequest

type GetDataGuardAssociationRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// The Data Guard association's OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DataGuardAssociationId *string `mandatory:"true" contributesTo:"path" name:"dataGuardAssociationId"`

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

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

GetDataGuardAssociationRequest wrapper for the GetDataGuardAssociation operation

func (GetDataGuardAssociationRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDataGuardAssociationRequest) RetryPolicy added in v1.3.0

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

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

func (GetDataGuardAssociationRequest) String

func (request GetDataGuardAssociationRequest) String() string

type GetDataGuardAssociationResponse

type GetDataGuardAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDataGuardAssociationResponse wrapper for the GetDataGuardAssociation operation

func (GetDataGuardAssociationResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDataGuardAssociationResponse) String

func (response GetDataGuardAssociationResponse) String() string

type GetDatabaseRequest

type GetDatabaseRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

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

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

GetDatabaseRequest wrapper for the GetDatabase operation

func (GetDatabaseRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDatabaseRequest) RetryPolicy added in v1.3.0

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

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

func (GetDatabaseRequest) String

func (request GetDatabaseRequest) String() string

type GetDatabaseResponse

type GetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDatabaseResponse wrapper for the GetDatabase operation

func (GetDatabaseResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDatabaseResponse) String

func (response GetDatabaseResponse) String() string

type GetDbHomePatchHistoryEntryRequest

type GetDbHomePatchHistoryEntryRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

	// The OCID of the patch history entry.
	PatchHistoryEntryId *string `mandatory:"true" contributesTo:"path" name:"patchHistoryEntryId"`

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

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

GetDbHomePatchHistoryEntryRequest wrapper for the GetDbHomePatchHistoryEntry operation

func (GetDbHomePatchHistoryEntryRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbHomePatchHistoryEntryRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbHomePatchHistoryEntryRequest) String

func (request GetDbHomePatchHistoryEntryRequest) String() string

type GetDbHomePatchHistoryEntryResponse

type GetDbHomePatchHistoryEntryResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDbHomePatchHistoryEntryResponse wrapper for the GetDbHomePatchHistoryEntry operation

func (GetDbHomePatchHistoryEntryResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbHomePatchHistoryEntryResponse) String

func (response GetDbHomePatchHistoryEntryResponse) String() string

type GetDbHomePatchRequest

type GetDbHomePatchRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

	// The OCID of the patch.
	PatchId *string `mandatory:"true" contributesTo:"path" name:"patchId"`

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

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

GetDbHomePatchRequest wrapper for the GetDbHomePatch operation

func (GetDbHomePatchRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbHomePatchRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbHomePatchRequest) String

func (request GetDbHomePatchRequest) String() string

type GetDbHomePatchResponse

type GetDbHomePatchResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetDbHomePatchResponse wrapper for the GetDbHomePatch operation

func (GetDbHomePatchResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbHomePatchResponse) String

func (response GetDbHomePatchResponse) String() string

type GetDbHomeRequest

type GetDbHomeRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

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

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

GetDbHomeRequest wrapper for the GetDbHome operation

func (GetDbHomeRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbHomeRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbHomeRequest) String

func (request GetDbHomeRequest) String() string

type GetDbHomeResponse

type GetDbHomeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDbHomeResponse wrapper for the GetDbHome operation

func (GetDbHomeResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbHomeResponse) String

func (response GetDbHomeResponse) String() string

type GetDbNodeRequest

type GetDbNodeRequest struct {

	// The database node OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbNodeId *string `mandatory:"true" contributesTo:"path" name:"dbNodeId"`

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

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

GetDbNodeRequest wrapper for the GetDbNode operation

func (GetDbNodeRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbNodeRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbNodeRequest) String

func (request GetDbNodeRequest) String() string

type GetDbNodeResponse

type GetDbNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDbNodeResponse wrapper for the GetDbNode operation

func (GetDbNodeResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbNodeResponse) String

func (response GetDbNodeResponse) String() string

type GetDbSystemPatchHistoryEntryRequest

type GetDbSystemPatchHistoryEntryRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

	// The OCID of the patch history entry.
	PatchHistoryEntryId *string `mandatory:"true" contributesTo:"path" name:"patchHistoryEntryId"`

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

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

GetDbSystemPatchHistoryEntryRequest wrapper for the GetDbSystemPatchHistoryEntry operation

func (GetDbSystemPatchHistoryEntryRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbSystemPatchHistoryEntryRequest) RetryPolicy added in v1.3.0

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

func (GetDbSystemPatchHistoryEntryRequest) String

type GetDbSystemPatchHistoryEntryResponse

type GetDbSystemPatchHistoryEntryResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDbSystemPatchHistoryEntryResponse wrapper for the GetDbSystemPatchHistoryEntry operation

func (GetDbSystemPatchHistoryEntryResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbSystemPatchHistoryEntryResponse) String

func (response GetDbSystemPatchHistoryEntryResponse) String() string

type GetDbSystemPatchRequest

type GetDbSystemPatchRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

	// The OCID of the patch.
	PatchId *string `mandatory:"true" contributesTo:"path" name:"patchId"`

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

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

GetDbSystemPatchRequest wrapper for the GetDbSystemPatch operation

func (GetDbSystemPatchRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbSystemPatchRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbSystemPatchRequest) String

func (request GetDbSystemPatchRequest) String() string

type GetDbSystemPatchResponse

type GetDbSystemPatchResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetDbSystemPatchResponse wrapper for the GetDbSystemPatch operation

func (GetDbSystemPatchResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbSystemPatchResponse) String

func (response GetDbSystemPatchResponse) String() string

type GetDbSystemRequest

type GetDbSystemRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

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

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

GetDbSystemRequest wrapper for the GetDbSystem operation

func (GetDbSystemRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (GetDbSystemRequest) RetryPolicy added in v1.3.0

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

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

func (GetDbSystemRequest) String

func (request GetDbSystemRequest) String() string

type GetDbSystemResponse

type GetDbSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

GetDbSystemResponse wrapper for the GetDbSystem operation

func (GetDbSystemResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDbSystemResponse) String

func (response GetDbSystemResponse) String() string

type LaunchDbSystemBase added in v1.6.0

type LaunchDbSystemBase interface {

	// The Availability Domain where the DB System is located.
	GetAvailabilityDomain() *string

	// The Oracle Cloud ID (OCID) of the compartment the DB System  belongs in.
	GetCompartmentId() *string

	// The number of CPU cores to enable. The valid values depend on the specified shape:
	// - BM.DenseIO1.36 and BM.HighIO1.36 - Specify a multiple of 2, from 2 to 36.
	// - BM.RACLocalStorage1.72 - Specify a multiple of 4, from 4 to 72.
	// - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
	// - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
	// - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
	// For VM DB systems, the core count is inferred from the specific VM shape chosen, so this parameter is not used.
	GetCpuCoreCount() *int

	// The host name for the DB System. The host name must begin with an alphabetic character and
	// can contain a maximum of 30 alphanumeric characters, including hyphens (-).
	// The maximum length of the combined hostname and domain is 63 characters.
	// **Note:** The hostname must be unique within the subnet. If it is not unique,
	// the DB System will fail to provision.
	GetHostname() *string

	// The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the ListDbSystemShapes operation.
	GetShape() *string

	// The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
	GetSshPublicKeys() []string

	// The OCID of the subnet the DB System is associated with.
	// **Subnet Restrictions:**
	// - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
	// - For Exadata and VM-based RAC DB Systems, do not use a subnet that overlaps with 192.168.128.0/20
	// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
	// Specifying an overlapping subnet will cause the private interconnect to malfunction.
	// This restriction applies to both the client subnet and backup subnet.
	GetSubnetId() *string

	// The OCID of the backup network subnet the DB System is associated with. Applicable only to Exadata.
	// **Subnet Restrictions:** See above subnetId's **Subnet Restriction**.
	GetBackupSubnetId() *string

	// Cluster name for Exadata and 2-node RAC DB Systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
	GetClusterName() *string

	// The percentage assigned to DATA storage (user data and database files).
	// The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).
	// Specify 80 or 40. The default is 80 percent assigned to DATA storage. This is not applicable for VM based DB systems.
	GetDataStoragePercentage() *int

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// The user-friendly name for the DB System. It does not have to be unique.
	GetDisplayName() *string

	// A domain name used for the DB System. If the Oracle-provided Internet and VCN
	// Resolver is enabled for the specified subnet, the domain name for the subnet is used
	// (don't provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.
	GetDomain() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	GetFreeformTags() map[string]string

	// Size, in GBs, of the initial data volume that will be created and attached to VM-shape based DB system. This storage can later be scaled up if needed. Note that the total storage size attached will be more than what is requested, to account for REDO/RECO space and software volume.
	GetInitialDataStorageSizeInGB() *int

	// Number of nodes to launch for a VM-shape based RAC DB system.
	GetNodeCount() *int
}

LaunchDbSystemBase The representation of LaunchDbSystemBase

type LaunchDbSystemDetails

type LaunchDbSystemDetails struct {

	// The Availability Domain where the DB System is located.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The Oracle Cloud ID (OCID) of the compartment the DB System  belongs in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The number of CPU cores to enable. The valid values depend on the specified shape:
	// - BM.DenseIO1.36 and BM.HighIO1.36 - Specify a multiple of 2, from 2 to 36.
	// - BM.RACLocalStorage1.72 - Specify a multiple of 4, from 4 to 72.
	// - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
	// - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
	// - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
	// For VM DB systems, the core count is inferred from the specific VM shape chosen, so this parameter is not used.
	CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`

	// The host name for the DB System. The host name must begin with an alphabetic character and
	// can contain a maximum of 30 alphanumeric characters, including hyphens (-).
	// The maximum length of the combined hostname and domain is 63 characters.
	// **Note:** The hostname must be unique within the subnet. If it is not unique,
	// the DB System will fail to provision.
	Hostname *string `mandatory:"true" json:"hostname"`

	// The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the ListDbSystemShapes operation.
	Shape *string `mandatory:"true" json:"shape"`

	// The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
	SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

	// The OCID of the subnet the DB System is associated with.
	// **Subnet Restrictions:**
	// - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
	// - For Exadata and VM-based RAC DB Systems, do not use a subnet that overlaps with 192.168.128.0/20
	// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
	// Specifying an overlapping subnet will cause the private interconnect to malfunction.
	// This restriction applies to both the client subnet and backup subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	DbHome *CreateDbHomeDetails `mandatory:"true" json:"dbHome"`

	// The OCID of the backup network subnet the DB System is associated with. Applicable only to Exadata.
	// **Subnet Restrictions:** See above subnetId's **Subnet Restriction**.
	BackupSubnetId *string `mandatory:"false" json:"backupSubnetId"`

	// Cluster name for Exadata and 2-node RAC DB Systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
	ClusterName *string `mandatory:"false" json:"clusterName"`

	// The percentage assigned to DATA storage (user data and database files).
	// The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).
	// Specify 80 or 40. The default is 80 percent assigned to DATA storage. This is not applicable for VM based DB systems.
	DataStoragePercentage *int `mandatory:"false" json:"dataStoragePercentage"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The user-friendly name for the DB System. It does not have to be unique.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A domain name used for the DB System. If the Oracle-provided Internet and VCN
	// Resolver is enabled for the specified subnet, the domain name for the subnet is used
	// (don't provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.
	Domain *string `mandatory:"false" json:"domain"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Size, in GBs, of the initial data volume that will be created and attached to VM-shape based DB system. This storage can later be scaled up if needed. Note that the total storage size attached will be more than what is requested, to account for REDO/RECO space and software volume.
	InitialDataStorageSizeInGB *int `mandatory:"false" json:"initialDataStorageSizeInGB"`

	// Number of nodes to launch for a VM-shape based RAC DB system.
	NodeCount *int `mandatory:"false" json:"nodeCount"`

	// The Oracle Database Edition that applies to all the databases on the DB System.
	// Exadata DB Systems and 2-node RAC DB Systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
	DatabaseEdition LaunchDbSystemDetailsDatabaseEditionEnum `mandatory:"true" json:"databaseEdition"`

	// The type of redundancy configured for the DB System.
	// Normal is 2-way redundancy, recommended for test and development systems.
	// High is 3-way redundancy, recommended for production systems.
	DiskRedundancy LaunchDbSystemDetailsDiskRedundancyEnum `mandatory:"false" json:"diskRedundancy,omitempty"`

	// The Oracle license model that applies to all the databases on the DB System. The default is LICENSE_INCLUDED.
	LicenseModel LaunchDbSystemDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`
}

LaunchDbSystemDetails The representation of LaunchDbSystemDetails

func (LaunchDbSystemDetails) GetAvailabilityDomain added in v1.6.0

func (m LaunchDbSystemDetails) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (LaunchDbSystemDetails) GetBackupSubnetId added in v1.6.0

func (m LaunchDbSystemDetails) GetBackupSubnetId() *string

GetBackupSubnetId returns BackupSubnetId

func (LaunchDbSystemDetails) GetClusterName added in v1.6.0

func (m LaunchDbSystemDetails) GetClusterName() *string

GetClusterName returns ClusterName

func (LaunchDbSystemDetails) GetCompartmentId added in v1.6.0

func (m LaunchDbSystemDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LaunchDbSystemDetails) GetCpuCoreCount added in v1.6.0

func (m LaunchDbSystemDetails) GetCpuCoreCount() *int

GetCpuCoreCount returns CpuCoreCount

func (LaunchDbSystemDetails) GetDataStoragePercentage added in v1.6.0

func (m LaunchDbSystemDetails) GetDataStoragePercentage() *int

GetDataStoragePercentage returns DataStoragePercentage

func (LaunchDbSystemDetails) GetDefinedTags added in v1.6.0

func (m LaunchDbSystemDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LaunchDbSystemDetails) GetDisplayName added in v1.6.0

func (m LaunchDbSystemDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LaunchDbSystemDetails) GetDomain added in v1.6.0

func (m LaunchDbSystemDetails) GetDomain() *string

GetDomain returns Domain

func (LaunchDbSystemDetails) GetFreeformTags added in v1.6.0

func (m LaunchDbSystemDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LaunchDbSystemDetails) GetHostname added in v1.6.0

func (m LaunchDbSystemDetails) GetHostname() *string

GetHostname returns Hostname

func (LaunchDbSystemDetails) GetInitialDataStorageSizeInGB added in v1.6.0

func (m LaunchDbSystemDetails) GetInitialDataStorageSizeInGB() *int

GetInitialDataStorageSizeInGB returns InitialDataStorageSizeInGB

func (LaunchDbSystemDetails) GetNodeCount added in v1.6.0

func (m LaunchDbSystemDetails) GetNodeCount() *int

GetNodeCount returns NodeCount

func (LaunchDbSystemDetails) GetShape added in v1.6.0

func (m LaunchDbSystemDetails) GetShape() *string

GetShape returns Shape

func (LaunchDbSystemDetails) GetSshPublicKeys added in v1.6.0

func (m LaunchDbSystemDetails) GetSshPublicKeys() []string

GetSshPublicKeys returns SshPublicKeys

func (LaunchDbSystemDetails) GetSubnetId added in v1.6.0

func (m LaunchDbSystemDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (LaunchDbSystemDetails) MarshalJSON added in v1.6.0

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

MarshalJSON marshals to json representation

func (LaunchDbSystemDetails) String

func (m LaunchDbSystemDetails) String() string

type LaunchDbSystemDetailsDatabaseEditionEnum

type LaunchDbSystemDetailsDatabaseEditionEnum string

LaunchDbSystemDetailsDatabaseEditionEnum Enum with underlying type: string

const (
	LaunchDbSystemDetailsDatabaseEditionStandardEdition                     LaunchDbSystemDetailsDatabaseEditionEnum = "STANDARD_EDITION"
	LaunchDbSystemDetailsDatabaseEditionEnterpriseEdition                   LaunchDbSystemDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION"
	LaunchDbSystemDetailsDatabaseEditionEnterpriseEditionExtremePerformance LaunchDbSystemDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
	LaunchDbSystemDetailsDatabaseEditionEnterpriseEditionHighPerformance    LaunchDbSystemDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
)

Set of constants representing the allowable values for LaunchDbSystemDetailsDatabaseEdition

func GetLaunchDbSystemDetailsDatabaseEditionEnumValues

func GetLaunchDbSystemDetailsDatabaseEditionEnumValues() []LaunchDbSystemDetailsDatabaseEditionEnum

GetLaunchDbSystemDetailsDatabaseEditionEnumValues Enumerates the set of values for LaunchDbSystemDetailsDatabaseEdition

type LaunchDbSystemDetailsDiskRedundancyEnum

type LaunchDbSystemDetailsDiskRedundancyEnum string

LaunchDbSystemDetailsDiskRedundancyEnum Enum with underlying type: string

const (
	LaunchDbSystemDetailsDiskRedundancyHigh   LaunchDbSystemDetailsDiskRedundancyEnum = "HIGH"
	LaunchDbSystemDetailsDiskRedundancyNormal LaunchDbSystemDetailsDiskRedundancyEnum = "NORMAL"
)

Set of constants representing the allowable values for LaunchDbSystemDetailsDiskRedundancy

func GetLaunchDbSystemDetailsDiskRedundancyEnumValues

func GetLaunchDbSystemDetailsDiskRedundancyEnumValues() []LaunchDbSystemDetailsDiskRedundancyEnum

GetLaunchDbSystemDetailsDiskRedundancyEnumValues Enumerates the set of values for LaunchDbSystemDetailsDiskRedundancy

type LaunchDbSystemDetailsLicenseModelEnum

type LaunchDbSystemDetailsLicenseModelEnum string

LaunchDbSystemDetailsLicenseModelEnum Enum with underlying type: string

const (
	LaunchDbSystemDetailsLicenseModelLicenseIncluded     LaunchDbSystemDetailsLicenseModelEnum = "LICENSE_INCLUDED"
	LaunchDbSystemDetailsLicenseModelBringYourOwnLicense LaunchDbSystemDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for LaunchDbSystemDetailsLicenseModel

func GetLaunchDbSystemDetailsLicenseModelEnumValues

func GetLaunchDbSystemDetailsLicenseModelEnumValues() []LaunchDbSystemDetailsLicenseModelEnum

GetLaunchDbSystemDetailsLicenseModelEnumValues Enumerates the set of values for LaunchDbSystemDetailsLicenseModel

type LaunchDbSystemFromBackupDetails added in v1.6.0

type LaunchDbSystemFromBackupDetails struct {

	// The Availability Domain where the DB System is located.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The Oracle Cloud ID (OCID) of the compartment the DB System  belongs in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The number of CPU cores to enable. The valid values depend on the specified shape:
	// - BM.DenseIO1.36 and BM.HighIO1.36 - Specify a multiple of 2, from 2 to 36.
	// - BM.RACLocalStorage1.72 - Specify a multiple of 4, from 4 to 72.
	// - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84.
	// - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168.
	// - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336.
	// For VM DB systems, the core count is inferred from the specific VM shape chosen, so this parameter is not used.
	CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`

	// The host name for the DB System. The host name must begin with an alphabetic character and
	// can contain a maximum of 30 alphanumeric characters, including hyphens (-).
	// The maximum length of the combined hostname and domain is 63 characters.
	// **Note:** The hostname must be unique within the subnet. If it is not unique,
	// the DB System will fail to provision.
	Hostname *string `mandatory:"true" json:"hostname"`

	// The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the ListDbSystemShapes operation.
	Shape *string `mandatory:"true" json:"shape"`

	// The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
	SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

	// The OCID of the subnet the DB System is associated with.
	// **Subnet Restrictions:**
	// - For single node and 2-node (RAC) DB Systems, do not use a subnet that overlaps with 192.168.16.16/28
	// - For Exadata and VM-based RAC DB Systems, do not use a subnet that overlaps with 192.168.128.0/20
	// These subnets are used by the Oracle Clusterware private interconnect on the database instance.
	// Specifying an overlapping subnet will cause the private interconnect to malfunction.
	// This restriction applies to both the client subnet and backup subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	DbHome *CreateDbHomeFromBackupDetails `mandatory:"true" json:"dbHome"`

	// The OCID of the backup network subnet the DB System is associated with. Applicable only to Exadata.
	// **Subnet Restrictions:** See above subnetId's **Subnet Restriction**.
	BackupSubnetId *string `mandatory:"false" json:"backupSubnetId"`

	// Cluster name for Exadata and 2-node RAC DB Systems. The cluster name must begin with an an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
	ClusterName *string `mandatory:"false" json:"clusterName"`

	// The percentage assigned to DATA storage (user data and database files).
	// The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).
	// Specify 80 or 40. The default is 80 percent assigned to DATA storage. This is not applicable for VM based DB systems.
	DataStoragePercentage *int `mandatory:"false" json:"dataStoragePercentage"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The user-friendly name for the DB System. It does not have to be unique.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A domain name used for the DB System. If the Oracle-provided Internet and VCN
	// Resolver is enabled for the specified subnet, the domain name for the subnet is used
	// (don't provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.
	Domain *string `mandatory:"false" json:"domain"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Size, in GBs, of the initial data volume that will be created and attached to VM-shape based DB system. This storage can later be scaled up if needed. Note that the total storage size attached will be more than what is requested, to account for REDO/RECO space and software volume.
	InitialDataStorageSizeInGB *int `mandatory:"false" json:"initialDataStorageSizeInGB"`

	// Number of nodes to launch for a VM-shape based RAC DB system.
	NodeCount *int `mandatory:"false" json:"nodeCount"`

	// The Oracle Database Edition that applies to all the databases on the DB System.
	// Exadata DB Systems and 2-node RAC DB Systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
	DatabaseEdition LaunchDbSystemFromBackupDetailsDatabaseEditionEnum `mandatory:"true" json:"databaseEdition"`

	// The type of redundancy configured for the DB System.
	// Normal is 2-way redundancy, recommended for test and development systems.
	// High is 3-way redundancy, recommended for production systems.
	DiskRedundancy LaunchDbSystemFromBackupDetailsDiskRedundancyEnum `mandatory:"false" json:"diskRedundancy,omitempty"`

	// The Oracle license model that applies to all the databases on the DB System. The default is LICENSE_INCLUDED.
	LicenseModel LaunchDbSystemFromBackupDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`
}

LaunchDbSystemFromBackupDetails The representation of LaunchDbSystemFromBackupDetails

func (LaunchDbSystemFromBackupDetails) GetAvailabilityDomain added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (LaunchDbSystemFromBackupDetails) GetBackupSubnetId added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetBackupSubnetId() *string

GetBackupSubnetId returns BackupSubnetId

func (LaunchDbSystemFromBackupDetails) GetClusterName added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetClusterName() *string

GetClusterName returns ClusterName

func (LaunchDbSystemFromBackupDetails) GetCompartmentId added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LaunchDbSystemFromBackupDetails) GetCpuCoreCount added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetCpuCoreCount() *int

GetCpuCoreCount returns CpuCoreCount

func (LaunchDbSystemFromBackupDetails) GetDataStoragePercentage added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetDataStoragePercentage() *int

GetDataStoragePercentage returns DataStoragePercentage

func (LaunchDbSystemFromBackupDetails) GetDefinedTags added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LaunchDbSystemFromBackupDetails) GetDisplayName added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LaunchDbSystemFromBackupDetails) GetDomain added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetDomain() *string

GetDomain returns Domain

func (LaunchDbSystemFromBackupDetails) GetFreeformTags added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LaunchDbSystemFromBackupDetails) GetHostname added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetHostname() *string

GetHostname returns Hostname

func (LaunchDbSystemFromBackupDetails) GetInitialDataStorageSizeInGB added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetInitialDataStorageSizeInGB() *int

GetInitialDataStorageSizeInGB returns InitialDataStorageSizeInGB

func (LaunchDbSystemFromBackupDetails) GetNodeCount added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetNodeCount() *int

GetNodeCount returns NodeCount

func (LaunchDbSystemFromBackupDetails) GetShape added in v1.6.0

GetShape returns Shape

func (LaunchDbSystemFromBackupDetails) GetSshPublicKeys added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetSshPublicKeys() []string

GetSshPublicKeys returns SshPublicKeys

func (LaunchDbSystemFromBackupDetails) GetSubnetId added in v1.6.0

func (m LaunchDbSystemFromBackupDetails) GetSubnetId() *string

GetSubnetId returns SubnetId

func (LaunchDbSystemFromBackupDetails) MarshalJSON added in v1.6.0

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

MarshalJSON marshals to json representation

func (LaunchDbSystemFromBackupDetails) String added in v1.6.0

type LaunchDbSystemFromBackupDetailsDatabaseEditionEnum added in v1.6.0

type LaunchDbSystemFromBackupDetailsDatabaseEditionEnum string

LaunchDbSystemFromBackupDetailsDatabaseEditionEnum Enum with underlying type: string

const (
	LaunchDbSystemFromBackupDetailsDatabaseEditionStandardEdition                     LaunchDbSystemFromBackupDetailsDatabaseEditionEnum = "STANDARD_EDITION"
	LaunchDbSystemFromBackupDetailsDatabaseEditionEnterpriseEdition                   LaunchDbSystemFromBackupDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION"
	LaunchDbSystemFromBackupDetailsDatabaseEditionEnterpriseEditionExtremePerformance LaunchDbSystemFromBackupDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
	LaunchDbSystemFromBackupDetailsDatabaseEditionEnterpriseEditionHighPerformance    LaunchDbSystemFromBackupDetailsDatabaseEditionEnum = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
)

Set of constants representing the allowable values for LaunchDbSystemFromBackupDetailsDatabaseEdition

func GetLaunchDbSystemFromBackupDetailsDatabaseEditionEnumValues added in v1.6.0

func GetLaunchDbSystemFromBackupDetailsDatabaseEditionEnumValues() []LaunchDbSystemFromBackupDetailsDatabaseEditionEnum

GetLaunchDbSystemFromBackupDetailsDatabaseEditionEnumValues Enumerates the set of values for LaunchDbSystemFromBackupDetailsDatabaseEdition

type LaunchDbSystemFromBackupDetailsDiskRedundancyEnum added in v1.6.0

type LaunchDbSystemFromBackupDetailsDiskRedundancyEnum string

LaunchDbSystemFromBackupDetailsDiskRedundancyEnum Enum with underlying type: string

const (
	LaunchDbSystemFromBackupDetailsDiskRedundancyHigh   LaunchDbSystemFromBackupDetailsDiskRedundancyEnum = "HIGH"
	LaunchDbSystemFromBackupDetailsDiskRedundancyNormal LaunchDbSystemFromBackupDetailsDiskRedundancyEnum = "NORMAL"
)

Set of constants representing the allowable values for LaunchDbSystemFromBackupDetailsDiskRedundancy

func GetLaunchDbSystemFromBackupDetailsDiskRedundancyEnumValues added in v1.6.0

func GetLaunchDbSystemFromBackupDetailsDiskRedundancyEnumValues() []LaunchDbSystemFromBackupDetailsDiskRedundancyEnum

GetLaunchDbSystemFromBackupDetailsDiskRedundancyEnumValues Enumerates the set of values for LaunchDbSystemFromBackupDetailsDiskRedundancy

type LaunchDbSystemFromBackupDetailsLicenseModelEnum added in v1.6.0

type LaunchDbSystemFromBackupDetailsLicenseModelEnum string

LaunchDbSystemFromBackupDetailsLicenseModelEnum Enum with underlying type: string

const (
	LaunchDbSystemFromBackupDetailsLicenseModelLicenseIncluded     LaunchDbSystemFromBackupDetailsLicenseModelEnum = "LICENSE_INCLUDED"
	LaunchDbSystemFromBackupDetailsLicenseModelBringYourOwnLicense LaunchDbSystemFromBackupDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)

Set of constants representing the allowable values for LaunchDbSystemFromBackupDetailsLicenseModel

func GetLaunchDbSystemFromBackupDetailsLicenseModelEnumValues added in v1.6.0

func GetLaunchDbSystemFromBackupDetailsLicenseModelEnumValues() []LaunchDbSystemFromBackupDetailsLicenseModelEnum

GetLaunchDbSystemFromBackupDetailsLicenseModelEnumValues Enumerates the set of values for LaunchDbSystemFromBackupDetailsLicenseModel

type LaunchDbSystemRequest

type LaunchDbSystemRequest struct {

	// Request to launch a DB System.
	LaunchDbSystemDetails LaunchDbSystemBase `contributesTo:"body"`

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

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

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

LaunchDbSystemRequest wrapper for the LaunchDbSystem operation

func (LaunchDbSystemRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (LaunchDbSystemRequest) RetryPolicy added in v1.3.0

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

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

func (LaunchDbSystemRequest) String

func (request LaunchDbSystemRequest) String() string

type LaunchDbSystemResponse

type LaunchDbSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

LaunchDbSystemResponse wrapper for the LaunchDbSystem operation

func (LaunchDbSystemResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (LaunchDbSystemResponse) String

func (response LaunchDbSystemResponse) String() string

type ListBackupsRequest

type ListBackupsRequest struct {

	// The OCID of the database.
	DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`

	// The compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListBackupsRequest wrapper for the ListBackups operation

func (ListBackupsRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListBackupsRequest) RetryPolicy added in v1.3.0

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

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

func (ListBackupsRequest) String

func (request ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BackupSummary instances
	Items []BackupSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListBackupsResponse wrapper for the ListBackups operation

func (ListBackupsResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListBackupsResponse) String

func (response ListBackupsResponse) String() string

type ListDataGuardAssociationsRequest

type ListDataGuardAssociationsRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDataGuardAssociationsRequest wrapper for the ListDataGuardAssociations operation

func (ListDataGuardAssociationsRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDataGuardAssociationsRequest) RetryPolicy added in v1.3.0

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

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

func (ListDataGuardAssociationsRequest) String

func (request ListDataGuardAssociationsRequest) String() string

type ListDataGuardAssociationsResponse

type ListDataGuardAssociationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DataGuardAssociationSummary instances
	Items []DataGuardAssociationSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDataGuardAssociationsResponse wrapper for the ListDataGuardAssociations operation

func (ListDataGuardAssociationsResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDataGuardAssociationsResponse) String

func (response ListDataGuardAssociationsResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"query" name:"dbHomeId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDatabasesRequest wrapper for the ListDatabases operation

func (ListDatabasesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDatabasesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDatabasesRequest) String

func (request ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DatabaseSummary instances
	Items []DatabaseSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDatabasesResponse wrapper for the ListDatabases operation

func (ListDatabasesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDatabasesResponse) String

func (response ListDatabasesResponse) String() string

type ListDbHomePatchHistoryEntriesRequest

type ListDbHomePatchHistoryEntriesRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbHomePatchHistoryEntriesRequest wrapper for the ListDbHomePatchHistoryEntries operation

func (ListDbHomePatchHistoryEntriesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbHomePatchHistoryEntriesRequest) RetryPolicy added in v1.3.0

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

func (ListDbHomePatchHistoryEntriesRequest) String

type ListDbHomePatchHistoryEntriesResponse

type ListDbHomePatchHistoryEntriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PatchHistoryEntrySummary instances
	Items []PatchHistoryEntrySummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbHomePatchHistoryEntriesResponse wrapper for the ListDbHomePatchHistoryEntries operation

func (ListDbHomePatchHistoryEntriesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbHomePatchHistoryEntriesResponse) String

type ListDbHomePatchesRequest

type ListDbHomePatchesRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbHomePatchesRequest wrapper for the ListDbHomePatches operation

func (ListDbHomePatchesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbHomePatchesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbHomePatchesRequest) String

func (request ListDbHomePatchesRequest) String() string

type ListDbHomePatchesResponse

type ListDbHomePatchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PatchSummary instances
	Items []PatchSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbHomePatchesResponse wrapper for the ListDbHomePatches operation

func (ListDbHomePatchesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbHomePatchesResponse) String

func (response ListDbHomePatchesResponse) String() string

type ListDbHomesRequest

type ListDbHomesRequest struct {

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System.
	DbSystemId *string `mandatory:"true" contributesTo:"query" name:"dbSystemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbHomesRequest wrapper for the ListDbHomes operation

func (ListDbHomesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbHomesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbHomesRequest) String

func (request ListDbHomesRequest) String() string

type ListDbHomesResponse

type ListDbHomesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DbHomeSummary instances
	Items []DbHomeSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbHomesResponse wrapper for the ListDbHomes operation

func (ListDbHomesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbHomesResponse) String

func (response ListDbHomesResponse) String() string

type ListDbNodesRequest

type ListDbNodesRequest struct {

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the DB System.
	DbSystemId *string `mandatory:"true" contributesTo:"query" name:"dbSystemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbNodesRequest wrapper for the ListDbNodes operation

func (ListDbNodesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbNodesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbNodesRequest) String

func (request ListDbNodesRequest) String() string

type ListDbNodesResponse

type ListDbNodesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DbNodeSummary instances
	Items []DbNodeSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbNodesResponse wrapper for the ListDbNodes operation

func (ListDbNodesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbNodesResponse) String

func (response ListDbNodesResponse) String() string

type ListDbSystemPatchHistoryEntriesRequest

type ListDbSystemPatchHistoryEntriesRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbSystemPatchHistoryEntriesRequest wrapper for the ListDbSystemPatchHistoryEntries operation

func (ListDbSystemPatchHistoryEntriesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbSystemPatchHistoryEntriesRequest) RetryPolicy added in v1.3.0

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

func (ListDbSystemPatchHistoryEntriesRequest) String

type ListDbSystemPatchHistoryEntriesResponse

type ListDbSystemPatchHistoryEntriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PatchHistoryEntrySummary instances
	Items []PatchHistoryEntrySummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbSystemPatchHistoryEntriesResponse wrapper for the ListDbSystemPatchHistoryEntries operation

func (ListDbSystemPatchHistoryEntriesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbSystemPatchHistoryEntriesResponse) String

type ListDbSystemPatchesRequest

type ListDbSystemPatchesRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbSystemPatchesRequest wrapper for the ListDbSystemPatches operation

func (ListDbSystemPatchesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbSystemPatchesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbSystemPatchesRequest) String

func (request ListDbSystemPatchesRequest) String() string

type ListDbSystemPatchesResponse

type ListDbSystemPatchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PatchSummary instances
	Items []PatchSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbSystemPatchesResponse wrapper for the ListDbSystemPatches operation

func (ListDbSystemPatchesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbSystemPatchesResponse) String

func (response ListDbSystemPatchesResponse) String() string

type ListDbSystemShapesRequest

type ListDbSystemShapesRequest struct {

	// The name of the Availability Domain.
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListDbSystemShapesRequest wrapper for the ListDbSystemShapes operation

func (ListDbSystemShapesRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbSystemShapesRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbSystemShapesRequest) String

func (request ListDbSystemShapesRequest) String() string

type ListDbSystemShapesResponse

type ListDbSystemShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DbSystemShapeSummary instances
	Items []DbSystemShapeSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbSystemShapesResponse wrapper for the ListDbSystemShapes operation

func (ListDbSystemShapesResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbSystemShapesResponse) String

func (response ListDbSystemShapesResponse) String() string

type ListDbSystemsRequest

type ListDbSystemsRequest struct {

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the backup. Specify a backupId to list only the DB Systems that support creating a database using this backup in this compartment.
	BackupId *string `mandatory:"false" contributesTo:"query" name:"backupId"`

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

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

ListDbSystemsRequest wrapper for the ListDbSystems operation

func (ListDbSystemsRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbSystemsRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbSystemsRequest) String

func (request ListDbSystemsRequest) String() string

type ListDbSystemsResponse

type ListDbSystemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DbSystemSummary instances
	Items []DbSystemSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbSystemsResponse wrapper for the ListDbSystems operation

func (ListDbSystemsResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbSystemsResponse) String

func (response ListDbSystemsResponse) String() string

type ListDbVersionsRequest

type ListDbVersionsRequest struct {

	// The compartment OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The pagination token to continue listing from.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// If provided, filters the results to the set of database versions which are supported for the given shape.
	DbSystemShape *string `mandatory:"false" contributesTo:"query" name:"dbSystemShape"`

	// The DB system OCID. If provided, filters the results to the set of database versions which are supported for the DB system.
	DbSystemId *string `mandatory:"false" contributesTo:"query" name:"dbSystemId"`

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

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

ListDbVersionsRequest wrapper for the ListDbVersions operation

func (ListDbVersionsRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ListDbVersionsRequest) RetryPolicy added in v1.3.0

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

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

func (ListDbVersionsRequest) String

func (request ListDbVersionsRequest) String() string

type ListDbVersionsResponse

type ListDbVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DbVersionSummary instances
	Items []DbVersionSummary `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListDbVersionsResponse wrapper for the ListDbVersions operation

func (ListDbVersionsResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDbVersionsResponse) String

func (response ListDbVersionsResponse) String() string

type Patch

type Patch struct {

	// The text describing this patch package.
	Description *string `mandatory:"true" json:"description"`

	// The OCID of the patch.
	Id *string `mandatory:"true" json:"id"`

	// The date and time that the patch was released.
	TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"`

	// The version of this patch package.
	Version *string `mandatory:"true" json:"version"`

	// Actions that can possibly be performed using this patch.
	AvailableActions []PatchAvailableActionsEnum `mandatory:"false" json:"availableActions,omitempty"`

	// Action that is currently being performed or was completed last.
	LastAction PatchLastActionEnum `mandatory:"false" json:"lastAction,omitempty"`

	// A descriptive text associated with the lifecycleState.
	// Typically can contain additional displayable text.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the patch as a result of lastAction.
	LifecycleState PatchLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

Patch A Patch for a DB System or DB Home. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (Patch) String

func (m Patch) String() string

type PatchAvailableActionsEnum

type PatchAvailableActionsEnum string

PatchAvailableActionsEnum Enum with underlying type: string

const (
	PatchAvailableActionsApply    PatchAvailableActionsEnum = "APPLY"
	PatchAvailableActionsPrecheck PatchAvailableActionsEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchAvailableActions

func GetPatchAvailableActionsEnumValues

func GetPatchAvailableActionsEnumValues() []PatchAvailableActionsEnum

GetPatchAvailableActionsEnumValues Enumerates the set of values for PatchAvailableActions

type PatchDetails

type PatchDetails struct {

	// The action to perform on the patch.
	Action PatchDetailsActionEnum `mandatory:"false" json:"action,omitempty"`

	// The OCID of the patch.
	PatchId *string `mandatory:"false" json:"patchId"`
}

PatchDetails The details about what actions to perform and using what patch to the specified target. This is part of an update request that is applied to a version field on the target such as DB System, database home, etc.

func (PatchDetails) String

func (m PatchDetails) String() string

type PatchDetailsActionEnum

type PatchDetailsActionEnum string

PatchDetailsActionEnum Enum with underlying type: string

const (
	PatchDetailsActionApply    PatchDetailsActionEnum = "APPLY"
	PatchDetailsActionPrecheck PatchDetailsActionEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchDetailsAction

func GetPatchDetailsActionEnumValues

func GetPatchDetailsActionEnumValues() []PatchDetailsActionEnum

GetPatchDetailsActionEnumValues Enumerates the set of values for PatchDetailsAction

type PatchHistoryEntry

type PatchHistoryEntry struct {

	// The OCID of the patch history entry.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the action.
	LifecycleState PatchHistoryEntryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the patch.
	PatchId *string `mandatory:"true" json:"patchId"`

	// The date and time when the patch action started.
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The action being performed or was completed.
	Action PatchHistoryEntryActionEnum `mandatory:"false" json:"action,omitempty"`

	// A descriptive text associated with the lifecycleState.
	// Typically contains additional displayable text.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The date and time when the patch action completed.
	TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`
}

PatchHistoryEntry The record of a patch action on a specified target.

func (PatchHistoryEntry) String

func (m PatchHistoryEntry) String() string

type PatchHistoryEntryActionEnum

type PatchHistoryEntryActionEnum string

PatchHistoryEntryActionEnum Enum with underlying type: string

const (
	PatchHistoryEntryActionApply    PatchHistoryEntryActionEnum = "APPLY"
	PatchHistoryEntryActionPrecheck PatchHistoryEntryActionEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchHistoryEntryAction

func GetPatchHistoryEntryActionEnumValues

func GetPatchHistoryEntryActionEnumValues() []PatchHistoryEntryActionEnum

GetPatchHistoryEntryActionEnumValues Enumerates the set of values for PatchHistoryEntryAction

type PatchHistoryEntryLifecycleStateEnum

type PatchHistoryEntryLifecycleStateEnum string

PatchHistoryEntryLifecycleStateEnum Enum with underlying type: string

const (
	PatchHistoryEntryLifecycleStateInProgress PatchHistoryEntryLifecycleStateEnum = "IN_PROGRESS"
	PatchHistoryEntryLifecycleStateSucceeded  PatchHistoryEntryLifecycleStateEnum = "SUCCEEDED"
	PatchHistoryEntryLifecycleStateFailed     PatchHistoryEntryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PatchHistoryEntryLifecycleState

func GetPatchHistoryEntryLifecycleStateEnumValues

func GetPatchHistoryEntryLifecycleStateEnumValues() []PatchHistoryEntryLifecycleStateEnum

GetPatchHistoryEntryLifecycleStateEnumValues Enumerates the set of values for PatchHistoryEntryLifecycleState

type PatchHistoryEntrySummary

type PatchHistoryEntrySummary struct {

	// The OCID of the patch history entry.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the action.
	LifecycleState PatchHistoryEntrySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the patch.
	PatchId *string `mandatory:"true" json:"patchId"`

	// The date and time when the patch action started.
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The action being performed or was completed.
	Action PatchHistoryEntrySummaryActionEnum `mandatory:"false" json:"action,omitempty"`

	// A descriptive text associated with the lifecycleState.
	// Typically contains additional displayable text.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The date and time when the patch action completed.
	TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`
}

PatchHistoryEntrySummary The record of a patch action on a specified target.

func (PatchHistoryEntrySummary) String

func (m PatchHistoryEntrySummary) String() string

type PatchHistoryEntrySummaryActionEnum

type PatchHistoryEntrySummaryActionEnum string

PatchHistoryEntrySummaryActionEnum Enum with underlying type: string

const (
	PatchHistoryEntrySummaryActionApply    PatchHistoryEntrySummaryActionEnum = "APPLY"
	PatchHistoryEntrySummaryActionPrecheck PatchHistoryEntrySummaryActionEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchHistoryEntrySummaryAction

func GetPatchHistoryEntrySummaryActionEnumValues

func GetPatchHistoryEntrySummaryActionEnumValues() []PatchHistoryEntrySummaryActionEnum

GetPatchHistoryEntrySummaryActionEnumValues Enumerates the set of values for PatchHistoryEntrySummaryAction

type PatchHistoryEntrySummaryLifecycleStateEnum

type PatchHistoryEntrySummaryLifecycleStateEnum string

PatchHistoryEntrySummaryLifecycleStateEnum Enum with underlying type: string

const (
	PatchHistoryEntrySummaryLifecycleStateInProgress PatchHistoryEntrySummaryLifecycleStateEnum = "IN_PROGRESS"
	PatchHistoryEntrySummaryLifecycleStateSucceeded  PatchHistoryEntrySummaryLifecycleStateEnum = "SUCCEEDED"
	PatchHistoryEntrySummaryLifecycleStateFailed     PatchHistoryEntrySummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PatchHistoryEntrySummaryLifecycleState

func GetPatchHistoryEntrySummaryLifecycleStateEnumValues

func GetPatchHistoryEntrySummaryLifecycleStateEnumValues() []PatchHistoryEntrySummaryLifecycleStateEnum

GetPatchHistoryEntrySummaryLifecycleStateEnumValues Enumerates the set of values for PatchHistoryEntrySummaryLifecycleState

type PatchLastActionEnum

type PatchLastActionEnum string

PatchLastActionEnum Enum with underlying type: string

const (
	PatchLastActionApply    PatchLastActionEnum = "APPLY"
	PatchLastActionPrecheck PatchLastActionEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchLastAction

func GetPatchLastActionEnumValues

func GetPatchLastActionEnumValues() []PatchLastActionEnum

GetPatchLastActionEnumValues Enumerates the set of values for PatchLastAction

type PatchLifecycleStateEnum

type PatchLifecycleStateEnum string

PatchLifecycleStateEnum Enum with underlying type: string

const (
	PatchLifecycleStateAvailable  PatchLifecycleStateEnum = "AVAILABLE"
	PatchLifecycleStateSuccess    PatchLifecycleStateEnum = "SUCCESS"
	PatchLifecycleStateInProgress PatchLifecycleStateEnum = "IN_PROGRESS"
	PatchLifecycleStateFailed     PatchLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PatchLifecycleState

func GetPatchLifecycleStateEnumValues

func GetPatchLifecycleStateEnumValues() []PatchLifecycleStateEnum

GetPatchLifecycleStateEnumValues Enumerates the set of values for PatchLifecycleState

type PatchSummary

type PatchSummary struct {

	// The text describing this patch package.
	Description *string `mandatory:"true" json:"description"`

	// The OCID of the patch.
	Id *string `mandatory:"true" json:"id"`

	// The date and time that the patch was released.
	TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"`

	// The version of this patch package.
	Version *string `mandatory:"true" json:"version"`

	// Actions that can possibly be performed using this patch.
	AvailableActions []PatchSummaryAvailableActionsEnum `mandatory:"false" json:"availableActions,omitempty"`

	// Action that is currently being performed or was completed last.
	LastAction PatchSummaryLastActionEnum `mandatory:"false" json:"lastAction,omitempty"`

	// A descriptive text associated with the lifecycleState.
	// Typically can contain additional displayable text.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the patch as a result of lastAction.
	LifecycleState PatchSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

PatchSummary A Patch for a DB System or DB Home. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).

func (PatchSummary) String

func (m PatchSummary) String() string

type PatchSummaryAvailableActionsEnum

type PatchSummaryAvailableActionsEnum string

PatchSummaryAvailableActionsEnum Enum with underlying type: string

const (
	PatchSummaryAvailableActionsApply    PatchSummaryAvailableActionsEnum = "APPLY"
	PatchSummaryAvailableActionsPrecheck PatchSummaryAvailableActionsEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchSummaryAvailableActions

func GetPatchSummaryAvailableActionsEnumValues

func GetPatchSummaryAvailableActionsEnumValues() []PatchSummaryAvailableActionsEnum

GetPatchSummaryAvailableActionsEnumValues Enumerates the set of values for PatchSummaryAvailableActions

type PatchSummaryLastActionEnum

type PatchSummaryLastActionEnum string

PatchSummaryLastActionEnum Enum with underlying type: string

const (
	PatchSummaryLastActionApply    PatchSummaryLastActionEnum = "APPLY"
	PatchSummaryLastActionPrecheck PatchSummaryLastActionEnum = "PRECHECK"
)

Set of constants representing the allowable values for PatchSummaryLastAction

func GetPatchSummaryLastActionEnumValues

func GetPatchSummaryLastActionEnumValues() []PatchSummaryLastActionEnum

GetPatchSummaryLastActionEnumValues Enumerates the set of values for PatchSummaryLastAction

type PatchSummaryLifecycleStateEnum

type PatchSummaryLifecycleStateEnum string

PatchSummaryLifecycleStateEnum Enum with underlying type: string

const (
	PatchSummaryLifecycleStateAvailable  PatchSummaryLifecycleStateEnum = "AVAILABLE"
	PatchSummaryLifecycleStateSuccess    PatchSummaryLifecycleStateEnum = "SUCCESS"
	PatchSummaryLifecycleStateInProgress PatchSummaryLifecycleStateEnum = "IN_PROGRESS"
	PatchSummaryLifecycleStateFailed     PatchSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PatchSummaryLifecycleState

func GetPatchSummaryLifecycleStateEnumValues

func GetPatchSummaryLifecycleStateEnumValues() []PatchSummaryLifecycleStateEnum

GetPatchSummaryLifecycleStateEnumValues Enumerates the set of values for PatchSummaryLifecycleState

type ReinstateDataGuardAssociationDetails

type ReinstateDataGuardAssociationDetails struct {

	// The DB System administrator password.
	DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`
}

ReinstateDataGuardAssociationDetails The Data Guard association reinstate parameters.

func (ReinstateDataGuardAssociationDetails) String

type ReinstateDataGuardAssociationRequest

type ReinstateDataGuardAssociationRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// The Data Guard association's OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DataGuardAssociationId *string `mandatory:"true" contributesTo:"path" name:"dataGuardAssociationId"`

	// A request to reinstate a database in a standby role.
	ReinstateDataGuardAssociationDetails `contributesTo:"body"`

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

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

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

ReinstateDataGuardAssociationRequest wrapper for the ReinstateDataGuardAssociation operation

func (ReinstateDataGuardAssociationRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (ReinstateDataGuardAssociationRequest) RetryPolicy added in v1.3.0

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

func (ReinstateDataGuardAssociationRequest) String

type ReinstateDataGuardAssociationResponse

type ReinstateDataGuardAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

ReinstateDataGuardAssociationResponse wrapper for the ReinstateDataGuardAssociation operation

func (ReinstateDataGuardAssociationResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (ReinstateDataGuardAssociationResponse) String

type RestoreDatabaseDetails

type RestoreDatabaseDetails struct {

	// Restores using the backup with the System Change Number (SCN) specified.
	DatabaseSCN *string `mandatory:"false" json:"databaseSCN"`

	// Restores to the last known good state with the least possible data loss.
	Latest *bool `mandatory:"false" json:"latest"`

	// Restores to the timestamp specified.
	Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

RestoreDatabaseDetails The representation of RestoreDatabaseDetails

func (RestoreDatabaseDetails) String

func (m RestoreDatabaseDetails) String() string

type RestoreDatabaseRequest

type RestoreDatabaseRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// Request to perform database restore.
	RestoreDatabaseDetails `contributesTo:"body"`

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

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

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

RestoreDatabaseRequest wrapper for the RestoreDatabase operation

func (RestoreDatabaseRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (RestoreDatabaseRequest) RetryPolicy added in v1.3.0

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

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

func (RestoreDatabaseRequest) String

func (request RestoreDatabaseRequest) String() string

type RestoreDatabaseResponse

type RestoreDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

RestoreDatabaseResponse wrapper for the RestoreDatabase operation

func (RestoreDatabaseResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (RestoreDatabaseResponse) String

func (response RestoreDatabaseResponse) String() string

type SwitchoverDataGuardAssociationDetails

type SwitchoverDataGuardAssociationDetails struct {

	// The DB System administrator password.
	DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`
}

SwitchoverDataGuardAssociationDetails The Data Guard association switchover parameters.

func (SwitchoverDataGuardAssociationDetails) String

type SwitchoverDataGuardAssociationRequest

type SwitchoverDataGuardAssociationRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// The Data Guard association's OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DataGuardAssociationId *string `mandatory:"true" contributesTo:"path" name:"dataGuardAssociationId"`

	// Request to swtichover a primary to a standby.
	SwitchoverDataGuardAssociationDetails `contributesTo:"body"`

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

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

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

SwitchoverDataGuardAssociationRequest wrapper for the SwitchoverDataGuardAssociation operation

func (SwitchoverDataGuardAssociationRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (SwitchoverDataGuardAssociationRequest) RetryPolicy added in v1.3.0

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

func (SwitchoverDataGuardAssociationRequest) String

type SwitchoverDataGuardAssociationResponse

type SwitchoverDataGuardAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

SwitchoverDataGuardAssociationResponse wrapper for the SwitchoverDataGuardAssociation operation

func (SwitchoverDataGuardAssociationResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (SwitchoverDataGuardAssociationResponse) String

type TerminateDbSystemRequest

type TerminateDbSystemRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

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

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

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

TerminateDbSystemRequest wrapper for the TerminateDbSystem operation

func (TerminateDbSystemRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (TerminateDbSystemRequest) RetryPolicy added in v1.3.0

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

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

func (TerminateDbSystemRequest) String

func (request TerminateDbSystemRequest) String() string

type TerminateDbSystemResponse

type TerminateDbSystemResponse 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"`
}

TerminateDbSystemResponse wrapper for the TerminateDbSystem operation

func (TerminateDbSystemResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (TerminateDbSystemResponse) String

func (response TerminateDbSystemResponse) String() string

type UpdateDatabaseDetails

type UpdateDatabaseDetails struct {
	DbBackupConfig *DbBackupConfig `mandatory:"false" json:"dbBackupConfig"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateDatabaseDetails The representation of UpdateDatabaseDetails

func (UpdateDatabaseDetails) String

func (m UpdateDatabaseDetails) String() string

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {

	// The database OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DatabaseId *string `mandatory:"true" contributesTo:"path" name:"databaseId"`

	// Request to perform database update.
	UpdateDatabaseDetails `contributesTo:"body"`

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

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

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

UpdateDatabaseRequest wrapper for the UpdateDatabase operation

func (UpdateDatabaseRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (UpdateDatabaseRequest) RetryPolicy added in v1.3.0

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

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

func (UpdateDatabaseRequest) String

func (request UpdateDatabaseRequest) String() string

type UpdateDatabaseResponse

type UpdateDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

UpdateDatabaseResponse wrapper for the UpdateDatabase operation

func (UpdateDatabaseResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateDatabaseResponse) String

func (response UpdateDatabaseResponse) String() string

type UpdateDbHomeDetails

type UpdateDbHomeDetails struct {
	DbVersion *PatchDetails `mandatory:"false" json:"dbVersion"`
}

UpdateDbHomeDetails Describes the modification parameters for the DB Home.

func (UpdateDbHomeDetails) String

func (m UpdateDbHomeDetails) String() string

type UpdateDbHomeRequest

type UpdateDbHomeRequest struct {

	// The database home OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbHomeId *string `mandatory:"true" contributesTo:"path" name:"dbHomeId"`

	// Request to update the properties of a DB Home.
	UpdateDbHomeDetails `contributesTo:"body"`

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

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

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

UpdateDbHomeRequest wrapper for the UpdateDbHome operation

func (UpdateDbHomeRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (UpdateDbHomeRequest) RetryPolicy added in v1.3.0

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

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

func (UpdateDbHomeRequest) String

func (request UpdateDbHomeRequest) String() string

type UpdateDbHomeResponse

type UpdateDbHomeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

UpdateDbHomeResponse wrapper for the UpdateDbHome operation

func (UpdateDbHomeResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateDbHomeResponse) String

func (response UpdateDbHomeResponse) String() string

type UpdateDbSystemDetails

type UpdateDbSystemDetails struct {

	// The number of CPU Cores to be set on the DB System. Applicable only for non-VM based DB systems.
	CpuCoreCount *int `mandatory:"false" json:"cpuCoreCount"`

	// Size, in GBs, to which the currently attached storage needs to be scaled up to for VM based DB system. This must be greater than current storage size. Note that the total storage size attached will be more than what is requested, to account for REDO/RECO space and software volume.
	DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
	SshPublicKeys []string `mandatory:"false" json:"sshPublicKeys"`

	Version *PatchDetails `mandatory:"false" json:"version"`
}

UpdateDbSystemDetails Describes the modification parameters for the DB System.

func (UpdateDbSystemDetails) String

func (m UpdateDbSystemDetails) String() string

type UpdateDbSystemRequest

type UpdateDbSystemRequest struct {

	// The DB System OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
	DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

	// Request to update the properties of a DB System.
	UpdateDbSystemDetails `contributesTo:"body"`

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

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

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

UpdateDbSystemRequest wrapper for the UpdateDbSystem operation

func (UpdateDbSystemRequest) HTTPRequest added in v1.3.0

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

HTTPRequest implements the OCIRequest interface

func (UpdateDbSystemRequest) RetryPolicy added in v1.3.0

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

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

func (UpdateDbSystemRequest) String

func (request UpdateDbSystemRequest) String() string

type UpdateDbSystemResponse

type UpdateDbSystemResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

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

UpdateDbSystemResponse wrapper for the UpdateDbSystem operation

func (UpdateDbSystemResponse) HTTPResponse added in v1.3.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateDbSystemResponse) String

func (response UpdateDbSystemResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL