...

Package psql

import "github.com/oracle/oci-go-sdk/psql"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBackupLifecycleStateEnumStringValues() []string
func GetBackupPolicyKindEnumStringValues() []string
func GetBackupSourceTypeEnumStringValues() []string
func GetConfigurationLifecycleStateEnumStringValues() []string
func GetDbInstanceLifecycleStateEnumStringValues() []string
func GetDbSystemLifecycleStateEnumStringValues() []string
func GetDbSystemSystemTypeEnumStringValues() []string
func GetDefaultConfigurationLifecycleStateEnumStringValues() []string
func GetGetDbSystemExcludedFieldsEnumStringValues() []string
func GetListBackupsSortByEnumStringValues() []string
func GetListBackupsSortOrderEnumStringValues() []string
func GetListConfigurationsSortByEnumStringValues() []string
func GetListConfigurationsSortOrderEnumStringValues() []string
func GetListDbSystemsSortByEnumStringValues() []string
func GetListDbSystemsSortOrderEnumStringValues() []string
func GetListDefaultConfigurationsSortByEnumStringValues() []string
func GetListDefaultConfigurationsSortOrderEnumStringValues() []string
func GetListShapesSortByEnumStringValues() []string
func GetListShapesSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPasswordDetailsPasswordTypeEnumStringValues() []string
func GetPatchInsertInstructionPositionEnumStringValues() []string
func GetPatchInstructionOperationEnumStringValues() []string
func GetPatchMoveInstructionPositionEnumStringValues() []string
func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetSourceDetailsSourceTypeEnumStringValues() []string
func GetUpdateDbConfigParamsApplyConfigEnumStringValues() []string
func GetWeeklyBackupPolicyDaysOfTheWeekEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type Backup
    func (m Backup) String() string
    func (m Backup) ValidateEnumValue() (bool, error)
type BackupCollection
    func (m BackupCollection) String() string
    func (m BackupCollection) ValidateEnumValue() (bool, error)
type BackupLifecycleStateEnum
    func GetBackupLifecycleStateEnumValues() []BackupLifecycleStateEnum
    func GetMappingBackupLifecycleStateEnum(val string) (BackupLifecycleStateEnum, bool)
type BackupPolicy
type BackupPolicyKindEnum
    func GetBackupPolicyKindEnumValues() []BackupPolicyKindEnum
    func GetMappingBackupPolicyKindEnum(val string) (BackupPolicyKindEnum, bool)
type BackupSourceDetails
    func (m BackupSourceDetails) MarshalJSON() (buff []byte, e error)
    func (m BackupSourceDetails) String() string
    func (m BackupSourceDetails) ValidateEnumValue() (bool, error)
type BackupSourceTypeEnum
    func GetBackupSourceTypeEnumValues() []BackupSourceTypeEnum
    func GetMappingBackupSourceTypeEnum(val string) (BackupSourceTypeEnum, bool)
type BackupSummary
    func (m BackupSummary) String() string
    func (m BackupSummary) ValidateEnumValue() (bool, error)
type ChangeBackupCompartmentDetails
    func (m ChangeBackupCompartmentDetails) String() string
    func (m ChangeBackupCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBackupCompartmentRequest
    func (request ChangeBackupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBackupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBackupCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBackupCompartmentRequest) String() string
    func (request ChangeBackupCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBackupCompartmentResponse
    func (response ChangeBackupCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBackupCompartmentResponse) String() string
type ChangeConfigurationCompartmentDetails
    func (m ChangeConfigurationCompartmentDetails) String() string
    func (m ChangeConfigurationCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeConfigurationCompartmentRequest
    func (request ChangeConfigurationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeConfigurationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeConfigurationCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeConfigurationCompartmentRequest) String() string
    func (request ChangeConfigurationCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeConfigurationCompartmentResponse
    func (response ChangeConfigurationCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeConfigurationCompartmentResponse) String() string
type ChangeDbSystemCompartmentDetails
    func (m ChangeDbSystemCompartmentDetails) String() string
    func (m ChangeDbSystemCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeDbSystemCompartmentRequest
    func (request ChangeDbSystemCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeDbSystemCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeDbSystemCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeDbSystemCompartmentRequest) String() string
    func (request ChangeDbSystemCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeDbSystemCompartmentResponse
    func (response ChangeDbSystemCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeDbSystemCompartmentResponse) String() string
type ConfigOverrides
    func (m ConfigOverrides) String() string
    func (m ConfigOverrides) ValidateEnumValue() (bool, error)
type ConfigParams
    func (m ConfigParams) String() string
    func (m ConfigParams) ValidateEnumValue() (bool, error)
type Configuration
    func (m Configuration) String() string
    func (m Configuration) ValidateEnumValue() (bool, error)
type ConfigurationCollection
    func (m ConfigurationCollection) String() string
    func (m ConfigurationCollection) ValidateEnumValue() (bool, error)
type ConfigurationDetails
    func (m ConfigurationDetails) String() string
    func (m ConfigurationDetails) ValidateEnumValue() (bool, error)
type ConfigurationLifecycleStateEnum
    func GetConfigurationLifecycleStateEnumValues() []ConfigurationLifecycleStateEnum
    func GetMappingConfigurationLifecycleStateEnum(val string) (ConfigurationLifecycleStateEnum, bool)
type ConfigurationSummary
    func (m ConfigurationSummary) String() string
    func (m ConfigurationSummary) ValidateEnumValue() (bool, error)
type ConnectionDetails
    func (m ConnectionDetails) String() string
    func (m ConnectionDetails) ValidateEnumValue() (bool, error)
type CreateBackupDetails
    func (m CreateBackupDetails) String() string
    func (m CreateBackupDetails) ValidateEnumValue() (bool, error)
type CreateBackupRequest
    func (request CreateBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBackupRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBackupRequest) String() string
    func (request CreateBackupRequest) ValidateEnumValue() (bool, error)
type CreateBackupResponse
    func (response CreateBackupResponse) HTTPResponse() *http.Response
    func (response CreateBackupResponse) String() string
type CreateConfigurationDetails
    func (m CreateConfigurationDetails) String() string
    func (m CreateConfigurationDetails) ValidateEnumValue() (bool, error)
type CreateConfigurationRequest
    func (request CreateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateConfigurationRequest) String() string
    func (request CreateConfigurationRequest) ValidateEnumValue() (bool, error)
type CreateConfigurationResponse
    func (response CreateConfigurationResponse) HTTPResponse() *http.Response
    func (response CreateConfigurationResponse) String() string
type CreateDbInstanceDetails
    func (m CreateDbInstanceDetails) String() string
    func (m CreateDbInstanceDetails) ValidateEnumValue() (bool, error)
type CreateDbSystemDetails
    func (m CreateDbSystemDetails) String() string
    func (m *CreateDbSystemDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateDbSystemDetails) ValidateEnumValue() (bool, error)
type CreateDbSystemRequest
    func (request CreateDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDbSystemRequest) String() string
    func (request CreateDbSystemRequest) ValidateEnumValue() (bool, error)
type CreateDbSystemResponse
    func (response CreateDbSystemResponse) HTTPResponse() *http.Response
    func (response CreateDbSystemResponse) String() string
type Credentials
    func (m Credentials) String() string
    func (m *Credentials) UnmarshalJSON(data []byte) (e error)
    func (m Credentials) ValidateEnumValue() (bool, error)
type DailyBackupPolicy
    func (m DailyBackupPolicy) GetRetentionDays() *int
    func (m DailyBackupPolicy) MarshalJSON() (buff []byte, e error)
    func (m DailyBackupPolicy) String() string
    func (m DailyBackupPolicy) ValidateEnumValue() (bool, error)
type DbConfigurationOverrideCollection
    func (m DbConfigurationOverrideCollection) String() string
    func (m DbConfigurationOverrideCollection) ValidateEnumValue() (bool, error)
type DbInstance
    func (m DbInstance) String() string
    func (m DbInstance) ValidateEnumValue() (bool, error)
type DbInstanceEndpoint
    func (m DbInstanceEndpoint) String() string
    func (m DbInstanceEndpoint) ValidateEnumValue() (bool, error)
type DbInstanceLifecycleStateEnum
    func GetDbInstanceLifecycleStateEnumValues() []DbInstanceLifecycleStateEnum
    func GetMappingDbInstanceLifecycleStateEnum(val string) (DbInstanceLifecycleStateEnum, bool)
type DbSystem
    func (m DbSystem) String() string
    func (m *DbSystem) UnmarshalJSON(data []byte) (e error)
    func (m DbSystem) ValidateEnumValue() (bool, error)
type DbSystemCollection
    func (m DbSystemCollection) String() string
    func (m DbSystemCollection) ValidateEnumValue() (bool, error)
type DbSystemDetails
    func (m DbSystemDetails) String() string
    func (m DbSystemDetails) ValidateEnumValue() (bool, error)
type DbSystemLifecycleStateEnum
    func GetDbSystemLifecycleStateEnumValues() []DbSystemLifecycleStateEnum
    func GetMappingDbSystemLifecycleStateEnum(val string) (DbSystemLifecycleStateEnum, bool)
type DbSystemSummary
    func (m DbSystemSummary) String() string
    func (m DbSystemSummary) ValidateEnumValue() (bool, error)
type DbSystemSystemTypeEnum
    func GetDbSystemSystemTypeEnumValues() []DbSystemSystemTypeEnum
    func GetMappingDbSystemSystemTypeEnum(val string) (DbSystemSystemTypeEnum, bool)
type DefaultConfigParams
    func (m DefaultConfigParams) String() string
    func (m DefaultConfigParams) ValidateEnumValue() (bool, error)
type DefaultConfiguration
    func (m DefaultConfiguration) String() string
    func (m DefaultConfiguration) ValidateEnumValue() (bool, error)
type DefaultConfigurationCollection
    func (m DefaultConfigurationCollection) String() string
    func (m DefaultConfigurationCollection) ValidateEnumValue() (bool, error)
type DefaultConfigurationDetails
    func (m DefaultConfigurationDetails) String() string
    func (m DefaultConfigurationDetails) ValidateEnumValue() (bool, error)
type DefaultConfigurationLifecycleStateEnum
    func GetDefaultConfigurationLifecycleStateEnumValues() []DefaultConfigurationLifecycleStateEnum
    func GetMappingDefaultConfigurationLifecycleStateEnum(val string) (DefaultConfigurationLifecycleStateEnum, bool)
type DefaultConfigurationSummary
    func (m DefaultConfigurationSummary) String() string
    func (m DefaultConfigurationSummary) ValidateEnumValue() (bool, error)
type DeleteBackupRequest
    func (request DeleteBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBackupRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBackupRequest) String() string
    func (request DeleteBackupRequest) ValidateEnumValue() (bool, error)
type DeleteBackupResponse
    func (response DeleteBackupResponse) HTTPResponse() *http.Response
    func (response DeleteBackupResponse) String() string
type DeleteConfigurationRequest
    func (request DeleteConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteConfigurationRequest) String() string
    func (request DeleteConfigurationRequest) ValidateEnumValue() (bool, error)
type DeleteConfigurationResponse
    func (response DeleteConfigurationResponse) HTTPResponse() *http.Response
    func (response DeleteConfigurationResponse) String() string
type DeleteDbSystemRequest
    func (request DeleteDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDbSystemRequest) String() string
    func (request DeleteDbSystemRequest) ValidateEnumValue() (bool, error)
type DeleteDbSystemResponse
    func (response DeleteDbSystemResponse) HTTPResponse() *http.Response
    func (response DeleteDbSystemResponse) String() string
type Endpoint
    func (m Endpoint) String() string
    func (m Endpoint) ValidateEnumValue() (bool, error)
type FailoverDbSystemDetails
    func (m FailoverDbSystemDetails) String() string
    func (m FailoverDbSystemDetails) ValidateEnumValue() (bool, error)
type FailoverDbSystemRequest
    func (request FailoverDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request FailoverDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request FailoverDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request FailoverDbSystemRequest) String() string
    func (request FailoverDbSystemRequest) ValidateEnumValue() (bool, error)
type FailoverDbSystemResponse
    func (response FailoverDbSystemResponse) HTTPResponse() *http.Response
    func (response FailoverDbSystemResponse) String() string
type GetBackupRequest
    func (request GetBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBackupRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBackupRequest) String() string
    func (request GetBackupRequest) ValidateEnumValue() (bool, error)
type GetBackupResponse
    func (response GetBackupResponse) HTTPResponse() *http.Response
    func (response GetBackupResponse) String() string
type GetConfigurationRequest
    func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetConfigurationRequest) String() string
    func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)
type GetConfigurationResponse
    func (response GetConfigurationResponse) HTTPResponse() *http.Response
    func (response GetConfigurationResponse) String() string
type GetConnectionDetailsRequest
    func (request GetConnectionDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetConnectionDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetConnectionDetailsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetConnectionDetailsRequest) String() string
    func (request GetConnectionDetailsRequest) ValidateEnumValue() (bool, error)
type GetConnectionDetailsResponse
    func (response GetConnectionDetailsResponse) HTTPResponse() *http.Response
    func (response GetConnectionDetailsResponse) String() string
type GetDbSystemExcludedFieldsEnum
    func GetGetDbSystemExcludedFieldsEnumValues() []GetDbSystemExcludedFieldsEnum
    func GetMappingGetDbSystemExcludedFieldsEnum(val string) (GetDbSystemExcludedFieldsEnum, bool)
type GetDbSystemRequest
    func (request GetDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDbSystemRequest) String() string
    func (request GetDbSystemRequest) ValidateEnumValue() (bool, error)
type GetDbSystemResponse
    func (response GetDbSystemResponse) HTTPResponse() *http.Response
    func (response GetDbSystemResponse) String() string
type GetDefaultConfigurationRequest
    func (request GetDefaultConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDefaultConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDefaultConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDefaultConfigurationRequest) String() string
    func (request GetDefaultConfigurationRequest) ValidateEnumValue() (bool, error)
type GetDefaultConfigurationResponse
    func (response GetDefaultConfigurationResponse) HTTPResponse() *http.Response
    func (response GetDefaultConfigurationResponse) String() string
type GetPrimaryDbInstanceRequest
    func (request GetPrimaryDbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPrimaryDbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPrimaryDbInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPrimaryDbInstanceRequest) String() string
    func (request GetPrimaryDbInstanceRequest) ValidateEnumValue() (bool, error)
type GetPrimaryDbInstanceResponse
    func (response GetPrimaryDbInstanceResponse) HTTPResponse() *http.Response
    func (response GetPrimaryDbInstanceResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ListBackupsRequest
    func (request ListBackupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBackupsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBackupsRequest) String() string
    func (request ListBackupsRequest) ValidateEnumValue() (bool, error)
type ListBackupsResponse
    func (response ListBackupsResponse) HTTPResponse() *http.Response
    func (response ListBackupsResponse) String() string
type ListBackupsSortByEnum
    func GetListBackupsSortByEnumValues() []ListBackupsSortByEnum
    func GetMappingListBackupsSortByEnum(val string) (ListBackupsSortByEnum, bool)
type ListBackupsSortOrderEnum
    func GetListBackupsSortOrderEnumValues() []ListBackupsSortOrderEnum
    func GetMappingListBackupsSortOrderEnum(val string) (ListBackupsSortOrderEnum, bool)
type ListConfigurationsRequest
    func (request ListConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListConfigurationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListConfigurationsRequest) String() string
    func (request ListConfigurationsRequest) ValidateEnumValue() (bool, error)
type ListConfigurationsResponse
    func (response ListConfigurationsResponse) HTTPResponse() *http.Response
    func (response ListConfigurationsResponse) String() string
type ListConfigurationsSortByEnum
    func GetListConfigurationsSortByEnumValues() []ListConfigurationsSortByEnum
    func GetMappingListConfigurationsSortByEnum(val string) (ListConfigurationsSortByEnum, bool)
type ListConfigurationsSortOrderEnum
    func GetListConfigurationsSortOrderEnumValues() []ListConfigurationsSortOrderEnum
    func GetMappingListConfigurationsSortOrderEnum(val string) (ListConfigurationsSortOrderEnum, bool)
type ListDbSystemsRequest
    func (request ListDbSystemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDbSystemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDbSystemsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDbSystemsRequest) String() string
    func (request ListDbSystemsRequest) ValidateEnumValue() (bool, error)
type ListDbSystemsResponse
    func (response ListDbSystemsResponse) HTTPResponse() *http.Response
    func (response ListDbSystemsResponse) String() string
type ListDbSystemsSortByEnum
    func GetListDbSystemsSortByEnumValues() []ListDbSystemsSortByEnum
    func GetMappingListDbSystemsSortByEnum(val string) (ListDbSystemsSortByEnum, bool)
type ListDbSystemsSortOrderEnum
    func GetListDbSystemsSortOrderEnumValues() []ListDbSystemsSortOrderEnum
    func GetMappingListDbSystemsSortOrderEnum(val string) (ListDbSystemsSortOrderEnum, bool)
type ListDefaultConfigurationsRequest
    func (request ListDefaultConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDefaultConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDefaultConfigurationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDefaultConfigurationsRequest) String() string
    func (request ListDefaultConfigurationsRequest) ValidateEnumValue() (bool, error)
type ListDefaultConfigurationsResponse
    func (response ListDefaultConfigurationsResponse) HTTPResponse() *http.Response
    func (response ListDefaultConfigurationsResponse) String() string
type ListDefaultConfigurationsSortByEnum
    func GetListDefaultConfigurationsSortByEnumValues() []ListDefaultConfigurationsSortByEnum
    func GetMappingListDefaultConfigurationsSortByEnum(val string) (ListDefaultConfigurationsSortByEnum, bool)
type ListDefaultConfigurationsSortOrderEnum
    func GetListDefaultConfigurationsSortOrderEnumValues() []ListDefaultConfigurationsSortOrderEnum
    func GetMappingListDefaultConfigurationsSortOrderEnum(val string) (ListDefaultConfigurationsSortOrderEnum, bool)
type ListShapesRequest
    func (request ListShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListShapesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListShapesRequest) String() string
    func (request ListShapesRequest) ValidateEnumValue() (bool, error)
type ListShapesResponse
    func (response ListShapesResponse) HTTPResponse() *http.Response
    func (response ListShapesResponse) String() string
type ListShapesSortByEnum
    func GetListShapesSortByEnumValues() []ListShapesSortByEnum
    func GetMappingListShapesSortByEnum(val string) (ListShapesSortByEnum, bool)
type ListShapesSortOrderEnum
    func GetListShapesSortOrderEnumValues() []ListShapesSortOrderEnum
    func GetMappingListShapesSortOrderEnum(val string) (ListShapesSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type ManagementPolicy
    func (m ManagementPolicy) String() string
    func (m *ManagementPolicy) UnmarshalJSON(data []byte) (e error)
    func (m ManagementPolicy) ValidateEnumValue() (bool, error)
type ManagementPolicyDetails
    func (m ManagementPolicyDetails) String() string
    func (m *ManagementPolicyDetails) UnmarshalJSON(data []byte) (e error)
    func (m ManagementPolicyDetails) ValidateEnumValue() (bool, error)
type MonthlyBackupPolicy
    func (m MonthlyBackupPolicy) GetRetentionDays() *int
    func (m MonthlyBackupPolicy) MarshalJSON() (buff []byte, e error)
    func (m MonthlyBackupPolicy) String() string
    func (m MonthlyBackupPolicy) ValidateEnumValue() (bool, error)
type NetworkDetails
    func (m NetworkDetails) String() string
    func (m NetworkDetails) ValidateEnumValue() (bool, error)
type NoneBackupPolicy
    func (m NoneBackupPolicy) GetRetentionDays() *int
    func (m NoneBackupPolicy) MarshalJSON() (buff []byte, e error)
    func (m NoneBackupPolicy) String() string
    func (m NoneBackupPolicy) ValidateEnumValue() (bool, error)
type NoneSourceDetails
    func (m NoneSourceDetails) MarshalJSON() (buff []byte, e error)
    func (m NoneSourceDetails) String() string
    func (m NoneSourceDetails) ValidateEnumValue() (bool, error)
type OciOptimizedStorageDetails
    func (m OciOptimizedStorageDetails) GetAvailabilityDomain() *string
    func (m OciOptimizedStorageDetails) GetIsRegionallyDurable() *bool
    func (m OciOptimizedStorageDetails) MarshalJSON() (buff []byte, e error)
    func (m OciOptimizedStorageDetails) String() string
    func (m OciOptimizedStorageDetails) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PasswordDetails
type PasswordDetailsPasswordTypeEnum
    func GetMappingPasswordDetailsPasswordTypeEnum(val string) (PasswordDetailsPasswordTypeEnum, bool)
    func GetPasswordDetailsPasswordTypeEnumValues() []PasswordDetailsPasswordTypeEnum
type PatchDbSystemDetails
    func (m PatchDbSystemDetails) String() string
    func (m *PatchDbSystemDetails) UnmarshalJSON(data []byte) (e error)
    func (m PatchDbSystemDetails) ValidateEnumValue() (bool, error)
type PatchDbSystemRequest
    func (request PatchDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PatchDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PatchDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchDbSystemRequest) String() string
    func (request PatchDbSystemRequest) ValidateEnumValue() (bool, error)
type PatchDbSystemResponse
    func (response PatchDbSystemResponse) HTTPResponse() *http.Response
    func (response PatchDbSystemResponse) String() string
type PatchInsertInstruction
    func (m PatchInsertInstruction) GetSelection() *string
    func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchInsertInstruction) String() string
    func (m PatchInsertInstruction) ValidateEnumValue() (bool, error)
type PatchInsertInstructionPositionEnum
    func GetMappingPatchInsertInstructionPositionEnum(val string) (PatchInsertInstructionPositionEnum, bool)
    func GetPatchInsertInstructionPositionEnumValues() []PatchInsertInstructionPositionEnum
type PatchInstruction
type PatchInstructionOperationEnum
    func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)
    func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum
type PatchMergeInstruction
    func (m PatchMergeInstruction) GetSelection() *string
    func (m PatchMergeInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchMergeInstruction) String() string
    func (m PatchMergeInstruction) ValidateEnumValue() (bool, error)
type PatchMoveInstruction
    func (m PatchMoveInstruction) GetSelection() *string
    func (m PatchMoveInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchMoveInstruction) String() string
    func (m PatchMoveInstruction) ValidateEnumValue() (bool, error)
type PatchMoveInstructionPositionEnum
    func GetMappingPatchMoveInstructionPositionEnum(val string) (PatchMoveInstructionPositionEnum, bool)
    func GetPatchMoveInstructionPositionEnumValues() []PatchMoveInstructionPositionEnum
type PatchProhibitInstruction
    func (m PatchProhibitInstruction) GetSelection() *string
    func (m PatchProhibitInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchProhibitInstruction) String() string
    func (m PatchProhibitInstruction) ValidateEnumValue() (bool, error)
type PatchRemoveInstruction
    func (m PatchRemoveInstruction) GetSelection() *string
    func (m PatchRemoveInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchRemoveInstruction) String() string
    func (m PatchRemoveInstruction) ValidateEnumValue() (bool, error)
type PatchReplaceInstruction
    func (m PatchReplaceInstruction) GetSelection() *string
    func (m PatchReplaceInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchReplaceInstruction) String() string
    func (m PatchReplaceInstruction) ValidateEnumValue() (bool, error)
type PatchRequireInstruction
    func (m PatchRequireInstruction) GetSelection() *string
    func (m PatchRequireInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchRequireInstruction) String() string
    func (m PatchRequireInstruction) ValidateEnumValue() (bool, error)
type PlainTextPasswordDetails
    func (m PlainTextPasswordDetails) MarshalJSON() (buff []byte, e error)
    func (m PlainTextPasswordDetails) String() string
    func (m PlainTextPasswordDetails) ValidateEnumValue() (bool, error)
type PostgresqlClient
    func NewPostgresqlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client PostgresqlClient, err error)
    func NewPostgresqlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client PostgresqlClient, err error)
    func (client PostgresqlClient) ChangeBackupCompartment(ctx context.Context, request ChangeBackupCompartmentRequest) (response ChangeBackupCompartmentResponse, err error)
    func (client PostgresqlClient) ChangeConfigurationCompartment(ctx context.Context, request ChangeConfigurationCompartmentRequest) (response ChangeConfigurationCompartmentResponse, err error)
    func (client PostgresqlClient) ChangeDbSystemCompartment(ctx context.Context, request ChangeDbSystemCompartmentRequest) (response ChangeDbSystemCompartmentResponse, err error)
    func (client *PostgresqlClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client PostgresqlClient) CreateBackup(ctx context.Context, request CreateBackupRequest) (response CreateBackupResponse, err error)
    func (client PostgresqlClient) CreateConfiguration(ctx context.Context, request CreateConfigurationRequest) (response CreateConfigurationResponse, err error)
    func (client PostgresqlClient) CreateDbSystem(ctx context.Context, request CreateDbSystemRequest) (response CreateDbSystemResponse, err error)
    func (client PostgresqlClient) DeleteBackup(ctx context.Context, request DeleteBackupRequest) (response DeleteBackupResponse, err error)
    func (client PostgresqlClient) DeleteConfiguration(ctx context.Context, request DeleteConfigurationRequest) (response DeleteConfigurationResponse, err error)
    func (client PostgresqlClient) DeleteDbSystem(ctx context.Context, request DeleteDbSystemRequest) (response DeleteDbSystemResponse, err error)
    func (client PostgresqlClient) FailoverDbSystem(ctx context.Context, request FailoverDbSystemRequest) (response FailoverDbSystemResponse, err error)
    func (client PostgresqlClient) GetBackup(ctx context.Context, request GetBackupRequest) (response GetBackupResponse, err error)
    func (client PostgresqlClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
    func (client PostgresqlClient) GetConnectionDetails(ctx context.Context, request GetConnectionDetailsRequest) (response GetConnectionDetailsResponse, err error)
    func (client PostgresqlClient) GetDbSystem(ctx context.Context, request GetDbSystemRequest) (response GetDbSystemResponse, err error)
    func (client PostgresqlClient) GetDefaultConfiguration(ctx context.Context, request GetDefaultConfigurationRequest) (response GetDefaultConfigurationResponse, err error)
    func (client PostgresqlClient) GetPrimaryDbInstance(ctx context.Context, request GetPrimaryDbInstanceRequest) (response GetPrimaryDbInstanceResponse, err error)
    func (client PostgresqlClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client PostgresqlClient) ListBackups(ctx context.Context, request ListBackupsRequest) (response ListBackupsResponse, err error)
    func (client PostgresqlClient) ListConfigurations(ctx context.Context, request ListConfigurationsRequest) (response ListConfigurationsResponse, err error)
    func (client PostgresqlClient) ListDbSystems(ctx context.Context, request ListDbSystemsRequest) (response ListDbSystemsResponse, err error)
    func (client PostgresqlClient) ListDefaultConfigurations(ctx context.Context, request ListDefaultConfigurationsRequest) (response ListDefaultConfigurationsResponse, err error)
    func (client PostgresqlClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error)
    func (client PostgresqlClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client PostgresqlClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client PostgresqlClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client PostgresqlClient) PatchDbSystem(ctx context.Context, request PatchDbSystemRequest) (response PatchDbSystemResponse, err error)
    func (client PostgresqlClient) ResetMasterUserPassword(ctx context.Context, request ResetMasterUserPasswordRequest) (response ResetMasterUserPasswordResponse, err error)
    func (client PostgresqlClient) RestartDbInstanceInDbSystem(ctx context.Context, request RestartDbInstanceInDbSystemRequest) (response RestartDbInstanceInDbSystemResponse, err error)
    func (client PostgresqlClient) RestoreDbSystem(ctx context.Context, request RestoreDbSystemRequest) (response RestoreDbSystemResponse, err error)
    func (client *PostgresqlClient) SetRegion(region string)
    func (client PostgresqlClient) UpdateBackup(ctx context.Context, request UpdateBackupRequest) (response UpdateBackupResponse, err error)
    func (client PostgresqlClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)
    func (client PostgresqlClient) UpdateDbSystem(ctx context.Context, request UpdateDbSystemRequest) (response UpdateDbSystemResponse, err error)
    func (client PostgresqlClient) UpdateDbSystemDbInstance(ctx context.Context, request UpdateDbSystemDbInstanceRequest) (response UpdateDbSystemDbInstanceResponse, err error)
type PrimaryDbInstanceDetails
    func (m PrimaryDbInstanceDetails) String() string
    func (m PrimaryDbInstanceDetails) ValidateEnumValue() (bool, error)
type ResetMasterUserPasswordDetails
    func (m ResetMasterUserPasswordDetails) String() string
    func (m *ResetMasterUserPasswordDetails) UnmarshalJSON(data []byte) (e error)
    func (m ResetMasterUserPasswordDetails) ValidateEnumValue() (bool, error)
type ResetMasterUserPasswordRequest
    func (request ResetMasterUserPasswordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ResetMasterUserPasswordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ResetMasterUserPasswordRequest) RetryPolicy() *common.RetryPolicy
    func (request ResetMasterUserPasswordRequest) String() string
    func (request ResetMasterUserPasswordRequest) ValidateEnumValue() (bool, error)
type ResetMasterUserPasswordResponse
    func (response ResetMasterUserPasswordResponse) HTTPResponse() *http.Response
    func (response ResetMasterUserPasswordResponse) String() string
type RestartDbInstanceInDbSystemDetails
    func (m RestartDbInstanceInDbSystemDetails) String() string
    func (m RestartDbInstanceInDbSystemDetails) ValidateEnumValue() (bool, error)
type RestartDbInstanceInDbSystemDetailsRestartTypeEnum
    func GetMappingRestartDbInstanceInDbSystemDetailsRestartTypeEnum(val string) (RestartDbInstanceInDbSystemDetailsRestartTypeEnum, bool)
    func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumValues() []RestartDbInstanceInDbSystemDetailsRestartTypeEnum
type RestartDbInstanceInDbSystemRequest
    func (request RestartDbInstanceInDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RestartDbInstanceInDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RestartDbInstanceInDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request RestartDbInstanceInDbSystemRequest) String() string
    func (request RestartDbInstanceInDbSystemRequest) ValidateEnumValue() (bool, error)
type RestartDbInstanceInDbSystemResponse
    func (response RestartDbInstanceInDbSystemResponse) HTTPResponse() *http.Response
    func (response RestartDbInstanceInDbSystemResponse) String() string
type RestoreDbSystemDetails
    func (m RestoreDbSystemDetails) String() string
    func (m RestoreDbSystemDetails) ValidateEnumValue() (bool, error)
type RestoreDbSystemRequest
    func (request RestoreDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RestoreDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RestoreDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request RestoreDbSystemRequest) String() string
    func (request RestoreDbSystemRequest) ValidateEnumValue() (bool, error)
type RestoreDbSystemResponse
    func (response RestoreDbSystemResponse) HTTPResponse() *http.Response
    func (response RestoreDbSystemResponse) String() string
type ShapeCollection
    func (m ShapeCollection) String() string
    func (m ShapeCollection) ValidateEnumValue() (bool, error)
type ShapeSummary
    func (m ShapeSummary) String() string
    func (m ShapeSummary) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type SourceDetails
type SourceDetailsSourceTypeEnum
    func GetMappingSourceDetailsSourceTypeEnum(val string) (SourceDetailsSourceTypeEnum, bool)
    func GetSourceDetailsSourceTypeEnumValues() []SourceDetailsSourceTypeEnum
type StorageDetails
type UpdateBackupDetails
    func (m UpdateBackupDetails) String() string
    func (m UpdateBackupDetails) ValidateEnumValue() (bool, error)
type UpdateBackupRequest
    func (request UpdateBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBackupRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBackupRequest) String() string
    func (request UpdateBackupRequest) ValidateEnumValue() (bool, error)
type UpdateBackupResponse
    func (response UpdateBackupResponse) HTTPResponse() *http.Response
    func (response UpdateBackupResponse) String() string
type UpdateConfigurationDetails
    func (m UpdateConfigurationDetails) String() string
    func (m UpdateConfigurationDetails) ValidateEnumValue() (bool, error)
type UpdateConfigurationRequest
    func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateConfigurationRequest) String() string
    func (request UpdateConfigurationRequest) ValidateEnumValue() (bool, error)
type UpdateConfigurationResponse
    func (response UpdateConfigurationResponse) HTTPResponse() *http.Response
    func (response UpdateConfigurationResponse) String() string
type UpdateDbConfigParams
    func (m UpdateDbConfigParams) String() string
    func (m UpdateDbConfigParams) ValidateEnumValue() (bool, error)
type UpdateDbConfigParamsApplyConfigEnum
    func GetMappingUpdateDbConfigParamsApplyConfigEnum(val string) (UpdateDbConfigParamsApplyConfigEnum, bool)
    func GetUpdateDbConfigParamsApplyConfigEnumValues() []UpdateDbConfigParamsApplyConfigEnum
type UpdateDbSystemDbInstanceDetails
    func (m UpdateDbSystemDbInstanceDetails) String() string
    func (m UpdateDbSystemDbInstanceDetails) ValidateEnumValue() (bool, error)
type UpdateDbSystemDbInstanceRequest
    func (request UpdateDbSystemDbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDbSystemDbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDbSystemDbInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDbSystemDbInstanceRequest) String() string
    func (request UpdateDbSystemDbInstanceRequest) ValidateEnumValue() (bool, error)
type UpdateDbSystemDbInstanceResponse
    func (response UpdateDbSystemDbInstanceResponse) HTTPResponse() *http.Response
    func (response UpdateDbSystemDbInstanceResponse) String() string
type UpdateDbSystemDetails
    func (m UpdateDbSystemDetails) String() string
    func (m UpdateDbSystemDetails) ValidateEnumValue() (bool, error)
type UpdateDbSystemRequest
    func (request UpdateDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDbSystemRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDbSystemRequest) String() string
    func (request UpdateDbSystemRequest) ValidateEnumValue() (bool, error)
type UpdateDbSystemResponse
    func (response UpdateDbSystemResponse) HTTPResponse() *http.Response
    func (response UpdateDbSystemResponse) String() string
type UpdateStorageDetailsParams
    func (m UpdateStorageDetailsParams) String() string
    func (m UpdateStorageDetailsParams) ValidateEnumValue() (bool, error)
type VaultSecretPasswordDetails
    func (m VaultSecretPasswordDetails) MarshalJSON() (buff []byte, e error)
    func (m VaultSecretPasswordDetails) String() string
    func (m VaultSecretPasswordDetails) ValidateEnumValue() (bool, error)
type WeeklyBackupPolicy
    func (m WeeklyBackupPolicy) GetRetentionDays() *int
    func (m WeeklyBackupPolicy) MarshalJSON() (buff []byte, e error)
    func (m WeeklyBackupPolicy) String() string
    func (m WeeklyBackupPolicy) ValidateEnumValue() (bool, error)
type WeeklyBackupPolicyDaysOfTheWeekEnum
    func GetMappingWeeklyBackupPolicyDaysOfTheWeekEnum(val string) (WeeklyBackupPolicyDaysOfTheWeekEnum, bool)
    func GetWeeklyBackupPolicyDaysOfTheWeekEnumValues() []WeeklyBackupPolicyDaysOfTheWeekEnum
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go backup.go backup_collection.go backup_policy.go backup_source_details.go backup_summary.go change_backup_compartment_details.go change_backup_compartment_request_response.go change_configuration_compartment_details.go change_configuration_compartment_request_response.go change_db_system_compartment_details.go change_db_system_compartment_request_response.go config_overrides.go config_params.go configuration.go configuration_collection.go configuration_details.go configuration_summary.go connection_details.go create_backup_details.go create_backup_request_response.go create_configuration_details.go create_configuration_request_response.go create_db_instance_details.go create_db_system_details.go create_db_system_request_response.go credentials.go daily_backup_policy.go db_configuration_override_collection.go db_instance.go db_instance_endpoint.go db_system.go db_system_collection.go db_system_details.go db_system_summary.go default_config_params.go default_configuration.go default_configuration_collection.go default_configuration_details.go default_configuration_summary.go delete_backup_request_response.go delete_configuration_request_response.go delete_db_system_request_response.go endpoint.go failover_db_system_details.go failover_db_system_request_response.go get_backup_request_response.go get_configuration_request_response.go get_connection_details_request_response.go get_db_system_request_response.go get_default_configuration_request_response.go get_primary_db_instance_request_response.go get_work_request_request_response.go list_backups_request_response.go list_configurations_request_response.go list_db_systems_request_response.go list_default_configurations_request_response.go list_shapes_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go management_policy.go management_policy_details.go monthly_backup_policy.go network_details.go none_backup_policy.go none_source_details.go oci_optimized_storage_details.go operation_status.go operation_type.go password_details.go patch_db_system_details.go patch_db_system_request_response.go patch_insert_instruction.go patch_instruction.go patch_merge_instruction.go patch_move_instruction.go patch_prohibit_instruction.go patch_remove_instruction.go patch_replace_instruction.go patch_require_instruction.go plain_text_password_details.go primary_db_instance_details.go psql_postgresql_client.go reset_master_user_password_details.go reset_master_user_password_request_response.go restart_db_instance_in_db_system_details.go restart_db_instance_in_db_system_request_response.go restore_db_system_details.go restore_db_system_request_response.go shape_collection.go shape_summary.go sort_order.go source_details.go storage_details.go update_backup_details.go update_backup_request_response.go update_configuration_details.go update_configuration_request_response.go update_db_config_params.go update_db_system_db_instance_details.go update_db_system_db_instance_request_response.go update_db_system_details.go update_db_system_request_response.go update_storage_details_params.go vault_secret_password_details.go weekly_backup_policy.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBackupLifecycleStateEnumStringValues

func GetBackupLifecycleStateEnumStringValues() []string

GetBackupLifecycleStateEnumStringValues Enumerates the set of values in String for BackupLifecycleStateEnum

func GetBackupPolicyKindEnumStringValues

func GetBackupPolicyKindEnumStringValues() []string

GetBackupPolicyKindEnumStringValues Enumerates the set of values in String for BackupPolicyKindEnum

func GetBackupSourceTypeEnumStringValues

func GetBackupSourceTypeEnumStringValues() []string

GetBackupSourceTypeEnumStringValues Enumerates the set of values in String for BackupSourceTypeEnum

func GetConfigurationLifecycleStateEnumStringValues

func GetConfigurationLifecycleStateEnumStringValues() []string

GetConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for ConfigurationLifecycleStateEnum

func GetDbInstanceLifecycleStateEnumStringValues

func GetDbInstanceLifecycleStateEnumStringValues() []string

GetDbInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for DbInstanceLifecycleStateEnum

func GetDbSystemLifecycleStateEnumStringValues

func GetDbSystemLifecycleStateEnumStringValues() []string

GetDbSystemLifecycleStateEnumStringValues Enumerates the set of values in String for DbSystemLifecycleStateEnum

func GetDbSystemSystemTypeEnumStringValues

func GetDbSystemSystemTypeEnumStringValues() []string

GetDbSystemSystemTypeEnumStringValues Enumerates the set of values in String for DbSystemSystemTypeEnum

func GetDefaultConfigurationLifecycleStateEnumStringValues

func GetDefaultConfigurationLifecycleStateEnumStringValues() []string

GetDefaultConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for DefaultConfigurationLifecycleStateEnum

func GetGetDbSystemExcludedFieldsEnumStringValues

func GetGetDbSystemExcludedFieldsEnumStringValues() []string

GetGetDbSystemExcludedFieldsEnumStringValues Enumerates the set of values in String for GetDbSystemExcludedFieldsEnum

func GetListBackupsSortByEnumStringValues

func GetListBackupsSortByEnumStringValues() []string

GetListBackupsSortByEnumStringValues Enumerates the set of values in String for ListBackupsSortByEnum

func GetListBackupsSortOrderEnumStringValues

func GetListBackupsSortOrderEnumStringValues() []string

GetListBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListBackupsSortOrderEnum

func GetListConfigurationsSortByEnumStringValues

func GetListConfigurationsSortByEnumStringValues() []string

GetListConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListConfigurationsSortByEnum

func GetListConfigurationsSortOrderEnumStringValues

func GetListConfigurationsSortOrderEnumStringValues() []string

GetListConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListConfigurationsSortOrderEnum

func GetListDbSystemsSortByEnumStringValues

func GetListDbSystemsSortByEnumStringValues() []string

GetListDbSystemsSortByEnumStringValues Enumerates the set of values in String for ListDbSystemsSortByEnum

func GetListDbSystemsSortOrderEnumStringValues

func GetListDbSystemsSortOrderEnumStringValues() []string

GetListDbSystemsSortOrderEnumStringValues Enumerates the set of values in String for ListDbSystemsSortOrderEnum

func GetListDefaultConfigurationsSortByEnumStringValues

func GetListDefaultConfigurationsSortByEnumStringValues() []string

GetListDefaultConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListDefaultConfigurationsSortByEnum

func GetListDefaultConfigurationsSortOrderEnumStringValues

func GetListDefaultConfigurationsSortOrderEnumStringValues() []string

GetListDefaultConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListDefaultConfigurationsSortOrderEnum

func GetListShapesSortByEnumStringValues

func GetListShapesSortByEnumStringValues() []string

GetListShapesSortByEnumStringValues Enumerates the set of values in String for ListShapesSortByEnum

func GetListShapesSortOrderEnumStringValues

func GetListShapesSortOrderEnumStringValues() []string

GetListShapesSortOrderEnumStringValues Enumerates the set of values in String for ListShapesSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPasswordDetailsPasswordTypeEnumStringValues

func GetPasswordDetailsPasswordTypeEnumStringValues() []string

GetPasswordDetailsPasswordTypeEnumStringValues Enumerates the set of values in String for PasswordDetailsPasswordTypeEnum

func GetPatchInsertInstructionPositionEnumStringValues

func GetPatchInsertInstructionPositionEnumStringValues() []string

GetPatchInsertInstructionPositionEnumStringValues Enumerates the set of values in String for PatchInsertInstructionPositionEnum

func GetPatchInstructionOperationEnumStringValues

func GetPatchInstructionOperationEnumStringValues() []string

GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum

func GetPatchMoveInstructionPositionEnumStringValues

func GetPatchMoveInstructionPositionEnumStringValues() []string

GetPatchMoveInstructionPositionEnumStringValues Enumerates the set of values in String for PatchMoveInstructionPositionEnum

func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumStringValues

func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumStringValues() []string

GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumStringValues Enumerates the set of values in String for RestartDbInstanceInDbSystemDetailsRestartTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetSourceDetailsSourceTypeEnumStringValues

func GetSourceDetailsSourceTypeEnumStringValues() []string

GetSourceDetailsSourceTypeEnumStringValues Enumerates the set of values in String for SourceDetailsSourceTypeEnum

func GetUpdateDbConfigParamsApplyConfigEnumStringValues

func GetUpdateDbConfigParamsApplyConfigEnumStringValues() []string

GetUpdateDbConfigParamsApplyConfigEnumStringValues Enumerates the set of values in String for UpdateDbConfigParamsApplyConfigEnum

func GetWeeklyBackupPolicyDaysOfTheWeekEnumStringValues

func GetWeeklyBackupPolicyDaysOfTheWeekEnumStringValues() []string

GetWeeklyBackupPolicyDaysOfTheWeekEnumStringValues Enumerates the set of values in String for WeeklyBackupPolicyDaysOfTheWeekEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type Backup

Backup Database system backup information.

type Backup struct {

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

    // A user-friendly display name for the backup. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time the backup was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // The size of the backup, in gigabytes.
    BackupSize *int `mandatory:"true" json:"backupSize"`

    DbSystemDetails *DbSystemDetails `mandatory:"true" json:"dbSystemDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // A description for the backup.
    Description *string `mandatory:"false" json:"description"`

    // Specifies whether the backup was created manually, or by a management policy.
    SourceType BackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

    // The date and time the backup was updated, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Backup retention period in days.
    RetentionPeriod *int `mandatory:"false" json:"retentionPeriod"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup's source database system.
    DbSystemId *string `mandatory:"false" json:"dbSystemId"`

    // lastAcceptedRequestToken from MP.
    LastAcceptedRequestToken *string `mandatory:"false" json:"lastAcceptedRequestToken"`

    // lastCompletedRequestToken from MP.
    LastCompletedRequestToken *string `mandatory:"false" json:"lastCompletedRequestToken"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Backup) String

func (m Backup) String() string

func (Backup) ValidateEnumValue

func (m Backup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackupCollection

BackupCollection Results of a backup search. Contains the BackupSummary items and other information, such as metadata.

type BackupCollection struct {

    // List of backups.
    Items []BackupSummary `mandatory:"true" json:"items"`
}

func (BackupCollection) String

func (m BackupCollection) String() string

func (BackupCollection) ValidateEnumValue

func (m BackupCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackupLifecycleStateEnum

BackupLifecycleStateEnum Enum with underlying type: string

type BackupLifecycleStateEnum string

Set of constants representing the allowable values for BackupLifecycleStateEnum

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

func GetBackupLifecycleStateEnumValues

func GetBackupLifecycleStateEnumValues() []BackupLifecycleStateEnum

GetBackupLifecycleStateEnumValues Enumerates the set of values for BackupLifecycleStateEnum

func GetMappingBackupLifecycleStateEnum

func GetMappingBackupLifecycleStateEnum(val string) (BackupLifecycleStateEnum, bool)

GetMappingBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type BackupPolicy

BackupPolicy PostgreSQL database system backup policy.

type BackupPolicy interface {

    // How many days the data should be stored after the database system deletion.
    GetRetentionDays() *int
}

type BackupPolicyKindEnum

BackupPolicyKindEnum Enum with underlying type: string

type BackupPolicyKindEnum string

Set of constants representing the allowable values for BackupPolicyKindEnum

const (
    BackupPolicyKindDaily   BackupPolicyKindEnum = "DAILY"
    BackupPolicyKindWeekly  BackupPolicyKindEnum = "WEEKLY"
    BackupPolicyKindMonthly BackupPolicyKindEnum = "MONTHLY"
    BackupPolicyKindNone    BackupPolicyKindEnum = "NONE"
)

func GetBackupPolicyKindEnumValues

func GetBackupPolicyKindEnumValues() []BackupPolicyKindEnum

GetBackupPolicyKindEnumValues Enumerates the set of values for BackupPolicyKindEnum

func GetMappingBackupPolicyKindEnum

func GetMappingBackupPolicyKindEnum(val string) (BackupPolicyKindEnum, bool)

GetMappingBackupPolicyKindEnum performs case Insensitive comparison on enum value and return the desired enum

type BackupSourceDetails

BackupSourceDetails Restoring to a new database system from the backup. The database system details that are part of the CreateDbSystem request are not required, but if present will override the details from the backup's database system snapshot.

type BackupSourceDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database system backup.
    BackupId *string `mandatory:"true" json:"backupId"`

    // Deprecated. Don't use.
    IsHavingRestoreConfigOverrides *bool `mandatory:"false" json:"isHavingRestoreConfigOverrides"`
}

func (BackupSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (BackupSourceDetails) String

func (m BackupSourceDetails) String() string

func (BackupSourceDetails) ValidateEnumValue

func (m BackupSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackupSourceTypeEnum

BackupSourceTypeEnum Enum with underlying type: string

type BackupSourceTypeEnum string

Set of constants representing the allowable values for BackupSourceTypeEnum

const (
    BackupSourceTypeScheduled BackupSourceTypeEnum = "SCHEDULED"
    BackupSourceTypeManual    BackupSourceTypeEnum = "MANUAL"
)

func GetBackupSourceTypeEnumValues

func GetBackupSourceTypeEnumValues() []BackupSourceTypeEnum

GetBackupSourceTypeEnumValues Enumerates the set of values for BackupSourceTypeEnum

func GetMappingBackupSourceTypeEnum

func GetMappingBackupSourceTypeEnum(val string) (BackupSourceTypeEnum, bool)

GetMappingBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type BackupSummary

BackupSummary Summary information for a backup.

type BackupSummary struct {

    // A unique identifier for the backup. Immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the backup. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time the backup was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The date and time the backup was updated, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Specifies whether the backup was created manually, or by a management policy.
    SourceType BackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

    // The size of the backup, in gigabytes.
    BackupSize *int `mandatory:"false" json:"backupSize"`

    // The backup's source database system's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    DbSystemId *string `mandatory:"false" json:"dbSystemId"`

    // Backup retention period in days.
    RetentionPeriod *int `mandatory:"false" json:"retentionPeriod"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (BackupSummary) String

func (m BackupSummary) String() string

func (BackupSummary) ValidateEnumValue

func (m BackupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeBackupCompartmentDetails

ChangeBackupCompartmentDetails The information used to move a backup to a different compartment.

type ChangeBackupCompartmentDetails struct {

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

func (ChangeBackupCompartmentDetails) String

func (m ChangeBackupCompartmentDetails) String() string

func (ChangeBackupCompartmentDetails) ValidateEnumValue

func (m ChangeBackupCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeBackupCompartmentRequest

ChangeBackupCompartmentRequest wrapper for the ChangeBackupCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeBackupCompartment.go.html to see an example of how to use ChangeBackupCompartmentRequest.

type ChangeBackupCompartmentRequest struct {

    // A unique identifier for the backup.
    BackupId *string `mandatory:"true" contributesTo:"path" name:"backupId"`

    // The information to be updated.
    ChangeBackupCompartmentDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ChangeBackupCompartmentRequest) BinaryRequestBody

func (request ChangeBackupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeBackupCompartmentRequest) HTTPRequest

func (request ChangeBackupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeBackupCompartmentRequest) RetryPolicy

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

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

func (ChangeBackupCompartmentRequest) String

func (request ChangeBackupCompartmentRequest) String() string

func (ChangeBackupCompartmentRequest) ValidateEnumValue

func (request ChangeBackupCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeBackupCompartmentResponse

ChangeBackupCompartmentResponse wrapper for the ChangeBackupCompartment operation

type ChangeBackupCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBackupCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBackupCompartmentResponse) String

func (response ChangeBackupCompartmentResponse) String() string

type ChangeConfigurationCompartmentDetails

ChangeConfigurationCompartmentDetails The information to move a configuration to a different compartment.

type ChangeConfigurationCompartmentDetails struct {

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

func (ChangeConfigurationCompartmentDetails) String

func (m ChangeConfigurationCompartmentDetails) String() string

func (ChangeConfigurationCompartmentDetails) ValidateEnumValue

func (m ChangeConfigurationCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeConfigurationCompartmentRequest

ChangeConfigurationCompartmentRequest wrapper for the ChangeConfigurationCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeConfigurationCompartment.go.html to see an example of how to use ChangeConfigurationCompartmentRequest.

type ChangeConfigurationCompartmentRequest struct {

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"true" contributesTo:"path" name:"configurationId"`

    // The information to be updated.
    ChangeConfigurationCompartmentDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ChangeConfigurationCompartmentRequest) BinaryRequestBody

func (request ChangeConfigurationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeConfigurationCompartmentRequest) HTTPRequest

func (request ChangeConfigurationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeConfigurationCompartmentRequest) RetryPolicy

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

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

func (ChangeConfigurationCompartmentRequest) String

func (request ChangeConfigurationCompartmentRequest) String() string

func (ChangeConfigurationCompartmentRequest) ValidateEnumValue

func (request ChangeConfigurationCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeConfigurationCompartmentResponse

ChangeConfigurationCompartmentResponse wrapper for the ChangeConfigurationCompartment operation

type ChangeConfigurationCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (ChangeConfigurationCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeConfigurationCompartmentResponse) String

func (response ChangeConfigurationCompartmentResponse) String() string

type ChangeDbSystemCompartmentDetails

ChangeDbSystemCompartmentDetails Change database system compartment operation details.

type ChangeDbSystemCompartmentDetails struct {

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

func (ChangeDbSystemCompartmentDetails) String

func (m ChangeDbSystemCompartmentDetails) String() string

func (ChangeDbSystemCompartmentDetails) ValidateEnumValue

func (m ChangeDbSystemCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDbSystemCompartmentRequest

ChangeDbSystemCompartmentRequest wrapper for the ChangeDbSystemCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeDbSystemCompartment.go.html to see an example of how to use ChangeDbSystemCompartmentRequest.

type ChangeDbSystemCompartmentRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // The information to be updated.
    ChangeDbSystemCompartmentDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ChangeDbSystemCompartmentRequest) BinaryRequestBody

func (request ChangeDbSystemCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeDbSystemCompartmentRequest) HTTPRequest

func (request ChangeDbSystemCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDbSystemCompartmentRequest) RetryPolicy

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

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

func (ChangeDbSystemCompartmentRequest) String

func (request ChangeDbSystemCompartmentRequest) String() string

func (ChangeDbSystemCompartmentRequest) ValidateEnumValue

func (request ChangeDbSystemCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDbSystemCompartmentResponse

ChangeDbSystemCompartmentResponse wrapper for the ChangeDbSystemCompartment operation

type ChangeDbSystemCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeDbSystemCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeDbSystemCompartmentResponse) String

func (response ChangeDbSystemCompartmentResponse) String() string

type ConfigOverrides

ConfigOverrides Configuration overrides for a PostgreSQL instance.

type ConfigOverrides struct {

    // Configuration variable name.
    ConfigKey *string `mandatory:"true" json:"configKey"`

    // User-selected variable value.
    OverridenConfigValue *string `mandatory:"true" json:"overridenConfigValue"`
}

func (ConfigOverrides) String

func (m ConfigOverrides) String() string

func (ConfigOverrides) ValidateEnumValue

func (m ConfigOverrides) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigParams

ConfigParams Database configuration.

type ConfigParams struct {

    // The configuration variable name.
    ConfigKey *string `mandatory:"true" json:"configKey"`

    // Default value for the configuration variable.
    DefaultConfigValue *string `mandatory:"true" json:"defaultConfigValue"`

    // Range or list of allowed values.
    AllowedValues *string `mandatory:"true" json:"allowedValues"`

    // If true, modifying this configuration value will require a restart of the database.
    IsRestartRequired *bool `mandatory:"true" json:"isRestartRequired"`

    // Data type of the variable.
    DataType *string `mandatory:"true" json:"dataType"`

    // Whether the value can be overridden or not.
    IsOverridable *bool `mandatory:"true" json:"isOverridable"`

    // Details about the PostgreSQL parameter.
    Description *string `mandatory:"true" json:"description"`

    // User-selected configuration variable value.
    OverridenConfigValue *string `mandatory:"false" json:"overridenConfigValue"`
}

func (ConfigParams) String

func (m ConfigParams) String() string

func (ConfigParams) ValidateEnumValue

func (m ConfigParams) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Configuration

Configuration PostgreSQL configuration for a database system.

type Configuration struct {

    // A unique identifier for the configuration. Immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the configuration. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time that the configuration was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the configuration.
    LifecycleState ConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // CPU core count.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // Memory size in gigabytes with 1GB increment.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    // Version of the PostgreSQL database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    ConfigurationDetails *ConfigurationDetails `mandatory:"true" json:"configurationDetails"`

    // A description for the configuration.
    Description *string `mandatory:"false" json:"description"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Configuration) String

func (m Configuration) String() string

func (Configuration) ValidateEnumValue

func (m Configuration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigurationCollection

ConfigurationCollection Results of a configuration search. Contains the ConfigurationSummary items and other information, such as metadata.

type ConfigurationCollection struct {

    // List of configurations.
    Items []ConfigurationSummary `mandatory:"true" json:"items"`
}

func (ConfigurationCollection) String

func (m ConfigurationCollection) String() string

func (ConfigurationCollection) ValidateEnumValue

func (m ConfigurationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigurationDetails

ConfigurationDetails List of configuration details.

type ConfigurationDetails struct {

    // List of ConfigParms object.
    Items []ConfigParams `mandatory:"true" json:"items"`
}

func (ConfigurationDetails) String

func (m ConfigurationDetails) String() string

func (ConfigurationDetails) ValidateEnumValue

func (m ConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigurationLifecycleStateEnum

ConfigurationLifecycleStateEnum Enum with underlying type: string

type ConfigurationLifecycleStateEnum string

Set of constants representing the allowable values for ConfigurationLifecycleStateEnum

const (
    ConfigurationLifecycleStateActive   ConfigurationLifecycleStateEnum = "ACTIVE"
    ConfigurationLifecycleStateDeleting ConfigurationLifecycleStateEnum = "DELETING"
    ConfigurationLifecycleStateDeleted  ConfigurationLifecycleStateEnum = "DELETED"
    ConfigurationLifecycleStateFailed   ConfigurationLifecycleStateEnum = "FAILED"
)

func GetConfigurationLifecycleStateEnumValues

func GetConfigurationLifecycleStateEnumValues() []ConfigurationLifecycleStateEnum

GetConfigurationLifecycleStateEnumValues Enumerates the set of values for ConfigurationLifecycleStateEnum

func GetMappingConfigurationLifecycleStateEnum

func GetMappingConfigurationLifecycleStateEnum(val string) (ConfigurationLifecycleStateEnum, bool)

GetMappingConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ConfigurationSummary

ConfigurationSummary Summary of the configuration.

type ConfigurationSummary struct {

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

    // A user-friendly display name for the configuration. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time the configuration was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the configuration.
    LifecycleState ConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // Version of the PostgreSQL database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // CPU core count.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // Memory size in gigabytes with 1GB increment.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ConfigurationSummary) String

func (m ConfigurationSummary) String() string

func (ConfigurationSummary) ValidateEnumValue

func (m ConfigurationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConnectionDetails

ConnectionDetails Database system connection information. Used to connect to PostgreSQL instance(s).

type ConnectionDetails struct {

    // The CA certificate to be used by the PosgreSQL client to connect to the database.
    // The CA certificate is used to authenticate the server identity.
    // It is issued by PostgreSQL Service Private CA.
    CaCertificate *string `mandatory:"true" json:"caCertificate"`

    PrimaryDbEndpoint *Endpoint `mandatory:"true" json:"primaryDbEndpoint"`

    // The list of database instance node endpoints in the database system.
    InstanceEndpoints []DbInstanceEndpoint `mandatory:"true" json:"instanceEndpoints"`
}

func (ConnectionDetails) String

func (m ConnectionDetails) String() string

func (ConnectionDetails) ValidateEnumValue

func (m ConnectionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackupDetails

CreateBackupDetails The information to create a new backup.

type CreateBackupDetails struct {

    // A user-friendly display name for the backup. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The ID of the database system.
    DbSystemId *string `mandatory:"true" json:"dbSystemId"`

    // A description for the backup.
    Description *string `mandatory:"false" json:"description"`

    // Backup retention period in days.
    RetentionPeriod *int `mandatory:"false" json:"retentionPeriod"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateBackupDetails) String

func (m CreateBackupDetails) String() string

func (CreateBackupDetails) ValidateEnumValue

func (m CreateBackupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackupRequest

CreateBackupRequest wrapper for the CreateBackup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateBackup.go.html to see an example of how to use CreateBackupRequest.

type CreateBackupRequest struct {

    // Details for the new 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (CreateBackupRequest) BinaryRequestBody

func (request CreateBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateBackupRequest) HTTPRequest

func (request CreateBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateBackupRequest) RetryPolicy

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

func (CreateBackupRequest) ValidateEnumValue

func (request CreateBackupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackupResponse

CreateBackupResponse wrapper for the CreateBackup operation

type CreateBackupResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CreateBackupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBackupResponse) String

func (response CreateBackupResponse) String() string

type CreateConfigurationDetails

CreateConfigurationDetails The information to create a new configuration.

type CreateConfigurationDetails struct {

    // A user-friendly display name for the configuration. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // Version of the PostgreSQL database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // CPU core count.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // Memory size in gigabytes with 1GB increment.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    DbConfigurationOverrides *DbConfigurationOverrideCollection `mandatory:"true" json:"dbConfigurationOverrides"`

    // Details about the configuration set.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateConfigurationDetails) String

func (m CreateConfigurationDetails) String() string

func (CreateConfigurationDetails) ValidateEnumValue

func (m CreateConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConfigurationRequest

CreateConfigurationRequest wrapper for the CreateConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateConfiguration.go.html to see an example of how to use CreateConfigurationRequest.

type CreateConfigurationRequest struct {

    // Details for the new configuration.
    CreateConfigurationDetails `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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (CreateConfigurationRequest) BinaryRequestBody

func (request CreateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateConfigurationRequest) HTTPRequest

func (request CreateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateConfigurationRequest) RetryPolicy

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

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

func (CreateConfigurationRequest) String

func (request CreateConfigurationRequest) String() string

func (CreateConfigurationRequest) ValidateEnumValue

func (request CreateConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateConfigurationResponse

CreateConfigurationResponse wrapper for the CreateConfiguration operation

type CreateConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateConfigurationResponse) String

func (response CreateConfigurationResponse) String() string

type CreateDbInstanceDetails

CreateDbInstanceDetails Information about the new database instance node.

type CreateDbInstanceDetails struct {

    // Display name of the database instance node. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A user-provided description of the database instance node.
    Description *string `mandatory:"false" json:"description"`

    // Private IP in customer subnet that will be assigned to the database instance node. This value is optional.
    // If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    PrivateIp *string `mandatory:"false" json:"privateIp"`
}

func (CreateDbInstanceDetails) String

func (m CreateDbInstanceDetails) String() string

func (CreateDbInstanceDetails) ValidateEnumValue

func (m CreateDbInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDbSystemDetails

CreateDbSystemDetails The information about new database system.

type CreateDbSystemDetails struct {

    // A user-friendly display name for the database system. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // Version of database system software.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    StorageDetails StorageDetails `mandatory:"true" json:"storageDetails"`

    // The name of the shape for the database instance node. Use the /shapes API for accepted shapes.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    NetworkDetails *NetworkDetails `mandatory:"true" json:"networkDetails"`

    // A user-provided description of a database system.
    Description *string `mandatory:"false" json:"description"`

    // Type of the database system.
    SystemType DbSystemSystemTypeEnum `mandatory:"false" json:"systemType,omitempty"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration associated with the database system.
    ConfigId *string `mandatory:"false" json:"configId"`

    // The total number of OCPUs available to each database instance node.
    InstanceOcpuCount *int `mandatory:"false" json:"instanceOcpuCount"`

    // The total amount of memory available to each database instance node, in gigabytes.
    InstanceMemorySizeInGBs *int `mandatory:"false" json:"instanceMemorySizeInGBs"`

    // Count of database instances nodes to be created in the database system.
    InstanceCount *int `mandatory:"false" json:"instanceCount"`

    // Details of database instances nodes to be created. This parameter is optional.
    // If specified, its size must match `instanceCount`.
    InstancesDetails []CreateDbInstanceDetails `mandatory:"false" json:"instancesDetails"`

    Credentials *Credentials `mandatory:"false" json:"credentials"`

    ManagementPolicy *ManagementPolicyDetails `mandatory:"false" json:"managementPolicy"`

    Source SourceDetails `mandatory:"false" json:"source"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateDbSystemDetails) String

func (m CreateDbSystemDetails) String() string

func (*CreateDbSystemDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateDbSystemDetails) ValidateEnumValue

func (m CreateDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDbSystemRequest

CreateDbSystemRequest wrapper for the CreateDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateDbSystem.go.html to see an example of how to use CreateDbSystemRequest.

type CreateDbSystemRequest struct {

    // Details for the new database system.
    CreateDbSystemDetails `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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (CreateDbSystemRequest) BinaryRequestBody

func (request CreateDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDbSystemRequest) HTTPRequest

func (request CreateDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDbSystemRequest) RetryPolicy

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

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

func (CreateDbSystemRequest) String

func (request CreateDbSystemRequest) String() string

func (CreateDbSystemRequest) ValidateEnumValue

func (request CreateDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDbSystemResponse

CreateDbSystemResponse wrapper for the CreateDbSystem operation

type CreateDbSystemResponse 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 asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CreateDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDbSystemResponse) String

func (response CreateDbSystemResponse) String() string

type Credentials

Credentials Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.

type Credentials struct {

    // The database system administrator username.
    Username *string `mandatory:"true" json:"username"`

    PasswordDetails PasswordDetails `mandatory:"true" json:"passwordDetails"`
}

func (Credentials) String

func (m Credentials) String() string

func (*Credentials) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (Credentials) ValidateEnumValue

func (m Credentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DailyBackupPolicy

DailyBackupPolicy Daily backup policy.

type DailyBackupPolicy struct {

    // Hour of the day when the backup starts.
    BackupStart *string `mandatory:"true" json:"backupStart"`

    // How many days the data should be stored after the database system deletion.
    RetentionDays *int `mandatory:"false" json:"retentionDays"`
}

func (DailyBackupPolicy) GetRetentionDays

func (m DailyBackupPolicy) GetRetentionDays() *int

GetRetentionDays returns RetentionDays

func (DailyBackupPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (DailyBackupPolicy) String

func (m DailyBackupPolicy) String() string

func (DailyBackupPolicy) ValidateEnumValue

func (m DailyBackupPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbConfigurationOverrideCollection

DbConfigurationOverrideCollection Configuration overrides for a PostgreSQL instance.

type DbConfigurationOverrideCollection struct {

    // List of configuration overridden values.
    Items []ConfigOverrides `mandatory:"true" json:"items"`
}

func (DbConfigurationOverrideCollection) String

func (m DbConfigurationOverrideCollection) String() string

func (DbConfigurationOverrideCollection) ValidateEnumValue

func (m DbConfigurationOverrideCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbInstance

DbInstance Information about a database instance node.

type DbInstance struct {

    // A unique identifier for the database instance node. Immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // The availability domain in which the database instance node is located.
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

    // The date and time that the database instance node was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // A user-friendly display name for the database instance node. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the database instance node.
    Description *string `mandatory:"false" json:"description"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The date and time that the database instance node was updated, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (DbInstance) String

func (m DbInstance) String() string

func (DbInstance) ValidateEnumValue

func (m DbInstance) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbInstanceEndpoint

DbInstanceEndpoint The database instance node endpoint information.

type DbInstanceEndpoint struct {

    // Unique identifier of the database instance node.
    DbInstanceId *string `mandatory:"true" json:"dbInstanceId"`

    Endpoint *Endpoint `mandatory:"true" json:"endpoint"`
}

func (DbInstanceEndpoint) String

func (m DbInstanceEndpoint) String() string

func (DbInstanceEndpoint) ValidateEnumValue

func (m DbInstanceEndpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbInstanceLifecycleStateEnum

DbInstanceLifecycleStateEnum Enum with underlying type: string

type DbInstanceLifecycleStateEnum string

Set of constants representing the allowable values for DbInstanceLifecycleStateEnum

const (
    DbInstanceLifecycleStateCreating DbInstanceLifecycleStateEnum = "CREATING"
    DbInstanceLifecycleStateUpdating DbInstanceLifecycleStateEnum = "UPDATING"
    DbInstanceLifecycleStateActive   DbInstanceLifecycleStateEnum = "ACTIVE"
    DbInstanceLifecycleStateInactive DbInstanceLifecycleStateEnum = "INACTIVE"
    DbInstanceLifecycleStateDeleting DbInstanceLifecycleStateEnum = "DELETING"
    DbInstanceLifecycleStateDeleted  DbInstanceLifecycleStateEnum = "DELETED"
    DbInstanceLifecycleStateFailed   DbInstanceLifecycleStateEnum = "FAILED"
)

func GetDbInstanceLifecycleStateEnumValues

func GetDbInstanceLifecycleStateEnumValues() []DbInstanceLifecycleStateEnum

GetDbInstanceLifecycleStateEnumValues Enumerates the set of values for DbInstanceLifecycleStateEnum

func GetMappingDbInstanceLifecycleStateEnum

func GetMappingDbInstanceLifecycleStateEnum(val string) (DbInstanceLifecycleStateEnum, bool)

GetMappingDbInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DbSystem

DbSystem Information about a database system.

type DbSystem struct {

    // A unique identifier for the database system. Immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the database system. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time that the database system was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // Type of the database system.
    SystemType DbSystemSystemTypeEnum `mandatory:"true" json:"systemType"`

    // The major and minor versions of the database system software.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // The name of the shape for the database instance.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // The total number of OCPUs available to each database instance node.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // The total amount of memory available to each database instance node, in gigabytes.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    StorageDetails StorageDetails `mandatory:"true" json:"storageDetails"`

    NetworkDetails *NetworkDetails `mandatory:"true" json:"networkDetails"`

    ManagementPolicy *ManagementPolicy `mandatory:"true" json:"managementPolicy"`

    // A description of the database system.
    Description *string `mandatory:"false" json:"description"`

    // The date and time that the database system was updated, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The database system administrator username.
    AdminUsername *string `mandatory:"false" json:"adminUsername"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration associated with the database system.
    ConfigId *string `mandatory:"false" json:"configId"`

    // Count of instances, or nodes, in the database system.
    InstanceCount *int `mandatory:"false" json:"instanceCount"`

    // The list of instances, or nodes, in the database system.
    Instances []DbInstance `mandatory:"false" json:"instances"`

    Source SourceDetails `mandatory:"false" json:"source"`
}

func (DbSystem) String

func (m DbSystem) String() string

func (*DbSystem) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (DbSystem) ValidateEnumValue

func (m DbSystem) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbSystemCollection

DbSystemCollection Results of a database system search. Contains both DbSystemSummary items and other information, such as metadata.

type DbSystemCollection struct {

    // List of database systems.
    Items []DbSystemSummary `mandatory:"true" json:"items"`
}

func (DbSystemCollection) String

func (m DbSystemCollection) String() string

func (DbSystemCollection) ValidateEnumValue

func (m DbSystemCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbSystemDetails

DbSystemDetails Information about the database system associated with a backup.

type DbSystemDetails struct {

    // Type of the database system.
    SystemType DbSystemSystemTypeEnum `mandatory:"true" json:"systemType"`

    // The major and minor versions of the database system software.
    DbVersion *string `mandatory:"true" json:"dbVersion"`
}

func (DbSystemDetails) String

func (m DbSystemDetails) String() string

func (DbSystemDetails) ValidateEnumValue

func (m DbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbSystemLifecycleStateEnum

DbSystemLifecycleStateEnum Enum with underlying type: string

type DbSystemLifecycleStateEnum string

Set of constants representing the allowable values for DbSystemLifecycleStateEnum

const (
    DbSystemLifecycleStateCreating       DbSystemLifecycleStateEnum = "CREATING"
    DbSystemLifecycleStateUpdating       DbSystemLifecycleStateEnum = "UPDATING"
    DbSystemLifecycleStateActive         DbSystemLifecycleStateEnum = "ACTIVE"
    DbSystemLifecycleStateInactive       DbSystemLifecycleStateEnum = "INACTIVE"
    DbSystemLifecycleStateDeleting       DbSystemLifecycleStateEnum = "DELETING"
    DbSystemLifecycleStateDeleted        DbSystemLifecycleStateEnum = "DELETED"
    DbSystemLifecycleStateFailed         DbSystemLifecycleStateEnum = "FAILED"
    DbSystemLifecycleStateNeedsAttention DbSystemLifecycleStateEnum = "NEEDS_ATTENTION"
)

func GetDbSystemLifecycleStateEnumValues

func GetDbSystemLifecycleStateEnumValues() []DbSystemLifecycleStateEnum

GetDbSystemLifecycleStateEnumValues Enumerates the set of values for DbSystemLifecycleStateEnum

func GetMappingDbSystemLifecycleStateEnum

func GetMappingDbSystemLifecycleStateEnum(val string) (DbSystemLifecycleStateEnum, bool)

GetMappingDbSystemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DbSystemSummary

DbSystemSummary Summary information about a database system.

type DbSystemSummary struct {

    // A unique identifier for the database system. Immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the database system. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The date and time that the database system was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // Type of the database system.
    SystemType DbSystemSystemTypeEnum `mandatory:"true" json:"systemType"`

    // Count of database instances, or nodes, in the database system.
    InstanceCount *int `mandatory:"true" json:"instanceCount"`

    // The total number of OCPUs available to each database instance node.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // The total amount of memory available to each database instance node, in gigabytes.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    // Version of database system software.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The date and time that the database system was updated, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The name of the shape for the database instance node.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"false" json:"shape"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration associated with the database system.
    ConfigId *string `mandatory:"false" json:"configId"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DbSystemSummary) String

func (m DbSystemSummary) String() string

func (DbSystemSummary) ValidateEnumValue

func (m DbSystemSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DbSystemSystemTypeEnum

DbSystemSystemTypeEnum Enum with underlying type: string

type DbSystemSystemTypeEnum string

Set of constants representing the allowable values for DbSystemSystemTypeEnum

const (
    DbSystemSystemTypeOciOptimizedStorage DbSystemSystemTypeEnum = "OCI_OPTIMIZED_STORAGE"
)

func GetDbSystemSystemTypeEnumValues

func GetDbSystemSystemTypeEnumValues() []DbSystemSystemTypeEnum

GetDbSystemSystemTypeEnumValues Enumerates the set of values for DbSystemSystemTypeEnum

func GetMappingDbSystemSystemTypeEnum

func GetMappingDbSystemSystemTypeEnum(val string) (DbSystemSystemTypeEnum, bool)

GetMappingDbSystemSystemTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DefaultConfigParams

DefaultConfigParams Default database configuration.

type DefaultConfigParams struct {

    // The configuration variable name.
    ConfigKey *string `mandatory:"true" json:"configKey"`

    // Default value for the variable.
    DefaultConfigValue *string `mandatory:"true" json:"defaultConfigValue"`

    // Range or list of allowed values.
    AllowedValues *string `mandatory:"true" json:"allowedValues"`

    // If true, modifying this configuration value will require a restart.
    IsRestartRequired *bool `mandatory:"true" json:"isRestartRequired"`

    // Data type of the variable.
    DataType *string `mandatory:"true" json:"dataType"`

    // Whether the value can be overridden or not.
    IsOverridable *bool `mandatory:"true" json:"isOverridable"`

    // Details about the PostgreSQL variable.
    Description *string `mandatory:"true" json:"description"`
}

func (DefaultConfigParams) String

func (m DefaultConfigParams) String() string

func (DefaultConfigParams) ValidateEnumValue

func (m DefaultConfigParams) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DefaultConfiguration

DefaultConfiguration Default configurations for PostgreSQL database systems.

type DefaultConfiguration struct {

    // A unique identifier for the configuration.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the configuration.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The date and time that the configuration was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the configuration.
    LifecycleState DefaultConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // CPU core count. Minimum value is 1.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // Memory size in gigabytes with 1GB increment.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    // Version of the PostgreSQL database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    ConfigurationDetails *DefaultConfigurationDetails `mandatory:"true" json:"configurationDetails"`

    // A description for the configuration.
    Description *string `mandatory:"false" json:"description"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (DefaultConfiguration) String

func (m DefaultConfiguration) String() string

func (DefaultConfiguration) ValidateEnumValue

func (m DefaultConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DefaultConfigurationCollection

DefaultConfigurationCollection Results of a configuration search. Contains the ConfigurationSummary items and other information, such as metadata.

type DefaultConfigurationCollection struct {

    // List of configurations.
    Items []DefaultConfigurationSummary `mandatory:"true" json:"items"`
}

func (DefaultConfigurationCollection) String

func (m DefaultConfigurationCollection) String() string

func (DefaultConfigurationCollection) ValidateEnumValue

func (m DefaultConfigurationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DefaultConfigurationDetails

DefaultConfigurationDetails List of default configuration values for databases.

type DefaultConfigurationDetails struct {

    // List of ConfigParms object.
    Items []DefaultConfigParams `mandatory:"true" json:"items"`
}

func (DefaultConfigurationDetails) String

func (m DefaultConfigurationDetails) String() string

func (DefaultConfigurationDetails) ValidateEnumValue

func (m DefaultConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DefaultConfigurationLifecycleStateEnum

DefaultConfigurationLifecycleStateEnum Enum with underlying type: string

type DefaultConfigurationLifecycleStateEnum string

Set of constants representing the allowable values for DefaultConfigurationLifecycleStateEnum

const (
    DefaultConfigurationLifecycleStateActive   DefaultConfigurationLifecycleStateEnum = "ACTIVE"
    DefaultConfigurationLifecycleStateInactive DefaultConfigurationLifecycleStateEnum = "INACTIVE"
    DefaultConfigurationLifecycleStateDeleting DefaultConfigurationLifecycleStateEnum = "DELETING"
    DefaultConfigurationLifecycleStateDeleted  DefaultConfigurationLifecycleStateEnum = "DELETED"
    DefaultConfigurationLifecycleStateFailed   DefaultConfigurationLifecycleStateEnum = "FAILED"
)

func GetDefaultConfigurationLifecycleStateEnumValues

func GetDefaultConfigurationLifecycleStateEnumValues() []DefaultConfigurationLifecycleStateEnum

GetDefaultConfigurationLifecycleStateEnumValues Enumerates the set of values for DefaultConfigurationLifecycleStateEnum

func GetMappingDefaultConfigurationLifecycleStateEnum

func GetMappingDefaultConfigurationLifecycleStateEnum(val string) (DefaultConfigurationLifecycleStateEnum, bool)

GetMappingDefaultConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DefaultConfigurationSummary

DefaultConfigurationSummary Summary of the configuration.

type DefaultConfigurationSummary struct {

    // A unique identifier for the configuration.
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly display name for the configuration.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The date and time that the configuration was created, expressed in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format.
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the configuration.
    LifecycleState DefaultConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // Version of the PostgreSQL database.
    DbVersion *string `mandatory:"true" json:"dbVersion"`

    // CPU core count. Minimum value is 1.
    InstanceOcpuCount *int `mandatory:"true" json:"instanceOcpuCount"`

    // Memory size in gigabytes with 1GB increment.
    InstanceMemorySizeInGBs *int `mandatory:"true" json:"instanceMemorySizeInGBs"`

    // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (DefaultConfigurationSummary) String

func (m DefaultConfigurationSummary) String() string

func (DefaultConfigurationSummary) ValidateEnumValue

func (m DefaultConfigurationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteBackupRequest

DeleteBackupRequest wrapper for the DeleteBackup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteBackup.go.html to see an example of how to use DeleteBackupRequest.

type DeleteBackupRequest struct {

    // A unique identifier for the backup.
    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"`

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

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

func (DeleteBackupRequest) BinaryRequestBody

func (request DeleteBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBackupRequest) HTTPRequest

func (request DeleteBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBackupRequest) RetryPolicy

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

func (DeleteBackupRequest) ValidateEnumValue

func (request DeleteBackupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteBackupResponse

DeleteBackupResponse wrapper for the DeleteBackup operation

type DeleteBackupResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (DeleteBackupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBackupResponse) String

func (response DeleteBackupResponse) String() string

type DeleteConfigurationRequest

DeleteConfigurationRequest wrapper for the DeleteConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteConfiguration.go.html to see an example of how to use DeleteConfigurationRequest.

type DeleteConfigurationRequest struct {

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"true" contributesTo:"path" name:"configurationId"`

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

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

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

func (DeleteConfigurationRequest) BinaryRequestBody

func (request DeleteConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteConfigurationRequest) HTTPRequest

func (request DeleteConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteConfigurationRequest) RetryPolicy

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

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

func (DeleteConfigurationRequest) String

func (request DeleteConfigurationRequest) String() string

func (DeleteConfigurationRequest) ValidateEnumValue

func (request DeleteConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteConfigurationResponse

DeleteConfigurationResponse wrapper for the DeleteConfiguration operation

type DeleteConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteConfigurationResponse) String

func (response DeleteConfigurationResponse) String() string

type DeleteDbSystemRequest

DeleteDbSystemRequest wrapper for the DeleteDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteDbSystem.go.html to see an example of how to use DeleteDbSystemRequest.

type DeleteDbSystemRequest struct {

    // A unique identifier for the database system.
    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"`

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

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

func (DeleteDbSystemRequest) BinaryRequestBody

func (request DeleteDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDbSystemRequest) HTTPRequest

func (request DeleteDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDbSystemRequest) RetryPolicy

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

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

func (DeleteDbSystemRequest) String

func (request DeleteDbSystemRequest) String() string

func (DeleteDbSystemRequest) ValidateEnumValue

func (request DeleteDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDbSystemResponse

DeleteDbSystemResponse wrapper for the DeleteDbSystem operation

type DeleteDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (DeleteDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDbSystemResponse) String

func (response DeleteDbSystemResponse) String() string

type Endpoint

Endpoint Information about the database instance node endpoint.

type Endpoint struct {

    // The FQDN of the endpoint.
    Fqdn *string `mandatory:"true" json:"fqdn"`

    // The IP address of the endpoint.
    IpAddress *string `mandatory:"true" json:"ipAddress"`

    // The port address of the endpoint.
    Port *int `mandatory:"true" json:"port"`
}

func (Endpoint) String

func (m Endpoint) String() string

func (Endpoint) ValidateEnumValue

func (m Endpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverDbSystemDetails

FailoverDbSystemDetails Database system failover information.

type FailoverDbSystemDetails struct {

    // The preferred AD for regions with three availability domains. This parameter is optional.
    // If not set, the AD will be chosen based on availability.
    Ad *string `mandatory:"false" json:"ad"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database instance node. This parameter is optional.
    // If not set, an existing database instance node will be chosen based on availability.
    DbInstanceId *string `mandatory:"false" json:"dbInstanceId"`
}

func (FailoverDbSystemDetails) String

func (m FailoverDbSystemDetails) String() string

func (FailoverDbSystemDetails) ValidateEnumValue

func (m FailoverDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverDbSystemRequest

FailoverDbSystemRequest wrapper for the FailoverDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/FailoverDbSystem.go.html to see an example of how to use FailoverDbSystemRequest.

type FailoverDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // The information to be updated.
    FailoverDbSystemDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (FailoverDbSystemRequest) BinaryRequestBody

func (request FailoverDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (FailoverDbSystemRequest) HTTPRequest

func (request FailoverDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (FailoverDbSystemRequest) RetryPolicy

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

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

func (FailoverDbSystemRequest) String

func (request FailoverDbSystemRequest) String() string

func (FailoverDbSystemRequest) ValidateEnumValue

func (request FailoverDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverDbSystemResponse

FailoverDbSystemResponse wrapper for the FailoverDbSystem operation

type FailoverDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (FailoverDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (FailoverDbSystemResponse) String

func (response FailoverDbSystemResponse) String() string

type GetBackupRequest

GetBackupRequest wrapper for the GetBackup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetBackup.go.html to see an example of how to use GetBackupRequest.

type GetBackupRequest struct {

    // A unique identifier for the backup.
    BackupId *string `mandatory:"true" contributesTo:"path" name:"backupId"`

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

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

func (GetBackupRequest) BinaryRequestBody

func (request GetBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBackupRequest) HTTPRequest

func (request GetBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBackupRequest) RetryPolicy

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

func (GetBackupRequest) ValidateEnumValue

func (request GetBackupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackupResponse

GetBackupResponse wrapper for the GetBackup operation

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

func (GetBackupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBackupResponse) String

func (response GetBackupResponse) String() string

type GetConfigurationRequest

GetConfigurationRequest wrapper for the GetConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.

type GetConfigurationRequest struct {

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"true" contributesTo:"path" name:"configurationId"`

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

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

func (GetConfigurationRequest) BinaryRequestBody

func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConfigurationRequest) HTTPRequest

func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConfigurationRequest) RetryPolicy

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

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

func (GetConfigurationRequest) String

func (request GetConfigurationRequest) String() string

func (GetConfigurationRequest) ValidateEnumValue

func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConfigurationResponse

GetConfigurationResponse wrapper for the GetConfiguration operation

type GetConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConfigurationResponse) String

func (response GetConfigurationResponse) String() string

type GetConnectionDetailsRequest

GetConnectionDetailsRequest wrapper for the GetConnectionDetails operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetConnectionDetails.go.html to see an example of how to use GetConnectionDetailsRequest.

type GetConnectionDetailsRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

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

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

func (GetConnectionDetailsRequest) BinaryRequestBody

func (request GetConnectionDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConnectionDetailsRequest) HTTPRequest

func (request GetConnectionDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConnectionDetailsRequest) RetryPolicy

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

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

func (GetConnectionDetailsRequest) String

func (request GetConnectionDetailsRequest) String() string

func (GetConnectionDetailsRequest) ValidateEnumValue

func (request GetConnectionDetailsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConnectionDetailsResponse

GetConnectionDetailsResponse wrapper for the GetConnectionDetails operation

type GetConnectionDetailsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetConnectionDetailsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConnectionDetailsResponse) String

func (response GetConnectionDetailsResponse) String() string

type GetDbSystemExcludedFieldsEnum

GetDbSystemExcludedFieldsEnum Enum with underlying type: string

type GetDbSystemExcludedFieldsEnum string

Set of constants representing the allowable values for GetDbSystemExcludedFieldsEnum

const (
    GetDbSystemExcludedFieldsDbconfigurationparams GetDbSystemExcludedFieldsEnum = "dbConfigurationParams"
)

func GetGetDbSystemExcludedFieldsEnumValues

func GetGetDbSystemExcludedFieldsEnumValues() []GetDbSystemExcludedFieldsEnum

GetGetDbSystemExcludedFieldsEnumValues Enumerates the set of values for GetDbSystemExcludedFieldsEnum

func GetMappingGetDbSystemExcludedFieldsEnum

func GetMappingGetDbSystemExcludedFieldsEnum(val string) (GetDbSystemExcludedFieldsEnum, bool)

GetMappingGetDbSystemExcludedFieldsEnum performs case Insensitive comparison on enum value and return the desired enum

type GetDbSystemRequest

GetDbSystemRequest wrapper for the GetDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetDbSystem.go.html to see an example of how to use GetDbSystemRequest.

type GetDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

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

    // A filter to exclude database configuration when this query parameter is set to OverrideDbConfig.
    ExcludedFields []GetDbSystemExcludedFieldsEnum `contributesTo:"query" name:"excludedFields" omitEmpty:"true" collectionFormat:"multi"`

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

func (GetDbSystemRequest) BinaryRequestBody

func (request GetDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDbSystemRequest) HTTPRequest

func (request GetDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDbSystemRequest) RetryPolicy

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

func (GetDbSystemRequest) ValidateEnumValue

func (request GetDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDbSystemResponse

GetDbSystemResponse wrapper for the GetDbSystem operation

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

func (GetDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDbSystemResponse) String

func (response GetDbSystemResponse) String() string

type GetDefaultConfigurationRequest

GetDefaultConfigurationRequest wrapper for the GetDefaultConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetDefaultConfiguration.go.html to see an example of how to use GetDefaultConfigurationRequest.

type GetDefaultConfigurationRequest struct {

    // A unique identifier for the configuration.
    DefaultConfigurationId *string `mandatory:"true" contributesTo:"path" name:"defaultConfigurationId"`

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

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

func (GetDefaultConfigurationRequest) BinaryRequestBody

func (request GetDefaultConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDefaultConfigurationRequest) HTTPRequest

func (request GetDefaultConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDefaultConfigurationRequest) RetryPolicy

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

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

func (GetDefaultConfigurationRequest) String

func (request GetDefaultConfigurationRequest) String() string

func (GetDefaultConfigurationRequest) ValidateEnumValue

func (request GetDefaultConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDefaultConfigurationResponse

GetDefaultConfigurationResponse wrapper for the GetDefaultConfiguration operation

type GetDefaultConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetDefaultConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDefaultConfigurationResponse) String

func (response GetDefaultConfigurationResponse) String() string

type GetPrimaryDbInstanceRequest

GetPrimaryDbInstanceRequest wrapper for the GetPrimaryDbInstance operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetPrimaryDbInstance.go.html to see an example of how to use GetPrimaryDbInstanceRequest.

type GetPrimaryDbInstanceRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

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

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

func (GetPrimaryDbInstanceRequest) BinaryRequestBody

func (request GetPrimaryDbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPrimaryDbInstanceRequest) HTTPRequest

func (request GetPrimaryDbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPrimaryDbInstanceRequest) RetryPolicy

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

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

func (GetPrimaryDbInstanceRequest) String

func (request GetPrimaryDbInstanceRequest) String() string

func (GetPrimaryDbInstanceRequest) ValidateEnumValue

func (request GetPrimaryDbInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPrimaryDbInstanceResponse

GetPrimaryDbInstanceResponse wrapper for the GetPrimaryDbInstance operation

type GetPrimaryDbInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetPrimaryDbInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPrimaryDbInstanceResponse) String

func (response GetPrimaryDbInstanceResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *int `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ListBackupsRequest

ListBackupsRequest wrapper for the ListBackups operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListBackups.go.html to see an example of how to use ListBackupsRequest.

type ListBackupsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The start date for getting backups. An RFC 3339 (https://tools.ietf.org/rfc/rfc3339) formatted datetime string.
    TimeStarted *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStarted"`

    // The end date for getting backups. An RFC 3339 (https://tools.ietf.org/rfc/rfc3339) formatted datetime string.
    TimeEnded *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnded"`

    // A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`.
    LifecycleState BackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // A unique identifier for the backup.
    BackupId *string `mandatory:"false" contributesTo:"query" name:"backupId"`

    // A unique identifier for the database system.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListBackupsRequest) BinaryRequestBody

func (request ListBackupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBackupsRequest) HTTPRequest

func (request ListBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBackupsRequest) RetryPolicy

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

func (ListBackupsRequest) ValidateEnumValue

func (request ListBackupsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListBackupsResponse

ListBackupsResponse wrapper for the ListBackups operation

type ListBackupsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BackupCollection instances
    BackupCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBackupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBackupsResponse) String

func (response ListBackupsResponse) String() string

type ListBackupsSortByEnum

ListBackupsSortByEnum Enum with underlying type: string

type ListBackupsSortByEnum string

Set of constants representing the allowable values for ListBackupsSortByEnum

const (
    ListBackupsSortByTimecreated ListBackupsSortByEnum = "timeCreated"
    ListBackupsSortByDisplayname ListBackupsSortByEnum = "displayName"
)

func GetListBackupsSortByEnumValues

func GetListBackupsSortByEnumValues() []ListBackupsSortByEnum

GetListBackupsSortByEnumValues Enumerates the set of values for ListBackupsSortByEnum

func GetMappingListBackupsSortByEnum

func GetMappingListBackupsSortByEnum(val string) (ListBackupsSortByEnum, bool)

GetMappingListBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBackupsSortOrderEnum

ListBackupsSortOrderEnum Enum with underlying type: string

type ListBackupsSortOrderEnum string

Set of constants representing the allowable values for ListBackupsSortOrderEnum

const (
    ListBackupsSortOrderAsc  ListBackupsSortOrderEnum = "ASC"
    ListBackupsSortOrderDesc ListBackupsSortOrderEnum = "DESC"
)

func GetListBackupsSortOrderEnumValues

func GetListBackupsSortOrderEnumValues() []ListBackupsSortOrderEnum

GetListBackupsSortOrderEnumValues Enumerates the set of values for ListBackupsSortOrderEnum

func GetMappingListBackupsSortOrderEnum

func GetMappingListBackupsSortOrderEnum(val string) (ListBackupsSortOrderEnum, bool)

GetMappingListBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConfigurationsRequest

ListConfigurationsRequest wrapper for the ListConfigurations operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListConfigurations.go.html to see an example of how to use ListConfigurationsRequest.

type ListConfigurationsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`.
    LifecycleState ConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // Verison of the PostgreSQL database, such as 14.9.
    DbVersion *string `mandatory:"false" contributesTo:"query" name:"dbVersion"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"false" contributesTo:"query" name:"configurationId"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListConfigurationsRequest) BinaryRequestBody

func (request ListConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListConfigurationsRequest) HTTPRequest

func (request ListConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConfigurationsRequest) RetryPolicy

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

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

func (ListConfigurationsRequest) String

func (request ListConfigurationsRequest) String() string

func (ListConfigurationsRequest) ValidateEnumValue

func (request ListConfigurationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListConfigurationsResponse

ListConfigurationsResponse wrapper for the ListConfigurations operation

type ListConfigurationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ConfigurationCollection instances
    ConfigurationCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListConfigurationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListConfigurationsResponse) String

func (response ListConfigurationsResponse) String() string

type ListConfigurationsSortByEnum

ListConfigurationsSortByEnum Enum with underlying type: string

type ListConfigurationsSortByEnum string

Set of constants representing the allowable values for ListConfigurationsSortByEnum

const (
    ListConfigurationsSortByTimecreated ListConfigurationsSortByEnum = "timeCreated"
    ListConfigurationsSortByDisplayname ListConfigurationsSortByEnum = "displayName"
)

func GetListConfigurationsSortByEnumValues

func GetListConfigurationsSortByEnumValues() []ListConfigurationsSortByEnum

GetListConfigurationsSortByEnumValues Enumerates the set of values for ListConfigurationsSortByEnum

func GetMappingListConfigurationsSortByEnum

func GetMappingListConfigurationsSortByEnum(val string) (ListConfigurationsSortByEnum, bool)

GetMappingListConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConfigurationsSortOrderEnum

ListConfigurationsSortOrderEnum Enum with underlying type: string

type ListConfigurationsSortOrderEnum string

Set of constants representing the allowable values for ListConfigurationsSortOrderEnum

const (
    ListConfigurationsSortOrderAsc  ListConfigurationsSortOrderEnum = "ASC"
    ListConfigurationsSortOrderDesc ListConfigurationsSortOrderEnum = "DESC"
)

func GetListConfigurationsSortOrderEnumValues

func GetListConfigurationsSortOrderEnumValues() []ListConfigurationsSortOrderEnum

GetListConfigurationsSortOrderEnumValues Enumerates the set of values for ListConfigurationsSortOrderEnum

func GetMappingListConfigurationsSortOrderEnum

func GetMappingListConfigurationsSortOrderEnum(val string) (ListConfigurationsSortOrderEnum, bool)

GetMappingListConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDbSystemsRequest

ListDbSystemsRequest wrapper for the ListDbSystems operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListDbSystems.go.html to see an example of how to use ListDbSystemsRequest.

type ListDbSystemsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`.
    LifecycleState DbSystemLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // A unique identifier for the database system.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListDbSystemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListDbSystemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListDbSystemsRequest) BinaryRequestBody

func (request ListDbSystemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDbSystemsRequest) HTTPRequest

func (request ListDbSystemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDbSystemsRequest) RetryPolicy

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

func (ListDbSystemsRequest) ValidateEnumValue

func (request ListDbSystemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDbSystemsResponse

ListDbSystemsResponse wrapper for the ListDbSystems operation

type ListDbSystemsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of DbSystemCollection instances
    DbSystemCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListDbSystemsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDbSystemsResponse) String

func (response ListDbSystemsResponse) String() string

type ListDbSystemsSortByEnum

ListDbSystemsSortByEnum Enum with underlying type: string

type ListDbSystemsSortByEnum string

Set of constants representing the allowable values for ListDbSystemsSortByEnum

const (
    ListDbSystemsSortByTimecreated ListDbSystemsSortByEnum = "timeCreated"
    ListDbSystemsSortByDisplayname ListDbSystemsSortByEnum = "displayName"
)

func GetListDbSystemsSortByEnumValues

func GetListDbSystemsSortByEnumValues() []ListDbSystemsSortByEnum

GetListDbSystemsSortByEnumValues Enumerates the set of values for ListDbSystemsSortByEnum

func GetMappingListDbSystemsSortByEnum

func GetMappingListDbSystemsSortByEnum(val string) (ListDbSystemsSortByEnum, bool)

GetMappingListDbSystemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDbSystemsSortOrderEnum

ListDbSystemsSortOrderEnum Enum with underlying type: string

type ListDbSystemsSortOrderEnum string

Set of constants representing the allowable values for ListDbSystemsSortOrderEnum

const (
    ListDbSystemsSortOrderAsc  ListDbSystemsSortOrderEnum = "ASC"
    ListDbSystemsSortOrderDesc ListDbSystemsSortOrderEnum = "DESC"
)

func GetListDbSystemsSortOrderEnumValues

func GetListDbSystemsSortOrderEnumValues() []ListDbSystemsSortOrderEnum

GetListDbSystemsSortOrderEnumValues Enumerates the set of values for ListDbSystemsSortOrderEnum

func GetMappingListDbSystemsSortOrderEnum

func GetMappingListDbSystemsSortOrderEnum(val string) (ListDbSystemsSortOrderEnum, bool)

GetMappingListDbSystemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDefaultConfigurationsRequest

ListDefaultConfigurationsRequest wrapper for the ListDefaultConfigurations operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListDefaultConfigurations.go.html to see an example of how to use ListDefaultConfigurationsRequest.

type ListDefaultConfigurationsRequest struct {

    // A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`.
    LifecycleState ConfigurationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // Verison of the PostgreSQL database, such as 14.9.
    DbVersion *string `mandatory:"false" contributesTo:"query" name:"dbVersion"`

    // The name of the shape for the configuration.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"false" contributesTo:"query" name:"configurationId"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListDefaultConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListDefaultConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

func (ListDefaultConfigurationsRequest) BinaryRequestBody

func (request ListDefaultConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDefaultConfigurationsRequest) HTTPRequest

func (request ListDefaultConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDefaultConfigurationsRequest) RetryPolicy

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

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

func (ListDefaultConfigurationsRequest) String

func (request ListDefaultConfigurationsRequest) String() string

func (ListDefaultConfigurationsRequest) ValidateEnumValue

func (request ListDefaultConfigurationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDefaultConfigurationsResponse

ListDefaultConfigurationsResponse wrapper for the ListDefaultConfigurations operation

type ListDefaultConfigurationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of DefaultConfigurationCollection instances
    DefaultConfigurationCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListDefaultConfigurationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDefaultConfigurationsResponse) String

func (response ListDefaultConfigurationsResponse) String() string

type ListDefaultConfigurationsSortByEnum

ListDefaultConfigurationsSortByEnum Enum with underlying type: string

type ListDefaultConfigurationsSortByEnum string

Set of constants representing the allowable values for ListDefaultConfigurationsSortByEnum

const (
    ListDefaultConfigurationsSortByTimecreated ListDefaultConfigurationsSortByEnum = "timeCreated"
    ListDefaultConfigurationsSortByDisplayname ListDefaultConfigurationsSortByEnum = "displayName"
)

func GetListDefaultConfigurationsSortByEnumValues

func GetListDefaultConfigurationsSortByEnumValues() []ListDefaultConfigurationsSortByEnum

GetListDefaultConfigurationsSortByEnumValues Enumerates the set of values for ListDefaultConfigurationsSortByEnum

func GetMappingListDefaultConfigurationsSortByEnum

func GetMappingListDefaultConfigurationsSortByEnum(val string) (ListDefaultConfigurationsSortByEnum, bool)

GetMappingListDefaultConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDefaultConfigurationsSortOrderEnum

ListDefaultConfigurationsSortOrderEnum Enum with underlying type: string

type ListDefaultConfigurationsSortOrderEnum string

Set of constants representing the allowable values for ListDefaultConfigurationsSortOrderEnum

const (
    ListDefaultConfigurationsSortOrderAsc  ListDefaultConfigurationsSortOrderEnum = "ASC"
    ListDefaultConfigurationsSortOrderDesc ListDefaultConfigurationsSortOrderEnum = "DESC"
)

func GetListDefaultConfigurationsSortOrderEnumValues

func GetListDefaultConfigurationsSortOrderEnumValues() []ListDefaultConfigurationsSortOrderEnum

GetListDefaultConfigurationsSortOrderEnumValues Enumerates the set of values for ListDefaultConfigurationsSortOrderEnum

func GetMappingListDefaultConfigurationsSortOrderEnum

func GetMappingListDefaultConfigurationsSortOrderEnum(val string) (ListDefaultConfigurationsSortOrderEnum, bool)

GetMappingListDefaultConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListShapesRequest

ListShapesRequest wrapper for the ListShapes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListShapes.go.html to see an example of how to use ListShapesRequest.

type ListShapesRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return the feature by the shape name.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListShapesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListShapesRequest) BinaryRequestBody

func (request ListShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListShapesRequest) HTTPRequest

func (request ListShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListShapesRequest) RetryPolicy

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

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

func (ListShapesRequest) String

func (request ListShapesRequest) String() string

func (ListShapesRequest) ValidateEnumValue

func (request ListShapesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListShapesResponse

ListShapesResponse wrapper for the ListShapes operation

type ListShapesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ShapeCollection instances
    ShapeCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListShapesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListShapesResponse) String

func (response ListShapesResponse) String() string

type ListShapesSortByEnum

ListShapesSortByEnum Enum with underlying type: string

type ListShapesSortByEnum string

Set of constants representing the allowable values for ListShapesSortByEnum

const (
    ListShapesSortByTimecreated ListShapesSortByEnum = "timeCreated"
    ListShapesSortByDisplayname ListShapesSortByEnum = "displayName"
)

func GetListShapesSortByEnumValues

func GetListShapesSortByEnumValues() []ListShapesSortByEnum

GetListShapesSortByEnumValues Enumerates the set of values for ListShapesSortByEnum

func GetMappingListShapesSortByEnum

func GetMappingListShapesSortByEnum(val string) (ListShapesSortByEnum, bool)

GetMappingListShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListShapesSortOrderEnum

ListShapesSortOrderEnum Enum with underlying type: string

type ListShapesSortOrderEnum string

Set of constants representing the allowable values for ListShapesSortOrderEnum

const (
    ListShapesSortOrderAsc  ListShapesSortOrderEnum = "ASC"
    ListShapesSortOrderDesc ListShapesSortOrderEnum = "DESC"
)

func GetListShapesSortOrderEnumValues

func GetListShapesSortOrderEnumValues() []ListShapesSortOrderEnum

GetListShapesSortOrderEnumValues Enumerates the set of values for ListShapesSortOrderEnum

func GetMappingListShapesSortOrderEnum

func GetMappingListShapesSortOrderEnum(val string) (ListShapesSortOrderEnum, bool)

GetMappingListShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `presentIn:"body"`

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `presentIn:"body"`

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The ID of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only resources if their `lifecycleState` matches the given OperationStatus.
    Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // The ID of the resource affected by the request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestSummaryCollection instances
    WorkRequestSummaryCollection `presentIn:"body"`

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

    // For pagination of a list of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagementPolicy

ManagementPolicy PostgreSQL database system management policy.

type ManagementPolicy struct {

    // The start of the maintenance window.
    MaintenanceWindowStart *string `mandatory:"true" json:"maintenanceWindowStart"`

    BackupPolicy BackupPolicy `mandatory:"true" json:"backupPolicy"`
}

func (ManagementPolicy) String

func (m ManagementPolicy) String() string

func (*ManagementPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ManagementPolicy) ValidateEnumValue

func (m ManagementPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagementPolicyDetails

ManagementPolicyDetails PostgreSQL database system management policy update details.

type ManagementPolicyDetails struct {

    // The start of the maintenance window.
    MaintenanceWindowStart *string `mandatory:"false" json:"maintenanceWindowStart"`

    BackupPolicy BackupPolicy `mandatory:"false" json:"backupPolicy"`
}

func (ManagementPolicyDetails) String

func (m ManagementPolicyDetails) String() string

func (*ManagementPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ManagementPolicyDetails) ValidateEnumValue

func (m ManagementPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MonthlyBackupPolicy

MonthlyBackupPolicy Monthly backup policy.

type MonthlyBackupPolicy struct {

    // Hour of the day when backup starts.
    BackupStart *string `mandatory:"true" json:"backupStart"`

    // Day of the month when the backup should start.
    // To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    DaysOfTheMonth []int `mandatory:"true" json:"daysOfTheMonth"`

    // How many days the data should be stored after the database system deletion.
    RetentionDays *int `mandatory:"false" json:"retentionDays"`
}

func (MonthlyBackupPolicy) GetRetentionDays

func (m MonthlyBackupPolicy) GetRetentionDays() *int

GetRetentionDays returns RetentionDays

func (MonthlyBackupPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (MonthlyBackupPolicy) String

func (m MonthlyBackupPolicy) String() string

func (MonthlyBackupPolicy) ValidateEnumValue

func (m MonthlyBackupPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkDetails

NetworkDetails Network details for the database system.

type NetworkDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the customer subnet associated with the database system.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // Private IP in customer subnet. The value is optional.
    // If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    PrimaryDbEndpointPrivateIp *string `mandatory:"false" json:"primaryDbEndpointPrivateIp"`

    // List of customer Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the database system.
    NsgIds []string `mandatory:"false" json:"nsgIds"`
}

func (NetworkDetails) String

func (m NetworkDetails) String() string

func (NetworkDetails) ValidateEnumValue

func (m NetworkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NoneBackupPolicy

NoneBackupPolicy No backup policy.

type NoneBackupPolicy struct {

    // How many days the data should be stored after the database system deletion.
    RetentionDays *int `mandatory:"false" json:"retentionDays"`
}

func (NoneBackupPolicy) GetRetentionDays

func (m NoneBackupPolicy) GetRetentionDays() *int

GetRetentionDays returns RetentionDays

func (NoneBackupPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (NoneBackupPolicy) String

func (m NoneBackupPolicy) String() string

func (NoneBackupPolicy) ValidateEnumValue

func (m NoneBackupPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NoneSourceDetails

NoneSourceDetails This is used to create new database system or update without restoring from backup.

type NoneSourceDetails struct {
}

func (NoneSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (NoneSourceDetails) String

func (m NoneSourceDetails) String() string

func (NoneSourceDetails) ValidateEnumValue

func (m NoneSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OciOptimizedStorageDetails

OciOptimizedStorageDetails Storage details of the database system.

type OciOptimizedStorageDetails struct {

    // Specifies if the block volume used for the database system is regional or AD-local.
    // If not specified, it will be set to false.
    // If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified.
    // If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified.
    IsRegionallyDurable *bool `mandatory:"true" json:"isRegionallyDurable"`

    // Specifies the availability domain of AD-local storage.
    // If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified.
    // If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified.
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // Guaranteed input/output storage requests per second (IOPS) available to the database system.
    Iops *int64 `mandatory:"false" json:"iops"`
}

func (OciOptimizedStorageDetails) GetAvailabilityDomain

func (m OciOptimizedStorageDetails) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (OciOptimizedStorageDetails) GetIsRegionallyDurable

func (m OciOptimizedStorageDetails) GetIsRegionallyDurable() *bool

GetIsRegionallyDurable returns IsRegionallyDurable

func (OciOptimizedStorageDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciOptimizedStorageDetails) String

func (m OciOptimizedStorageDetails) String() string

func (OciOptimizedStorageDetails) ValidateEnumValue

func (m OciOptimizedStorageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
    OperationStatusWaiting    OperationStatusEnum = "WAITING"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling  OperationStatusEnum = "CANCELING"
    OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreatePostgresqlDbSystem       OperationTypeEnum = "CREATE_POSTGRESQL_DB_SYSTEM"
    OperationTypeUpdatePostgresqlDbSystem       OperationTypeEnum = "UPDATE_POSTGRESQL_DB_SYSTEM"
    OperationTypeDeletePostgresqlDbSystem       OperationTypeEnum = "DELETE_POSTGRESQL_DB_SYSTEM"
    OperationTypeMovePostgresqlDbSystem         OperationTypeEnum = "MOVE_POSTGRESQL_DB_SYSTEM"
    OperationTypeCreatePostgresqlDbSystemBackup OperationTypeEnum = "CREATE_POSTGRESQL_DB_SYSTEM_BACKUP"
    OperationTypeUpdatePostgresqlDbSystemBackup OperationTypeEnum = "UPDATE_POSTGRESQL_DB_SYSTEM_BACKUP"
    OperationTypeDeletePostgresqlDbSystemBackup OperationTypeEnum = "DELETE_POSTGRESQL_DB_SYSTEM_BACKUP"
    OperationTypeMovePostgresqlDbSystemBackup   OperationTypeEnum = "MOVE_POSTGRESQL_DB_SYSTEM_BACKUP"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PasswordDetails

PasswordDetails Details for the database system password. Password can be passed as `VaultSecretPasswordDetails` or `PlainTextPasswordDetails`.

type PasswordDetails interface {
}

type PasswordDetailsPasswordTypeEnum

PasswordDetailsPasswordTypeEnum Enum with underlying type: string

type PasswordDetailsPasswordTypeEnum string

Set of constants representing the allowable values for PasswordDetailsPasswordTypeEnum

const (
    PasswordDetailsPasswordTypePlainText   PasswordDetailsPasswordTypeEnum = "PLAIN_TEXT"
    PasswordDetailsPasswordTypeVaultSecret PasswordDetailsPasswordTypeEnum = "VAULT_SECRET"
)

func GetMappingPasswordDetailsPasswordTypeEnum

func GetMappingPasswordDetailsPasswordTypeEnum(val string) (PasswordDetailsPasswordTypeEnum, bool)

GetMappingPasswordDetailsPasswordTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPasswordDetailsPasswordTypeEnumValues

func GetPasswordDetailsPasswordTypeEnumValues() []PasswordDetailsPasswordTypeEnum

GetPasswordDetailsPasswordTypeEnumValues Enumerates the set of values for PasswordDetailsPasswordTypeEnum

type PatchDbSystemDetails

PatchDbSystemDetails For adding read replica database instances, the operation is INSERT and value object to specify is #/definitions/CreateDbInstanceDetails. For removing read replica database instances, the operation is REMOVE and value object needs to be an array of dbInstanceId's.

type PatchDbSystemDetails struct {

    // List of patch instructions.
    Items []PatchInstruction `mandatory:"false" json:"items"`
}

func (PatchDbSystemDetails) String

func (m PatchDbSystemDetails) String() string

func (*PatchDbSystemDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (PatchDbSystemDetails) ValidateEnumValue

func (m PatchDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchDbSystemRequest

PatchDbSystemRequest wrapper for the PatchDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/PatchDbSystem.go.html to see an example of how to use PatchDbSystemRequest.

type PatchDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // The information to be modified.
    PatchDbSystemDetails `contributesTo:"body"`

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

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

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

func (PatchDbSystemRequest) BinaryRequestBody

func (request PatchDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchDbSystemRequest) HTTPRequest

func (request PatchDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchDbSystemRequest) RetryPolicy

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

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

func (PatchDbSystemRequest) String

func (request PatchDbSystemRequest) String() string

func (PatchDbSystemRequest) ValidateEnumValue

func (request PatchDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchDbSystemResponse

PatchDbSystemResponse wrapper for the PatchDbSystem operation

type PatchDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (PatchDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchDbSystemResponse) String

func (response PatchDbSystemResponse) String() string

type PatchInsertInstruction

PatchInsertInstruction An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.

type PatchInsertInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // A value to be inserted into the target.
    Value *interface{} `mandatory:"true" json:"value"`

    // A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
    SelectedItem *string `mandatory:"false" json:"selectedItem"`

    // Where to insert the value, relative to the first item matched by `selectedItem`.
    // If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
    // If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
    Position PatchInsertInstructionPositionEnum `mandatory:"false" json:"position,omitempty"`
}

func (PatchInsertInstruction) GetSelection

func (m PatchInsertInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchInsertInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchInsertInstruction) String

func (m PatchInsertInstruction) String() string

func (PatchInsertInstruction) ValidateEnumValue

func (m PatchInsertInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchInsertInstructionPositionEnum

PatchInsertInstructionPositionEnum Enum with underlying type: string

type PatchInsertInstructionPositionEnum string

Set of constants representing the allowable values for PatchInsertInstructionPositionEnum

const (
    PatchInsertInstructionPositionBefore PatchInsertInstructionPositionEnum = "BEFORE"
    PatchInsertInstructionPositionAfter  PatchInsertInstructionPositionEnum = "AFTER"
)

func GetMappingPatchInsertInstructionPositionEnum

func GetMappingPatchInsertInstructionPositionEnum(val string) (PatchInsertInstructionPositionEnum, bool)

GetMappingPatchInsertInstructionPositionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchInsertInstructionPositionEnumValues

func GetPatchInsertInstructionPositionEnumValues() []PatchInsertInstructionPositionEnum

GetPatchInsertInstructionPositionEnumValues Enumerates the set of values for PatchInsertInstructionPositionEnum

type PatchInstruction

PatchInstruction A single instruction to be included as part of Patch request content.

type PatchInstruction interface {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    GetSelection() *string
}

type PatchInstructionOperationEnum

PatchInstructionOperationEnum Enum with underlying type: string

type PatchInstructionOperationEnum string

Set of constants representing the allowable values for PatchInstructionOperationEnum

const (
    PatchInstructionOperationRequire  PatchInstructionOperationEnum = "REQUIRE"
    PatchInstructionOperationProhibit PatchInstructionOperationEnum = "PROHIBIT"
    PatchInstructionOperationReplace  PatchInstructionOperationEnum = "REPLACE"
    PatchInstructionOperationInsert   PatchInstructionOperationEnum = "INSERT"
    PatchInstructionOperationRemove   PatchInstructionOperationEnum = "REMOVE"
    PatchInstructionOperationMove     PatchInstructionOperationEnum = "MOVE"
    PatchInstructionOperationMerge    PatchInstructionOperationEnum = "MERGE"
)

func GetMappingPatchInstructionOperationEnum

func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)

GetMappingPatchInstructionOperationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchInstructionOperationEnumValues

func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum

GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum

type PatchMergeInstruction

PatchMergeInstruction An operation that recursively updates items of the selection, or adding the value if the selection is empty. If the value is not an object, it is used directly, otherwise each key-value member is used to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value (similar to RFC 7396 (https://tools.ietf.org/html/rfc7396#section-2) JSON Merge Patch, except that null values are copied rather than transformed into deletions). NOT_FOUND exceptions are handled by creating the implied containing structure. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchMergeInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // A value to be merged into the target.
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchMergeInstruction) GetSelection

func (m PatchMergeInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchMergeInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchMergeInstruction) String

func (m PatchMergeInstruction) String() string

func (PatchMergeInstruction) ValidateEnumValue

func (m PatchMergeInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchMoveInstruction

PatchMoveInstruction An operation that "puts" values from elsewhere in the target, functionally equivalent to a single add and then a remove. The first item of the selection is replaced, or created if the selection is empty. NOT_FOUND exceptions in the selection are handled by creating the implied containing structure. This operation fails if the `from` selection yields any exceptions, or if an item is moved to any of its descendants.

type PatchMoveInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // The selection that is to be moved, with the same format and semantics as `selection`.
    From *string `mandatory:"true" json:"from"`

    // Where to insert the value in an array, relative to the first item in the selection.
    // If there is no such item, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
    // If the first item in the selection is not the child of an array, then this field has no effect.
    Position PatchMoveInstructionPositionEnum `mandatory:"false" json:"position,omitempty"`
}

func (PatchMoveInstruction) GetSelection

func (m PatchMoveInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchMoveInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchMoveInstruction) String

func (m PatchMoveInstruction) String() string

func (PatchMoveInstruction) ValidateEnumValue

func (m PatchMoveInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchMoveInstructionPositionEnum

PatchMoveInstructionPositionEnum Enum with underlying type: string

type PatchMoveInstructionPositionEnum string

Set of constants representing the allowable values for PatchMoveInstructionPositionEnum

const (
    PatchMoveInstructionPositionAt     PatchMoveInstructionPositionEnum = "AT"
    PatchMoveInstructionPositionBefore PatchMoveInstructionPositionEnum = "BEFORE"
    PatchMoveInstructionPositionAfter  PatchMoveInstructionPositionEnum = "AFTER"
)

func GetMappingPatchMoveInstructionPositionEnum

func GetMappingPatchMoveInstructionPositionEnum(val string) (PatchMoveInstructionPositionEnum, bool)

GetMappingPatchMoveInstructionPositionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchMoveInstructionPositionEnumValues

func GetPatchMoveInstructionPositionEnumValues() []PatchMoveInstructionPositionEnum

GetPatchMoveInstructionPositionEnumValues Enumerates the set of values for PatchMoveInstructionPositionEnum

type PatchProhibitInstruction

PatchProhibitInstruction A precondition operation that requires a selection to be empty, or optionally to be non-empty but include no item with a specified value (useful for asserting that a value does not exist before attempting to create it, avoiding accidental update). It fails if value is provided and the selection includes an item matching it, or if value is not provided and the selection is not empty, but ignores NOT_FOUND exceptions.

type PatchProhibitInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // A value to be compared against each item of the selection.
    // If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
    // Otherwise, it matches any item to which it is equal according to the rules of JSON Schema (https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchProhibitInstruction) GetSelection

func (m PatchProhibitInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchProhibitInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchProhibitInstruction) String

func (m PatchProhibitInstruction) String() string

func (PatchProhibitInstruction) ValidateEnumValue

func (m PatchProhibitInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchRemoveInstruction

PatchRemoveInstruction An operation that deletes items, ignoring NOT_FOUND exceptions. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchRemoveInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`
}

func (PatchRemoveInstruction) GetSelection

func (m PatchRemoveInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchRemoveInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchRemoveInstruction) String

func (m PatchRemoveInstruction) String() string

func (PatchRemoveInstruction) ValidateEnumValue

func (m PatchRemoveInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchReplaceInstruction

PatchReplaceInstruction An operation that "puts" a value, replacing every item of the selection with it, or creating it if the selection is empty. NOT_FOUND exceptions are handled by creating the implied containing structure (but note that this may put the target in an invalid state, which can be prevented by use of precondition operations). To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchReplaceInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // A value to be added into the target.
    Value *interface{} `mandatory:"true" json:"value"`
}

func (PatchReplaceInstruction) GetSelection

func (m PatchReplaceInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchReplaceInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchReplaceInstruction) String

func (m PatchReplaceInstruction) String() string

func (PatchReplaceInstruction) ValidateEnumValue

func (m PatchReplaceInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatchRequireInstruction

PatchRequireInstruction A precondition operation that requires a selection to be non-empty, and optionally to include an item with a specified value (useful for asserting that a value exists before attempting to update it, avoiding accidental creation). It fails if the selection is empty, or if value is provided and no item of the selection matches it.

type PatchRequireInstruction struct {

    // The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
    // An operation fails if the selection yields an exception, except as otherwise specified.
    // Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
    Selection *string `mandatory:"true" json:"selection"`

    // A value to be compared against each item of the selection.
    // If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
    // Otherwise, it matches any item to which it is equal according to the rules of JSON Schema (https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchRequireInstruction) GetSelection

func (m PatchRequireInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchRequireInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchRequireInstruction) String

func (m PatchRequireInstruction) String() string

func (PatchRequireInstruction) ValidateEnumValue

func (m PatchRequireInstruction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PlainTextPasswordDetails

PlainTextPasswordDetails Details for in-line database system password.

type PlainTextPasswordDetails struct {

    // The database system password.
    Password *string `mandatory:"true" json:"password"`
}

func (PlainTextPasswordDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (PlainTextPasswordDetails) String

func (m PlainTextPasswordDetails) String() string

func (PlainTextPasswordDetails) ValidateEnumValue

func (m PlainTextPasswordDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PostgresqlClient

PostgresqlClient a client for Postgresql

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

func NewPostgresqlClientWithConfigurationProvider

func NewPostgresqlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client PostgresqlClient, err error)

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

func NewPostgresqlClientWithOboToken

func NewPostgresqlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client PostgresqlClient, err error)

NewPostgresqlClientWithOboToken Creates a new default Postgresql client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (PostgresqlClient) ChangeBackupCompartment

func (client PostgresqlClient) ChangeBackupCompartment(ctx context.Context, request ChangeBackupCompartmentRequest) (response ChangeBackupCompartmentResponse, err error)

ChangeBackupCompartment Moves a backup from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeBackupCompartment.go.html to see an example of how to use ChangeBackupCompartment API. A default retry strategy applies to this operation ChangeBackupCompartment()

func (PostgresqlClient) ChangeConfigurationCompartment

func (client PostgresqlClient) ChangeConfigurationCompartment(ctx context.Context, request ChangeConfigurationCompartmentRequest) (response ChangeConfigurationCompartmentResponse, err error)

ChangeConfigurationCompartment Moves a configuration from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeConfigurationCompartment.go.html to see an example of how to use ChangeConfigurationCompartment API. A default retry strategy applies to this operation ChangeConfigurationCompartment()

func (PostgresqlClient) ChangeDbSystemCompartment

func (client PostgresqlClient) ChangeDbSystemCompartment(ctx context.Context, request ChangeDbSystemCompartmentRequest) (response ChangeDbSystemCompartmentResponse, err error)

ChangeDbSystemCompartment Moves a database system from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ChangeDbSystemCompartment.go.html to see an example of how to use ChangeDbSystemCompartment API. A default retry strategy applies to this operation ChangeDbSystemCompartment()

func (*PostgresqlClient) ConfigurationProvider

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

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

func (PostgresqlClient) CreateBackup

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

CreateBackup Creates a new backup.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateBackup.go.html to see an example of how to use CreateBackup API. A default retry strategy applies to this operation CreateBackup()

func (PostgresqlClient) CreateConfiguration

func (client PostgresqlClient) CreateConfiguration(ctx context.Context, request CreateConfigurationRequest) (response CreateConfigurationResponse, err error)

CreateConfiguration Creates a new configuration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateConfiguration.go.html to see an example of how to use CreateConfiguration API. A default retry strategy applies to this operation CreateConfiguration()

func (PostgresqlClient) CreateDbSystem

func (client PostgresqlClient) CreateDbSystem(ctx context.Context, request CreateDbSystemRequest) (response CreateDbSystemResponse, err error)

CreateDbSystem Creates a new database system.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/CreateDbSystem.go.html to see an example of how to use CreateDbSystem API. A default retry strategy applies to this operation CreateDbSystem()

func (PostgresqlClient) DeleteBackup

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

DeleteBackup Deletes a backup by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteBackup.go.html to see an example of how to use DeleteBackup API. A default retry strategy applies to this operation DeleteBackup()

func (PostgresqlClient) DeleteConfiguration

func (client PostgresqlClient) DeleteConfiguration(ctx context.Context, request DeleteConfigurationRequest) (response DeleteConfigurationResponse, err error)

DeleteConfiguration Deletes a configuration by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteConfiguration.go.html to see an example of how to use DeleteConfiguration API. A default retry strategy applies to this operation DeleteConfiguration()

func (PostgresqlClient) DeleteDbSystem

func (client PostgresqlClient) DeleteDbSystem(ctx context.Context, request DeleteDbSystemRequest) (response DeleteDbSystemResponse, err error)

DeleteDbSystem Deletes a database system by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/DeleteDbSystem.go.html to see an example of how to use DeleteDbSystem API. A default retry strategy applies to this operation DeleteDbSystem()

func (PostgresqlClient) FailoverDbSystem

func (client PostgresqlClient) FailoverDbSystem(ctx context.Context, request FailoverDbSystemRequest) (response FailoverDbSystemResponse, err error)

FailoverDbSystem Runs a failover operation. Optionally, specify the desired AD for regions with three ADs.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/FailoverDbSystem.go.html to see an example of how to use FailoverDbSystem API. A default retry strategy applies to this operation FailoverDbSystem()

func (PostgresqlClient) GetBackup

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

GetBackup Gets a backup by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetBackup.go.html to see an example of how to use GetBackup API. A default retry strategy applies to this operation GetBackup()

func (PostgresqlClient) GetConfiguration

func (client PostgresqlClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)

GetConfiguration Gets a configuration by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetConfiguration.go.html to see an example of how to use GetConfiguration API. A default retry strategy applies to this operation GetConfiguration()

func (PostgresqlClient) GetConnectionDetails

func (client PostgresqlClient) GetConnectionDetails(ctx context.Context, request GetConnectionDetailsRequest) (response GetConnectionDetailsResponse, err error)

GetConnectionDetails Gets the database system connection details.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetConnectionDetails.go.html to see an example of how to use GetConnectionDetails API. A default retry strategy applies to this operation GetConnectionDetails()

func (PostgresqlClient) GetDbSystem

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

GetDbSystem Gets a database system by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetDbSystem.go.html to see an example of how to use GetDbSystem API. A default retry strategy applies to this operation GetDbSystem()

func (PostgresqlClient) GetDefaultConfiguration

func (client PostgresqlClient) GetDefaultConfiguration(ctx context.Context, request GetDefaultConfigurationRequest) (response GetDefaultConfigurationResponse, err error)

GetDefaultConfiguration Gets a default configuration by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetDefaultConfiguration.go.html to see an example of how to use GetDefaultConfiguration API. A default retry strategy applies to this operation GetDefaultConfiguration()

func (PostgresqlClient) GetPrimaryDbInstance

func (client PostgresqlClient) GetPrimaryDbInstance(ctx context.Context, request GetPrimaryDbInstanceRequest) (response GetPrimaryDbInstanceResponse, err error)

GetPrimaryDbInstance Gets the primary database instance node details.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetPrimaryDbInstance.go.html to see an example of how to use GetPrimaryDbInstance API. A default retry strategy applies to this operation GetPrimaryDbInstance()

func (PostgresqlClient) GetWorkRequest

func (client PostgresqlClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets details of the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (PostgresqlClient) ListBackups

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

ListBackups Returns a list of backups.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListBackups.go.html to see an example of how to use ListBackups API. A default retry strategy applies to this operation ListBackups()

func (PostgresqlClient) ListConfigurations

func (client PostgresqlClient) ListConfigurations(ctx context.Context, request ListConfigurationsRequest) (response ListConfigurationsResponse, err error)

ListConfigurations Returns a list of configurations.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListConfigurations.go.html to see an example of how to use ListConfigurations API. A default retry strategy applies to this operation ListConfigurations()

func (PostgresqlClient) ListDbSystems

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

ListDbSystems Returns a list of database systems.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListDbSystems.go.html to see an example of how to use ListDbSystems API. A default retry strategy applies to this operation ListDbSystems()

func (PostgresqlClient) ListDefaultConfigurations

func (client PostgresqlClient) ListDefaultConfigurations(ctx context.Context, request ListDefaultConfigurationsRequest) (response ListDefaultConfigurationsResponse, err error)

ListDefaultConfigurations Returns a list of default configurations.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListDefaultConfigurations.go.html to see an example of how to use ListDefaultConfigurations API. A default retry strategy applies to this operation ListDefaultConfigurations()

func (PostgresqlClient) ListShapes

func (client PostgresqlClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error)

ListShapes Returns the list of shapes allowed in the region.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListShapes.go.html to see an example of how to use ListShapes API. A default retry strategy applies to this operation ListShapes()

func (PostgresqlClient) ListWorkRequestErrors

func (client PostgresqlClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (PostgresqlClient) ListWorkRequestLogs

func (client PostgresqlClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (PostgresqlClient) ListWorkRequests

func (client PostgresqlClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (PostgresqlClient) PatchDbSystem

func (client PostgresqlClient) PatchDbSystem(ctx context.Context, request PatchDbSystemRequest) (response PatchDbSystemResponse, err error)

PatchDbSystem Modifies the database system by adding or removing database instance nodes.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/PatchDbSystem.go.html to see an example of how to use PatchDbSystem API. A default retry strategy applies to this operation PatchDbSystem()

func (PostgresqlClient) ResetMasterUserPassword

func (client PostgresqlClient) ResetMasterUserPassword(ctx context.Context, request ResetMasterUserPasswordRequest) (response ResetMasterUserPasswordResponse, err error)

ResetMasterUserPassword Resets the database system's master password.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ResetMasterUserPassword.go.html to see an example of how to use ResetMasterUserPassword API. A default retry strategy applies to this operation ResetMasterUserPassword()

func (PostgresqlClient) RestartDbInstanceInDbSystem

func (client PostgresqlClient) RestartDbInstanceInDbSystem(ctx context.Context, request RestartDbInstanceInDbSystemRequest) (response RestartDbInstanceInDbSystemResponse, err error)

RestartDbInstanceInDbSystem Restarts the running database instance node.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/RestartDbInstanceInDbSystem.go.html to see an example of how to use RestartDbInstanceInDbSystem API. A default retry strategy applies to this operation RestartDbInstanceInDbSystem()

func (PostgresqlClient) RestoreDbSystem

func (client PostgresqlClient) RestoreDbSystem(ctx context.Context, request RestoreDbSystemRequest) (response RestoreDbSystemResponse, err error)

RestoreDbSystem Restore the database system.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/RestoreDbSystem.go.html to see an example of how to use RestoreDbSystem API. A default retry strategy applies to this operation RestoreDbSystem()

func (*PostgresqlClient) SetRegion

func (client *PostgresqlClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (PostgresqlClient) UpdateBackup

func (client PostgresqlClient) UpdateBackup(ctx context.Context, request UpdateBackupRequest) (response UpdateBackupResponse, err error)

UpdateBackup Updates the backup.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateBackup.go.html to see an example of how to use UpdateBackup API. A default retry strategy applies to this operation UpdateBackup()

func (PostgresqlClient) UpdateConfiguration

func (client PostgresqlClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)

UpdateConfiguration Updates a display name or description of the configuration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateConfiguration.go.html to see an example of how to use UpdateConfiguration API. A default retry strategy applies to this operation UpdateConfiguration()

func (PostgresqlClient) UpdateDbSystem

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

UpdateDbSystem Updates the database system.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateDbSystem.go.html to see an example of how to use UpdateDbSystem API. A default retry strategy applies to this operation UpdateDbSystem()

func (PostgresqlClient) UpdateDbSystemDbInstance

func (client PostgresqlClient) UpdateDbSystemDbInstance(ctx context.Context, request UpdateDbSystemDbInstanceRequest) (response UpdateDbSystemDbInstanceResponse, err error)

UpdateDbSystemDbInstance Updates the database instance node.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateDbSystemDbInstance.go.html to see an example of how to use UpdateDbSystemDbInstance API. A default retry strategy applies to this operation UpdateDbSystemDbInstance()

type PrimaryDbInstanceDetails

PrimaryDbInstanceDetails The primary database instance node details.

type PrimaryDbInstanceDetails struct {

    // A unique identifier for the primary database instance node.
    DbInstanceId *string `mandatory:"true" json:"dbInstanceId"`
}

func (PrimaryDbInstanceDetails) String

func (m PrimaryDbInstanceDetails) String() string

func (PrimaryDbInstanceDetails) ValidateEnumValue

func (m PrimaryDbInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResetMasterUserPasswordDetails

ResetMasterUserPasswordDetails Password detail that will be used to reset the database system's master user. These details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.

type ResetMasterUserPasswordDetails struct {
    PasswordDetails PasswordDetails `mandatory:"true" json:"passwordDetails"`
}

func (ResetMasterUserPasswordDetails) String

func (m ResetMasterUserPasswordDetails) String() string

func (*ResetMasterUserPasswordDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ResetMasterUserPasswordDetails) ValidateEnumValue

func (m ResetMasterUserPasswordDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResetMasterUserPasswordRequest

ResetMasterUserPasswordRequest wrapper for the ResetMasterUserPassword operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/ResetMasterUserPassword.go.html to see an example of how to use ResetMasterUserPasswordRequest.

type ResetMasterUserPasswordRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // The information to be updated.
    ResetMasterUserPasswordDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ResetMasterUserPasswordRequest) BinaryRequestBody

func (request ResetMasterUserPasswordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResetMasterUserPasswordRequest) HTTPRequest

func (request ResetMasterUserPasswordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResetMasterUserPasswordRequest) RetryPolicy

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

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

func (ResetMasterUserPasswordRequest) String

func (request ResetMasterUserPasswordRequest) String() string

func (ResetMasterUserPasswordRequest) ValidateEnumValue

func (request ResetMasterUserPasswordRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResetMasterUserPasswordResponse

ResetMasterUserPasswordResponse wrapper for the ResetMasterUserPassword operation

type ResetMasterUserPasswordResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ResetMasterUserPasswordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResetMasterUserPasswordResponse) String

func (response ResetMasterUserPasswordResponse) String() string

type RestartDbInstanceInDbSystemDetails

RestartDbInstanceInDbSystemDetails Database instance node restart parameters.

type RestartDbInstanceInDbSystemDetails struct {

    // A unique identifier for the database instance, or node.
    DbInstanceId *string `mandatory:"true" json:"dbInstanceId"`

    // The restart type for the database instance.
    RestartType RestartDbInstanceInDbSystemDetailsRestartTypeEnum `mandatory:"true" json:"restartType"`
}

func (RestartDbInstanceInDbSystemDetails) String

func (m RestartDbInstanceInDbSystemDetails) String() string

func (RestartDbInstanceInDbSystemDetails) ValidateEnumValue

func (m RestartDbInstanceInDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestartDbInstanceInDbSystemDetailsRestartTypeEnum

RestartDbInstanceInDbSystemDetailsRestartTypeEnum Enum with underlying type: string

type RestartDbInstanceInDbSystemDetailsRestartTypeEnum string

Set of constants representing the allowable values for RestartDbInstanceInDbSystemDetailsRestartTypeEnum

const (
    RestartDbInstanceInDbSystemDetailsRestartTypeNormal     RestartDbInstanceInDbSystemDetailsRestartTypeEnum = "NORMAL"
    RestartDbInstanceInDbSystemDetailsRestartTypeNodeReboot RestartDbInstanceInDbSystemDetailsRestartTypeEnum = "NODE_REBOOT"
)

func GetMappingRestartDbInstanceInDbSystemDetailsRestartTypeEnum

func GetMappingRestartDbInstanceInDbSystemDetailsRestartTypeEnum(val string) (RestartDbInstanceInDbSystemDetailsRestartTypeEnum, bool)

GetMappingRestartDbInstanceInDbSystemDetailsRestartTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumValues

func GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumValues() []RestartDbInstanceInDbSystemDetailsRestartTypeEnum

GetRestartDbInstanceInDbSystemDetailsRestartTypeEnumValues Enumerates the set of values for RestartDbInstanceInDbSystemDetailsRestartTypeEnum

type RestartDbInstanceInDbSystemRequest

RestartDbInstanceInDbSystemRequest wrapper for the RestartDbInstanceInDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/RestartDbInstanceInDbSystem.go.html to see an example of how to use RestartDbInstanceInDbSystemRequest.

type RestartDbInstanceInDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // Database instance node restart parameters.
    RestartDbInstanceInDbSystemDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (RestartDbInstanceInDbSystemRequest) BinaryRequestBody

func (request RestartDbInstanceInDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RestartDbInstanceInDbSystemRequest) HTTPRequest

func (request RestartDbInstanceInDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RestartDbInstanceInDbSystemRequest) RetryPolicy

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

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

func (RestartDbInstanceInDbSystemRequest) String

func (request RestartDbInstanceInDbSystemRequest) String() string

func (RestartDbInstanceInDbSystemRequest) ValidateEnumValue

func (request RestartDbInstanceInDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestartDbInstanceInDbSystemResponse

RestartDbInstanceInDbSystemResponse wrapper for the RestartDbInstanceInDbSystem operation

type RestartDbInstanceInDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (RestartDbInstanceInDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RestartDbInstanceInDbSystemResponse) String

func (response RestartDbInstanceInDbSystemResponse) String() string

type RestoreDbSystemDetails

RestoreDbSystemDetails Backup details to restore the database system.

type RestoreDbSystemDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database system backup.
    BackupId *string `mandatory:"true" json:"backupId"`

    // The desired AD for regions with three ADs. This parameter is optional.
    // If not set, the AD is chosen based on the database system's current AD.
    Ad *string `mandatory:"false" json:"ad"`
}

func (RestoreDbSystemDetails) String

func (m RestoreDbSystemDetails) String() string

func (RestoreDbSystemDetails) ValidateEnumValue

func (m RestoreDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreDbSystemRequest

RestoreDbSystemRequest wrapper for the RestoreDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/RestoreDbSystem.go.html to see an example of how to use RestoreDbSystemRequest.

type RestoreDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // Database system restore parameters.
    RestoreDbSystemDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (RestoreDbSystemRequest) BinaryRequestBody

func (request RestoreDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RestoreDbSystemRequest) HTTPRequest

func (request RestoreDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RestoreDbSystemRequest) RetryPolicy

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

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

func (RestoreDbSystemRequest) String

func (request RestoreDbSystemRequest) String() string

func (RestoreDbSystemRequest) ValidateEnumValue

func (request RestoreDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreDbSystemResponse

RestoreDbSystemResponse wrapper for the RestoreDbSystem operation

type RestoreDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (RestoreDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RestoreDbSystemResponse) String

func (response RestoreDbSystemResponse) String() string

type ShapeCollection

ShapeCollection The list of shapes that can be used to create a database system.

type ShapeCollection struct {

    // List of supported shapes.
    Items []ShapeSummary `mandatory:"true" json:"items"`
}

func (ShapeCollection) String

func (m ShapeCollection) String() string

func (ShapeCollection) ValidateEnumValue

func (m ShapeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ShapeSummary

ShapeSummary Summary of the database system shape.

type ShapeSummary struct {

    // The name of the Compute VM shape.
    // Example: `VM.Standard.E4.Flex`
    Shape *string `mandatory:"true" json:"shape"`

    // The number of OCPUs.
    OcpuCount *int `mandatory:"true" json:"ocpuCount"`

    // The amount of memory in gigabytes.
    MemorySizeInGBs *int `mandatory:"true" json:"memorySizeInGBs"`

    // A unique identifier for the shape.
    Id *string `mandatory:"false" json:"id"`
}

func (ShapeSummary) String

func (m ShapeSummary) String() string

func (ShapeSummary) ValidateEnumValue

func (m ShapeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SourceDetails

SourceDetails The source used to restore the database system.

type SourceDetails interface {
}

type SourceDetailsSourceTypeEnum

SourceDetailsSourceTypeEnum Enum with underlying type: string

type SourceDetailsSourceTypeEnum string

Set of constants representing the allowable values for SourceDetailsSourceTypeEnum

const (
    SourceDetailsSourceTypeBackup SourceDetailsSourceTypeEnum = "BACKUP"
    SourceDetailsSourceTypeNone   SourceDetailsSourceTypeEnum = "NONE"
)

func GetMappingSourceDetailsSourceTypeEnum

func GetMappingSourceDetailsSourceTypeEnum(val string) (SourceDetailsSourceTypeEnum, bool)

GetMappingSourceDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSourceDetailsSourceTypeEnumValues

func GetSourceDetailsSourceTypeEnumValues() []SourceDetailsSourceTypeEnum

GetSourceDetailsSourceTypeEnumValues Enumerates the set of values for SourceDetailsSourceTypeEnum

type StorageDetails

StorageDetails Storage details of the database system.

type StorageDetails interface {

    // Specifies if the block volume used for the database system is regional or AD-local.
    // If not specified, it will be set to false.
    // If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified.
    // If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified.
    GetIsRegionallyDurable() *bool

    // Specifies the availability domain of AD-local storage.
    // If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified.
    // If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified.
    GetAvailabilityDomain() *string
}

type UpdateBackupDetails

UpdateBackupDetails The backup information to be updated.

type UpdateBackupDetails struct {

    // A user-friendly display name for the backup. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A description for the backup.
    Description *string `mandatory:"false" json:"description"`

    // Backup retention period in days.
    RetentionPeriod *int `mandatory:"false" json:"retentionPeriod"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateBackupDetails) String

func (m UpdateBackupDetails) String() string

func (UpdateBackupDetails) ValidateEnumValue

func (m UpdateBackupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackupRequest

UpdateBackupRequest wrapper for the UpdateBackup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateBackup.go.html to see an example of how to use UpdateBackupRequest.

type UpdateBackupRequest struct {

    // A unique identifier for the backup.
    BackupId *string `mandatory:"true" contributesTo:"path" name:"backupId"`

    // The information to be updated.
    UpdateBackupDetails `contributesTo:"body"`

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

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

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

func (UpdateBackupRequest) BinaryRequestBody

func (request UpdateBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBackupRequest) HTTPRequest

func (request UpdateBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBackupRequest) RetryPolicy

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

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

func (UpdateBackupRequest) String

func (request UpdateBackupRequest) String() string

func (UpdateBackupRequest) ValidateEnumValue

func (request UpdateBackupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackupResponse

UpdateBackupResponse wrapper for the UpdateBackup operation

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

func (UpdateBackupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBackupResponse) String

func (response UpdateBackupResponse) String() string

type UpdateConfigurationDetails

UpdateConfigurationDetails The information to update a configuration.

type UpdateConfigurationDetails struct {

    // A user-friendly display name for the configuration. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Details about the configuration set.
    Description *string `mandatory:"false" json:"description"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateConfigurationDetails) String

func (m UpdateConfigurationDetails) String() string

func (UpdateConfigurationDetails) ValidateEnumValue

func (m UpdateConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationRequest

UpdateConfigurationRequest wrapper for the UpdateConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.

type UpdateConfigurationRequest struct {

    // A unique identifier for the configuration.
    ConfigurationId *string `mandatory:"true" contributesTo:"path" name:"configurationId"`

    // Details for updating display name or description for a configuration.
    UpdateConfigurationDetails `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, `retrytoken` could be expired or invalidated.
    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"`

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

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

func (UpdateConfigurationRequest) BinaryRequestBody

func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConfigurationRequest) HTTPRequest

func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConfigurationRequest) RetryPolicy

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

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

func (UpdateConfigurationRequest) String

func (request UpdateConfigurationRequest) String() string

func (UpdateConfigurationRequest) ValidateEnumValue

func (request UpdateConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationResponse

UpdateConfigurationResponse wrapper for the UpdateConfiguration operation

type UpdateConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateConfigurationResponse) String

func (response UpdateConfigurationResponse) String() string

type UpdateDbConfigParams

UpdateDbConfigParams Configuration for the PostgreSQL database instance.

type UpdateDbConfigParams struct {

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

    // Whether a configuration update requires a restart of the database instance or a reload of the configuration.
    // Some configuration changes require a restart of database instances to be applied.
    ApplyConfig UpdateDbConfigParamsApplyConfigEnum `mandatory:"false" json:"applyConfig,omitempty"`
}

func (UpdateDbConfigParams) String

func (m UpdateDbConfigParams) String() string

func (UpdateDbConfigParams) ValidateEnumValue

func (m UpdateDbConfigParams) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDbConfigParamsApplyConfigEnum

UpdateDbConfigParamsApplyConfigEnum Enum with underlying type: string

type UpdateDbConfigParamsApplyConfigEnum string

Set of constants representing the allowable values for UpdateDbConfigParamsApplyConfigEnum

const (
    UpdateDbConfigParamsApplyConfigRestart UpdateDbConfigParamsApplyConfigEnum = "RESTART"
    UpdateDbConfigParamsApplyConfigReload  UpdateDbConfigParamsApplyConfigEnum = "RELOAD"
)

func GetMappingUpdateDbConfigParamsApplyConfigEnum

func GetMappingUpdateDbConfigParamsApplyConfigEnum(val string) (UpdateDbConfigParamsApplyConfigEnum, bool)

GetMappingUpdateDbConfigParamsApplyConfigEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateDbConfigParamsApplyConfigEnumValues

func GetUpdateDbConfigParamsApplyConfigEnumValues() []UpdateDbConfigParamsApplyConfigEnum

GetUpdateDbConfigParamsApplyConfigEnumValues Enumerates the set of values for UpdateDbConfigParamsApplyConfigEnum

type UpdateDbSystemDbInstanceDetails

UpdateDbSystemDbInstanceDetails Database instance node update parameters.

type UpdateDbSystemDbInstanceDetails struct {

    // A user-friendly display name of the database instance node. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A user-provided description of the database instance node.
    Description *string `mandatory:"false" json:"description"`
}

func (UpdateDbSystemDbInstanceDetails) String

func (m UpdateDbSystemDbInstanceDetails) String() string

func (UpdateDbSystemDbInstanceDetails) ValidateEnumValue

func (m UpdateDbSystemDbInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDbSystemDbInstanceRequest

UpdateDbSystemDbInstanceRequest wrapper for the UpdateDbSystemDbInstance operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateDbSystemDbInstance.go.html to see an example of how to use UpdateDbSystemDbInstanceRequest.

type UpdateDbSystemDbInstanceRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // A unique identifier for the database instance node.
    DbInstanceId *string `mandatory:"true" contributesTo:"path" name:"dbInstanceId"`

    // Database instance node update parameters.
    UpdateDbSystemDbInstanceDetails `contributesTo:"body"`

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

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

    // 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, `retrytoken` could be expired or invalidated.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (UpdateDbSystemDbInstanceRequest) BinaryRequestBody

func (request UpdateDbSystemDbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDbSystemDbInstanceRequest) HTTPRequest

func (request UpdateDbSystemDbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDbSystemDbInstanceRequest) RetryPolicy

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

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

func (UpdateDbSystemDbInstanceRequest) String

func (request UpdateDbSystemDbInstanceRequest) String() string

func (UpdateDbSystemDbInstanceRequest) ValidateEnumValue

func (request UpdateDbSystemDbInstanceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDbSystemDbInstanceResponse

UpdateDbSystemDbInstanceResponse wrapper for the UpdateDbSystemDbInstance operation

type UpdateDbSystemDbInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdateDbSystemDbInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDbSystemDbInstanceResponse) String

func (response UpdateDbSystemDbInstanceResponse) String() string

type UpdateDbSystemDetails

UpdateDbSystemDetails The information to be updated.

type UpdateDbSystemDetails struct {

    // A user-friendly display name for the database system. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A user-provided description of the database system.
    Description *string `mandatory:"false" json:"description"`

    DbConfigurationParams *UpdateDbConfigParams `mandatory:"false" json:"dbConfigurationParams"`

    ManagementPolicy *ManagementPolicyDetails `mandatory:"false" json:"managementPolicy"`

    StorageDetails *UpdateStorageDetailsParams `mandatory:"false" json:"storageDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateDbSystemDetails) String

func (m UpdateDbSystemDetails) String() string

func (UpdateDbSystemDetails) ValidateEnumValue

func (m UpdateDbSystemDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDbSystemRequest

UpdateDbSystemRequest wrapper for the UpdateDbSystem operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/psql/UpdateDbSystem.go.html to see an example of how to use UpdateDbSystemRequest.

type UpdateDbSystemRequest struct {

    // A unique identifier for the database system.
    DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`

    // The information to be updated.
    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"`

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

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

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

func (UpdateDbSystemRequest) BinaryRequestBody

func (request UpdateDbSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDbSystemRequest) HTTPRequest

func (request UpdateDbSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDbSystemRequest) RetryPolicy

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

func (UpdateDbSystemRequest) ValidateEnumValue

func (request UpdateDbSystemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDbSystemResponse

UpdateDbSystemResponse wrapper for the UpdateDbSystem operation

type UpdateDbSystemResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdateDbSystemResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDbSystemResponse) String

func (response UpdateDbSystemResponse) String() string

type UpdateStorageDetailsParams

UpdateStorageDetailsParams Storage details of the database system.

type UpdateStorageDetailsParams struct {

    // Guaranteed input/output storage requests per second (IOPS) available to the database system.
    // Only valid for `OCI_OPTIMIZED_STORAGE` database system type.
    Iops *int64 `mandatory:"false" json:"iops"`
}

func (UpdateStorageDetailsParams) String

func (m UpdateStorageDetailsParams) String() string

func (UpdateStorageDetailsParams) ValidateEnumValue

func (m UpdateStorageDetailsParams) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VaultSecretPasswordDetails

VaultSecretPasswordDetails Secret details for the database system password.

type VaultSecretPasswordDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret where the password is stored.
    SecretId *string `mandatory:"true" json:"secretId"`

    // The secret version of the stored password.
    SecretVersion *string `mandatory:"true" json:"secretVersion"`
}

func (VaultSecretPasswordDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (VaultSecretPasswordDetails) String

func (m VaultSecretPasswordDetails) String() string

func (VaultSecretPasswordDetails) ValidateEnumValue

func (m VaultSecretPasswordDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WeeklyBackupPolicy

WeeklyBackupPolicy Weekly backup policy.

type WeeklyBackupPolicy struct {

    // Hour of the day when the backup starts.
    BackupStart *string `mandatory:"true" json:"backupStart"`

    // How many days the data should be stored after the database system deletion.
    RetentionDays *int `mandatory:"false" json:"retentionDays"`

    // The day of the week that the backup starts.
    DaysOfTheWeek []WeeklyBackupPolicyDaysOfTheWeekEnum `mandatory:"true" json:"daysOfTheWeek"`
}

func (WeeklyBackupPolicy) GetRetentionDays

func (m WeeklyBackupPolicy) GetRetentionDays() *int

GetRetentionDays returns RetentionDays

func (WeeklyBackupPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (WeeklyBackupPolicy) String

func (m WeeklyBackupPolicy) String() string

func (WeeklyBackupPolicy) ValidateEnumValue

func (m WeeklyBackupPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WeeklyBackupPolicyDaysOfTheWeekEnum

WeeklyBackupPolicyDaysOfTheWeekEnum Enum with underlying type: string

type WeeklyBackupPolicyDaysOfTheWeekEnum string

Set of constants representing the allowable values for WeeklyBackupPolicyDaysOfTheWeekEnum

const (
    WeeklyBackupPolicyDaysOfTheWeekSunday    WeeklyBackupPolicyDaysOfTheWeekEnum = "SUNDAY"
    WeeklyBackupPolicyDaysOfTheWeekMonday    WeeklyBackupPolicyDaysOfTheWeekEnum = "MONDAY"
    WeeklyBackupPolicyDaysOfTheWeekTuesday   WeeklyBackupPolicyDaysOfTheWeekEnum = "TUESDAY"
    WeeklyBackupPolicyDaysOfTheWeekWednesday WeeklyBackupPolicyDaysOfTheWeekEnum = "WEDNESDAY"
    WeeklyBackupPolicyDaysOfTheWeekThursday  WeeklyBackupPolicyDaysOfTheWeekEnum = "THURSDAY"
    WeeklyBackupPolicyDaysOfTheWeekFriday    WeeklyBackupPolicyDaysOfTheWeekEnum = "FRIDAY"
    WeeklyBackupPolicyDaysOfTheWeekSaturday  WeeklyBackupPolicyDaysOfTheWeekEnum = "SATURDAY"
)

func GetMappingWeeklyBackupPolicyDaysOfTheWeekEnum

func GetMappingWeeklyBackupPolicyDaysOfTheWeekEnum(val string) (WeeklyBackupPolicyDaysOfTheWeekEnum, bool)

GetMappingWeeklyBackupPolicyDaysOfTheWeekEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWeeklyBackupPolicyDaysOfTheWeekEnumValues

func GetWeeklyBackupPolicyDaysOfTheWeekEnumValues() []WeeklyBackupPolicyDaysOfTheWeekEnum

GetWeeklyBackupPolicyDaysOfTheWeekEnumValues Enumerates the set of values for WeeklyBackupPolicyDaysOfTheWeekEnum

type WorkRequest

WorkRequest An asynchronous work request.

type WorkRequest struct {

    // Type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the request was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) for the error that occured.
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

    // The resource type that the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // Additional information that helps to explain the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // Type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the request was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of work requests.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly