func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAutoResourceManagementConfigurationDetailsActionTypeEnumStringValues() []string
GetAutoResourceManagementConfigurationDetailsActionTypeEnumStringValues Enumerates the set of values in String for AutoResourceManagementConfigurationDetailsActionTypeEnum
func GetAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnumStringValues() []string
GetAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnumStringValues Enumerates the set of values in String for AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum
func GetAutoResourceManagementConfigurationDetailsModeEnumStringValues() []string
GetAutoResourceManagementConfigurationDetailsModeEnumStringValues Enumerates the set of values in String for AutoResourceManagementConfigurationDetailsModeEnum
func GetAutonomousCompositeShardSpaceRaftClusterRuModeEnumStringValues() []string
GetAutonomousCompositeShardSpaceRaftClusterRuModeEnumStringValues Enumerates the set of values in String for AutonomousCompositeShardSpaceRaftClusterRuModeEnum
func GetAutonomousSystemRaftClusterRuModeEnumStringValues() []string
GetAutonomousSystemRaftClusterRuModeEnumStringValues Enumerates the set of values in String for AutonomousSystemRaftClusterRuModeEnum
func GetCompositeShardSpaceRaftClusterRuModeEnumStringValues() []string
GetCompositeShardSpaceRaftClusterRuModeEnumStringValues Enumerates the set of values in String for CompositeShardSpaceRaftClusterRuModeEnum
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues() []string
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues Enumerates the set of values in String for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues() []string
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues Enumerates the set of values in String for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumStringValues() []string
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumStringValues Enumerates the set of values in String for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues() []string
GetConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues Enumerates the set of values in String for ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues() []string
GetConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues Enumerates the set of values in String for ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnumStringValues() []string
GetConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnumStringValues Enumerates the set of values in String for ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum
func GetCreateAutonomousCatalogDatabaseDetailsSourceEnumStringValues() []string
GetCreateAutonomousCatalogDatabaseDetailsSourceEnumStringValues Enumerates the set of values in String for CreateAutonomousCatalogDatabaseDetailsSourceEnum
func GetCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnumStringValues() []string
GetCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnumStringValues Enumerates the set of values in String for CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum
func GetCreateAutonomousSystemRaftClusterDetailsRuModeEnumStringValues() []string
GetCreateAutonomousSystemRaftClusterDetailsRuModeEnumStringValues Enumerates the set of values in String for CreateAutonomousSystemRaftClusterDetailsRuModeEnum
func GetCreateCompositeShardSpaceRaftClusterDetailsRuModeEnumStringValues() []string
GetCreateCompositeShardSpaceRaftClusterDetailsRuModeEnumStringValues Enumerates the set of values in String for CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum
func GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum
func GetCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum
func GetCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnumStringValues() []string
GetCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum
func GetCreateDistributedDatabaseShardDatabaseDetailsSourceEnumStringValues() []string
GetCreateDistributedDatabaseShardDatabaseDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseShardDatabaseDetailsSourceEnum
func GetCreateSystemRaftClusterDetailsRuModeEnumStringValues() []string
GetCreateSystemRaftClusterDetailsRuModeEnumStringValues Enumerates the set of values in String for CreateSystemRaftClusterDetailsRuModeEnum
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues() []string
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues() []string
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumStringValues() []string
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
func GetDistributedAutonomousDatabaseCatalogDatabaseSourceEnumStringValues() []string
GetDistributedAutonomousDatabaseCatalogDatabaseSourceEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseCatalogDatabaseSourceEnum
func GetDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnumStringValues() []string
GetDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum
func GetDistributedAutonomousDatabaseDbDeploymentTypeEnumStringValues() []string
GetDistributedAutonomousDatabaseDbDeploymentTypeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseDbDeploymentTypeEnum
func GetDistributedAutonomousDatabaseDbWorkloadTypeEnumStringValues() []string
GetDistributedAutonomousDatabaseDbWorkloadTypeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseDbWorkloadTypeEnum
func GetDistributedAutonomousDatabaseGsmStatusEnumStringValues() []string
GetDistributedAutonomousDatabaseGsmStatusEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseGsmStatusEnum
func GetDistributedAutonomousDatabaseLifecycleStateEnumStringValues() []string
GetDistributedAutonomousDatabaseLifecycleStateEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseLifecycleStateEnum
func GetDistributedAutonomousDatabaseReplicationMethodEnumStringValues() []string
GetDistributedAutonomousDatabaseReplicationMethodEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseReplicationMethodEnum
func GetDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnumStringValues() []string
GetDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum
func GetDistributedAutonomousDatabaseShardDatabaseSourceEnumStringValues() []string
GetDistributedAutonomousDatabaseShardDatabaseSourceEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseShardDatabaseSourceEnum
func GetDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnumStringValues() []string
GetDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum
func GetDistributedAutonomousDatabaseShardingMethodEnumStringValues() []string
GetDistributedAutonomousDatabaseShardingMethodEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseShardingMethodEnum
func GetDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnumStringValues() []string
GetDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum
func GetDistributedAutonomousDatabaseSummaryReplicationMethodEnumStringValues() []string
GetDistributedAutonomousDatabaseSummaryReplicationMethodEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseSummaryReplicationMethodEnum
func GetDistributedAutonomousDatabaseSummaryShardingMethodEnumStringValues() []string
GetDistributedAutonomousDatabaseSummaryShardingMethodEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseSummaryShardingMethodEnum
func GetDistributedAutonomousDbBackupDestinationTypeEnumStringValues() []string
GetDistributedAutonomousDbBackupDestinationTypeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDbBackupDestinationTypeEnum
func GetDistributedAutonomousDbProtectionModeEnumStringValues() []string
GetDistributedAutonomousDbProtectionModeEnumStringValues Enumerates the set of values in String for DistributedAutonomousDbProtectionModeEnum
func GetDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues() []string
GetDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumStringValues Enumerates the set of values in String for DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues() []string
GetDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumStringValues Enumerates the set of values in String for DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetDistributedDatabaseAutoResourceManagementDetailsModeEnumStringValues() []string
GetDistributedDatabaseAutoResourceManagementDetailsModeEnumStringValues Enumerates the set of values in String for DistributedDatabaseAutoResourceManagementDetailsModeEnum
func GetDistributedDatabaseCatalogDatabaseSourceEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseSourceEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseSourceEnum
func GetDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum
func GetDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum
func GetDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum
func GetDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum
func GetDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnumStringValues() []string
GetDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum
func GetDistributedDatabaseDbDeploymentTypeEnumStringValues() []string
GetDistributedDatabaseDbDeploymentTypeEnumStringValues Enumerates the set of values in String for DistributedDatabaseDbDeploymentTypeEnum
func GetDistributedDatabaseGsmStatusEnumStringValues() []string
GetDistributedDatabaseGsmStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseGsmStatusEnum
func GetDistributedDatabaseLifecycleStateEnumStringValues() []string
GetDistributedDatabaseLifecycleStateEnumStringValues Enumerates the set of values in String for DistributedDatabaseLifecycleStateEnum
func GetDistributedDatabasePrivateEndpointLifecycleStateEnumStringValues() []string
GetDistributedDatabasePrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for DistributedDatabasePrivateEndpointLifecycleStateEnum
func GetDistributedDatabaseReplicationMethodEnumStringValues() []string
GetDistributedDatabaseReplicationMethodEnumStringValues Enumerates the set of values in String for DistributedDatabaseReplicationMethodEnum
func GetDistributedDatabaseRuChangeLogSummaryStatusEnumStringValues() []string
GetDistributedDatabaseRuChangeLogSummaryStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseRuChangeLogSummaryStatusEnum
func GetDistributedDatabaseShardDatabaseSourceEnumStringValues() []string
GetDistributedDatabaseShardDatabaseSourceEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseSourceEnum
func GetDistributedDatabaseShardDatabaseWithDbHomeStatusEnumStringValues() []string
GetDistributedDatabaseShardDatabaseWithDbHomeStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseWithDbHomeStatusEnum
func GetDistributedDatabaseShardDatabaseWithExadbXdStatusEnumStringValues() []string
GetDistributedDatabaseShardDatabaseWithExadbXdStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseWithExadbXdStatusEnum
func GetDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnumStringValues() []string
GetDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum
func GetDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnumStringValues() []string
GetDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum
func GetDistributedDatabaseShardDatabaseWithExadbXsStatusEnumStringValues() []string
GetDistributedDatabaseShardDatabaseWithExadbXsStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardDatabaseWithExadbXsStatusEnum
func GetDistributedDatabaseShardingMethodEnumStringValues() []string
GetDistributedDatabaseShardingMethodEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardingMethodEnum
func GetDistributedDatabaseSummaryDbDeploymentTypeEnumStringValues() []string
GetDistributedDatabaseSummaryDbDeploymentTypeEnumStringValues Enumerates the set of values in String for DistributedDatabaseSummaryDbDeploymentTypeEnum
func GetDistributedDatabaseSummaryReplicationMethodEnumStringValues() []string
GetDistributedDatabaseSummaryReplicationMethodEnumStringValues Enumerates the set of values in String for DistributedDatabaseSummaryReplicationMethodEnum
func GetDistributedDatabaseSummaryShardingMethodEnumStringValues() []string
GetDistributedDatabaseSummaryShardingMethodEnumStringValues Enumerates the set of values in String for DistributedDatabaseSummaryShardingMethodEnum
func GetDistributedDbBackupConfigAutoBackupWindowEnumStringValues() []string
GetDistributedDbBackupConfigAutoBackupWindowEnumStringValues Enumerates the set of values in String for DistributedDbBackupConfigAutoBackupWindowEnum
func GetDistributedDbBackupConfigAutoFullBackupDayEnumStringValues() []string
GetDistributedDbBackupConfigAutoFullBackupDayEnumStringValues Enumerates the set of values in String for DistributedDbBackupConfigAutoFullBackupDayEnum
func GetDistributedDbBackupConfigAutoFullBackupWindowEnumStringValues() []string
GetDistributedDbBackupConfigAutoFullBackupWindowEnumStringValues Enumerates the set of values in String for DistributedDbBackupConfigAutoFullBackupWindowEnum
func GetDistributedDbBackupConfigBackupDeletionPolicyEnumStringValues() []string
GetDistributedDbBackupConfigBackupDeletionPolicyEnumStringValues Enumerates the set of values in String for DistributedDbBackupConfigBackupDeletionPolicyEnum
func GetDistributedDbBackupDestinationTypeEnumStringValues() []string
GetDistributedDbBackupDestinationTypeEnumStringValues Enumerates the set of values in String for DistributedDbBackupDestinationTypeEnum
func GetDistributedDbProtectionModeEnumStringValues() []string
GetDistributedDbProtectionModeEnumStringValues Enumerates the set of values in String for DistributedDbProtectionModeEnum
func GetDistributedDbTransportTypeEnumStringValues() []string
GetDistributedDbTransportTypeEnumStringValues Enumerates the set of values in String for DistributedDbTransportTypeEnum
func GetDistributedDbVmClusterLicenseModelEnumStringValues() []string
GetDistributedDbVmClusterLicenseModelEnumStringValues Enumerates the set of values in String for DistributedDbVmClusterLicenseModelEnum
func GetListDistributedAutonomousDatabasesSortByEnumStringValues() []string
GetListDistributedAutonomousDatabasesSortByEnumStringValues Enumerates the set of values in String for ListDistributedAutonomousDatabasesSortByEnum
func GetListDistributedAutonomousDatabasesSortOrderEnumStringValues() []string
GetListDistributedAutonomousDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListDistributedAutonomousDatabasesSortOrderEnum
func GetListDistributedDatabasePrivateEndpointsSortByEnumStringValues() []string
GetListDistributedDatabasePrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListDistributedDatabasePrivateEndpointsSortByEnum
func GetListDistributedDatabasePrivateEndpointsSortOrderEnumStringValues() []string
GetListDistributedDatabasePrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListDistributedDatabasePrivateEndpointsSortOrderEnum
func GetListDistributedDatabasesSortByEnumStringValues() []string
GetListDistributedDatabasesSortByEnumStringValues Enumerates the set of values in String for ListDistributedDatabasesSortByEnum
func GetListDistributedDatabasesSortOrderEnumStringValues() []string
GetListDistributedDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListDistributedDatabasesSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPatchInstructionOperationEnumStringValues() []string
GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSystemRaftClusterRuModeEnumStringValues() []string
GetSystemRaftClusterRuModeEnumStringValues Enumerates the set of values in String for SystemRaftClusterRuModeEnum
func GetVmClusterDetailsLicenseModelEnumStringValues() []string
GetVmClusterDetailsLicenseModelEnumStringValues Enumerates the set of values in String for VmClusterDetailsLicenseModelEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
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() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddDistributedAutonomousDatabaseGdsControlNodeDetails Details required to create a new Global database services control(GDS CTL) compute node.
type AddDistributedAutonomousDatabaseGdsControlNodeDetails struct {
// The public sshKey for Global database services control(GDS CTL) node.
PublicSshKey *string `mandatory:"true" json:"publicSshKey"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet on which the Global database services control(GDS CTL) node should be created.
SubnetId *string `mandatory:"false" json:"subnetId"`
}
func (m AddDistributedAutonomousDatabaseGdsControlNodeDetails) String() string
func (m AddDistributedAutonomousDatabaseGdsControlNodeDetails) 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
AddDistributedAutonomousDatabaseGdsControlNodeRequest wrapper for the AddDistributedAutonomousDatabaseGdsControlNode operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/AddDistributedAutonomousDatabaseGdsControlNode.go.html to see an example of how to use AddDistributedAutonomousDatabaseGdsControlNodeRequest.
type AddDistributedAutonomousDatabaseGdsControlNodeRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Details required to provision the new Global database services control(GDS CTL) node for the Distributed autonomous database.
AddDistributedAutonomousDatabaseGdsControlNodeDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDistributedAutonomousDatabaseGdsControlNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDistributedAutonomousDatabaseGdsControlNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDistributedAutonomousDatabaseGdsControlNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDistributedAutonomousDatabaseGdsControlNodeRequest) String() string
func (request AddDistributedAutonomousDatabaseGdsControlNodeRequest) 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
AddDistributedAutonomousDatabaseGdsControlNodeResponse wrapper for the AddDistributedAutonomousDatabaseGdsControlNode operation
type AddDistributedAutonomousDatabaseGdsControlNodeResponse 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 (response AddDistributedAutonomousDatabaseGdsControlNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDistributedAutonomousDatabaseGdsControlNodeResponse) String() string
AddDistributedDatabaseGdsControlNodeDetails Details required to create a new Global database services control(GDS CTL) compute node.
type AddDistributedDatabaseGdsControlNodeDetails struct {
// The public sshKey for Global database services control(GDS CTL) node.
PublicSshKey *string `mandatory:"true" json:"publicSshKey"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet on which the Global database services control(GDS CTL) node should be created.
SubnetId *string `mandatory:"false" json:"subnetId"`
}
func (m AddDistributedDatabaseGdsControlNodeDetails) String() string
func (m AddDistributedDatabaseGdsControlNodeDetails) 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
AddDistributedDatabaseGdsControlNodeRequest wrapper for the AddDistributedDatabaseGdsControlNode operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/AddDistributedDatabaseGdsControlNode.go.html to see an example of how to use AddDistributedDatabaseGdsControlNodeRequest.
type AddDistributedDatabaseGdsControlNodeRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Details required to provision the new Global database services control(GDS CTL) node for the Distributed database.
AddDistributedDatabaseGdsControlNodeDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request AddDistributedDatabaseGdsControlNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDistributedDatabaseGdsControlNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDistributedDatabaseGdsControlNodeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDistributedDatabaseGdsControlNodeRequest) String() string
func (request AddDistributedDatabaseGdsControlNodeRequest) 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
AddDistributedDatabaseGdsControlNodeResponse wrapper for the AddDistributedDatabaseGdsControlNode operation
type AddDistributedDatabaseGdsControlNodeResponse 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 (response AddDistributedDatabaseGdsControlNodeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDistributedDatabaseGdsControlNodeResponse) String() string
AutoResourceManagementConfigurationDetails Automatic resource management configuration details for the Globally distributed database.
type AutoResourceManagementConfigurationDetails struct {
// Flag indicating if autoResourceManagement is enabled or disabled.
IsEnabled *bool `mandatory:"true" json:"isEnabled"`
// Time period to wait for the database to get stable after autoResourceManagement event.
CoolOffPeriodInMinutes *int `mandatory:"false" json:"coolOffPeriodInMinutes"`
// Maximum number of move replication unit attempts allowed within the configured period per database.
MaxMoveRuAttempts *int `mandatory:"false" json:"maxMoveRuAttempts"`
// Time unit applicable to maxMoveRuAttempts.
MaxMoveRuUnit AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum `mandatory:"false" json:"maxMoveRuUnit,omitempty"`
// Mode of autoResourceManagement execution.
Mode AutoResourceManagementConfigurationDetailsModeEnum `mandatory:"false" json:"mode,omitempty"`
// The action that will be taken when autoResourceManagement is triggered.
ActionType AutoResourceManagementConfigurationDetailsActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`
// The list of notification topic ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to receive autoResourceManagement events.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The list of stream ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that receive shard-related telemetry.
StreamIds []string `mandatory:"false" json:"streamIds"`
}
func (m AutoResourceManagementConfigurationDetails) String() string
func (m AutoResourceManagementConfigurationDetails) 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
AutoResourceManagementConfigurationDetailsActionTypeEnum Enum with underlying type: string
type AutoResourceManagementConfigurationDetailsActionTypeEnum string
Set of constants representing the allowable values for AutoResourceManagementConfigurationDetailsActionTypeEnum
const (
AutoResourceManagementConfigurationDetailsActionTypeMove AutoResourceManagementConfigurationDetailsActionTypeEnum = "MOVE"
)
func GetAutoResourceManagementConfigurationDetailsActionTypeEnumValues() []AutoResourceManagementConfigurationDetailsActionTypeEnum
GetAutoResourceManagementConfigurationDetailsActionTypeEnumValues Enumerates the set of values for AutoResourceManagementConfigurationDetailsActionTypeEnum
func GetMappingAutoResourceManagementConfigurationDetailsActionTypeEnum(val string) (AutoResourceManagementConfigurationDetailsActionTypeEnum, bool)
GetMappingAutoResourceManagementConfigurationDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum Enum with underlying type: string
type AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum string
Set of constants representing the allowable values for AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum
const (
AutoResourceManagementConfigurationDetailsMaxMoveRuUnitHour AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum = "HOUR"
AutoResourceManagementConfigurationDetailsMaxMoveRuUnitDay AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum = "DAY"
)
func GetAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnumValues() []AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum
GetAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnumValues Enumerates the set of values for AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum
func GetMappingAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum(val string) (AutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum, bool)
GetMappingAutoResourceManagementConfigurationDetailsMaxMoveRuUnitEnum performs case Insensitive comparison on enum value and return the desired enum
AutoResourceManagementConfigurationDetailsModeEnum Enum with underlying type: string
type AutoResourceManagementConfigurationDetailsModeEnum string
Set of constants representing the allowable values for AutoResourceManagementConfigurationDetailsModeEnum
const (
AutoResourceManagementConfigurationDetailsModeAutomatic AutoResourceManagementConfigurationDetailsModeEnum = "AUTOMATIC"
AutoResourceManagementConfigurationDetailsModeRecommendation AutoResourceManagementConfigurationDetailsModeEnum = "RECOMMENDATION"
)
func GetAutoResourceManagementConfigurationDetailsModeEnumValues() []AutoResourceManagementConfigurationDetailsModeEnum
GetAutoResourceManagementConfigurationDetailsModeEnumValues Enumerates the set of values for AutoResourceManagementConfigurationDetailsModeEnum
func GetMappingAutoResourceManagementConfigurationDetailsModeEnum(val string) (AutoResourceManagementConfigurationDetailsModeEnum, bool)
GetMappingAutoResourceManagementConfigurationDetailsModeEnum performs case Insensitive comparison on enum value and return the desired enum
AutonomousCompositeDataGuardShardSpace Composite data guard shard space details for a Globally distributed autonomous database.
type AutonomousCompositeDataGuardShardSpace struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
OriginalReplica *AutonomousCompositeDataGuardShardSpaceReplica `mandatory:"true" json:"originalReplica"`
// The details of data guard replica associated with the shard.
DataGuardReplicas []AutonomousCompositeDataGuardShardSpaceReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m AutonomousCompositeDataGuardShardSpace) String() string
func (m AutonomousCompositeDataGuardShardSpace) 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
AutonomousCompositeDataGuardShardSpaceReplica Globally distributed database composite data guard replica details.
type AutonomousCompositeDataGuardShardSpaceReplica struct {
// The name of shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// The details of composite data guard shard space replica databases.
Databases []DistributedAutonomousDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m AutonomousCompositeDataGuardShardSpaceReplica) String() string
func (m *AutonomousCompositeDataGuardShardSpaceReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousCompositeDataGuardShardSpaceReplica) 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
AutonomousCompositeRaftShardSpace Composite raft shard space details for a Globally distributed autonomous database.
type AutonomousCompositeRaftShardSpace struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
// Number of replication units in the shard space.
ReplicationUnitCount *int `mandatory:"true" json:"replicationUnitCount"`
// The details of raft clusters associated with the shard space.
RaftClusters []AutonomousCompositeShardSpaceRaftCluster `mandatory:"true" json:"raftClusters"`
}
func (m AutonomousCompositeRaftShardSpace) String() string
func (m AutonomousCompositeRaftShardSpace) 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
AutonomousCompositeShardSpaceRaftCluster Raft cluster details for composite shard spaces.
type AutonomousCompositeShardSpaceRaftCluster struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode AutonomousCompositeShardSpaceRaftClusterRuModeEnum `mandatory:"true" json:"ruMode"`
// The details of databases associated with the composite shard space raft cluster.
Databases []DistributedAutonomousDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m AutonomousCompositeShardSpaceRaftCluster) String() string
func (m *AutonomousCompositeShardSpaceRaftCluster) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousCompositeShardSpaceRaftCluster) 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
AutonomousCompositeShardSpaceRaftClusterRuModeEnum Enum with underlying type: string
type AutonomousCompositeShardSpaceRaftClusterRuModeEnum string
Set of constants representing the allowable values for AutonomousCompositeShardSpaceRaftClusterRuModeEnum
const (
AutonomousCompositeShardSpaceRaftClusterRuModeOnly AutonomousCompositeShardSpaceRaftClusterRuModeEnum = "READ_ONLY"
AutonomousCompositeShardSpaceRaftClusterRuModeWrite AutonomousCompositeShardSpaceRaftClusterRuModeEnum = "READ_WRITE"
)
func GetAutonomousCompositeShardSpaceRaftClusterRuModeEnumValues() []AutonomousCompositeShardSpaceRaftClusterRuModeEnum
GetAutonomousCompositeShardSpaceRaftClusterRuModeEnumValues Enumerates the set of values for AutonomousCompositeShardSpaceRaftClusterRuModeEnum
func GetMappingAutonomousCompositeShardSpaceRaftClusterRuModeEnum(val string) (AutonomousCompositeShardSpaceRaftClusterRuModeEnum, bool)
GetMappingAutonomousCompositeShardSpaceRaftClusterRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
AutonomousSystemDataGuardDatabase System data guard shard database details.
type AutonomousSystemDataGuardDatabase struct {
OriginalReplica *AutonomousSystemDataGuardReplica `mandatory:"true" json:"originalReplica"`
// The system data guard replica details.
DataGuardReplicas []AutonomousSystemDataGuardReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m AutonomousSystemDataGuardDatabase) String() string
func (m AutonomousSystemDataGuardDatabase) 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
AutonomousSystemDataGuardReplica System data guard replica details.
type AutonomousSystemDataGuardReplica struct {
// The name of data guard replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Details of the databases associated with the system data guard replica.
Databases []DistributedAutonomousDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m AutonomousSystemDataGuardReplica) String() string
func (m *AutonomousSystemDataGuardReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousSystemDataGuardReplica) 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
AutonomousSystemRaftCluster Details required to create system raft cluster.
type AutonomousSystemRaftCluster struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode AutonomousSystemRaftClusterRuModeEnum `mandatory:"true" json:"ruMode"`
// Details of the databases associated with the system raft cluster.
Databases []DistributedAutonomousDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m AutonomousSystemRaftCluster) String() string
func (m *AutonomousSystemRaftCluster) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousSystemRaftCluster) 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
AutonomousSystemRaftClusterRuModeEnum Enum with underlying type: string
type AutonomousSystemRaftClusterRuModeEnum string
Set of constants representing the allowable values for AutonomousSystemRaftClusterRuModeEnum
const (
AutonomousSystemRaftClusterRuModeOnly AutonomousSystemRaftClusterRuModeEnum = "READ_ONLY"
AutonomousSystemRaftClusterRuModeWrite AutonomousSystemRaftClusterRuModeEnum = "READ_WRITE"
)
func GetAutonomousSystemRaftClusterRuModeEnumValues() []AutonomousSystemRaftClusterRuModeEnum
GetAutonomousSystemRaftClusterRuModeEnumValues Enumerates the set of values for AutonomousSystemRaftClusterRuModeEnum
func GetMappingAutonomousSystemRaftClusterRuModeEnum(val string) (AutonomousSystemRaftClusterRuModeEnum, bool)
GetMappingAutonomousSystemRaftClusterRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
AutonomousUserShardSpace Distributed autonomous database user shard space details.
type AutonomousUserShardSpace struct {
// The name of the user shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
OriginalReplica *AutonomousUserShardSpaceReplica `mandatory:"true" json:"originalReplica"`
// Details of data guard replicas for the user shard space.
DataGuardReplicas []AutonomousUserShardSpaceReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m AutonomousUserShardSpace) String() string
func (m AutonomousUserShardSpace) 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
AutonomousUserShardSpaceReplica User shard space replica details.
type AutonomousUserShardSpaceReplica struct {
// The name of the user shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database DistributedAutonomousDatabaseShardDatabase `mandatory:"true" json:"database"`
}
func (m AutonomousUserShardSpaceReplica) String() string
func (m *AutonomousUserShardSpaceReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousUserShardSpaceReplica) 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
ChangeDistributedAutonomousDatabaseCompartmentDetails The configuration details for moving the resource for Globally distributed autonomous database to other compartment.
type ChangeDistributedAutonomousDatabaseCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the resource to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDistributedAutonomousDatabaseCompartmentDetails) String() string
func (m ChangeDistributedAutonomousDatabaseCompartmentDetails) 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
ChangeDistributedAutonomousDatabaseCompartmentRequest wrapper for the ChangeDistributedAutonomousDatabaseCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedAutonomousDatabaseCompartment.go.html to see an example of how to use ChangeDistributedAutonomousDatabaseCompartmentRequest.
type ChangeDistributedAutonomousDatabaseCompartmentRequest struct {
// Request to move the Globally distributed autonomous database to a different compartment.
ChangeDistributedAutonomousDatabaseCompartmentDetails `contributesTo:"body"`
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeDistributedAutonomousDatabaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDistributedAutonomousDatabaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDistributedAutonomousDatabaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDistributedAutonomousDatabaseCompartmentRequest) String() string
func (request ChangeDistributedAutonomousDatabaseCompartmentRequest) 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
ChangeDistributedAutonomousDatabaseCompartmentResponse wrapper for the ChangeDistributedAutonomousDatabaseCompartment operation
type ChangeDistributedAutonomousDatabaseCompartmentResponse 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"`
// 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"`
}
func (response ChangeDistributedAutonomousDatabaseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDistributedAutonomousDatabaseCompartmentResponse) String() string
ChangeDistributedAutonomousDbBackupConfigDetails Details of the DbBackupConfig to be updated for the Globally distributed autonomous database.
type ChangeDistributedAutonomousDbBackupConfigDetails struct {
DbBackupConfig *DistributedAutonomousDbBackupConfig `mandatory:"true" json:"dbBackupConfig"`
}
func (m ChangeDistributedAutonomousDbBackupConfigDetails) String() string
func (m ChangeDistributedAutonomousDbBackupConfigDetails) 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
ChangeDistributedAutonomousDbBackupConfigRequest wrapper for the ChangeDistributedAutonomousDbBackupConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedAutonomousDbBackupConfig.go.html to see an example of how to use ChangeDistributedAutonomousDbBackupConfigRequest.
type ChangeDistributedAutonomousDbBackupConfigRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Details of the DistributedAutonomousDbBackupConfig for the Globally distributed autonomous database.
ChangeDistributedAutonomousDbBackupConfigDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeDistributedAutonomousDbBackupConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDistributedAutonomousDbBackupConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDistributedAutonomousDbBackupConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDistributedAutonomousDbBackupConfigRequest) String() string
func (request ChangeDistributedAutonomousDbBackupConfigRequest) 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
ChangeDistributedAutonomousDbBackupConfigResponse wrapper for the ChangeDistributedAutonomousDbBackupConfig operation
type ChangeDistributedAutonomousDbBackupConfigResponse 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 (response ChangeDistributedAutonomousDbBackupConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDistributedAutonomousDbBackupConfigResponse) String() string
ChangeDistributedDatabaseCompartmentDetails The configuration details for moving the resource for Globally distributed database to other compartment.
type ChangeDistributedDatabaseCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the resource to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDistributedDatabaseCompartmentDetails) String() string
func (m ChangeDistributedDatabaseCompartmentDetails) 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
ChangeDistributedDatabaseCompartmentRequest wrapper for the ChangeDistributedDatabaseCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDatabaseCompartment.go.html to see an example of how to use ChangeDistributedDatabaseCompartmentRequest.
type ChangeDistributedDatabaseCompartmentRequest struct {
// Request to move the Globally distributed database to a different compartment.
ChangeDistributedDatabaseCompartmentDetails `contributesTo:"body"`
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeDistributedDatabaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDistributedDatabaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDistributedDatabaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDistributedDatabaseCompartmentRequest) String() string
func (request ChangeDistributedDatabaseCompartmentRequest) 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
ChangeDistributedDatabaseCompartmentResponse wrapper for the ChangeDistributedDatabaseCompartment operation
type ChangeDistributedDatabaseCompartmentResponse 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"`
// 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"`
}
func (response ChangeDistributedDatabaseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDistributedDatabaseCompartmentResponse) String() string
ChangeDistributedDatabasePrivateEndpointCompartmentDetails The configuration details for moving the resource for private endpoint to other compartment.
type ChangeDistributedDatabasePrivateEndpointCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the resource to.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDistributedDatabasePrivateEndpointCompartmentDetails) String() string
func (m ChangeDistributedDatabasePrivateEndpointCompartmentDetails) 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
ChangeDistributedDatabasePrivateEndpointCompartmentRequest wrapper for the ChangeDistributedDatabasePrivateEndpointCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDatabasePrivateEndpointCompartment.go.html to see an example of how to use ChangeDistributedDatabasePrivateEndpointCompartmentRequest.
type ChangeDistributedDatabasePrivateEndpointCompartmentRequest struct {
// Request to move the private endpoint to a different compartment.
ChangeDistributedDatabasePrivateEndpointCompartmentDetails `contributesTo:"body"`
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) String() string
func (request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) 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
ChangeDistributedDatabasePrivateEndpointCompartmentResponse wrapper for the ChangeDistributedDatabasePrivateEndpointCompartment operation
type ChangeDistributedDatabasePrivateEndpointCompartmentResponse 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 (response ChangeDistributedDatabasePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDistributedDatabasePrivateEndpointCompartmentResponse) String() string
ChangeDistributedDbBackupConfigDetails Details of the DbBackupConfig to be updated for the Globally distreibuted database.
type ChangeDistributedDbBackupConfigDetails struct {
DbBackupConfig *DistributedDbBackupConfig `mandatory:"true" json:"dbBackupConfig"`
}
func (m ChangeDistributedDbBackupConfigDetails) String() string
func (m ChangeDistributedDbBackupConfigDetails) 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
ChangeDistributedDbBackupConfigRequest wrapper for the ChangeDistributedDbBackupConfig operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDbBackupConfig.go.html to see an example of how to use ChangeDistributedDbBackupConfigRequest.
type ChangeDistributedDbBackupConfigRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Details of the DistributedDbBackupConfig for the Globally distributed database.
ChangeDistributedDbBackupConfigDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ChangeDistributedDbBackupConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDistributedDbBackupConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDistributedDbBackupConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDistributedDbBackupConfigRequest) String() string
func (request ChangeDistributedDbBackupConfigRequest) 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
ChangeDistributedDbBackupConfigResponse wrapper for the ChangeDistributedDbBackupConfig operation
type ChangeDistributedDbBackupConfigResponse 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 (response ChangeDistributedDbBackupConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDistributedDbBackupConfigResponse) String() string
CompositeDataGuardShardSpace Globally distributed database composite data guard shard space details.
type CompositeDataGuardShardSpace struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
OriginalReplica *CompositeDataGuardShardSpaceReplica `mandatory:"true" json:"originalReplica"`
// The details of data guard replica associated with the shard.
DataGuardReplicas []CompositeDataGuardShardSpaceReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CompositeDataGuardShardSpace) String() string
func (m CompositeDataGuardShardSpace) 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
CompositeDataGuardShardSpaceReplica Globally distributed database composite data guard replica details.
type CompositeDataGuardShardSpaceReplica struct {
// The name of shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// The details of composite data guard shard space replica databases.
Databases []DistributedDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m CompositeDataGuardShardSpaceReplica) String() string
func (m *CompositeDataGuardShardSpaceReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CompositeDataGuardShardSpaceReplica) 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
CompositeRaftShardSpace Globally distributed database composite raft shard space.
type CompositeRaftShardSpace struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
// Number of replication units in the shard space.
ReplicationUnitCount *int `mandatory:"true" json:"replicationUnitCount"`
// The details of raft clusters associated with the shard space.
RaftClusters []CompositeShardSpaceRaftCluster `mandatory:"true" json:"raftClusters"`
}
func (m CompositeRaftShardSpace) String() string
func (m CompositeRaftShardSpace) 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
CompositeShardSpaceRaftCluster Raft clusters details for composite shard spaces.
type CompositeShardSpaceRaftCluster struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode CompositeShardSpaceRaftClusterRuModeEnum `mandatory:"true" json:"ruMode"`
// The details of databases associated with the composite shard space raft cluster.
Databases []DistributedDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m CompositeShardSpaceRaftCluster) String() string
func (m *CompositeShardSpaceRaftCluster) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CompositeShardSpaceRaftCluster) 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
CompositeShardSpaceRaftClusterRuModeEnum Enum with underlying type: string
type CompositeShardSpaceRaftClusterRuModeEnum string
Set of constants representing the allowable values for CompositeShardSpaceRaftClusterRuModeEnum
const (
CompositeShardSpaceRaftClusterRuModeOnly CompositeShardSpaceRaftClusterRuModeEnum = "READ_ONLY"
CompositeShardSpaceRaftClusterRuModeWrite CompositeShardSpaceRaftClusterRuModeEnum = "READ_WRITE"
)
func GetCompositeShardSpaceRaftClusterRuModeEnumValues() []CompositeShardSpaceRaftClusterRuModeEnum
GetCompositeShardSpaceRaftClusterRuModeEnumValues Enumerates the set of values for CompositeShardSpaceRaftClusterRuModeEnum
func GetMappingCompositeShardSpaceRaftClusterRuModeEnum(val string) (CompositeShardSpaceRaftClusterRuModeEnum, bool)
GetMappingCompositeShardSpaceRaftClusterRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails Automatic resource management configuration details for the Globally distributed autonomous database.
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails struct {
// Flag indicating if autoResourceManagement is enabled or disabled.
IsEnabled *bool `mandatory:"true" json:"isEnabled"`
// Time period to wait for the database to get stable after autoResourceManagement event.
CoolOffPeriodInMinutes *int `mandatory:"false" json:"coolOffPeriodInMinutes"`
// Maximum number of move replication unit attempts allowed within the configured period per database.
MaxMoveRuAttempts *int `mandatory:"false" json:"maxMoveRuAttempts"`
// Time unit applicable to maxMoveRuAttempts.
MaxMoveRuUnit ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum `mandatory:"false" json:"maxMoveRuUnit,omitempty"`
// Mode of autoResourceManagement execution.
Mode ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum `mandatory:"false" json:"mode,omitempty"`
// The action that will be taken when autoResourceManagement is triggered.
ActionType ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`
// The list of notification topic ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to receive autoResourceManagement events.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The list of stream ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that receive shard-related telemetry.
StreamIds []string `mandatory:"false" json:"streamIds"`
}
func (m ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails) String() string
func (m ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails) 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
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum Enum with underlying type: string
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum string
Set of constants representing the allowable values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
const (
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeMove ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum = "MOVE"
)
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumValues() []ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumValues Enumerates the set of values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum(val string) (ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum, bool)
GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum Enum with underlying type: string
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum string
Set of constants representing the allowable values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
const (
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitHour ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "HOUR"
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitDay ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "DAY"
)
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues() []ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues Enumerates the set of values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum(val string) (ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum, bool)
GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum Enum with underlying type: string
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum string
Set of constants representing the allowable values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
const (
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeAutomatic ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum = "AUTOMATIC"
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeRecommendation ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum = "RECOMMENDATION"
)
func GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumValues() []ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
GetConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumValues Enumerates the set of values for ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
func GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum(val string) (ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum, bool)
GetMappingConfigureDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest wrapper for the ConfigureDistributedAutonomousDatabaseAutoResourceManagement operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseAutoResourceManagement.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest.
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The payload for configuring autoResourceManagement for autonomous distributed database.
ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) String() string
func (request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) 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
ConfigureDistributedAutonomousDatabaseAutoResourceManagementResponse wrapper for the ConfigureDistributedAutonomousDatabaseAutoResourceManagement operation
type ConfigureDistributedAutonomousDatabaseAutoResourceManagementResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabaseAutoResourceManagementDetails instance
DistributedAutonomousDatabaseAutoResourceManagementDetails `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response ConfigureDistributedAutonomousDatabaseAutoResourceManagementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedAutonomousDatabaseAutoResourceManagementResponse) String() string
ConfigureDistributedAutonomousDatabaseGsmWalletDetails Details of the request to configure wallet on global service manager(GSM) instances for a distributed autonomous database.
type ConfigureDistributedAutonomousDatabaseGsmWalletDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster certificate.
CertificateId *string `mandatory:"true" json:"certificateId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ca bundle id.
CaBundleId *string `mandatory:"true" json:"caBundleId"`
}
func (m ConfigureDistributedAutonomousDatabaseGsmWalletDetails) String() string
func (m ConfigureDistributedAutonomousDatabaseGsmWalletDetails) 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
ConfigureDistributedAutonomousDatabaseGsmWalletRequest wrapper for the ConfigureDistributedAutonomousDatabaseGsmWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseGsmWallet.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseGsmWalletRequest.
type ConfigureDistributedAutonomousDatabaseGsmWalletRequest struct {
// Details to configure wallets on GSM instances for the distributed autonomous database.
ConfigureDistributedAutonomousDatabaseGsmWalletDetails `contributesTo:"body"`
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) String() string
func (request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) 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
ConfigureDistributedAutonomousDatabaseGsmWalletResponse wrapper for the ConfigureDistributedAutonomousDatabaseGsmWallet operation
type ConfigureDistributedAutonomousDatabaseGsmWalletResponse 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 (response ConfigureDistributedAutonomousDatabaseGsmWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedAutonomousDatabaseGsmWalletResponse) String() string
ConfigureDistributedAutonomousDatabaseGsmsDetails Details of the request to configure new global service manager(GSM) instances for the distributed autonomous database.
type ConfigureDistributedAutonomousDatabaseGsmsDetails struct {
// Names of old global service manager(GSM) instances corresponding to which new GSM instances need to be configured.
OldGsmNames []string `mandatory:"true" json:"oldGsmNames"`
// Flag to indicate if new global service manager(GSM) instances shall use latest image or re-use image used by existing
// GSM instances.
IsLatestGsmImage *bool `mandatory:"true" json:"isLatestGsmImage"`
}
func (m ConfigureDistributedAutonomousDatabaseGsmsDetails) String() string
func (m ConfigureDistributedAutonomousDatabaseGsmsDetails) 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
ConfigureDistributedAutonomousDatabaseGsmsRequest wrapper for the ConfigureDistributedAutonomousDatabaseGsms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseGsms.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseGsmsRequest.
type ConfigureDistributedAutonomousDatabaseGsmsRequest struct {
// Details to configure the new GSM instances for the distributed autonomous database.
ConfigureDistributedAutonomousDatabaseGsmsDetails `contributesTo:"body"`
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedAutonomousDatabaseGsmsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseGsmsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseGsmsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedAutonomousDatabaseGsmsRequest) String() string
func (request ConfigureDistributedAutonomousDatabaseGsmsRequest) 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
ConfigureDistributedAutonomousDatabaseGsmsResponse wrapper for the ConfigureDistributedAutonomousDatabaseGsms operation
type ConfigureDistributedAutonomousDatabaseGsmsResponse 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 (response ConfigureDistributedAutonomousDatabaseGsmsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedAutonomousDatabaseGsmsResponse) String() string
ConfigureDistributedAutonomousDatabaseShardingRequest wrapper for the ConfigureDistributedAutonomousDatabaseSharding operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseSharding.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseShardingRequest.
type ConfigureDistributedAutonomousDatabaseShardingRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The flag to indicate whether chunks need to be re-balanced. This flag is not applicable for USER-defined
// sharding type.
IsRebalanceRequired *bool `mandatory:"false" contributesTo:"query" name:"isRebalanceRequired"`
// The ID of the cluster certificate.
CertificateId *string `mandatory:"false" contributesTo:"query" name:"certificateId"`
// The ID of the Ca Bundle.
CaBundleId *string `mandatory:"false" contributesTo:"query" name:"caBundleId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedAutonomousDatabaseShardingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseShardingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedAutonomousDatabaseShardingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedAutonomousDatabaseShardingRequest) String() string
func (request ConfigureDistributedAutonomousDatabaseShardingRequest) 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
ConfigureDistributedAutonomousDatabaseShardingResponse wrapper for the ConfigureDistributedAutonomousDatabaseSharding operation
type ConfigureDistributedAutonomousDatabaseShardingResponse 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 (response ConfigureDistributedAutonomousDatabaseShardingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedAutonomousDatabaseShardingResponse) String() string
ConfigureDistributedDatabaseAutoResourceManagementDetails AutoResourceManagement configuration details for the Globally distributed database.
type ConfigureDistributedDatabaseAutoResourceManagementDetails struct {
// Flag indicating if autoResourceManagement is enabled or disabled.
IsEnabled *bool `mandatory:"true" json:"isEnabled"`
// Time period to wait for the database to get stable after autoResourceManagement event.
CoolOffPeriodInMinutes *int `mandatory:"false" json:"coolOffPeriodInMinutes"`
// Maximum number of move replication unit attempts allowed within the configured period per database.
MaxMoveRuAttempts *int `mandatory:"false" json:"maxMoveRuAttempts"`
// Time unit applicable to maxMoveRuAttempts.
MaxMoveRuUnit ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum `mandatory:"false" json:"maxMoveRuUnit,omitempty"`
// Mode of autoResourceManagement execution.
Mode ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum `mandatory:"false" json:"mode,omitempty"`
// The action that will be taken when autoResourceManagement is triggered.
ActionType ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`
// The list of notification topic ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to receive autoResourceManagement events.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The list of stream ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that receive shard-related telemetry.
StreamIds []string `mandatory:"false" json:"streamIds"`
}
func (m ConfigureDistributedDatabaseAutoResourceManagementDetails) String() string
func (m ConfigureDistributedDatabaseAutoResourceManagementDetails) 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
ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum Enum with underlying type: string
type ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum string
Set of constants representing the allowable values for ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
const (
ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeMove ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum = "MOVE"
)
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumValues() []ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
GetConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumValues Enumerates the set of values for ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum(val string) (ConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum, bool)
GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum Enum with underlying type: string
type ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum string
Set of constants representing the allowable values for ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
const (
ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitHour ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "HOUR"
ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitDay ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "DAY"
)
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues() []ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
GetConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues Enumerates the set of values for ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum(val string) (ConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum, bool)
GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum Enum with underlying type: string
type ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum string
Set of constants representing the allowable values for ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum
const (
ConfigureDistributedDatabaseAutoResourceManagementDetailsModeAutomatic ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum = "AUTOMATIC"
ConfigureDistributedDatabaseAutoResourceManagementDetailsModeRecommendation ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum = "RECOMMENDATION"
)
func GetConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnumValues() []ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum
GetConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnumValues Enumerates the set of values for ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum
func GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum(val string) (ConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum, bool)
GetMappingConfigureDistributedDatabaseAutoResourceManagementDetailsModeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigureDistributedDatabaseAutoResourceManagementRequest wrapper for the ConfigureDistributedDatabaseAutoResourceManagement operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseAutoResourceManagement.go.html to see an example of how to use ConfigureDistributedDatabaseAutoResourceManagementRequest.
type ConfigureDistributedDatabaseAutoResourceManagementRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The payload for configuring autoResourceManagement for distributed database.
ConfigureDistributedDatabaseAutoResourceManagementDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedDatabaseAutoResourceManagementRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedDatabaseAutoResourceManagementRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedDatabaseAutoResourceManagementRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedDatabaseAutoResourceManagementRequest) String() string
func (request ConfigureDistributedDatabaseAutoResourceManagementRequest) 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
ConfigureDistributedDatabaseAutoResourceManagementResponse wrapper for the ConfigureDistributedDatabaseAutoResourceManagement operation
type ConfigureDistributedDatabaseAutoResourceManagementResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabaseAutoResourceManagementDetails instance
DistributedDatabaseAutoResourceManagementDetails `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response ConfigureDistributedDatabaseAutoResourceManagementResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedDatabaseAutoResourceManagementResponse) String() string
ConfigureDistributedDatabaseGsmsDetails Details of the request to configure new global service manager(GSM) instances for the distributed database.
type ConfigureDistributedDatabaseGsmsDetails struct {
// Names of old global service manager(GSM) instances corresponding to which new GSM instances need to be configured.
OldGsmNames []string `mandatory:"true" json:"oldGsmNames"`
// Flag to indicate if new global service manager(GSM) instances shall use latest image or re-use image used by existing
// GSM instances.
IsLatestGsmImage *bool `mandatory:"true" json:"isLatestGsmImage"`
}
func (m ConfigureDistributedDatabaseGsmsDetails) String() string
func (m ConfigureDistributedDatabaseGsmsDetails) 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
ConfigureDistributedDatabaseGsmsRequest wrapper for the ConfigureDistributedDatabaseGsms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseGsms.go.html to see an example of how to use ConfigureDistributedDatabaseGsmsRequest.
type ConfigureDistributedDatabaseGsmsRequest struct {
// Details to configure the new GSM instances for the distributed database.
ConfigureDistributedDatabaseGsmsDetails `contributesTo:"body"`
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedDatabaseGsmsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedDatabaseGsmsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedDatabaseGsmsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedDatabaseGsmsRequest) String() string
func (request ConfigureDistributedDatabaseGsmsRequest) 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
ConfigureDistributedDatabaseGsmsResponse wrapper for the ConfigureDistributedDatabaseGsms operation
type ConfigureDistributedDatabaseGsmsResponse 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 (response ConfigureDistributedDatabaseGsmsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedDatabaseGsmsResponse) String() string
ConfigureDistributedDatabaseShardingRequest wrapper for the ConfigureDistributedDatabaseSharding operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseSharding.go.html to see an example of how to use ConfigureDistributedDatabaseShardingRequest.
type ConfigureDistributedDatabaseShardingRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The flag to indicate whether chunks need to be re-balanced. This flag is not applicable for USER-defined
// sharding type.
IsRebalanceRequired *bool `mandatory:"false" contributesTo:"query" name:"isRebalanceRequired"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ConfigureDistributedDatabaseShardingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ConfigureDistributedDatabaseShardingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ConfigureDistributedDatabaseShardingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ConfigureDistributedDatabaseShardingRequest) String() string
func (request ConfigureDistributedDatabaseShardingRequest) 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
ConfigureDistributedDatabaseShardingResponse wrapper for the ConfigureDistributedDatabaseSharding operation
type ConfigureDistributedDatabaseShardingResponse 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 (response ConfigureDistributedDatabaseShardingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ConfigureDistributedDatabaseShardingResponse) String() string
CreateAutonomousCatalogDatabaseDetails Details for creating a distributed autonomous database catalog.
type CreateAutonomousCatalogDatabaseDetails interface {
}
CreateAutonomousCatalogDatabaseDetailsSourceEnum Enum with underlying type: string
type CreateAutonomousCatalogDatabaseDetailsSourceEnum string
Set of constants representing the allowable values for CreateAutonomousCatalogDatabaseDetailsSourceEnum
const (
CreateAutonomousCatalogDatabaseDetailsSourceAdbdExistingCluster CreateAutonomousCatalogDatabaseDetailsSourceEnum = "ADBD_EXISTING_CLUSTER"
)
func GetCreateAutonomousCatalogDatabaseDetailsSourceEnumValues() []CreateAutonomousCatalogDatabaseDetailsSourceEnum
GetCreateAutonomousCatalogDatabaseDetailsSourceEnumValues Enumerates the set of values for CreateAutonomousCatalogDatabaseDetailsSourceEnum
func GetMappingCreateAutonomousCatalogDatabaseDetailsSourceEnum(val string) (CreateAutonomousCatalogDatabaseDetailsSourceEnum, bool)
GetMappingCreateAutonomousCatalogDatabaseDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateAutonomousCatalogDetails Details required to create a distributed autonomous database catalog.
type CreateAutonomousCatalogDetails struct {
OriginalReplica *CreateAutonomousCatalogReplicaDetails `mandatory:"true" json:"originalReplica"`
// Details required to create data guard replicas for the catalog.
DataGuardReplicas []CreateAutonomousCatalogReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateAutonomousCatalogDetails) String() string
func (m CreateAutonomousCatalogDetails) 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
CreateAutonomousCatalogReplicaDetails Details required to create a catalog replica.
type CreateAutonomousCatalogReplicaDetails struct {
// The name of the catalog replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database CreateAutonomousCatalogDatabaseDetails `mandatory:"true" json:"database"`
}
func (m CreateAutonomousCatalogReplicaDetails) String() string
func (m *CreateAutonomousCatalogReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousCatalogReplicaDetails) 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
CreateAutonomousCompositeDataGuardShardSpaceDetails Details required to create a composite data guard shard space for a Globally distributed autonomous database.
type CreateAutonomousCompositeDataGuardShardSpaceDetails struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
OriginalReplica *CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details of data guard replica for the shard being created.
DataGuardReplicas []CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateAutonomousCompositeDataGuardShardSpaceDetails) String() string
func (m CreateAutonomousCompositeDataGuardShardSpaceDetails) 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
CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails Details required to create a composite data guard shard space replica for a Globally distributed autonomous database.
type CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails struct {
// The name of shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// The details of composite data guard shard space replica databases.
Databases []CreateDistributedAutonomousDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails) String() string
func (m *CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails) 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
CreateAutonomousCompositeRaftShardSpaceDetails Details required to create a composite raft shard space for a Globally distributed autonomous database.
type CreateAutonomousCompositeRaftShardSpaceDetails struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
// Number of replication units in the shard space.
ReplicationUnitCount *int `mandatory:"true" json:"replicationUnitCount"`
// The details of raft clusters associated with the shard space.
RaftClusters []CreateAutonomousCompositeShardSpaceRaftClusterDetails `mandatory:"true" json:"raftClusters"`
}
func (m CreateAutonomousCompositeRaftShardSpaceDetails) String() string
func (m CreateAutonomousCompositeRaftShardSpaceDetails) 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
CreateAutonomousCompositeShardSpaceRaftClusterDetails Details required to create raft clusters for a composite shard space.
type CreateAutonomousCompositeShardSpaceRaftClusterDetails struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum `mandatory:"true" json:"ruMode"`
// The details of databases associated with the composite shard space raft cluster.
Databases []CreateDistributedAutonomousDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateAutonomousCompositeShardSpaceRaftClusterDetails) String() string
func (m *CreateAutonomousCompositeShardSpaceRaftClusterDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousCompositeShardSpaceRaftClusterDetails) 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
CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum Enum with underlying type: string
type CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum string
Set of constants representing the allowable values for CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum
const (
CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeOnly CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum = "READ_ONLY"
CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeWrite CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum = "READ_WRITE"
)
func GetCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnumValues() []CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum
GetCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnumValues Enumerates the set of values for CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum
func GetMappingCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum(val string) (CreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum, bool)
GetMappingCreateAutonomousCompositeShardSpaceRaftClusterDetailsRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateAutonomousSystemDataGuardDatabaseDetails Details required to create a system data guard shard.
type CreateAutonomousSystemDataGuardDatabaseDetails struct {
OriginalReplica *CreateAutonomousSystemDataGuardReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details required to create system data guard replicas.
DataGuardReplicas []CreateAutonomousSystemDataGuardReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateAutonomousSystemDataGuardDatabaseDetails) String() string
func (m CreateAutonomousSystemDataGuardDatabaseDetails) 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
CreateAutonomousSystemDataGuardReplicaDetails Details required to create a system data guard replica.
type CreateAutonomousSystemDataGuardReplicaDetails struct {
// The name of the data guard replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Details of the databases associated with the system data guard replica.
Databases []CreateDistributedAutonomousDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateAutonomousSystemDataGuardReplicaDetails) String() string
func (m *CreateAutonomousSystemDataGuardReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousSystemDataGuardReplicaDetails) 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
CreateAutonomousSystemRaftClusterDetails Details required to create system raft cluster.
type CreateAutonomousSystemRaftClusterDetails struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode CreateAutonomousSystemRaftClusterDetailsRuModeEnum `mandatory:"true" json:"ruMode"`
// Details of the databases associated with the system raft cluster.
Databases []CreateDistributedAutonomousDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateAutonomousSystemRaftClusterDetails) String() string
func (m *CreateAutonomousSystemRaftClusterDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousSystemRaftClusterDetails) 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
CreateAutonomousSystemRaftClusterDetailsRuModeEnum Enum with underlying type: string
type CreateAutonomousSystemRaftClusterDetailsRuModeEnum string
Set of constants representing the allowable values for CreateAutonomousSystemRaftClusterDetailsRuModeEnum
const (
CreateAutonomousSystemRaftClusterDetailsRuModeOnly CreateAutonomousSystemRaftClusterDetailsRuModeEnum = "READ_ONLY"
CreateAutonomousSystemRaftClusterDetailsRuModeWrite CreateAutonomousSystemRaftClusterDetailsRuModeEnum = "READ_WRITE"
)
func GetCreateAutonomousSystemRaftClusterDetailsRuModeEnumValues() []CreateAutonomousSystemRaftClusterDetailsRuModeEnum
GetCreateAutonomousSystemRaftClusterDetailsRuModeEnumValues Enumerates the set of values for CreateAutonomousSystemRaftClusterDetailsRuModeEnum
func GetMappingCreateAutonomousSystemRaftClusterDetailsRuModeEnum(val string) (CreateAutonomousSystemRaftClusterDetailsRuModeEnum, bool)
GetMappingCreateAutonomousSystemRaftClusterDetailsRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateAutonomousUserShardSpaceDetails Details required to create a user shard space.
type CreateAutonomousUserShardSpaceDetails struct {
// The name of the user shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
OriginalReplica *CreateAutonomousUserShardSpaceReplicaDetails `mandatory:"true" json:"originalReplica"`
// Details required to create data guard replicas for the user shard space.
DataGuardReplicas []CreateAutonomousUserShardSpaceReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateAutonomousUserShardSpaceDetails) String() string
func (m CreateAutonomousUserShardSpaceDetails) 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
CreateAutonomousUserShardSpaceReplicaDetails Details required to create a user shard space replica.
type CreateAutonomousUserShardSpaceReplicaDetails struct {
// The name of the user shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database CreateDistributedAutonomousDatabaseShardDatabaseDetails `mandatory:"true" json:"database"`
}
func (m CreateAutonomousUserShardSpaceReplicaDetails) String() string
func (m *CreateAutonomousUserShardSpaceReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousUserShardSpaceReplicaDetails) 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
CreateCompositeDataGuardShardSpaceDetails Globally distributed database composite data guard shard space creation details.
type CreateCompositeDataGuardShardSpaceDetails struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
OriginalReplica *CreateCompositeDataGuardShardSpaceReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details of data guard replica for the shard being created.
DataGuardReplicas []CreateCompositeDataGuardShardSpaceReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateCompositeDataGuardShardSpaceDetails) String() string
func (m CreateCompositeDataGuardShardSpaceDetails) 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
CreateCompositeDataGuardShardSpaceReplicaDetails Globally distributed database composite data guard shard space replica creation details.
type CreateCompositeDataGuardShardSpaceReplicaDetails struct {
// The name of shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// The details of composite data guard shard space replica databases.
Databases []CreateDistributedDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateCompositeDataGuardShardSpaceReplicaDetails) String() string
func (m *CreateCompositeDataGuardShardSpaceReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateCompositeDataGuardShardSpaceReplicaDetails) 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
CreateCompositeRaftShardSpaceDetails Globally distributed database composite raft shard space creation details.
type CreateCompositeRaftShardSpaceDetails struct {
// The name of shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Count of chunks associated with the shard space.
ChunkCount *int `mandatory:"true" json:"chunkCount"`
// Number of replication units in the shard space.
ReplicationUnitCount *int `mandatory:"true" json:"replicationUnitCount"`
// The details of raft clusters associated with the shard space.
RaftClusters []CreateCompositeShardSpaceRaftClusterDetails `mandatory:"true" json:"raftClusters"`
}
func (m CreateCompositeRaftShardSpaceDetails) String() string
func (m CreateCompositeRaftShardSpaceDetails) 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
CreateCompositeShardSpaceRaftClusterDetails Raft clusters details required for creation of composite shard spaces.
type CreateCompositeShardSpaceRaftClusterDetails struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum `mandatory:"true" json:"ruMode"`
// The details of databases associated with the composite shard space raft cluster.
Databases []CreateDistributedDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateCompositeShardSpaceRaftClusterDetails) String() string
func (m *CreateCompositeShardSpaceRaftClusterDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateCompositeShardSpaceRaftClusterDetails) 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
CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum Enum with underlying type: string
type CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum string
Set of constants representing the allowable values for CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum
const (
CreateCompositeShardSpaceRaftClusterDetailsRuModeOnly CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum = "READ_ONLY"
CreateCompositeShardSpaceRaftClusterDetailsRuModeWrite CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum = "READ_WRITE"
)
func GetCreateCompositeShardSpaceRaftClusterDetailsRuModeEnumValues() []CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum
GetCreateCompositeShardSpaceRaftClusterDetailsRuModeEnumValues Enumerates the set of values for CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum
func GetMappingCreateCompositeShardSpaceRaftClusterDetailsRuModeEnum(val string) (CreateCompositeShardSpaceRaftClusterDetailsRuModeEnum, bool)
GetMappingCreateCompositeShardSpaceRaftClusterDetailsRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails Configuration for creating a distributed autonomous database catalog using an existing ADB-D VM cluster.
type CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails struct {
// The admin password for the catalog associated with the distributed autonomous database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The compute count for the catalog database. It has to be in multiples of 2.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the catalog database.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster.
CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"`
// Indicates if vertical auto scaling is enabled for the Autonomous AI Database CPU core count.
// The default value is `FALSE`.
IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store used to create the catalog.
OkvKeyStoreId *string `mandatory:"false" json:"okvKeyStoreId"`
// The OKV endpoint name.
OkvEndPointGroupName *string `mandatory:"false" json:"okvEndPointGroupName"`
// The lag time preference based on data loss tolerance in seconds.
FastStartFailOverLagLimitInSeconds *int `mandatory:"false" json:"fastStartFailOverLagLimitInSeconds"`
// The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
// This value represents the number of days before scheduled maintenance of the primary database.
StandbyMaintenanceBufferInDays *int `mandatory:"false" json:"standbyMaintenanceBufferInDays"`
// The protectionMode for the catalog peer.
ProtectionMode DistributedAutonomousDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
}
func (m CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails) String() string
func (m CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails) 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
CreateDistributedAutonomousDatabaseDetails Details required for creation of the Globally distributed autonomous database.
type CreateDistributedAutonomousDatabaseDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed autonomous database.
DisplayName *string `mandatory:"true" json:"displayName"`
// Oracle Database version for the shards and catalog used in Globally distributed autonomous database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// Possible workload types. Currently only OLTP workload type is supported.
DbWorkloadType CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum `mandatory:"true" json:"dbWorkloadType"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The listener port number for the Globally distributed autonomous database. The listener port number
// has to be unique for a customer tenancy across all distributed autonomous databases. Same port number
// should not be re-used for any other distributed autonomous database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for
// a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for
// any other distributed autonomous database.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for
// a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for
// any other distributed autonomous database.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// Collection of catalog for the Globally distributed autonomous database.
CatalogDetails []CreateAutonomousCatalogDetails `mandatory:"true" json:"catalogDetails"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed autonomous database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The TLS listener port number for Globally distributed autonomous database. The TLS listener port number
// has to be unique for a customer tenancy across all distributed autonomous databases. Same port number
// should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory
// for dedicated infrastructure based distributed autonomous databases.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
// Collection of composite raft shards.
CompositeRaftShardSpaces []CreateAutonomousCompositeRaftShardSpaceDetails `mandatory:"false" json:"compositeRaftShardSpaces"`
// Collection of composite data guard shard spaces.
CompositeDataGuardShardSpaces []CreateAutonomousCompositeDataGuardShardSpaceDetails `mandatory:"false" json:"compositeDataGuardShardSpaces"`
// Collection of system raft clusters.
SystemRaftClusters []CreateAutonomousSystemRaftClusterDetails `mandatory:"false" json:"systemRaftClusters"`
SystemDataGuardDatabases *CreateAutonomousSystemDataGuardDatabaseDetails `mandatory:"false" json:"systemDataGuardDatabases"`
// Collection of user defined shard spaces.
UserShardSpaces []CreateAutonomousUserShardSpaceDetails `mandatory:"false" json:"userShardSpaces"`
DbBackupConfig *DistributedAutonomousDbBackupConfig `mandatory:"false" json:"dbBackupConfig"`
// The list of network security group (NSG) details to be associated with the distributed autonomous database.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateDistributedAutonomousDatabaseDetails) String() string
func (m CreateDistributedAutonomousDatabaseDetails) 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
CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum
const (
CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeOltp CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum = "OLTP"
CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeDw CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum = "DW"
)
func GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnumValues() []CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum
GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum
func GetMappingCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum(val string) (CreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseDetailsDbWorkloadTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseRequest wrapper for the CreateDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedAutonomousDatabase.go.html to see an example of how to use CreateDistributedAutonomousDatabaseRequest.
type CreateDistributedAutonomousDatabaseRequest struct {
// Details of the Globally distributed autonomous database to be created.
CreateDistributedAutonomousDatabaseDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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 (request CreateDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDistributedAutonomousDatabaseRequest) String() string
func (request CreateDistributedAutonomousDatabaseRequest) 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
CreateDistributedAutonomousDatabaseResponse wrapper for the CreateDistributedAutonomousDatabase operation
type CreateDistributedAutonomousDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabase instance
DistributedAutonomousDatabase `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDistributedAutonomousDatabaseResponse) String() string
CreateDistributedAutonomousDatabaseShardDatabaseDetails Details for creating a distributed autonomous database shard.
type CreateDistributedAutonomousDatabaseShardDatabaseDetails interface {
}
CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum
const (
CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceAdbdExistingCluster CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum = "ADBD_EXISTING_CLUSTER"
)
func GetCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnumValues() []CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum
GetCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum
func GetMappingCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum(val string) (CreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseShardDatabaseDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails Configuration for creating a distributed autonomous database shard using an existing ADB-D VM cluster.
type CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails struct {
// Admin password for shard database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The compute count for the shard database. It has to be in multiples of 2.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the shard database.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.
CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"`
// The shard space name for the shard database. Shard space for an existing shard cannot be changed once the shard is created.
// The shard space name is used when creating new shards. For user-defined sharding, every shard must have a unique
// shard space name. For system-defined sharding, a shard space name is not required.
ShardSpaceName *string `mandatory:"false" json:"shardSpaceName"`
// Indicates if vertical auto scaling is enabled for the Autonomous AI Database CPU core count.
// The default value is `FALSE`.
IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store used to create the shard.
OkvKeyStoreId *string `mandatory:"false" json:"okvKeyStoreId"`
// The OKV endpoint name.
OkvEndPointGroupName *string `mandatory:"false" json:"okvEndPointGroupName"`
// The lag time preference based on data loss tolerance in seconds.
FastStartFailOverLagLimitInSeconds *int `mandatory:"false" json:"fastStartFailOverLagLimitInSeconds"`
// The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
StandbyMaintenanceBufferInDays *int `mandatory:"false" json:"standbyMaintenanceBufferInDays"`
// The protection mode for the shard peer.
ProtectionMode DistributedAutonomousDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
}
func (m CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails) String() string
func (m CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails) 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
CreateDistributedDatabaseCatalogDatabaseDetails Details for creating a distributed database catalog.
type CreateDistributedDatabaseCatalogDatabaseDetails interface {
}
CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum Enum with underlying type: string
type CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum
const (
CreateDistributedDatabaseCatalogDatabaseDetailsSourceXsExistingCluster CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum = "XS_EXISTING_CLUSTER"
CreateDistributedDatabaseCatalogDatabaseDetailsSourceXsNewCluster CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum = "XS_NEW_CLUSTER"
CreateDistributedDatabaseCatalogDatabaseDetailsSourceXsNewVaultAndCluster CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum = "XS_NEW_VAULT_AND_CLUSTER"
CreateDistributedDatabaseCatalogDatabaseDetailsSourceXdExistingCluster CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum = "XD_EXISTING_CLUSTER"
CreateDistributedDatabaseCatalogDatabaseDetailsSourceExistingDbHome CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum = "EXISTING_DB_HOME"
)
func GetCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnumValues() []CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum
GetCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnumValues Enumerates the set of values for CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum
func GetMappingCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum(val string) (CreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum, bool)
GetMappingCreateDistributedDatabaseCatalogDatabaseDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails Configuration for creating a distributed database catalog using a pre-existing Database Home.
type CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"true" json:"dbHomeId"`
// The admin password for the catalog associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails) String() string
func (m CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails) 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
CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails Configuration for creating a distributed database catalog using an existing ExaDB-D VM cluster.
type CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud VM Cluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
// The admin password for the catalog associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails) String() string
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails) 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
CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails Configuration for creating a distributed database catalog using an existing ExaDB-XS VM cluster.
type CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
// The admin password for the catalog associated with the distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails) String() string
func (m CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails) 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
CreateDistributedDatabaseCatalogDetails Details required to create a Globally distributed database catalog.
type CreateDistributedDatabaseCatalogDetails struct {
OriginalReplica *CreateDistributedDatabaseCatalogReplicaDetails `mandatory:"true" json:"originalReplica"`
// Details required to create data guard replicas for the catalog.
DataGuardReplicas []CreateDistributedDatabaseCatalogReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateDistributedDatabaseCatalogDetails) String() string
func (m CreateDistributedDatabaseCatalogDetails) 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
CreateDistributedDatabaseCatalogReplicaDetails Details required to create a catalog replica.
type CreateDistributedDatabaseCatalogReplicaDetails struct {
// The name of the catalog replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database CreateDistributedDatabaseCatalogDatabaseDetails `mandatory:"true" json:"database"`
}
func (m CreateDistributedDatabaseCatalogReplicaDetails) String() string
func (m *CreateDistributedDatabaseCatalogReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDistributedDatabaseCatalogReplicaDetails) 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
CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails Configuration for creating a distributed database catalog on a new ExaDB-XS VM cluster.
type CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails struct {
// The admin password for the catalog associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The name of the availability domain that the distributed database catalog will be located in.
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the exascale db storage vault.
ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"`
VmClusterDetails *VmClusterDetails `mandatory:"true" json:"vmClusterDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails) String() string
func (m CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails) 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
CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails Configuration for creating a distributed database catalog on a new ExaDB-XS VM cluster and storage vault.
type CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails struct {
// The admin password for the catalog associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The name of the availability domain that the distributed database catalog will be located in.
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
DbStorageVaultDetails *DbStorageVaultDetails `mandatory:"true" json:"dbStorageVaultDetails"`
VmClusterDetails *VmClusterDetails `mandatory:"true" json:"vmClusterDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails) String() string
func (m CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails) 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
CreateDistributedDatabaseDetails Details required for creation of the Globally distributed database.
type CreateDistributedDatabaseDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed database.
DisplayName *string `mandatory:"true" json:"displayName"`
// Oracle Database version for the shards and catalog used in Globally distributed database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Unique name prefix for the Globally distributed databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoints associated with the Globally distributed database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The listener port number for the Globally distributed database. The listener port number
// has to be unique for a customer tenancy across all distributed databases. Same port number should
// not be re-used for any other distributed database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// The ons local port number for the Globally distributed database. The onsPortLocal has to be
// unique for a customer tenancy across all distributed databases. Same port number should not be
// re-used for any other distributed database.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// The ons remote port number for the Globally distributed database. The onsPortRemote has to be
// unique for a customer tenancy across all distributed databases. Same port number should not be
// re-used for any other distributed database.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// Collection of catalog details for the Globally distributed database.
CatalogDetails []CreateDistributedDatabaseCatalogDetails `mandatory:"true" json:"catalogDetails"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The TLS listener port number for the Globally distributed database. The TLS listener port number
// has to be unique for a customer tenancy across all distributed databases. Same port number should
// not be re-used for any other distributed database. For EXADB based distributed databases,
// tls is not supported hence the listenerPortTls is not needed to be provided in create payload.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// TCP SCAN listener port for new clusters to be created.
// Applicable only when shard and catalog source types are XS_NEW_VAULT_AND_CLUSTER or XS_NEW_CLUSTER.
// Defaults to 1521 when not provided.
ScanListenerPort *int `mandatory:"false" json:"scanListenerPort"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
// Collection of composite raft shards.
CompositeRaftShardSpaces []CreateCompositeRaftShardSpaceDetails `mandatory:"false" json:"compositeRaftShardSpaces"`
// Collection of composite data guard shard spaces.
CompositeDataGuardShardSpaces []CreateCompositeDataGuardShardSpaceDetails `mandatory:"false" json:"compositeDataGuardShardSpaces"`
// Collection of system raft clusters.
SystemRaftClusters []CreateSystemRaftClusterDetails `mandatory:"false" json:"systemRaftClusters"`
SystemDataGuardDatabases *CreateSystemDataGuardDatabaseDetails `mandatory:"false" json:"systemDataGuardDatabases"`
// Collection of user defined shard spaces.
UserShardSpaces []CreateUserShardSpaceDetails `mandatory:"false" json:"userShardSpaces"`
// The SSH public key for Global service manager instances.
GsmSshPublicKey *string `mandatory:"false" json:"gsmSshPublicKey"`
DbBackupConfig *DistributedDbBackupConfig `mandatory:"false" json:"dbBackupConfig"`
// The list of network security group (NSG) details to be associated with the distributed database.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateDistributedDatabaseDetails) String() string
func (m CreateDistributedDatabaseDetails) 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
CreateDistributedDatabasePrivateEndpointDetails Details required for private endpoint creation.
type CreateDistributedDatabasePrivateEndpointDetails struct {
// Identifier of the compartment where private endpoint is to be created.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Identifier of the customer subnet against which private endpoint is to be created.
SubnetId *string `mandatory:"true" json:"subnetId"`
// Private endpoint display name.
DisplayName *string `mandatory:"true" json:"displayName"`
// DistributedDatabasePrivateEndpoint description.
Description *string `mandatory:"false" json:"description"`
// The list of network security group (NSG) details to be associated with the private endpoint.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateDistributedDatabasePrivateEndpointDetails) String() string
func (m CreateDistributedDatabasePrivateEndpointDetails) 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
CreateDistributedDatabasePrivateEndpointRequest wrapper for the CreateDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedDatabasePrivateEndpoint.go.html to see an example of how to use CreateDistributedDatabasePrivateEndpointRequest.
type CreateDistributedDatabasePrivateEndpointRequest struct {
// Details of DistributedDatabasePrivateEndpoint to be created.
CreateDistributedDatabasePrivateEndpointDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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 (request CreateDistributedDatabasePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDistributedDatabasePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDistributedDatabasePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDistributedDatabasePrivateEndpointRequest) String() string
func (request CreateDistributedDatabasePrivateEndpointRequest) 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
CreateDistributedDatabasePrivateEndpointResponse wrapper for the CreateDistributedDatabasePrivateEndpoint operation
type CreateDistributedDatabasePrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabasePrivateEndpoint instance
DistributedDatabasePrivateEndpoint `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateDistributedDatabasePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDistributedDatabasePrivateEndpointResponse) String() string
CreateDistributedDatabaseRequest wrapper for the CreateDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedDatabase.go.html to see an example of how to use CreateDistributedDatabaseRequest.
type CreateDistributedDatabaseRequest struct {
// Details of the Globally distributed database to be created.
CreateDistributedDatabaseDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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 (request CreateDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDistributedDatabaseRequest) String() string
func (request CreateDistributedDatabaseRequest) 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
CreateDistributedDatabaseResponse wrapper for the CreateDistributedDatabase operation
type CreateDistributedDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabase instance
DistributedDatabase `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDistributedDatabaseResponse) String() string
CreateDistributedDatabaseShardDatabaseDetails Details for creating a distributed database shard.
type CreateDistributedDatabaseShardDatabaseDetails interface {
}
CreateDistributedDatabaseShardDatabaseDetailsSourceEnum Enum with underlying type: string
type CreateDistributedDatabaseShardDatabaseDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseShardDatabaseDetailsSourceEnum
const (
CreateDistributedDatabaseShardDatabaseDetailsSourceXsExistingCluster CreateDistributedDatabaseShardDatabaseDetailsSourceEnum = "XS_EXISTING_CLUSTER"
CreateDistributedDatabaseShardDatabaseDetailsSourceXsNewCluster CreateDistributedDatabaseShardDatabaseDetailsSourceEnum = "XS_NEW_CLUSTER"
CreateDistributedDatabaseShardDatabaseDetailsSourceXsNewVaultAndCluster CreateDistributedDatabaseShardDatabaseDetailsSourceEnum = "XS_NEW_VAULT_AND_CLUSTER"
CreateDistributedDatabaseShardDatabaseDetailsSourceXdExistingCluster CreateDistributedDatabaseShardDatabaseDetailsSourceEnum = "XD_EXISTING_CLUSTER"
CreateDistributedDatabaseShardDatabaseDetailsSourceExistingDbHome CreateDistributedDatabaseShardDatabaseDetailsSourceEnum = "EXISTING_DB_HOME"
)
func GetCreateDistributedDatabaseShardDatabaseDetailsSourceEnumValues() []CreateDistributedDatabaseShardDatabaseDetailsSourceEnum
GetCreateDistributedDatabaseShardDatabaseDetailsSourceEnumValues Enumerates the set of values for CreateDistributedDatabaseShardDatabaseDetailsSourceEnum
func GetMappingCreateDistributedDatabaseShardDatabaseDetailsSourceEnum(val string) (CreateDistributedDatabaseShardDatabaseDetailsSourceEnum, bool)
GetMappingCreateDistributedDatabaseShardDatabaseDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseShardDatabaseWithDbHomeDetails Configuration for creating a distributed database shard using a pre-existing Database Home.
type CreateDistributedDatabaseShardDatabaseWithDbHomeDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"true" json:"dbHomeId"`
// The admin password for the shard associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseShardDatabaseWithDbHomeDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardDatabaseWithDbHomeDetails) String() string
func (m CreateDistributedDatabaseShardDatabaseWithDbHomeDetails) 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
CreateDistributedDatabaseShardDatabaseWithExadbXdDetails Configuration for creating a distributed database shard using an existing ExaDB-D VM cluster.
type CreateDistributedDatabaseShardDatabaseWithExadbXdDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud VM Cluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
// The admin password for the shard associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseShardDatabaseWithExadbXdDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardDatabaseWithExadbXdDetails) String() string
func (m CreateDistributedDatabaseShardDatabaseWithExadbXdDetails) 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
CreateDistributedDatabaseShardDatabaseWithExadbXsDetails Configuration for creating a distributed database shard using an existing ExaDB-XS VM cluster.
type CreateDistributedDatabaseShardDatabaseWithExadbXsDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
// The admin password for the shard associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseShardDatabaseWithExadbXsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardDatabaseWithExadbXsDetails) String() string
func (m CreateDistributedDatabaseShardDatabaseWithExadbXsDetails) 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
CreateDistributedDatabaseShardWithExadbXsNewClusterDetails Configuration for creating a distributed database shard on a new ExaDB-XS VM cluster.
type CreateDistributedDatabaseShardWithExadbXsNewClusterDetails struct {
// The admin password for the shard associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The name of the availability domain that the distributed database shard will be located in like yKoY:US-ASHBURN-AD-3.
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the exascale db storage vault.
ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"`
VmClusterDetails *VmClusterDetails `mandatory:"true" json:"vmClusterDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseShardWithExadbXsNewClusterDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardWithExadbXsNewClusterDetails) String() string
func (m CreateDistributedDatabaseShardWithExadbXsNewClusterDetails) 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
CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails Configuration for creating a distributed database shard on a new ExaDB-XS VM cluster and storage vault.
type CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails struct {
// The admin password for the shard associated with Globally distributed database.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
// The name of the availability domain that the distributed database shard will be located in.
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
DbStorageVaultDetails *DbStorageVaultDetails `mandatory:"true" json:"dbStorageVaultDetails"`
VmClusterDetails *VmClusterDetails `mandatory:"true" json:"vmClusterDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails) String() string
func (m CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails) 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
CreateSystemDataGuardDatabaseDetails Details required to create system data guard shard.
type CreateSystemDataGuardDatabaseDetails struct {
OriginalReplica *CreateSystemDataGuardReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details required to create system data guard replicas.
DataGuardReplicas []CreateSystemDataGuardReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateSystemDataGuardDatabaseDetails) String() string
func (m CreateSystemDataGuardDatabaseDetails) 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
CreateSystemDataGuardReplicaDetails Details required to create system data guard replica.
type CreateSystemDataGuardReplicaDetails struct {
// The name of data guard replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Details of the databases associated with the system data guard replica.
Databases []CreateDistributedDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateSystemDataGuardReplicaDetails) String() string
func (m *CreateSystemDataGuardReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateSystemDataGuardReplicaDetails) 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
CreateSystemRaftClusterDetails Details required to create system raft cluster.
type CreateSystemRaftClusterDetails struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode CreateSystemRaftClusterDetailsRuModeEnum `mandatory:"true" json:"ruMode"`
// Details of the databases associated with the system raft cluster.
Databases []CreateDistributedDatabaseShardDatabaseDetails `mandatory:"true" json:"databases"`
}
func (m CreateSystemRaftClusterDetails) String() string
func (m *CreateSystemRaftClusterDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateSystemRaftClusterDetails) 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
CreateSystemRaftClusterDetailsRuModeEnum Enum with underlying type: string
type CreateSystemRaftClusterDetailsRuModeEnum string
Set of constants representing the allowable values for CreateSystemRaftClusterDetailsRuModeEnum
const (
CreateSystemRaftClusterDetailsRuModeOnly CreateSystemRaftClusterDetailsRuModeEnum = "READ_ONLY"
CreateSystemRaftClusterDetailsRuModeWrite CreateSystemRaftClusterDetailsRuModeEnum = "READ_WRITE"
)
func GetCreateSystemRaftClusterDetailsRuModeEnumValues() []CreateSystemRaftClusterDetailsRuModeEnum
GetCreateSystemRaftClusterDetailsRuModeEnumValues Enumerates the set of values for CreateSystemRaftClusterDetailsRuModeEnum
func GetMappingCreateSystemRaftClusterDetailsRuModeEnum(val string) (CreateSystemRaftClusterDetailsRuModeEnum, bool)
GetMappingCreateSystemRaftClusterDetailsRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateUserShardSpaceDetails Details required to create user shard space.
type CreateUserShardSpaceDetails struct {
// The name of user shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
OriginalReplica *CreateUserShardSpaceReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details of data guard replica for the user shard space being created.
DataGuardReplicas []CreateUserShardSpaceReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m CreateUserShardSpaceDetails) String() string
func (m CreateUserShardSpaceDetails) 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
CreateUserShardSpaceReplicaDetails Details required to create user shard space replica.
type CreateUserShardSpaceReplicaDetails struct {
// The name of user shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database CreateDistributedDatabaseShardDatabaseDetails `mandatory:"true" json:"database"`
}
func (m CreateUserShardSpaceReplicaDetails) String() string
func (m *CreateUserShardSpaceReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateUserShardSpaceReplicaDetails) 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
DbStorageVaultDetails Details of the request to create exascale db vault storage for shard or catalog of the distributed database.
type DbStorageVaultDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for Db Storage Vault.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Total storage capacity in GB for vault storage.
HighCapacityDatabaseStorage *int `mandatory:"true" json:"highCapacityDatabaseStorage"`
// The size of additional Flash Cache in percentage of High Capacity database storage.
AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// Indicates if autoscale feature is enabled for the Database Storage Vault. The default value is `FALSE`.
IsAutoscaleEnabled *bool `mandatory:"false" json:"isAutoscaleEnabled"`
// The maximum limit, in gigabytes, to which the Vault storage size can automatically scale when auto scaling is enabled for the Database Storage Vault.
AutoscaleLimitInGBs *int `mandatory:"false" json:"autoscaleLimitInGBs"`
}
func (m DbStorageVaultDetails) String() string
func (m DbStorageVaultDetails) 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
DeleteDistributedAutonomousDatabaseRequest wrapper for the DeleteDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedAutonomousDatabase.go.html to see an example of how to use DeleteDistributedAutonomousDatabaseRequest.
type DeleteDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDistributedAutonomousDatabaseRequest) String() string
func (request DeleteDistributedAutonomousDatabaseRequest) 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
DeleteDistributedAutonomousDatabaseResponse wrapper for the DeleteDistributedAutonomousDatabase operation
type DeleteDistributedAutonomousDatabaseResponse 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 (response DeleteDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDistributedAutonomousDatabaseResponse) String() string
DeleteDistributedDatabasePrivateEndpointRequest wrapper for the DeleteDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedDatabasePrivateEndpoint.go.html to see an example of how to use DeleteDistributedDatabasePrivateEndpointRequest.
type DeleteDistributedDatabasePrivateEndpointRequest struct {
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteDistributedDatabasePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDistributedDatabasePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDistributedDatabasePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDistributedDatabasePrivateEndpointRequest) String() string
func (request DeleteDistributedDatabasePrivateEndpointRequest) 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
DeleteDistributedDatabasePrivateEndpointResponse wrapper for the DeleteDistributedDatabasePrivateEndpoint operation
type DeleteDistributedDatabasePrivateEndpointResponse 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 (response DeleteDistributedDatabasePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDistributedDatabasePrivateEndpointResponse) String() string
DeleteDistributedDatabaseRequest wrapper for the DeleteDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedDatabase.go.html to see an example of how to use DeleteDistributedDatabaseRequest.
type DeleteDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDistributedDatabaseRequest) String() string
func (request DeleteDistributedDatabaseRequest) 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
DeleteDistributedDatabaseResponse wrapper for the DeleteDistributedDatabase operation
type DeleteDistributedDatabaseResponse 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 (response DeleteDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDistributedDatabaseResponse) String() string
DistributedAutonomousDatabase Globally distributed autonomous database.
type DistributedAutonomousDatabase struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed autonomous database.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Globally distributed autonomous database was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Globally distributed autonomous database was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Oracle Database version for the shards and catalog used in Globally distributed autonomous database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Lifecycle states for the Globally distributed autonomous database.
LifecycleState DistributedAutonomousDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Sharding methods for the Globally distributed autonomous database.
ShardingMethod DistributedAutonomousDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"`
// The distributed autonomous database deployment type.
DbDeploymentType DistributedAutonomousDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"`
// The lifecycleDetails for the Globally distributed autonomous database.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// Possible workload types. Currently only OLTP workload type is supported.
DbWorkloadType DistributedAutonomousDatabaseDbWorkloadTypeEnum `mandatory:"true" json:"dbWorkloadType"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The listener port number for the Globally distributed autonomous database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// Ons local port number for Globally distributed autonomous database.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// Ons remote port number for Globally distributed autonomous database.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// The Replication method for Globally distributed Autonomous database. Use RAFT for Raft based replication.
// With RAFT replication, shards cannot have peers details set on them. In case shards need to
// have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or
// without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
ReplicationMethod DistributedAutonomousDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"`
ConnectionStrings *DistributedAutonomousDatabaseConnectionString `mandatory:"false" json:"connectionStrings"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed autonomous database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The TLS listener port number for Globally distributed autonomous database.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
LatestGsmImage *DistributedAutonomousDatabaseGsmImage `mandatory:"false" json:"latestGsmImage"`
// Collection of composite raft shards.
CompositeRaftShardSpaces []AutonomousCompositeRaftShardSpace `mandatory:"false" json:"compositeRaftShardSpaces"`
// Collection of composite data guard shard spaces.
CompositeDataGuardShardSpaces []AutonomousCompositeDataGuardShardSpace `mandatory:"false" json:"compositeDataGuardShardSpaces"`
// Collection of system raft clusters.
SystemRaftClusters []AutonomousSystemRaftCluster `mandatory:"false" json:"systemRaftClusters"`
SystemDataGuardDatabases *AutonomousSystemDataGuardDatabase `mandatory:"false" json:"systemDataGuardDatabases"`
// Collection of user defined shard spaces.
UserShardSpaces []AutonomousUserShardSpace `mandatory:"false" json:"userShardSpaces"`
// Catalog details associated with the distributed autonomous database.
CatalogDetails []DistributedAutonomousDatabaseCatalog `mandatory:"false" json:"catalogDetails"`
// Global Service Manager (GSM) instances associated with the distributed autonomous database.
GsmDetails []DistributedAutonomousDatabaseGsm `mandatory:"false" json:"gsmDetails"`
// Global Database Services Control(GDS CTL) instances associated with the distributed autonomous database.
GdsControlNodeDetails []DistributedAutonomousDatabaseGdsControlNode `mandatory:"false" json:"gdsControlNodeDetails"`
DbBackupConfig *DistributedAutonomousDbBackupConfig `mandatory:"false" json:"dbBackupConfig"`
AutoResourceManagementConfig *AutoResourceManagementConfigurationDetails `mandatory:"false" json:"autoResourceManagementConfig"`
// The list of network security group (NSG) details associated with the distributed autonomous database.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
// 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedAutonomousDatabase) String() string
func (m DistributedAutonomousDatabase) 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
DistributedAutonomousDatabaseAutoResourceManagementDetails Automatic resource management configuration details for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseAutoResourceManagementDetails struct {
// Flag indicating if autoResourceManagement is enabled or disabled.
IsEnabled *bool `mandatory:"true" json:"isEnabled"`
// Time period to wait for the database to get stable after autoResourceManagement event.
CoolOffPeriodInMinutes *int `mandatory:"false" json:"coolOffPeriodInMinutes"`
// Maximum number of move replication unit attempts allowed within the configured period per database.
MaxMoveRuAttempts *int `mandatory:"false" json:"maxMoveRuAttempts"`
// Time unit applicable to maxMoveRuAttempts.
MaxMoveRuUnit DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum `mandatory:"false" json:"maxMoveRuUnit,omitempty"`
// Mode of autoResourceManagement execution.
Mode DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum `mandatory:"false" json:"mode,omitempty"`
// The action that will be taken when autoResourceManagement is triggered.
ActionType DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`
// The list of notification topic ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to receive autoResourceManagement events.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The list of stream ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that receive shard-related telemetry.
StreamIds []string `mandatory:"false" json:"streamIds"`
}
func (m DistributedAutonomousDatabaseAutoResourceManagementDetails) String() string
func (m DistributedAutonomousDatabaseAutoResourceManagementDetails) 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
DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum Enum with underlying type: string
type DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
const (
DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeMove DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum = "MOVE"
)
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumValues() []DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnumValues Enumerates the set of values for DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum(val string) (DistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum, bool)
GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum Enum with underlying type: string
type DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
const (
DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitHour DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "HOUR"
DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitDay DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "DAY"
)
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues() []DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues Enumerates the set of values for DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum(val string) (DistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum, bool)
GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum Enum with underlying type: string
type DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
const (
DistributedAutonomousDatabaseAutoResourceManagementDetailsModeAutomatic DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum = "AUTOMATIC"
DistributedAutonomousDatabaseAutoResourceManagementDetailsModeRecommendation DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum = "RECOMMENDATION"
)
func GetDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumValues() []DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
GetDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnumValues Enumerates the set of values for DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum
func GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum(val string) (DistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum, bool)
GetMappingDistributedAutonomousDatabaseAutoResourceManagementDetailsModeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseCatalog Globally distributed autonomous database catalog details.
type DistributedAutonomousDatabaseCatalog struct {
OriginalReplica *DistributedAutonomousDatabaseCatalogReplica `mandatory:"true" json:"originalReplica"`
// The details of data guard replicas for the catalog.
DataGuardReplicas []DistributedAutonomousDatabaseCatalogReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m DistributedAutonomousDatabaseCatalog) String() string
func (m DistributedAutonomousDatabaseCatalog) 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
DistributedAutonomousDatabaseCatalogDatabase Details of the catalog database associated with the Globally distributed autonomous database.
type DistributedAutonomousDatabaseCatalogDatabase interface {
// The name of the catalog.
GetName() *string
// The time the catalog was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the catalog was last updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
GetMetadata() *DistributedAutonomousDbMetadata
}
DistributedAutonomousDatabaseCatalogDatabaseSourceEnum Enum with underlying type: string
type DistributedAutonomousDatabaseCatalogDatabaseSourceEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseCatalogDatabaseSourceEnum
const (
DistributedAutonomousDatabaseCatalogDatabaseSourceAdbdExistingCluster DistributedAutonomousDatabaseCatalogDatabaseSourceEnum = "ADBD_EXISTING_CLUSTER"
)
func GetDistributedAutonomousDatabaseCatalogDatabaseSourceEnumValues() []DistributedAutonomousDatabaseCatalogDatabaseSourceEnum
GetDistributedAutonomousDatabaseCatalogDatabaseSourceEnumValues Enumerates the set of values for DistributedAutonomousDatabaseCatalogDatabaseSourceEnum
func GetMappingDistributedAutonomousDatabaseCatalogDatabaseSourceEnum(val string) (DistributedAutonomousDatabaseCatalogDatabaseSourceEnum, bool)
GetMappingDistributedAutonomousDatabaseCatalogDatabaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseCatalogReplica Details of a catalog replica.
type DistributedAutonomousDatabaseCatalogReplica struct {
// The name of the catalog replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database DistributedAutonomousDatabaseCatalogDatabase `mandatory:"true" json:"database"`
}
func (m DistributedAutonomousDatabaseCatalogReplica) String() string
func (m *DistributedAutonomousDatabaseCatalogReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DistributedAutonomousDatabaseCatalogReplica) 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
DistributedAutonomousDatabaseCatalogWithDedicatedInfra Details of a distributed autonomous database catalog on dedicated infrastructure.
type DistributedAutonomousDatabaseCatalogWithDedicatedInfra struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The compute count for the catalog database. It has to be in multiples of 2.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the catalog database.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster.
CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
// Indicates if vertical auto scaling is enabled for the Autonomous AI Database CPU core count.
// The default value is `FALSE`.
IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store used to create the catalog.
OkvKeyStoreId *string `mandatory:"false" json:"okvKeyStoreId"`
// The OKV endpoint name.
OkvEndPointGroupName *string `mandatory:"false" json:"okvEndPointGroupName"`
// The lag time preference based on data loss tolerance in seconds.
FastStartFailOverLagLimitInSeconds *int `mandatory:"false" json:"fastStartFailOverLagLimitInSeconds"`
// The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
// This value represents the number of days before scheduled maintenance of the primary database.
StandbyMaintenanceBufferInDays *int `mandatory:"false" json:"standbyMaintenanceBufferInDays"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// Status of the distributed autonomous database catalog.
Status DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"`
// The protection mode for the catalog peer.
ProtectionMode DistributedAutonomousDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
}
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) GetMetadata() *DistributedAutonomousDbMetadata
GetMetadata returns Metadata
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) GetName() *string
GetName returns Name
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) String() string
func (m DistributedAutonomousDatabaseCatalogWithDedicatedInfra) 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
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum Enum with underlying type: string
type DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum
const (
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusFailed DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "FAILED"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusDeleting DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "DELETING"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusDeleted DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "DELETED"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusUpdating DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "UPDATING"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusCreating DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "CREATING"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusCreated DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "CREATED"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusReadyForConfiguration DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "READY_FOR_CONFIGURATION"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusConfigured DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "CONFIGURED"
DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusNeedsAttention DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnumValues() []DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum
GetDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnumValues Enumerates the set of values for DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum
func GetMappingDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum(val string) (DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum, bool)
GetMappingDistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseCollection Collection of Globally distributed autonomous databases.
type DistributedAutonomousDatabaseCollection struct {
// Array of Globally distributed autonomous database summaries.
Items []DistributedAutonomousDatabaseSummary `mandatory:"true" json:"items"`
}
func (m DistributedAutonomousDatabaseCollection) String() string
func (m DistributedAutonomousDatabaseCollection) 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
DistributedAutonomousDatabaseConnectionString Details of Globally distributed autonomous database connection String.
type DistributedAutonomousDatabaseConnectionString struct {
// Collection of connection strings.
AllConnectionStrings map[string]string `mandatory:"true" json:"allConnectionStrings"`
}
func (m DistributedAutonomousDatabaseConnectionString) String() string
func (m DistributedAutonomousDatabaseConnectionString) 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
DistributedAutonomousDatabaseDbDeploymentTypeEnum Enum with underlying type: string
type DistributedAutonomousDatabaseDbDeploymentTypeEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseDbDeploymentTypeEnum
const (
DistributedAutonomousDatabaseDbDeploymentTypeAdbD DistributedAutonomousDatabaseDbDeploymentTypeEnum = "ADB_D"
)
func GetDistributedAutonomousDatabaseDbDeploymentTypeEnumValues() []DistributedAutonomousDatabaseDbDeploymentTypeEnum
GetDistributedAutonomousDatabaseDbDeploymentTypeEnumValues Enumerates the set of values for DistributedAutonomousDatabaseDbDeploymentTypeEnum
func GetMappingDistributedAutonomousDatabaseDbDeploymentTypeEnum(val string) (DistributedAutonomousDatabaseDbDeploymentTypeEnum, bool)
GetMappingDistributedAutonomousDatabaseDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseDbWorkloadTypeEnum Enum with underlying type: string
type DistributedAutonomousDatabaseDbWorkloadTypeEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseDbWorkloadTypeEnum
const (
DistributedAutonomousDatabaseDbWorkloadTypeOltp DistributedAutonomousDatabaseDbWorkloadTypeEnum = "OLTP"
DistributedAutonomousDatabaseDbWorkloadTypeDw DistributedAutonomousDatabaseDbWorkloadTypeEnum = "DW"
)
func GetDistributedAutonomousDatabaseDbWorkloadTypeEnumValues() []DistributedAutonomousDatabaseDbWorkloadTypeEnum
GetDistributedAutonomousDatabaseDbWorkloadTypeEnumValues Enumerates the set of values for DistributedAutonomousDatabaseDbWorkloadTypeEnum
func GetMappingDistributedAutonomousDatabaseDbWorkloadTypeEnum(val string) (DistributedAutonomousDatabaseDbWorkloadTypeEnum, bool)
GetMappingDistributedAutonomousDatabaseDbWorkloadTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseGdsControlNode Details of Global Database Services Control(GDS CTL) instances for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseGdsControlNode struct {
// Name of the Global Database Services Control instance
Name *string `mandatory:"true" json:"name"`
// The time the Global Database Services Control instance was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Global Database Services Control instance was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Global Database Services Control instance.
SubnetId *string `mandatory:"false" json:"subnetId"`
// The name of the availability domain where the Global Database Services Control instance is located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
// The identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// IP address of the Global Database Services Control instance.
PrivateIp *string `mandatory:"false" json:"privateIp"`
GdsControlNodeImageDetails *DistributedAutonomousDatabaseGdsControlNodeImage `mandatory:"false" json:"gdsControlNodeImageDetails"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
}
func (m DistributedAutonomousDatabaseGdsControlNode) String() string
func (m DistributedAutonomousDatabaseGdsControlNode) 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
DistributedAutonomousDatabaseGdsControlNodeImage The Global Database Services Control(GDS CTL) image details.
type DistributedAutonomousDatabaseGdsControlNodeImage struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Global Database Services Control(GDS CTL) software image.
Id *string `mandatory:"true" json:"id"`
// The version associated with the image identified by id.
Version *string `mandatory:"true" json:"version"`
}
func (m DistributedAutonomousDatabaseGdsControlNodeImage) String() string
func (m DistributedAutonomousDatabaseGdsControlNodeImage) 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
DistributedAutonomousDatabaseGsm Details of global service manager(GSM also known as shard director) instances for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseGsm struct {
// Name of the Global service manager instance.
Name *string `mandatory:"true" json:"name"`
// The compute count for the Global service manager instance.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the Global service manager instance.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The time the Global service manager instance was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Global service manager instance was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Status of the gsm for the Globally distributed autonomous database.
Status DistributedAutonomousDatabaseGsmStatusEnum `mandatory:"true" json:"status"`
// The time the ssl certificate associated with Global service manager expires. An RFC3339 formatted datetime string.
TimeSslCertificateExpires *common.SDKTime `mandatory:"false" json:"timeSslCertificateExpires"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
GsmImageDetails *DistributedAutonomousDatabaseGsmImage `mandatory:"false" json:"gsmImageDetails"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
}
func (m DistributedAutonomousDatabaseGsm) String() string
func (m DistributedAutonomousDatabaseGsm) 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
DistributedAutonomousDatabaseGsmImage The Global service manager image details.
type DistributedAutonomousDatabaseGsmImage struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Global service manager software image.
Id *string `mandatory:"true" json:"id"`
// The version associated with the image identified by id.
Version *string `mandatory:"true" json:"version"`
}
func (m DistributedAutonomousDatabaseGsmImage) String() string
func (m DistributedAutonomousDatabaseGsmImage) 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
DistributedAutonomousDatabaseGsmStatusEnum Enum with underlying type: string
type DistributedAutonomousDatabaseGsmStatusEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseGsmStatusEnum
const (
DistributedAutonomousDatabaseGsmStatusFailed DistributedAutonomousDatabaseGsmStatusEnum = "FAILED"
DistributedAutonomousDatabaseGsmStatusDeleting DistributedAutonomousDatabaseGsmStatusEnum = "DELETING"
DistributedAutonomousDatabaseGsmStatusDeleted DistributedAutonomousDatabaseGsmStatusEnum = "DELETED"
DistributedAutonomousDatabaseGsmStatusUpdating DistributedAutonomousDatabaseGsmStatusEnum = "UPDATING"
DistributedAutonomousDatabaseGsmStatusCreating DistributedAutonomousDatabaseGsmStatusEnum = "CREATING"
DistributedAutonomousDatabaseGsmStatusCreated DistributedAutonomousDatabaseGsmStatusEnum = "CREATED"
DistributedAutonomousDatabaseGsmStatusReadyForConfiguration DistributedAutonomousDatabaseGsmStatusEnum = "READY_FOR_CONFIGURATION"
DistributedAutonomousDatabaseGsmStatusConfigured DistributedAutonomousDatabaseGsmStatusEnum = "CONFIGURED"
DistributedAutonomousDatabaseGsmStatusNeedsAttention DistributedAutonomousDatabaseGsmStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedAutonomousDatabaseGsmStatusEnumValues() []DistributedAutonomousDatabaseGsmStatusEnum
GetDistributedAutonomousDatabaseGsmStatusEnumValues Enumerates the set of values for DistributedAutonomousDatabaseGsmStatusEnum
func GetMappingDistributedAutonomousDatabaseGsmStatusEnum(val string) (DistributedAutonomousDatabaseGsmStatusEnum, bool)
GetMappingDistributedAutonomousDatabaseGsmStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseLifecycleStateEnum Enum with underlying type: string
type DistributedAutonomousDatabaseLifecycleStateEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseLifecycleStateEnum
const (
DistributedAutonomousDatabaseLifecycleStateActive DistributedAutonomousDatabaseLifecycleStateEnum = "ACTIVE"
DistributedAutonomousDatabaseLifecycleStateFailed DistributedAutonomousDatabaseLifecycleStateEnum = "FAILED"
DistributedAutonomousDatabaseLifecycleStateNeedsAttention DistributedAutonomousDatabaseLifecycleStateEnum = "NEEDS_ATTENTION"
DistributedAutonomousDatabaseLifecycleStateInactive DistributedAutonomousDatabaseLifecycleStateEnum = "INACTIVE"
DistributedAutonomousDatabaseLifecycleStateDeleting DistributedAutonomousDatabaseLifecycleStateEnum = "DELETING"
DistributedAutonomousDatabaseLifecycleStateDeleted DistributedAutonomousDatabaseLifecycleStateEnum = "DELETED"
DistributedAutonomousDatabaseLifecycleStateUpdating DistributedAutonomousDatabaseLifecycleStateEnum = "UPDATING"
DistributedAutonomousDatabaseLifecycleStateCreating DistributedAutonomousDatabaseLifecycleStateEnum = "CREATING"
)
func GetDistributedAutonomousDatabaseLifecycleStateEnumValues() []DistributedAutonomousDatabaseLifecycleStateEnum
GetDistributedAutonomousDatabaseLifecycleStateEnumValues Enumerates the set of values for DistributedAutonomousDatabaseLifecycleStateEnum
func GetMappingDistributedAutonomousDatabaseLifecycleStateEnum(val string) (DistributedAutonomousDatabaseLifecycleStateEnum, bool)
GetMappingDistributedAutonomousDatabaseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseRaftMetric Raft metrics for shards and catalog for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseRaftMetric struct {
// Raft metrics for the Globally distributed autonomous database.
RaftMetrics map[string]interface{} `mandatory:"true" json:"raftMetrics"`
// Details of in-progress configuration tasks.
ConfigTasks map[string]interface{} `mandatory:"false" json:"configTasks"`
}
func (m DistributedAutonomousDatabaseRaftMetric) String() string
func (m DistributedAutonomousDatabaseRaftMetric) 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
DistributedAutonomousDatabaseReplicationMethodEnum Enum with underlying type: string
type DistributedAutonomousDatabaseReplicationMethodEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseReplicationMethodEnum
const (
DistributedAutonomousDatabaseReplicationMethodRaft DistributedAutonomousDatabaseReplicationMethodEnum = "RAFT"
DistributedAutonomousDatabaseReplicationMethodDg DistributedAutonomousDatabaseReplicationMethodEnum = "DG"
)
func GetDistributedAutonomousDatabaseReplicationMethodEnumValues() []DistributedAutonomousDatabaseReplicationMethodEnum
GetDistributedAutonomousDatabaseReplicationMethodEnumValues Enumerates the set of values for DistributedAutonomousDatabaseReplicationMethodEnum
func GetMappingDistributedAutonomousDatabaseReplicationMethodEnum(val string) (DistributedAutonomousDatabaseReplicationMethodEnum, bool)
GetMappingDistributedAutonomousDatabaseReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseRuChangeLog Move RU invocation history for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseRuChangeLog struct {
// Ordered list of move RU invocations (latest first).
RuChangeLog []DistributedAutonomousDatabaseRuChangeLogSummary `mandatory:"true" json:"ruChangeLog"`
}
func (m DistributedAutonomousDatabaseRuChangeLog) String() string
func (m DistributedAutonomousDatabaseRuChangeLog) 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
DistributedAutonomousDatabaseRuChangeLogSummary One move RU invocation record for the Globally distributed autonomous database.
type DistributedAutonomousDatabaseRuChangeLogSummary struct {
// Source shard for move RU invocation.
SourceShardName *string `mandatory:"false" json:"sourceShardName"`
// Target shard for move RU invocation.
TargetShardName *string `mandatory:"false" json:"targetShardName"`
// Replication unit identifier associated with the invocation.
RuId *string `mandatory:"false" json:"ruId"`
// Current or terminal status of the move RU invocation.
Status DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`
// Actor who triggered the move RU invocation.
TriggeredBy *string `mandatory:"false" json:"triggeredBy"`
// Entry creation timestamp in UTC.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// Entry update timestamp in UTC.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m DistributedAutonomousDatabaseRuChangeLogSummary) String() string
func (m DistributedAutonomousDatabaseRuChangeLogSummary) 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
DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum Enum with underlying type: string
type DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum
const (
DistributedAutonomousDatabaseRuChangeLogSummaryStatusFailed DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum = "FAILED"
DistributedAutonomousDatabaseRuChangeLogSummaryStatusQueued DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum = "QUEUED"
DistributedAutonomousDatabaseRuChangeLogSummaryStatusInProgress DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum = "IN_PROGRESS"
DistributedAutonomousDatabaseRuChangeLogSummaryStatusCompleted DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum = "COMPLETED"
)
func GetDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnumValues() []DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum
GetDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnumValues Enumerates the set of values for DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum
func GetMappingDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum(val string) (DistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum, bool)
GetMappingDistributedAutonomousDatabaseRuChangeLogSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseShardDatabase Globally distributed autonomous database shard.
type DistributedAutonomousDatabaseShardDatabase interface {
// Name of the shard.
GetName() *string
// The time the shard was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the shard was last updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
GetMetadata() *DistributedAutonomousDbMetadata
}
DistributedAutonomousDatabaseShardDatabaseSourceEnum Enum with underlying type: string
type DistributedAutonomousDatabaseShardDatabaseSourceEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseShardDatabaseSourceEnum
const (
DistributedAutonomousDatabaseShardDatabaseSourceAdbdExistingCluster DistributedAutonomousDatabaseShardDatabaseSourceEnum = "ADBD_EXISTING_CLUSTER"
)
func GetDistributedAutonomousDatabaseShardDatabaseSourceEnumValues() []DistributedAutonomousDatabaseShardDatabaseSourceEnum
GetDistributedAutonomousDatabaseShardDatabaseSourceEnumValues Enumerates the set of values for DistributedAutonomousDatabaseShardDatabaseSourceEnum
func GetMappingDistributedAutonomousDatabaseShardDatabaseSourceEnum(val string) (DistributedAutonomousDatabaseShardDatabaseSourceEnum, bool)
GetMappingDistributedAutonomousDatabaseShardDatabaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseShardWithDedicatedInfra Details of a distributed autonomous database shard on dedicated infrastructure.
type DistributedAutonomousDatabaseShardWithDedicatedInfra struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The compute count for the shard database. It has to be in multiples of 2.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the shard database.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.
CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
// Indicates if vertical auto scaling is enabled for the Autonomous AI Database CPU core count.
// The default value is `FALSE`.
IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store used to create the shard.
OkvKeyStoreId *string `mandatory:"false" json:"okvKeyStoreId"`
// The OKV endpoint name.
OkvEndPointGroupName *string `mandatory:"false" json:"okvEndPointGroupName"`
// The lag time preference based on data loss tolerance in seconds.
FastStartFailOverLagLimitInSeconds *int `mandatory:"false" json:"fastStartFailOverLagLimitInSeconds"`
// The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
StandbyMaintenanceBufferInDays *int `mandatory:"false" json:"standbyMaintenanceBufferInDays"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// Status of the distributed autonomous database shard.
Status DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"`
// The protection mode for the shard peer.
ProtectionMode DistributedAutonomousDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
}
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) GetMetadata() *DistributedAutonomousDbMetadata
GetMetadata returns Metadata
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) GetName() *string
GetName returns Name
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) String() string
func (m DistributedAutonomousDatabaseShardWithDedicatedInfra) 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
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum Enum with underlying type: string
type DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum
const (
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusFailed DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "FAILED"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusDeleting DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "DELETING"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusDeleted DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "DELETED"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusUpdating DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "UPDATING"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusCreating DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "CREATING"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusCreated DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "CREATED"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusReadyForConfiguration DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "READY_FOR_CONFIGURATION"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusConfigured DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "CONFIGURED"
DistributedAutonomousDatabaseShardWithDedicatedInfraStatusNeedsAttention DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnumValues() []DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum
GetDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnumValues Enumerates the set of values for DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum
func GetMappingDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum(val string) (DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum, bool)
GetMappingDistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseShardingMethodEnum Enum with underlying type: string
type DistributedAutonomousDatabaseShardingMethodEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseShardingMethodEnum
const (
DistributedAutonomousDatabaseShardingMethodUser DistributedAutonomousDatabaseShardingMethodEnum = "USER"
DistributedAutonomousDatabaseShardingMethodSystem DistributedAutonomousDatabaseShardingMethodEnum = "SYSTEM"
DistributedAutonomousDatabaseShardingMethodComposite DistributedAutonomousDatabaseShardingMethodEnum = "COMPOSITE"
)
func GetDistributedAutonomousDatabaseShardingMethodEnumValues() []DistributedAutonomousDatabaseShardingMethodEnum
GetDistributedAutonomousDatabaseShardingMethodEnumValues Enumerates the set of values for DistributedAutonomousDatabaseShardingMethodEnum
func GetMappingDistributedAutonomousDatabaseShardingMethodEnum(val string) (DistributedAutonomousDatabaseShardingMethodEnum, bool)
GetMappingDistributedAutonomousDatabaseShardingMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseSummary Globally distributed autonomous database.
type DistributedAutonomousDatabaseSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed autonomous database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed autonomous database.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Globally distributed autonomous database was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Globally distributed autonomous database was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Oracle Database version for the shards and catalog used in Globally distributed autonomous database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Lifecycle state of sharded database.
LifecycleState DistributedAutonomousDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The lifecycleDetails for the Globally distributed autonomous database.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// The workload type for the database.
DbWorkloadType DistributedAutonomousDatabaseDbWorkloadTypeEnum `mandatory:"true" json:"dbWorkloadType"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The listener port number for the Globally distributed autonomous database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// Ons local port number for the Globally distributed autonomous database.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// Ons remote port number for the Globally distributed autonomous database.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// Sharding methods for the Globally distributed autonomous database.
ShardingMethod DistributedAutonomousDatabaseSummaryShardingMethodEnum `mandatory:"true" json:"shardingMethod"`
// The distributed autonomous database deployment type.
DbDeploymentType DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed autonomous database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The TLS listener port number for the Globally distributed autonomous database.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
AutoResourceManagementConfig *AutoResourceManagementConfigurationDetails `mandatory:"false" json:"autoResourceManagementConfig"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"`
// The Replication method for Globally distributed Autonomous database. Use RAFT for Raft based replication.
// With RAFT replication, shards cannot have peers details set on them. In case shards need to
// have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or
// without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
ReplicationMethod DistributedAutonomousDatabaseSummaryReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"`
// 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedAutonomousDatabaseSummary) String() string
func (m DistributedAutonomousDatabaseSummary) 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
DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum Enum with underlying type: string
type DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum
const (
DistributedAutonomousDatabaseSummaryDbDeploymentTypeAdbD DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum = "ADB_D"
)
func GetDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnumValues() []DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum
GetDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnumValues Enumerates the set of values for DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum
func GetMappingDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum(val string) (DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum, bool)
GetMappingDistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseSummaryReplicationMethodEnum Enum with underlying type: string
type DistributedAutonomousDatabaseSummaryReplicationMethodEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseSummaryReplicationMethodEnum
const (
DistributedAutonomousDatabaseSummaryReplicationMethodRaft DistributedAutonomousDatabaseSummaryReplicationMethodEnum = "RAFT"
DistributedAutonomousDatabaseSummaryReplicationMethodDg DistributedAutonomousDatabaseSummaryReplicationMethodEnum = "DG"
)
func GetDistributedAutonomousDatabaseSummaryReplicationMethodEnumValues() []DistributedAutonomousDatabaseSummaryReplicationMethodEnum
GetDistributedAutonomousDatabaseSummaryReplicationMethodEnumValues Enumerates the set of values for DistributedAutonomousDatabaseSummaryReplicationMethodEnum
func GetMappingDistributedAutonomousDatabaseSummaryReplicationMethodEnum(val string) (DistributedAutonomousDatabaseSummaryReplicationMethodEnum, bool)
GetMappingDistributedAutonomousDatabaseSummaryReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseSummaryShardingMethodEnum Enum with underlying type: string
type DistributedAutonomousDatabaseSummaryShardingMethodEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseSummaryShardingMethodEnum
const (
DistributedAutonomousDatabaseSummaryShardingMethodUser DistributedAutonomousDatabaseSummaryShardingMethodEnum = "USER"
DistributedAutonomousDatabaseSummaryShardingMethodSystem DistributedAutonomousDatabaseSummaryShardingMethodEnum = "SYSTEM"
DistributedAutonomousDatabaseSummaryShardingMethodComposite DistributedAutonomousDatabaseSummaryShardingMethodEnum = "COMPOSITE"
)
func GetDistributedAutonomousDatabaseSummaryShardingMethodEnumValues() []DistributedAutonomousDatabaseSummaryShardingMethodEnum
GetDistributedAutonomousDatabaseSummaryShardingMethodEnumValues Enumerates the set of values for DistributedAutonomousDatabaseSummaryShardingMethodEnum
func GetMappingDistributedAutonomousDatabaseSummaryShardingMethodEnum(val string) (DistributedAutonomousDatabaseSummaryShardingMethodEnum, bool)
GetMappingDistributedAutonomousDatabaseSummaryShardingMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDbBackupConfig Backup options for the Distributed Autonomous Database.
type DistributedAutonomousDbBackupConfig struct {
// Backup destination details.
BackupDestinationDetails []DistributedAutonomousDbBackupDestination `mandatory:"false" json:"backupDestinationDetails"`
// Number of days between the current and the earliest point of recoverability covered by automatic backups.
// This value applies to automatic backups. When the value is updated, it is applied to all existing automatic backups.
// If the number of specified days is 0 then there will be no backups.
RecoveryWindowInDays *int `mandatory:"false" json:"recoveryWindowInDays"`
}
func (m DistributedAutonomousDbBackupConfig) String() string
func (m DistributedAutonomousDbBackupConfig) 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
DistributedAutonomousDbBackupDestination Backup destination details
type DistributedAutonomousDbBackupDestination struct {
// Type of the database backup destination.
Type DistributedAutonomousDbBackupDestinationTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination.
Id *string `mandatory:"false" json:"id"`
// Proxy URL to connect to object store.
InternetProxy *string `mandatory:"false" json:"internetProxy"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.
DbrsPolicyId *string `mandatory:"false" json:"dbrsPolicyId"`
// Indicates whether the backup destination is cross-region or local region.
IsRemote *bool `mandatory:"false" json:"isRemote"`
// The name of the remote region where the remote automatic incremental backups will be stored.
// For information about valid region names, see
// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
RemoteRegion *string `mandatory:"false" json:"remoteRegion"`
}
func (m DistributedAutonomousDbBackupDestination) String() string
func (m DistributedAutonomousDbBackupDestination) 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
DistributedAutonomousDbBackupDestinationTypeEnum Enum with underlying type: string
type DistributedAutonomousDbBackupDestinationTypeEnum string
Set of constants representing the allowable values for DistributedAutonomousDbBackupDestinationTypeEnum
const (
DistributedAutonomousDbBackupDestinationTypeNfs DistributedAutonomousDbBackupDestinationTypeEnum = "NFS"
DistributedAutonomousDbBackupDestinationTypeObjectStore DistributedAutonomousDbBackupDestinationTypeEnum = "OBJECT_STORE"
DistributedAutonomousDbBackupDestinationTypeLocal DistributedAutonomousDbBackupDestinationTypeEnum = "LOCAL"
DistributedAutonomousDbBackupDestinationTypeDbrs DistributedAutonomousDbBackupDestinationTypeEnum = "DBRS"
)
func GetDistributedAutonomousDbBackupDestinationTypeEnumValues() []DistributedAutonomousDbBackupDestinationTypeEnum
GetDistributedAutonomousDbBackupDestinationTypeEnumValues Enumerates the set of values for DistributedAutonomousDbBackupDestinationTypeEnum
func GetMappingDistributedAutonomousDbBackupDestinationTypeEnum(val string) (DistributedAutonomousDbBackupDestinationTypeEnum, bool)
GetMappingDistributedAutonomousDbBackupDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDbMetadata Additional metadata related to Globally distributed autonomous database resources.
type DistributedAutonomousDbMetadata struct {
// The map containing key-value pair of additional metadata.
PropertiesMap map[string]string `mandatory:"false" json:"map"`
}
func (m DistributedAutonomousDbMetadata) String() string
func (m DistributedAutonomousDbMetadata) 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
DistributedAutonomousDbProtectionModeEnum Enum with underlying type: string
type DistributedAutonomousDbProtectionModeEnum string
Set of constants representing the allowable values for DistributedAutonomousDbProtectionModeEnum
const (
DistributedAutonomousDbProtectionModeMaximumAvailability DistributedAutonomousDbProtectionModeEnum = "MAXIMUM_AVAILABILITY"
DistributedAutonomousDbProtectionModeMaximumPerformance DistributedAutonomousDbProtectionModeEnum = "MAXIMUM_PERFORMANCE"
)
func GetDistributedAutonomousDbProtectionModeEnumValues() []DistributedAutonomousDbProtectionModeEnum
GetDistributedAutonomousDbProtectionModeEnumValues Enumerates the set of values for DistributedAutonomousDbProtectionModeEnum
func GetMappingDistributedAutonomousDbProtectionModeEnum(val string) (DistributedAutonomousDbProtectionModeEnum, bool)
GetMappingDistributedAutonomousDbProtectionModeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDbServiceClient a client for DistributedAutonomousDbService
type DistributedAutonomousDbServiceClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDistributedAutonomousDbServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DistributedAutonomousDbServiceClient, err error)
NewDistributedAutonomousDbServiceClientWithConfigurationProvider Creates a new default DistributedAutonomousDbService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDistributedAutonomousDbServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DistributedAutonomousDbServiceClient, err error)
NewDistributedAutonomousDbServiceClientWithOboToken Creates a new default DistributedAutonomousDbService client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DistributedAutonomousDbServiceClient) AddDistributedAutonomousDatabaseGdsControlNode(ctx context.Context, request AddDistributedAutonomousDatabaseGdsControlNodeRequest) (response AddDistributedAutonomousDatabaseGdsControlNodeResponse, err error)
AddDistributedAutonomousDatabaseGdsControlNode Add new Global database services control(GDS CTL) node for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/AddDistributedAutonomousDatabaseGdsControlNode.go.html to see an example of how to use AddDistributedAutonomousDatabaseGdsControlNode API. A default retry strategy applies to this operation AddDistributedAutonomousDatabaseGdsControlNode()
func (client DistributedAutonomousDbServiceClient) ChangeDistributedAutonomousDatabaseCompartment(ctx context.Context, request ChangeDistributedAutonomousDatabaseCompartmentRequest) (response ChangeDistributedAutonomousDatabaseCompartmentResponse, err error)
ChangeDistributedAutonomousDatabaseCompartment Move the Globally distributed autonomous database and its dependent resources to the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedAutonomousDatabaseCompartment.go.html to see an example of how to use ChangeDistributedAutonomousDatabaseCompartment API. A default retry strategy applies to this operation ChangeDistributedAutonomousDatabaseCompartment()
func (client DistributedAutonomousDbServiceClient) ChangeDistributedAutonomousDbBackupConfig(ctx context.Context, request ChangeDistributedAutonomousDbBackupConfigRequest) (response ChangeDistributedAutonomousDbBackupConfigResponse, err error)
ChangeDistributedAutonomousDbBackupConfig Change the DbBackupConfig for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedAutonomousDbBackupConfig.go.html to see an example of how to use ChangeDistributedAutonomousDbBackupConfig API. A default retry strategy applies to this operation ChangeDistributedAutonomousDbBackupConfig()
func (client *DistributedAutonomousDbServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DistributedAutonomousDbServiceClient) ConfigureDistributedAutonomousDatabaseAutoResourceManagement(ctx context.Context, request ConfigureDistributedAutonomousDatabaseAutoResourceManagementRequest) (response ConfigureDistributedAutonomousDatabaseAutoResourceManagementResponse, err error)
ConfigureDistributedAutonomousDatabaseAutoResourceManagement Configure autoResourceManagement options for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseAutoResourceManagement.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseAutoResourceManagement API. A default retry strategy applies to this operation ConfigureDistributedAutonomousDatabaseAutoResourceManagement()
func (client DistributedAutonomousDbServiceClient) ConfigureDistributedAutonomousDatabaseGsmWallet(ctx context.Context, request ConfigureDistributedAutonomousDatabaseGsmWalletRequest) (response ConfigureDistributedAutonomousDatabaseGsmWalletResponse, err error)
ConfigureDistributedAutonomousDatabaseGsmWallet Configure wallets on Global Service Manager(GSM) instances for a Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseGsmWallet.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseGsmWallet API. A default retry strategy applies to this operation ConfigureDistributedAutonomousDatabaseGsmWallet()
func (client DistributedAutonomousDbServiceClient) ConfigureDistributedAutonomousDatabaseGsms(ctx context.Context, request ConfigureDistributedAutonomousDatabaseGsmsRequest) (response ConfigureDistributedAutonomousDatabaseGsmsResponse, err error)
ConfigureDistributedAutonomousDatabaseGsms Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseGsms.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseGsms API. A default retry strategy applies to this operation ConfigureDistributedAutonomousDatabaseGsms()
func (client DistributedAutonomousDbServiceClient) ConfigureDistributedAutonomousDatabaseSharding(ctx context.Context, request ConfigureDistributedAutonomousDatabaseShardingRequest) (response ConfigureDistributedAutonomousDatabaseShardingResponse, err error)
ConfigureDistributedAutonomousDatabaseSharding Once all components of Globally distributed autonomous database are provisioned, this api shall be invoked to configure sharding on the Globally distributed autonomous database. Note that this 'ConfigureSharding' API also needs to be invoked after successfully adding a new shard to the Globally distributed autonomous database using PATCH api. If this API is not invoked after successfully adding a new shard, then that new shard will not be a participant in sharding topology of the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedAutonomousDatabaseSharding.go.html to see an example of how to use ConfigureDistributedAutonomousDatabaseSharding API. A default retry strategy applies to this operation ConfigureDistributedAutonomousDatabaseSharding()
func (client DistributedAutonomousDbServiceClient) CreateDistributedAutonomousDatabase(ctx context.Context, request CreateDistributedAutonomousDatabaseRequest) (response CreateDistributedAutonomousDatabaseResponse, err error)
CreateDistributedAutonomousDatabase Creates a Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedAutonomousDatabase.go.html to see an example of how to use CreateDistributedAutonomousDatabase API. A default retry strategy applies to this operation CreateDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) DeleteDistributedAutonomousDatabase(ctx context.Context, request DeleteDistributedAutonomousDatabaseRequest) (response DeleteDistributedAutonomousDatabaseResponse, err error)
DeleteDistributedAutonomousDatabase Terminate the given Globally distributed autonomous databases.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedAutonomousDatabase.go.html to see an example of how to use DeleteDistributedAutonomousDatabase API. A default retry strategy applies to this operation DeleteDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) GenerateDistributedAutonomousDatabaseWallet(ctx context.Context, request GenerateDistributedAutonomousDatabaseWalletRequest) (response GenerateDistributedAutonomousDatabaseWalletResponse, err error)
GenerateDistributedAutonomousDatabaseWallet Generate the wallet associated with Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GenerateDistributedAutonomousDatabaseWallet.go.html to see an example of how to use GenerateDistributedAutonomousDatabaseWallet API. A default retry strategy applies to this operation GenerateDistributedAutonomousDatabaseWallet()
func (client DistributedAutonomousDbServiceClient) GetDistributedAutonomousDatabase(ctx context.Context, request GetDistributedAutonomousDatabaseRequest) (response GetDistributedAutonomousDatabaseResponse, err error)
GetDistributedAutonomousDatabase Gets the details of the Globally distributed autonomous database identified by given id.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabase.go.html to see an example of how to use GetDistributedAutonomousDatabase API. A default retry strategy applies to this operation GetDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) GetDistributedAutonomousDatabaseRaftMetric(ctx context.Context, request GetDistributedAutonomousDatabaseRaftMetricRequest) (response GetDistributedAutonomousDatabaseRaftMetricResponse, err error)
GetDistributedAutonomousDatabaseRaftMetric Operation to retrieve RAFT metrics for the Globally distributed autonomous database. If the Globally distributed autonomous database is not RAFT based then empty response is returned from the API.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabaseRaftMetric.go.html to see an example of how to use GetDistributedAutonomousDatabaseRaftMetric API. A default retry strategy applies to this operation GetDistributedAutonomousDatabaseRaftMetric()
func (client DistributedAutonomousDbServiceClient) GetDistributedAutonomousDatabaseRuChangeLog(ctx context.Context, request GetDistributedAutonomousDatabaseRuChangeLogRequest) (response GetDistributedAutonomousDatabaseRuChangeLogResponse, err error)
GetDistributedAutonomousDatabaseRuChangeLog Operation to retrieve move RU invocation history and status for the Globally distributed autonomous database. Results are ordered by created timestamp in descending order.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabaseRuChangeLog.go.html to see an example of how to use GetDistributedAutonomousDatabaseRuChangeLog API. A default retry strategy applies to this operation GetDistributedAutonomousDatabaseRuChangeLog()
func (client DistributedAutonomousDbServiceClient) ListDistributedAutonomousDatabases(ctx context.Context, request ListDistributedAutonomousDatabasesRequest) (response ListDistributedAutonomousDatabasesResponse, err error)
ListDistributedAutonomousDatabases List of Globally distributed autonomous databases.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedAutonomousDatabases.go.html to see an example of how to use ListDistributedAutonomousDatabases API. A default retry strategy applies to this operation ListDistributedAutonomousDatabases()
func (client DistributedAutonomousDbServiceClient) MoveDistributedAutonomousDatabaseReplicationUnit(ctx context.Context, request MoveDistributedAutonomousDatabaseReplicationUnitRequest) (response MoveDistributedAutonomousDatabaseReplicationUnitResponse, err error)
MoveDistributedAutonomousDatabaseReplicationUnit Move the replication units for RAFT based globally distributed autonomous database from source shard to destination shard.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/MoveDistributedAutonomousDatabaseReplicationUnit.go.html to see an example of how to use MoveDistributedAutonomousDatabaseReplicationUnit API. A default retry strategy applies to this operation MoveDistributedAutonomousDatabaseReplicationUnit()
func (client DistributedAutonomousDbServiceClient) PatchDistributedAutonomousDatabase(ctx context.Context, request PatchDistributedAutonomousDatabaseRequest) (response PatchDistributedAutonomousDatabaseResponse, err error)
PatchDistributedAutonomousDatabase Patch operation to add, remove or update shards to the Globally distributed autonomous database topology. In single patch operation, multiple shards can be either added, or removed or updated. Combination of inserts, update and remove in single operation is not allowed.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedAutonomousDatabase.go.html to see an example of how to use PatchDistributedAutonomousDatabase API. A default retry strategy applies to this operation PatchDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) RecreateFailedDistributedAutonomousDatabaseResource(ctx context.Context, request RecreateFailedDistributedAutonomousDatabaseResourceRequest) (response RecreateFailedDistributedAutonomousDatabaseResourceResponse, err error)
RecreateFailedDistributedAutonomousDatabaseResource Recreate the failed resource for the Globally Distributed Autonomous Database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RecreateFailedDistributedAutonomousDatabaseResource.go.html to see an example of how to use RecreateFailedDistributedAutonomousDatabaseResource API. A default retry strategy applies to this operation RecreateFailedDistributedAutonomousDatabaseResource()
func (client DistributedAutonomousDbServiceClient) RotateDistributedAutonomousDatabasePasswords(ctx context.Context, request RotateDistributedAutonomousDatabasePasswordsRequest) (response RotateDistributedAutonomousDatabasePasswordsResponse, err error)
RotateDistributedAutonomousDatabasePasswords Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed autonomous database. This operation will also remove GdsCtlNodes if present.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RotateDistributedAutonomousDatabasePasswords.go.html to see an example of how to use RotateDistributedAutonomousDatabasePasswords API. A default retry strategy applies to this operation RotateDistributedAutonomousDatabasePasswords()
func (client DistributedAutonomousDbServiceClient) ScaleDistributedAutonomousDatabaseGsms(ctx context.Context, request ScaleDistributedAutonomousDatabaseGsmsRequest) (response ScaleDistributedAutonomousDatabaseGsmsResponse, err error)
ScaleDistributedAutonomousDatabaseGsms Scale global service manager(GSM aka shard director) instances for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ScaleDistributedAutonomousDatabaseGsms.go.html to see an example of how to use ScaleDistributedAutonomousDatabaseGsms API. A default retry strategy applies to this operation ScaleDistributedAutonomousDatabaseGsms()
func (client *DistributedAutonomousDbServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DistributedAutonomousDbServiceClient) StartDistributedAutonomousDatabase(ctx context.Context, request StartDistributedAutonomousDatabaseRequest) (response StartDistributedAutonomousDatabaseResponse, err error)
StartDistributedAutonomousDatabase Start the shards, catalog, GSMs and GDSCTL instances of Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StartDistributedAutonomousDatabase.go.html to see an example of how to use StartDistributedAutonomousDatabase API. A default retry strategy applies to this operation StartDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) StopDistributedAutonomousDatabase(ctx context.Context, request StopDistributedAutonomousDatabaseRequest) (response StopDistributedAutonomousDatabaseResponse, err error)
StopDistributedAutonomousDatabase Stop the shards, catalog, GSMs and GDSCTL instances for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StopDistributedAutonomousDatabase.go.html to see an example of how to use StopDistributedAutonomousDatabase API. A default retry strategy applies to this operation StopDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) UpdateDistributedAutonomousDatabase(ctx context.Context, request UpdateDistributedAutonomousDatabaseRequest) (response UpdateDistributedAutonomousDatabaseResponse, err error)
UpdateDistributedAutonomousDatabase Updates the configuration of the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedAutonomousDatabase.go.html to see an example of how to use UpdateDistributedAutonomousDatabase API. A default retry strategy applies to this operation UpdateDistributedAutonomousDatabase()
func (client DistributedAutonomousDbServiceClient) ValidateDistributedAutonomousDatabaseCaBundle(ctx context.Context, request ValidateDistributedAutonomousDatabaseCaBundleRequest) (response ValidateDistributedAutonomousDatabaseCaBundleResponse, err error)
ValidateDistributedAutonomousDatabaseCaBundle Validate the CA Bundles consistency of the globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedAutonomousDatabaseCaBundle.go.html to see an example of how to use ValidateDistributedAutonomousDatabaseCaBundle API. A default retry strategy applies to this operation ValidateDistributedAutonomousDatabaseCaBundle()
func (client DistributedAutonomousDbServiceClient) ValidateDistributedAutonomousDatabaseNetwork(ctx context.Context, request ValidateDistributedAutonomousDatabaseNetworkRequest) (response ValidateDistributedAutonomousDatabaseNetworkResponse, err error)
ValidateDistributedAutonomousDatabaseNetwork Validate the network connectivity between components of the globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedAutonomousDatabaseNetwork.go.html to see an example of how to use ValidateDistributedAutonomousDatabaseNetwork API. A default retry strategy applies to this operation ValidateDistributedAutonomousDatabaseNetwork()
DistributedDatabase Globally distributed database.
type DistributedDatabase struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed database.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed database.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Globally distributed database was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Globally distributed database was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Oracle Database version for the shards and catalog used in Globally distributed database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Lifecycle states for the Globally distributed database.
LifecycleState DistributedDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Sharding methods for the Globally distributed database.
ShardingMethod DistributedDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"`
// The distributed database deployment type.
DbDeploymentType DistributedDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"`
// The lifecycleDetails for the Globally distributed database.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// Unique name prefix for the Globally distributed databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The Global service manager listener port number for the Globally distributed database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// Ons local port number.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// Ons remote port number.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// The Replication method for Globally distributed database. Use RAFT for Raft based replication.
// With RAFT replication, shards cannot have peers details set on them. In case shards need to
// have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or
// without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
ReplicationMethod DistributedDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"`
ConnectionStrings *DistributedDbConnectionString `mandatory:"false" json:"connectionStrings"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
LatestGsmImageDetails *DistributedDbGsmImage `mandatory:"false" json:"latestGsmImageDetails"`
// The TLS listener port number for Globally distributed database.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// The TCP SCAN listener port for database clusters with source type XS_NEW_VAULT_AND_CLUSTER or XS_NEW_CLUSTER.
ScanListenerPort *int `mandatory:"false" json:"scanListenerPort"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
// Collection of composite raft shards.
CompositeRaftShardSpaces []CompositeRaftShardSpace `mandatory:"false" json:"compositeRaftShardSpaces"`
// Collection of composite data guard shard spaces.
CompositeDataGuardShardSpaces []CompositeDataGuardShardSpace `mandatory:"false" json:"compositeDataGuardShardSpaces"`
// Collection of system raft clusters.
SystemRaftClusters []SystemRaftCluster `mandatory:"false" json:"systemRaftClusters"`
SystemDataGuardDatabases *SystemDataGuardDatabase `mandatory:"false" json:"systemDataGuardDatabases"`
// Collection of user defined shard spaces.
UserShardSpaces []UserShardSpace `mandatory:"false" json:"userShardSpaces"`
// Catalog details associated with the distributed database.
CatalogDetails []DistributedDatabaseCatalog `mandatory:"false" json:"catalogDetails"`
// Global Service Manager (GSM) instances associated with the distributed database.
GsmDetails []DistributedDatabaseGsm `mandatory:"false" json:"gsmDetails"`
// Global Database Services Control(GDS CTL) instances associated with the distributed database.
GdsControlNodeDetails []DistributedDatabaseGdsControlNode `mandatory:"false" json:"gdsControlNodeDetails"`
DbBackupConfig *DistributedDbBackupConfig `mandatory:"false" json:"dbBackupConfig"`
AutoResourceManagementConfig *AutoResourceManagementConfigurationDetails `mandatory:"false" json:"autoResourceManagementConfig"`
// The SSH public key for Global service manager instances.
GsmSshPublicKey *string `mandatory:"false" json:"gsmSshPublicKey"`
// The list of network security group (NSG) details associated with the distributed database.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedDatabase) String() string
func (m DistributedDatabase) 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
DistributedDatabaseAutoResourceManagementDetails AutoResourceManagement configuration details for the Globally distributed database.
type DistributedDatabaseAutoResourceManagementDetails struct {
// Flag indicating if autoResourceManagement is enabled or disabled.
IsEnabled *bool `mandatory:"true" json:"isEnabled"`
// Time period to wait for the database to get stable after autoResourceManagement event.
CoolOffPeriodInMinutes *int `mandatory:"false" json:"coolOffPeriodInMinutes"`
// Maximum number of move replication unit attempts allowed within the configured period per database.
MaxMoveRuAttempts *int `mandatory:"false" json:"maxMoveRuAttempts"`
// Time unit applicable to maxMoveRuAttempts.
MaxMoveRuUnit DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum `mandatory:"false" json:"maxMoveRuUnit,omitempty"`
// Mode of autoResourceManagement execution.
Mode DistributedDatabaseAutoResourceManagementDetailsModeEnum `mandatory:"false" json:"mode,omitempty"`
// The action that will be taken when autoResourceManagement is triggered.
ActionType DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`
// The list of notification topic ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to receive autoResourceManagement events.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The list of stream ids OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that receive shard-related telemetry.
StreamIds []string `mandatory:"false" json:"streamIds"`
}
func (m DistributedDatabaseAutoResourceManagementDetails) String() string
func (m DistributedDatabaseAutoResourceManagementDetails) 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
DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum Enum with underlying type: string
type DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum string
Set of constants representing the allowable values for DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
const (
DistributedDatabaseAutoResourceManagementDetailsActionTypeMove DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum = "MOVE"
)
func GetDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumValues() []DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
GetDistributedDatabaseAutoResourceManagementDetailsActionTypeEnumValues Enumerates the set of values for DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum
func GetMappingDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum(val string) (DistributedDatabaseAutoResourceManagementDetailsActionTypeEnum, bool)
GetMappingDistributedDatabaseAutoResourceManagementDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum Enum with underlying type: string
type DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum string
Set of constants representing the allowable values for DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
const (
DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitHour DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "HOUR"
DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitDay DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum = "DAY"
)
func GetDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues() []DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
GetDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnumValues Enumerates the set of values for DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum
func GetMappingDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum(val string) (DistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum, bool)
GetMappingDistributedDatabaseAutoResourceManagementDetailsMaxMoveRuUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseAutoResourceManagementDetailsModeEnum Enum with underlying type: string
type DistributedDatabaseAutoResourceManagementDetailsModeEnum string
Set of constants representing the allowable values for DistributedDatabaseAutoResourceManagementDetailsModeEnum
const (
DistributedDatabaseAutoResourceManagementDetailsModeAutomatic DistributedDatabaseAutoResourceManagementDetailsModeEnum = "AUTOMATIC"
DistributedDatabaseAutoResourceManagementDetailsModeRecommendation DistributedDatabaseAutoResourceManagementDetailsModeEnum = "RECOMMENDATION"
)
func GetDistributedDatabaseAutoResourceManagementDetailsModeEnumValues() []DistributedDatabaseAutoResourceManagementDetailsModeEnum
GetDistributedDatabaseAutoResourceManagementDetailsModeEnumValues Enumerates the set of values for DistributedDatabaseAutoResourceManagementDetailsModeEnum
func GetMappingDistributedDatabaseAutoResourceManagementDetailsModeEnum(val string) (DistributedDatabaseAutoResourceManagementDetailsModeEnum, bool)
GetMappingDistributedDatabaseAutoResourceManagementDetailsModeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalog Details of a Globally distributed database catalog.
type DistributedDatabaseCatalog struct {
OriginalReplica *DistributedDatabaseCatalogReplicaDetails `mandatory:"true" json:"originalReplica"`
// The details of data guard replicas for the catalog.
DataGuardReplicas []DistributedDatabaseCatalogReplicaDetails `mandatory:"false" json:"dataGuardReplicas"`
}
func (m DistributedDatabaseCatalog) String() string
func (m DistributedDatabaseCatalog) 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
DistributedDatabaseCatalogDatabase Details of a distributed database catalog.
type DistributedDatabaseCatalogDatabase interface {
// The name of the catalog.
GetName() *string
// The time the catalog was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the catalog was last updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
GetMetadata() *DistributedDbMetadata
}
DistributedDatabaseCatalogDatabaseSourceEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseSourceEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseSourceEnum
const (
DistributedDatabaseCatalogDatabaseSourceXsExistingCluster DistributedDatabaseCatalogDatabaseSourceEnum = "XS_EXISTING_CLUSTER"
DistributedDatabaseCatalogDatabaseSourceXsNewCluster DistributedDatabaseCatalogDatabaseSourceEnum = "XS_NEW_CLUSTER"
DistributedDatabaseCatalogDatabaseSourceXsNewVaultAndCluster DistributedDatabaseCatalogDatabaseSourceEnum = "XS_NEW_VAULT_AND_CLUSTER"
DistributedDatabaseCatalogDatabaseSourceXdExistingCluster DistributedDatabaseCatalogDatabaseSourceEnum = "XD_EXISTING_CLUSTER"
DistributedDatabaseCatalogDatabaseSourceExistingDbHome DistributedDatabaseCatalogDatabaseSourceEnum = "EXISTING_DB_HOME"
)
func GetDistributedDatabaseCatalogDatabaseSourceEnumValues() []DistributedDatabaseCatalogDatabaseSourceEnum
GetDistributedDatabaseCatalogDatabaseSourceEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseSourceEnum
func GetMappingDistributedDatabaseCatalogDatabaseSourceEnum(val string) (DistributedDatabaseCatalogDatabaseSourceEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogDatabaseWithDbHome Details of a distributed database catalog using a pre-existing Database Home.
type DistributedDatabaseCatalogDatabaseWithDbHome struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"true" json:"dbHomeId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"false" json:"vmClusterId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of the distributed database catalog.
Status DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseCatalogDatabaseWithDbHome) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseCatalogDatabaseWithDbHome) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogDatabaseWithDbHome) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogDatabaseWithDbHome) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogDatabaseWithDbHome) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogDatabaseWithDbHome) String() string
func (m DistributedDatabaseCatalogDatabaseWithDbHome) 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
DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum
const (
DistributedDatabaseCatalogDatabaseWithDbHomeStatusFailed DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "FAILED"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusDeleting DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "DELETING"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusDeleted DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "DELETED"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusUpdating DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "UPDATING"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusCreating DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "CREATING"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusCreated DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "CREATED"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusReadyForConfiguration DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusConfigured DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "CONFIGURED"
DistributedDatabaseCatalogDatabaseWithDbHomeStatusNeedsAttention DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnumValues() []DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum
GetDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum
func GetMappingDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum(val string) (DistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseWithDbHomeStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogDatabaseWithExadbXd Details of a distributed database catalog running on ExaDB-D.
type DistributedDatabaseCatalogDatabaseWithExadbXd struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud VM Cluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of the distributed database catalog.
Status DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) String() string
func (m DistributedDatabaseCatalogDatabaseWithExadbXd) 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
DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum
const (
DistributedDatabaseCatalogDatabaseWithExadbXdStatusFailed DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "FAILED"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusDeleting DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "DELETING"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusDeleted DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "DELETED"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusUpdating DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "UPDATING"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusCreating DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "CREATING"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusCreated DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "CREATED"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusReadyForConfiguration DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusConfigured DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "CONFIGURED"
DistributedDatabaseCatalogDatabaseWithExadbXdStatusNeedsAttention DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnumValues() []DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum
GetDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum
func GetMappingDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum(val string) (DistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseWithExadbXdStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogDatabaseWithExadbXs Details of a distributed database catalog running on ExaDB-XS.
type DistributedDatabaseCatalogDatabaseWithExadbXs struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of the distributed database catalog.
Status DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) String() string
func (m DistributedDatabaseCatalogDatabaseWithExadbXs) 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
DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster Details of a distributed database catalog on ExaDB-XS with a new cluster.
type DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the exascale db storage vault.
ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The name of the availability domain that the distributed database catalog will be located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
VmClusterDetails *DistributedDbVmCluster `mandatory:"false" json:"vmClusterDetails"`
// Status of the distributed database catalog.
Status DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) String() string
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster) 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
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum
const (
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusFailed DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "FAILED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusDeleting DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "DELETING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusDeleted DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "DELETED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusUpdating DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "UPDATING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusCreating DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "CREATING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusCreated DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "CREATED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusReadyForConfiguration DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusConfigured DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "CONFIGURED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusNeedsAttention DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnumValues() []DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum
GetDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum
func GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum(val string) (DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsNewClusterStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster Details of a distributed database catalog on ExaDB-XS with a new cluster and storage vault.
type DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster struct {
// The name of the catalog.
Name *string `mandatory:"true" json:"name"`
// The time the catalog was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the catalog was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The name of the availability domain that the distributed database catalog will be located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
DbStorageVaultDetails *DistributedDbStorageVault `mandatory:"false" json:"dbStorageVaultDetails"`
VmClusterDetails *DistributedDbVmCluster `mandatory:"false" json:"vmClusterDetails"`
// Status of the distributed database catalog.
Status DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) String() string
func (m DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster) 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
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum
const (
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusFailed DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "FAILED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusDeleting DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "DELETING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusDeleted DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "DELETED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusUpdating DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "UPDATING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusCreating DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CREATING"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusCreated DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CREATED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusReadyForConfiguration DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusConfigured DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CONFIGURED"
DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusNeedsAttention DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnumValues() []DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum
GetDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum
func GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum(val string) (DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum
const (
DistributedDatabaseCatalogDatabaseWithExadbXsStatusFailed DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "FAILED"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusDeleting DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "DELETING"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusDeleted DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "DELETED"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusUpdating DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "UPDATING"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusCreating DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "CREATING"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusCreated DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "CREATED"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusReadyForConfiguration DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusConfigured DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "CONFIGURED"
DistributedDatabaseCatalogDatabaseWithExadbXsStatusNeedsAttention DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnumValues() []DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum
GetDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum
func GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum(val string) (DistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum, bool)
GetMappingDistributedDatabaseCatalogDatabaseWithExadbXsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogReplicaDetails Details of a catalog replica.
type DistributedDatabaseCatalogReplicaDetails struct {
// The name of the catalog replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database DistributedDatabaseCatalogDatabase `mandatory:"true" json:"database"`
}
func (m DistributedDatabaseCatalogReplicaDetails) String() string
func (m *DistributedDatabaseCatalogReplicaDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DistributedDatabaseCatalogReplicaDetails) 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
DistributedDatabaseCollection Collection of Globally distributed databases.
type DistributedDatabaseCollection struct {
// Array of Globally distributed database summaries.
Items []DistributedDatabaseSummary `mandatory:"true" json:"items"`
}
func (m DistributedDatabaseCollection) String() string
func (m DistributedDatabaseCollection) 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
DistributedDatabaseDbDeploymentTypeEnum Enum with underlying type: string
type DistributedDatabaseDbDeploymentTypeEnum string
Set of constants representing the allowable values for DistributedDatabaseDbDeploymentTypeEnum
const (
DistributedDatabaseDbDeploymentTypeExadb DistributedDatabaseDbDeploymentTypeEnum = "EXADB"
)
func GetDistributedDatabaseDbDeploymentTypeEnumValues() []DistributedDatabaseDbDeploymentTypeEnum
GetDistributedDatabaseDbDeploymentTypeEnumValues Enumerates the set of values for DistributedDatabaseDbDeploymentTypeEnum
func GetMappingDistributedDatabaseDbDeploymentTypeEnum(val string) (DistributedDatabaseDbDeploymentTypeEnum, bool)
GetMappingDistributedDatabaseDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseGdsControlNode Details of Global Database Services Control(GDS CTL) instances for the Globally distributed database.
type DistributedDatabaseGdsControlNode struct {
// Name of the Global Database Services Control instance
Name *string `mandatory:"true" json:"name"`
// The time the Global Database Services Control instance was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Global Database Services Control instance was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Global Database Services Control instance.
SubnetId *string `mandatory:"false" json:"subnetId"`
// The name of the availability domain where the Global Database Services Control instance is located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
// The identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// IP address of the Global Database Services Control instance.
PrivateIp *string `mandatory:"false" json:"privateIp"`
GdsControlNodeImageDetails *DistributedDbGdsControlNodeImage `mandatory:"false" json:"gdsControlNodeImageDetails"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
}
func (m DistributedDatabaseGdsControlNode) String() string
func (m DistributedDatabaseGdsControlNode) 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
DistributedDatabaseGsm Details of global service manager(GSM also known as shard director) instances for the Globally distributed database.
type DistributedDatabaseGsm struct {
// Name of the Global service manager instance
Name *string `mandatory:"true" json:"name"`
// The compute count for the Global service manager instance.
ComputeCount *float32 `mandatory:"true" json:"computeCount"`
// The data disk group size to be allocated in GBs for the Global service manager instance.
DataStorageSizeInGbs *float64 `mandatory:"true" json:"dataStorageSizeInGbs"`
// The time the Global service manager instance was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Global service manager instance was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Status of the gsm.
Status DistributedDatabaseGsmStatusEnum `mandatory:"true" json:"status"`
// The time the ssl certificate associated with Global service manager expires. An RFC3339 formatted datetime string
TimeSslCertificateExpires *common.SDKTime `mandatory:"false" json:"timeSslCertificateExpires"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
GsmImageDetails *DistributedDbGsmImage `mandatory:"false" json:"gsmImageDetails"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
}
func (m DistributedDatabaseGsm) String() string
func (m DistributedDatabaseGsm) 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
DistributedDatabaseGsmStatusEnum Enum with underlying type: string
type DistributedDatabaseGsmStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseGsmStatusEnum
const (
DistributedDatabaseGsmStatusFailed DistributedDatabaseGsmStatusEnum = "FAILED"
DistributedDatabaseGsmStatusDeleting DistributedDatabaseGsmStatusEnum = "DELETING"
DistributedDatabaseGsmStatusDeleted DistributedDatabaseGsmStatusEnum = "DELETED"
DistributedDatabaseGsmStatusUpdating DistributedDatabaseGsmStatusEnum = "UPDATING"
DistributedDatabaseGsmStatusCreating DistributedDatabaseGsmStatusEnum = "CREATING"
DistributedDatabaseGsmStatusCreated DistributedDatabaseGsmStatusEnum = "CREATED"
DistributedDatabaseGsmStatusReadyForConfiguration DistributedDatabaseGsmStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseGsmStatusConfigured DistributedDatabaseGsmStatusEnum = "CONFIGURED"
DistributedDatabaseGsmStatusNeedsAttention DistributedDatabaseGsmStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseGsmStatusEnumValues() []DistributedDatabaseGsmStatusEnum
GetDistributedDatabaseGsmStatusEnumValues Enumerates the set of values for DistributedDatabaseGsmStatusEnum
func GetMappingDistributedDatabaseGsmStatusEnum(val string) (DistributedDatabaseGsmStatusEnum, bool)
GetMappingDistributedDatabaseGsmStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseLifecycleStateEnum Enum with underlying type: string
type DistributedDatabaseLifecycleStateEnum string
Set of constants representing the allowable values for DistributedDatabaseLifecycleStateEnum
const (
DistributedDatabaseLifecycleStateActive DistributedDatabaseLifecycleStateEnum = "ACTIVE"
DistributedDatabaseLifecycleStateFailed DistributedDatabaseLifecycleStateEnum = "FAILED"
DistributedDatabaseLifecycleStateNeedsAttention DistributedDatabaseLifecycleStateEnum = "NEEDS_ATTENTION"
DistributedDatabaseLifecycleStateInactive DistributedDatabaseLifecycleStateEnum = "INACTIVE"
DistributedDatabaseLifecycleStateDeleting DistributedDatabaseLifecycleStateEnum = "DELETING"
DistributedDatabaseLifecycleStateDeleted DistributedDatabaseLifecycleStateEnum = "DELETED"
DistributedDatabaseLifecycleStateUpdating DistributedDatabaseLifecycleStateEnum = "UPDATING"
DistributedDatabaseLifecycleStateCreating DistributedDatabaseLifecycleStateEnum = "CREATING"
)
func GetDistributedDatabaseLifecycleStateEnumValues() []DistributedDatabaseLifecycleStateEnum
GetDistributedDatabaseLifecycleStateEnumValues Enumerates the set of values for DistributedDatabaseLifecycleStateEnum
func GetMappingDistributedDatabaseLifecycleStateEnum(val string) (DistributedDatabaseLifecycleStateEnum, bool)
GetMappingDistributedDatabaseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabasePrivateEndpoint DistributedDatabasePrivateEndpoint resource.
type DistributedDatabasePrivateEndpoint struct {
// The identifier of the Private Endpoint.
Id *string `mandatory:"true" json:"id"`
// Identifier of the compartment in which private endpoint exists.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Identifier of the subnet in which private endpoint exists.
SubnetId *string `mandatory:"true" json:"subnetId"`
// Identifier of the VCN in which subnet exists.
VcnId *string `mandatory:"true" json:"vcnId"`
// DistributedDatabasePrivateEndpoint display name.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the DistributedDatabasePrivateEndpoint was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Lifecycle states for private endpoint.
LifecycleState DistributedDatabasePrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// DistributedDatabasePrivateEndpoint description.
Description *string `mandatory:"false" json:"description"`
// IP address of the Private Endpoint.
PrivateIp *string `mandatory:"false" json:"privateIp"`
// The list of network security group (NSG) details associated with the private endpoint.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
// Detailed message for the lifecycle state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The identifier of the proxy compute instance.
ProxyComputeInstanceId *string `mandatory:"false" json:"proxyComputeInstanceId"`
// 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedDatabasePrivateEndpoint) String() string
func (m DistributedDatabasePrivateEndpoint) 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
DistributedDatabasePrivateEndpointCollection Collection of private endpoints.
type DistributedDatabasePrivateEndpointCollection struct {
// Array of private endpoint summaries.
Items []DistributedDatabasePrivateEndpointSummary `mandatory:"true" json:"items"`
}
func (m DistributedDatabasePrivateEndpointCollection) String() string
func (m DistributedDatabasePrivateEndpointCollection) 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
DistributedDatabasePrivateEndpointLifecycleStateEnum Enum with underlying type: string
type DistributedDatabasePrivateEndpointLifecycleStateEnum string
Set of constants representing the allowable values for DistributedDatabasePrivateEndpointLifecycleStateEnum
const (
DistributedDatabasePrivateEndpointLifecycleStateActive DistributedDatabasePrivateEndpointLifecycleStateEnum = "ACTIVE"
DistributedDatabasePrivateEndpointLifecycleStateFailed DistributedDatabasePrivateEndpointLifecycleStateEnum = "FAILED"
DistributedDatabasePrivateEndpointLifecycleStateInactive DistributedDatabasePrivateEndpointLifecycleStateEnum = "INACTIVE"
DistributedDatabasePrivateEndpointLifecycleStateDeleting DistributedDatabasePrivateEndpointLifecycleStateEnum = "DELETING"
DistributedDatabasePrivateEndpointLifecycleStateDeleted DistributedDatabasePrivateEndpointLifecycleStateEnum = "DELETED"
DistributedDatabasePrivateEndpointLifecycleStateUpdating DistributedDatabasePrivateEndpointLifecycleStateEnum = "UPDATING"
DistributedDatabasePrivateEndpointLifecycleStateCreating DistributedDatabasePrivateEndpointLifecycleStateEnum = "CREATING"
)
func GetDistributedDatabasePrivateEndpointLifecycleStateEnumValues() []DistributedDatabasePrivateEndpointLifecycleStateEnum
GetDistributedDatabasePrivateEndpointLifecycleStateEnumValues Enumerates the set of values for DistributedDatabasePrivateEndpointLifecycleStateEnum
func GetMappingDistributedDatabasePrivateEndpointLifecycleStateEnum(val string) (DistributedDatabasePrivateEndpointLifecycleStateEnum, bool)
GetMappingDistributedDatabasePrivateEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabasePrivateEndpointSummary DistributedDatabasePrivateEndpoint resource summary.
type DistributedDatabasePrivateEndpointSummary struct {
// DistributedDatabasePrivateEndpoint identifier
Id *string `mandatory:"true" json:"id"`
// Identifier of the compartment where private endpoint exists.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Identifier of the customer subnet against which private endpoint is created.
SubnetId *string `mandatory:"true" json:"subnetId"`
// Identifier of the VCN in which subnet exists.
VcnId *string `mandatory:"true" json:"vcnId"`
// Private endpoint display name.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the the private endpoint was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the private endpoint was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Lifecycle state of private endpoint.
LifecycleState DistributedDatabasePrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// DistributedDatabasePrivateEndpoint description.
Description *string `mandatory:"false" json:"description"`
// The list of network security group (NSG) details associated with the private endpoint.
VcnNsgIds []VcnNsgIdsDetails `mandatory:"false" json:"vcnNsgIds"`
// Detailed message for the lifecycle 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedDatabasePrivateEndpointSummary) String() string
func (m DistributedDatabasePrivateEndpointSummary) 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
DistributedDatabaseRaftMetric Raft metrics for shards and catalog for the Globally distributed database.
type DistributedDatabaseRaftMetric struct {
// Raft metrics for the Globally distributed database.
RaftMetrics map[string]interface{} `mandatory:"true" json:"raftMetrics"`
// Details of in-progress configuration tasks.
ConfigTasks map[string]interface{} `mandatory:"false" json:"configTasks"`
}
func (m DistributedDatabaseRaftMetric) String() string
func (m DistributedDatabaseRaftMetric) 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
DistributedDatabaseReplicationMethodEnum Enum with underlying type: string
type DistributedDatabaseReplicationMethodEnum string
Set of constants representing the allowable values for DistributedDatabaseReplicationMethodEnum
const (
DistributedDatabaseReplicationMethodRaft DistributedDatabaseReplicationMethodEnum = "RAFT"
DistributedDatabaseReplicationMethodDg DistributedDatabaseReplicationMethodEnum = "DG"
)
func GetDistributedDatabaseReplicationMethodEnumValues() []DistributedDatabaseReplicationMethodEnum
GetDistributedDatabaseReplicationMethodEnumValues Enumerates the set of values for DistributedDatabaseReplicationMethodEnum
func GetMappingDistributedDatabaseReplicationMethodEnum(val string) (DistributedDatabaseReplicationMethodEnum, bool)
GetMappingDistributedDatabaseReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseRuChangeLog Move RU invocation history for the Globally distributed database.
type DistributedDatabaseRuChangeLog struct {
// Ordered list of move RU invocations (latest first).
RuChangeLog []DistributedDatabaseRuChangeLogSummary `mandatory:"true" json:"ruChangeLog"`
}
func (m DistributedDatabaseRuChangeLog) String() string
func (m DistributedDatabaseRuChangeLog) 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
DistributedDatabaseRuChangeLogSummary One move RU invocation record for the Globally distributed database.
type DistributedDatabaseRuChangeLogSummary struct {
// Source shard for move RU invocation.
SourceShardName *string `mandatory:"false" json:"sourceShardName"`
// Target shard for move RU invocation.
TargetShardName *string `mandatory:"false" json:"targetShardName"`
// Replication unit identifier associated with the invocation.
RuId *string `mandatory:"false" json:"ruId"`
// Current or terminal status of the move RU invocation.
Status DistributedDatabaseRuChangeLogSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`
// Actor who triggered the move RU invocation.
TriggeredBy *string `mandatory:"false" json:"triggeredBy"`
// Entry creation timestamp in UTC.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// Entry update timestamp in UTC.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}
func (m DistributedDatabaseRuChangeLogSummary) String() string
func (m DistributedDatabaseRuChangeLogSummary) 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
DistributedDatabaseRuChangeLogSummaryStatusEnum Enum with underlying type: string
type DistributedDatabaseRuChangeLogSummaryStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseRuChangeLogSummaryStatusEnum
const (
DistributedDatabaseRuChangeLogSummaryStatusFailed DistributedDatabaseRuChangeLogSummaryStatusEnum = "FAILED"
DistributedDatabaseRuChangeLogSummaryStatusQueued DistributedDatabaseRuChangeLogSummaryStatusEnum = "QUEUED"
DistributedDatabaseRuChangeLogSummaryStatusInProgress DistributedDatabaseRuChangeLogSummaryStatusEnum = "IN_PROGRESS"
DistributedDatabaseRuChangeLogSummaryStatusCompleted DistributedDatabaseRuChangeLogSummaryStatusEnum = "COMPLETED"
)
func GetDistributedDatabaseRuChangeLogSummaryStatusEnumValues() []DistributedDatabaseRuChangeLogSummaryStatusEnum
GetDistributedDatabaseRuChangeLogSummaryStatusEnumValues Enumerates the set of values for DistributedDatabaseRuChangeLogSummaryStatusEnum
func GetMappingDistributedDatabaseRuChangeLogSummaryStatusEnum(val string) (DistributedDatabaseRuChangeLogSummaryStatusEnum, bool)
GetMappingDistributedDatabaseRuChangeLogSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabase Details of a distributed database shard.
type DistributedDatabaseShardDatabase interface {
// Name of the shard.
GetName() *string
// The time the shard was created. An RFC3339 formatted datetime string.
GetTimeCreated() *common.SDKTime
// The time the shard was last updated. An RFC3339 formatted datetime string.
GetTimeUpdated() *common.SDKTime
GetMetadata() *DistributedDbMetadata
}
DistributedDatabaseShardDatabaseSourceEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseSourceEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseSourceEnum
const (
DistributedDatabaseShardDatabaseSourceXsExistingCluster DistributedDatabaseShardDatabaseSourceEnum = "XS_EXISTING_CLUSTER"
DistributedDatabaseShardDatabaseSourceXsNewCluster DistributedDatabaseShardDatabaseSourceEnum = "XS_NEW_CLUSTER"
DistributedDatabaseShardDatabaseSourceXsNewVaultAndCluster DistributedDatabaseShardDatabaseSourceEnum = "XS_NEW_VAULT_AND_CLUSTER"
DistributedDatabaseShardDatabaseSourceXdExistingCluster DistributedDatabaseShardDatabaseSourceEnum = "XD_EXISTING_CLUSTER"
DistributedDatabaseShardDatabaseSourceExistingDbHome DistributedDatabaseShardDatabaseSourceEnum = "EXISTING_DB_HOME"
)
func GetDistributedDatabaseShardDatabaseSourceEnumValues() []DistributedDatabaseShardDatabaseSourceEnum
GetDistributedDatabaseShardDatabaseSourceEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseSourceEnum
func GetMappingDistributedDatabaseShardDatabaseSourceEnum(val string) (DistributedDatabaseShardDatabaseSourceEnum, bool)
GetMappingDistributedDatabaseShardDatabaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabaseWithDbHome Details of a distributed database shard using a pre-existing Database Home.
type DistributedDatabaseShardDatabaseWithDbHome struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"true" json:"dbHomeId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"false" json:"vmClusterId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of distributed database shard.
Status DistributedDatabaseShardDatabaseWithDbHomeStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseShardDatabaseWithDbHome) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseShardDatabaseWithDbHome) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardDatabaseWithDbHome) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardDatabaseWithDbHome) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardDatabaseWithDbHome) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardDatabaseWithDbHome) String() string
func (m DistributedDatabaseShardDatabaseWithDbHome) 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
DistributedDatabaseShardDatabaseWithDbHomeStatusEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseWithDbHomeStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseWithDbHomeStatusEnum
const (
DistributedDatabaseShardDatabaseWithDbHomeStatusFailed DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "FAILED"
DistributedDatabaseShardDatabaseWithDbHomeStatusDeleting DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "DELETING"
DistributedDatabaseShardDatabaseWithDbHomeStatusDeleted DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "DELETED"
DistributedDatabaseShardDatabaseWithDbHomeStatusUpdating DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "UPDATING"
DistributedDatabaseShardDatabaseWithDbHomeStatusCreating DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "CREATING"
DistributedDatabaseShardDatabaseWithDbHomeStatusCreated DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "CREATED"
DistributedDatabaseShardDatabaseWithDbHomeStatusReadyForConfiguration DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseShardDatabaseWithDbHomeStatusConfigured DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "CONFIGURED"
DistributedDatabaseShardDatabaseWithDbHomeStatusNeedsAttention DistributedDatabaseShardDatabaseWithDbHomeStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseShardDatabaseWithDbHomeStatusEnumValues() []DistributedDatabaseShardDatabaseWithDbHomeStatusEnum
GetDistributedDatabaseShardDatabaseWithDbHomeStatusEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseWithDbHomeStatusEnum
func GetMappingDistributedDatabaseShardDatabaseWithDbHomeStatusEnum(val string) (DistributedDatabaseShardDatabaseWithDbHomeStatusEnum, bool)
GetMappingDistributedDatabaseShardDatabaseWithDbHomeStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabaseWithExadbXd Details of a distributed database shard running on ExaDB-D.
type DistributedDatabaseShardDatabaseWithExadbXd struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud VM Cluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of distributed database shard.
Status DistributedDatabaseShardDatabaseWithExadbXdStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseShardDatabaseWithExadbXd) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseShardDatabaseWithExadbXd) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardDatabaseWithExadbXd) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardDatabaseWithExadbXd) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardDatabaseWithExadbXd) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardDatabaseWithExadbXd) String() string
func (m DistributedDatabaseShardDatabaseWithExadbXd) 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
DistributedDatabaseShardDatabaseWithExadbXdStatusEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseWithExadbXdStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseWithExadbXdStatusEnum
const (
DistributedDatabaseShardDatabaseWithExadbXdStatusFailed DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "FAILED"
DistributedDatabaseShardDatabaseWithExadbXdStatusDeleting DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "DELETING"
DistributedDatabaseShardDatabaseWithExadbXdStatusDeleted DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "DELETED"
DistributedDatabaseShardDatabaseWithExadbXdStatusUpdating DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "UPDATING"
DistributedDatabaseShardDatabaseWithExadbXdStatusCreating DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "CREATING"
DistributedDatabaseShardDatabaseWithExadbXdStatusCreated DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "CREATED"
DistributedDatabaseShardDatabaseWithExadbXdStatusReadyForConfiguration DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseShardDatabaseWithExadbXdStatusConfigured DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "CONFIGURED"
DistributedDatabaseShardDatabaseWithExadbXdStatusNeedsAttention DistributedDatabaseShardDatabaseWithExadbXdStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseShardDatabaseWithExadbXdStatusEnumValues() []DistributedDatabaseShardDatabaseWithExadbXdStatusEnum
GetDistributedDatabaseShardDatabaseWithExadbXdStatusEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseWithExadbXdStatusEnum
func GetMappingDistributedDatabaseShardDatabaseWithExadbXdStatusEnum(val string) (DistributedDatabaseShardDatabaseWithExadbXdStatusEnum, bool)
GetMappingDistributedDatabaseShardDatabaseWithExadbXdStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabaseWithExadbXs Details of a distributed database shard running on ExaDB-XS.
type DistributedDatabaseShardDatabaseWithExadbXs struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster.
VmClusterId *string `mandatory:"true" json:"vmClusterId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// Status of distributed database shard.
Status DistributedDatabaseShardDatabaseWithExadbXsStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseShardDatabaseWithExadbXs) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseShardDatabaseWithExadbXs) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardDatabaseWithExadbXs) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardDatabaseWithExadbXs) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardDatabaseWithExadbXs) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardDatabaseWithExadbXs) String() string
func (m DistributedDatabaseShardDatabaseWithExadbXs) 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
DistributedDatabaseShardDatabaseWithExadbXsNewCluster Details of a distributed database shard on ExaDB-XS with a new cluster.
type DistributedDatabaseShardDatabaseWithExadbXsNewCluster struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the exascale db storage vault.
ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The name of the availability domain that the distributed database shard will be located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
VmClusterDetails *DistributedDbVmCluster `mandatory:"false" json:"vmClusterDetails"`
// Status of distributed database shard.
Status DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) String() string
func (m DistributedDatabaseShardDatabaseWithExadbXsNewCluster) 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
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum
const (
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusFailed DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "FAILED"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusDeleting DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "DELETING"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusDeleted DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "DELETED"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusUpdating DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "UPDATING"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusCreating DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "CREATING"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusCreated DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "CREATED"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusReadyForConfiguration DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusConfigured DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "CONFIGURED"
DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusNeedsAttention DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnumValues() []DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum
GetDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum
func GetMappingDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum(val string) (DistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum, bool)
GetMappingDistributedDatabaseShardDatabaseWithExadbXsNewClusterStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster Details of a distributed database shard on ExaDB-XS with a new cluster and storage vault.
type DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster struct {
// Name of the shard.
Name *string `mandatory:"true" json:"name"`
// The time the shard was created. An RFC3339 formatted datetime string.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the shard was last updated. An RFC3339 formatted datetime string.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
DbHomeId *string `mandatory:"false" json:"dbHomeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure vault (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts).
// This parameter and `kmsKeyId` are required for Customer Managed Keys.
VaultId *string `mandatory:"false" json:"vaultId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
// the identifier of the underlying supporting resource.
SupportingResourceId *string `mandatory:"false" json:"supportingResourceId"`
// the identifier of the container database for underlying supporting resource.
ContainerDatabaseId *string `mandatory:"false" json:"containerDatabaseId"`
// The name of the availability domain that the distributed database shard will be located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
DbStorageVaultDetails *DistributedDbStorageVault `mandatory:"false" json:"dbStorageVaultDetails"`
VmClusterDetails *DistributedDbVmCluster `mandatory:"false" json:"vmClusterDetails"`
// Status of distributed database shard.
Status DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum `mandatory:"true" json:"status"`
// The protection mode used for the Data Guard association.
ProtectionMode DistributedDbProtectionModeEnum `mandatory:"false" json:"protectionMode,omitempty"`
// The transport type used for the Data Guard association.
TransportType DistributedDbTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) GetMetadata() *DistributedDbMetadata
GetMetadata returns Metadata
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) String() string
func (m DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster) 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
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum
const (
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusFailed DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "FAILED"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusDeleting DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "DELETING"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusDeleted DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "DELETED"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusUpdating DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "UPDATING"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusCreating DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CREATING"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusCreated DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CREATED"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusReadyForConfiguration DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusConfigured DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "CONFIGURED"
DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusNeedsAttention DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnumValues() []DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum
GetDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum
func GetMappingDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum(val string) (DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum, bool)
GetMappingDistributedDatabaseShardDatabaseWithExadbXsNewVaultAndClusterStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardDatabaseWithExadbXsStatusEnum Enum with underlying type: string
type DistributedDatabaseShardDatabaseWithExadbXsStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardDatabaseWithExadbXsStatusEnum
const (
DistributedDatabaseShardDatabaseWithExadbXsStatusFailed DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "FAILED"
DistributedDatabaseShardDatabaseWithExadbXsStatusDeleting DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "DELETING"
DistributedDatabaseShardDatabaseWithExadbXsStatusDeleted DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "DELETED"
DistributedDatabaseShardDatabaseWithExadbXsStatusUpdating DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "UPDATING"
DistributedDatabaseShardDatabaseWithExadbXsStatusCreating DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "CREATING"
DistributedDatabaseShardDatabaseWithExadbXsStatusCreated DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "CREATED"
DistributedDatabaseShardDatabaseWithExadbXsStatusReadyForConfiguration DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION"
DistributedDatabaseShardDatabaseWithExadbXsStatusConfigured DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "CONFIGURED"
DistributedDatabaseShardDatabaseWithExadbXsStatusNeedsAttention DistributedDatabaseShardDatabaseWithExadbXsStatusEnum = "NEEDS_ATTENTION"
)
func GetDistributedDatabaseShardDatabaseWithExadbXsStatusEnumValues() []DistributedDatabaseShardDatabaseWithExadbXsStatusEnum
GetDistributedDatabaseShardDatabaseWithExadbXsStatusEnumValues Enumerates the set of values for DistributedDatabaseShardDatabaseWithExadbXsStatusEnum
func GetMappingDistributedDatabaseShardDatabaseWithExadbXsStatusEnum(val string) (DistributedDatabaseShardDatabaseWithExadbXsStatusEnum, bool)
GetMappingDistributedDatabaseShardDatabaseWithExadbXsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardingMethodEnum Enum with underlying type: string
type DistributedDatabaseShardingMethodEnum string
Set of constants representing the allowable values for DistributedDatabaseShardingMethodEnum
const (
DistributedDatabaseShardingMethodUser DistributedDatabaseShardingMethodEnum = "USER"
DistributedDatabaseShardingMethodSystem DistributedDatabaseShardingMethodEnum = "SYSTEM"
DistributedDatabaseShardingMethodComposite DistributedDatabaseShardingMethodEnum = "COMPOSITE"
)
func GetDistributedDatabaseShardingMethodEnumValues() []DistributedDatabaseShardingMethodEnum
GetDistributedDatabaseShardingMethodEnumValues Enumerates the set of values for DistributedDatabaseShardingMethodEnum
func GetMappingDistributedDatabaseShardingMethodEnum(val string) (DistributedDatabaseShardingMethodEnum, bool)
GetMappingDistributedDatabaseShardingMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseSummary Globally distributed database.
type DistributedDatabaseSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed database.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Globally distributed database compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The display name of the Globally distributed database.
DisplayName *string `mandatory:"true" json:"displayName"`
// The time the Globally distributed database was created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time the Globally distributed database was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Oracle Database version for the shards and catalog used in Globally distributed database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Lifecycle state of sharded database.
LifecycleState DistributedDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The lifecycleDetails for the Globally distributed database.
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
// Unique name prefix for the Globally distributed databases. Only alpha-numeric values are allowed. First character
// has to be a letter followed by any combination of letter and number.
Prefix *string `mandatory:"true" json:"prefix"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint associated with Globally distributed autonomous database.
PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"`
// The character set for the database.
CharacterSet *string `mandatory:"true" json:"characterSet"`
// The national character set for the database.
NcharacterSet *string `mandatory:"true" json:"ncharacterSet"`
// The listener port number for the Globally distributed database.
ListenerPort *int `mandatory:"true" json:"listenerPort"`
// Ons local port number for the Globally distributed database.
OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"`
// Ons remote port number for the Globally distributed database.
OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"`
// Sharding methods for the Globally distributed database.
ShardingMethod DistributedDatabaseSummaryShardingMethodEnum `mandatory:"true" json:"shardingMethod"`
// The distributed database deployment type.
DbDeploymentType DistributedDatabaseSummaryDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed database.
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// The TLS listener port number for the Globally distributed database.
ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"`
// Count of chunks associated with system raft clusters or system data guard databases.
SystemChunkCount *int `mandatory:"false" json:"systemChunkCount"`
AutoResourceManagementConfig *AutoResourceManagementConfigurationDetails `mandatory:"false" json:"autoResourceManagementConfig"`
// Number of replication units associated with system raft clusters.
SystemRaftReplicationUnitCount *int `mandatory:"false" json:"systemRaftReplicationUnitCount"`
Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"`
// The Replication method for Globally distributed database. Use RAFT for Raft based replication.
// With RAFT replication, shards cannot have peers details set on them. In case shards need to
// have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or
// without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
ReplicationMethod DistributedDatabaseSummaryReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"`
// 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"`
// Usage of system tag keys. These predefined keys are scoped to namespaces.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m DistributedDatabaseSummary) String() string
func (m DistributedDatabaseSummary) 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
DistributedDatabaseSummaryDbDeploymentTypeEnum Enum with underlying type: string
type DistributedDatabaseSummaryDbDeploymentTypeEnum string
Set of constants representing the allowable values for DistributedDatabaseSummaryDbDeploymentTypeEnum
const (
DistributedDatabaseSummaryDbDeploymentTypeExadb DistributedDatabaseSummaryDbDeploymentTypeEnum = "EXADB"
)
func GetDistributedDatabaseSummaryDbDeploymentTypeEnumValues() []DistributedDatabaseSummaryDbDeploymentTypeEnum
GetDistributedDatabaseSummaryDbDeploymentTypeEnumValues Enumerates the set of values for DistributedDatabaseSummaryDbDeploymentTypeEnum
func GetMappingDistributedDatabaseSummaryDbDeploymentTypeEnum(val string) (DistributedDatabaseSummaryDbDeploymentTypeEnum, bool)
GetMappingDistributedDatabaseSummaryDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseSummaryReplicationMethodEnum Enum with underlying type: string
type DistributedDatabaseSummaryReplicationMethodEnum string
Set of constants representing the allowable values for DistributedDatabaseSummaryReplicationMethodEnum
const (
DistributedDatabaseSummaryReplicationMethodRaft DistributedDatabaseSummaryReplicationMethodEnum = "RAFT"
DistributedDatabaseSummaryReplicationMethodDg DistributedDatabaseSummaryReplicationMethodEnum = "DG"
)
func GetDistributedDatabaseSummaryReplicationMethodEnumValues() []DistributedDatabaseSummaryReplicationMethodEnum
GetDistributedDatabaseSummaryReplicationMethodEnumValues Enumerates the set of values for DistributedDatabaseSummaryReplicationMethodEnum
func GetMappingDistributedDatabaseSummaryReplicationMethodEnum(val string) (DistributedDatabaseSummaryReplicationMethodEnum, bool)
GetMappingDistributedDatabaseSummaryReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseSummaryShardingMethodEnum Enum with underlying type: string
type DistributedDatabaseSummaryShardingMethodEnum string
Set of constants representing the allowable values for DistributedDatabaseSummaryShardingMethodEnum
const (
DistributedDatabaseSummaryShardingMethodUser DistributedDatabaseSummaryShardingMethodEnum = "USER"
DistributedDatabaseSummaryShardingMethodSystem DistributedDatabaseSummaryShardingMethodEnum = "SYSTEM"
DistributedDatabaseSummaryShardingMethodComposite DistributedDatabaseSummaryShardingMethodEnum = "COMPOSITE"
)
func GetDistributedDatabaseSummaryShardingMethodEnumValues() []DistributedDatabaseSummaryShardingMethodEnum
GetDistributedDatabaseSummaryShardingMethodEnumValues Enumerates the set of values for DistributedDatabaseSummaryShardingMethodEnum
func GetMappingDistributedDatabaseSummaryShardingMethodEnum(val string) (DistributedDatabaseSummaryShardingMethodEnum, bool)
GetMappingDistributedDatabaseSummaryShardingMethodEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbBackupConfig Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).
type DistributedDbBackupConfig struct {
// If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
IsAutoBackupEnabled *bool `mandatory:"false" json:"isAutoBackupEnabled"`
// Number of days between the current and the earliest point of recoverability covered by automatic backups.
// This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window.
// When the value is updated, it is applied to all existing automatic backups.
RecoveryWindowInDays *int `mandatory:"false" json:"recoveryWindowInDays"`
// Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive).
// Example: `SLOT_TWO`
AutoBackupWindow DistributedDbBackupConfigAutoBackupWindowEnum `mandatory:"false" json:"autoBackupWindow,omitempty"`
// Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive).
// Example: `SLOT_TWO`
AutoFullBackupWindow DistributedDbBackupConfigAutoFullBackupWindowEnum `mandatory:"false" json:"autoFullBackupWindow,omitempty"`
// Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
AutoFullBackupDay DistributedDbBackupConfigAutoFullBackupDayEnum `mandatory:"false" json:"autoFullBackupDay,omitempty"`
// If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
CanRunImmediateFullBackup *bool `mandatory:"false" json:"canRunImmediateFullBackup"`
// If set to true, configures automatic incremental backups in the local region (the region of the DB system) and the remote region with a default frequency of 1 hour.
// If you previously used RMAN or dbcli to configure backups, using the Console or the API for manged backups creates a new backup configuration for your database. The new configuration replaces the configuration created with RMAN or dbcli.
// This means that you can no longer rely on your previously configured unmanaged backups to work.
IsRemoteBackupEnabled *bool `mandatory:"false" json:"isRemoteBackupEnabled"`
// The name of the remote region where the remote automatic incremental backups will be stored.
// For information about valid region names, see
// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
RemoteRegion *string `mandatory:"false" json:"remoteRegion"`
// Backup destination details.
BackupDestinationDetails []DistributedDbBackupDestination `mandatory:"false" json:"backupDestinationDetails"`
// This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
BackupDeletionPolicy DistributedDbBackupConfigBackupDeletionPolicyEnum `mandatory:"false" json:"backupDeletionPolicy,omitempty"`
}
func (m DistributedDbBackupConfig) String() string
func (m DistributedDbBackupConfig) 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
DistributedDbBackupConfigAutoBackupWindowEnum Enum with underlying type: string
type DistributedDbBackupConfigAutoBackupWindowEnum string
Set of constants representing the allowable values for DistributedDbBackupConfigAutoBackupWindowEnum
const (
DistributedDbBackupConfigAutoBackupWindowOne DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_ONE"
DistributedDbBackupConfigAutoBackupWindowTwo DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_TWO"
DistributedDbBackupConfigAutoBackupWindowThree DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_THREE"
DistributedDbBackupConfigAutoBackupWindowFour DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_FOUR"
DistributedDbBackupConfigAutoBackupWindowFive DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_FIVE"
DistributedDbBackupConfigAutoBackupWindowSix DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_SIX"
DistributedDbBackupConfigAutoBackupWindowSeven DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_SEVEN"
DistributedDbBackupConfigAutoBackupWindowEight DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_EIGHT"
DistributedDbBackupConfigAutoBackupWindowNine DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_NINE"
DistributedDbBackupConfigAutoBackupWindowTen DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_TEN"
DistributedDbBackupConfigAutoBackupWindowEleven DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_ELEVEN"
DistributedDbBackupConfigAutoBackupWindowTwelve DistributedDbBackupConfigAutoBackupWindowEnum = "SLOT_TWELVE"
)
func GetDistributedDbBackupConfigAutoBackupWindowEnumValues() []DistributedDbBackupConfigAutoBackupWindowEnum
GetDistributedDbBackupConfigAutoBackupWindowEnumValues Enumerates the set of values for DistributedDbBackupConfigAutoBackupWindowEnum
func GetMappingDistributedDbBackupConfigAutoBackupWindowEnum(val string) (DistributedDbBackupConfigAutoBackupWindowEnum, bool)
GetMappingDistributedDbBackupConfigAutoBackupWindowEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbBackupConfigAutoFullBackupDayEnum Enum with underlying type: string
type DistributedDbBackupConfigAutoFullBackupDayEnum string
Set of constants representing the allowable values for DistributedDbBackupConfigAutoFullBackupDayEnum
const (
DistributedDbBackupConfigAutoFullBackupDaySunday DistributedDbBackupConfigAutoFullBackupDayEnum = "SUNDAY"
DistributedDbBackupConfigAutoFullBackupDayMonday DistributedDbBackupConfigAutoFullBackupDayEnum = "MONDAY"
DistributedDbBackupConfigAutoFullBackupDayTuesday DistributedDbBackupConfigAutoFullBackupDayEnum = "TUESDAY"
DistributedDbBackupConfigAutoFullBackupDayWednesday DistributedDbBackupConfigAutoFullBackupDayEnum = "WEDNESDAY"
DistributedDbBackupConfigAutoFullBackupDayThursday DistributedDbBackupConfigAutoFullBackupDayEnum = "THURSDAY"
DistributedDbBackupConfigAutoFullBackupDayFriday DistributedDbBackupConfigAutoFullBackupDayEnum = "FRIDAY"
DistributedDbBackupConfigAutoFullBackupDaySaturday DistributedDbBackupConfigAutoFullBackupDayEnum = "SATURDAY"
)
func GetDistributedDbBackupConfigAutoFullBackupDayEnumValues() []DistributedDbBackupConfigAutoFullBackupDayEnum
GetDistributedDbBackupConfigAutoFullBackupDayEnumValues Enumerates the set of values for DistributedDbBackupConfigAutoFullBackupDayEnum
func GetMappingDistributedDbBackupConfigAutoFullBackupDayEnum(val string) (DistributedDbBackupConfigAutoFullBackupDayEnum, bool)
GetMappingDistributedDbBackupConfigAutoFullBackupDayEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbBackupConfigAutoFullBackupWindowEnum Enum with underlying type: string
type DistributedDbBackupConfigAutoFullBackupWindowEnum string
Set of constants representing the allowable values for DistributedDbBackupConfigAutoFullBackupWindowEnum
const (
DistributedDbBackupConfigAutoFullBackupWindowOne DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_ONE"
DistributedDbBackupConfigAutoFullBackupWindowTwo DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_TWO"
DistributedDbBackupConfigAutoFullBackupWindowThree DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_THREE"
DistributedDbBackupConfigAutoFullBackupWindowFour DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_FOUR"
DistributedDbBackupConfigAutoFullBackupWindowFive DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_FIVE"
DistributedDbBackupConfigAutoFullBackupWindowSix DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_SIX"
DistributedDbBackupConfigAutoFullBackupWindowSeven DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_SEVEN"
DistributedDbBackupConfigAutoFullBackupWindowEight DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_EIGHT"
DistributedDbBackupConfigAutoFullBackupWindowNine DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_NINE"
DistributedDbBackupConfigAutoFullBackupWindowTen DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_TEN"
DistributedDbBackupConfigAutoFullBackupWindowEleven DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_ELEVEN"
DistributedDbBackupConfigAutoFullBackupWindowTwelve DistributedDbBackupConfigAutoFullBackupWindowEnum = "SLOT_TWELVE"
)
func GetDistributedDbBackupConfigAutoFullBackupWindowEnumValues() []DistributedDbBackupConfigAutoFullBackupWindowEnum
GetDistributedDbBackupConfigAutoFullBackupWindowEnumValues Enumerates the set of values for DistributedDbBackupConfigAutoFullBackupWindowEnum
func GetMappingDistributedDbBackupConfigAutoFullBackupWindowEnum(val string) (DistributedDbBackupConfigAutoFullBackupWindowEnum, bool)
GetMappingDistributedDbBackupConfigAutoFullBackupWindowEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbBackupConfigBackupDeletionPolicyEnum Enum with underlying type: string
type DistributedDbBackupConfigBackupDeletionPolicyEnum string
Set of constants representing the allowable values for DistributedDbBackupConfigBackupDeletionPolicyEnum
const (
DistributedDbBackupConfigBackupDeletionPolicyImmediately DistributedDbBackupConfigBackupDeletionPolicyEnum = "DELETE_IMMEDIATELY"
DistributedDbBackupConfigBackupDeletionPolicyAfterRetentionPeriod DistributedDbBackupConfigBackupDeletionPolicyEnum = "DELETE_AFTER_RETENTION_PERIOD"
)
func GetDistributedDbBackupConfigBackupDeletionPolicyEnumValues() []DistributedDbBackupConfigBackupDeletionPolicyEnum
GetDistributedDbBackupConfigBackupDeletionPolicyEnumValues Enumerates the set of values for DistributedDbBackupConfigBackupDeletionPolicyEnum
func GetMappingDistributedDbBackupConfigBackupDeletionPolicyEnum(val string) (DistributedDbBackupConfigBackupDeletionPolicyEnum, bool)
GetMappingDistributedDbBackupConfigBackupDeletionPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbBackupDestination Backup destination details
type DistributedDbBackupDestination struct {
// Type of the database backup destination.
Type DistributedDbBackupDestinationTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination.
Id *string `mandatory:"false" json:"id"`
// Proxy URL to connect to object store.
InternetProxy *string `mandatory:"false" json:"internetProxy"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup.
DbrsPolicyId *string `mandatory:"false" json:"dbrsPolicyId"`
// Indicates whether the backup destination is cross-region or local region.
IsRemote *bool `mandatory:"false" json:"isRemote"`
// The name of the remote region where the remote automatic incremental backups will be stored.
// For information about valid region names, see
// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
RemoteRegion *string `mandatory:"false" json:"remoteRegion"`
}
func (m DistributedDbBackupDestination) String() string
func (m DistributedDbBackupDestination) 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
DistributedDbBackupDestinationTypeEnum Enum with underlying type: string
type DistributedDbBackupDestinationTypeEnum string
Set of constants representing the allowable values for DistributedDbBackupDestinationTypeEnum
const (
DistributedDbBackupDestinationTypeNfs DistributedDbBackupDestinationTypeEnum = "NFS"
DistributedDbBackupDestinationTypeObjectStore DistributedDbBackupDestinationTypeEnum = "OBJECT_STORE"
DistributedDbBackupDestinationTypeLocal DistributedDbBackupDestinationTypeEnum = "LOCAL"
DistributedDbBackupDestinationTypeDbrs DistributedDbBackupDestinationTypeEnum = "DBRS"
)
func GetDistributedDbBackupDestinationTypeEnumValues() []DistributedDbBackupDestinationTypeEnum
GetDistributedDbBackupDestinationTypeEnumValues Enumerates the set of values for DistributedDbBackupDestinationTypeEnum
func GetMappingDistributedDbBackupDestinationTypeEnum(val string) (DistributedDbBackupDestinationTypeEnum, bool)
GetMappingDistributedDbBackupDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbConnectionString Details of Globally distributed database connection String.
type DistributedDbConnectionString struct {
// Collection of connection strings.
AllConnectionStrings map[string]string `mandatory:"true" json:"allConnectionStrings"`
}
func (m DistributedDbConnectionString) String() string
func (m DistributedDbConnectionString) 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
DistributedDbGdsControlNodeImage The Global Database Services Control(GDS CTL) image details.
type DistributedDbGdsControlNodeImage struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Global Database Services Control(GDS CTL) software image.
Id *string `mandatory:"true" json:"id"`
// The version associated with the image identified by id.
Version *string `mandatory:"true" json:"version"`
}
func (m DistributedDbGdsControlNodeImage) String() string
func (m DistributedDbGdsControlNodeImage) 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
DistributedDbGsmImage The Global service manager image details
type DistributedDbGsmImage struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Global service manager software image.
Id *string `mandatory:"true" json:"id"`
// The version associated with the image identified by id.
Version *string `mandatory:"true" json:"version"`
}
func (m DistributedDbGsmImage) String() string
func (m DistributedDbGsmImage) 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
DistributedDbMetadata Additional metadata related to Globally distributed database resources.
type DistributedDbMetadata struct {
// The map containing key-value pair of additional metadata.
PropertiesMap map[string]string `mandatory:"false" json:"map"`
}
func (m DistributedDbMetadata) String() string
func (m DistributedDbMetadata) 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
DistributedDbPrivateEndpointServiceClient a client for DistributedDbPrivateEndpointService
type DistributedDbPrivateEndpointServiceClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDistributedDbPrivateEndpointServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DistributedDbPrivateEndpointServiceClient, err error)
NewDistributedDbPrivateEndpointServiceClientWithConfigurationProvider Creates a new default DistributedDbPrivateEndpointService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDistributedDbPrivateEndpointServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DistributedDbPrivateEndpointServiceClient, err error)
NewDistributedDbPrivateEndpointServiceClientWithOboToken Creates a new default DistributedDbPrivateEndpointService client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DistributedDbPrivateEndpointServiceClient) ChangeDistributedDatabasePrivateEndpointCompartment(ctx context.Context, request ChangeDistributedDatabasePrivateEndpointCompartmentRequest) (response ChangeDistributedDatabasePrivateEndpointCompartmentResponse, err error)
ChangeDistributedDatabasePrivateEndpointCompartment Moves the DistributedDatabasePrivateEndpoint to the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDatabasePrivateEndpointCompartment.go.html to see an example of how to use ChangeDistributedDatabasePrivateEndpointCompartment API. A default retry strategy applies to this operation ChangeDistributedDatabasePrivateEndpointCompartment()
func (client *DistributedDbPrivateEndpointServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DistributedDbPrivateEndpointServiceClient) CreateDistributedDatabasePrivateEndpoint(ctx context.Context, request CreateDistributedDatabasePrivateEndpointRequest) (response CreateDistributedDatabasePrivateEndpointResponse, err error)
CreateDistributedDatabasePrivateEndpoint Creates a DistributedDatabasePrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedDatabasePrivateEndpoint.go.html to see an example of how to use CreateDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation CreateDistributedDatabasePrivateEndpoint()
func (client DistributedDbPrivateEndpointServiceClient) DeleteDistributedDatabasePrivateEndpoint(ctx context.Context, request DeleteDistributedDatabasePrivateEndpointRequest) (response DeleteDistributedDatabasePrivateEndpointResponse, err error)
DeleteDistributedDatabasePrivateEndpoint Deletes the given DistributedDatabasePrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedDatabasePrivateEndpoint.go.html to see an example of how to use DeleteDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation DeleteDistributedDatabasePrivateEndpoint()
func (client DistributedDbPrivateEndpointServiceClient) GetDistributedDatabasePrivateEndpoint(ctx context.Context, request GetDistributedDatabasePrivateEndpointRequest) (response GetDistributedDatabasePrivateEndpointResponse, err error)
GetDistributedDatabasePrivateEndpoint Get the DistributedDatabasePrivateEndpoint resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabasePrivateEndpoint.go.html to see an example of how to use GetDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation GetDistributedDatabasePrivateEndpoint()
func (client DistributedDbPrivateEndpointServiceClient) ListDistributedDatabasePrivateEndpoints(ctx context.Context, request ListDistributedDatabasePrivateEndpointsRequest) (response ListDistributedDatabasePrivateEndpointsResponse, err error)
ListDistributedDatabasePrivateEndpoints List of DistributedDatabasePrivateEndpoints.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedDatabasePrivateEndpoints.go.html to see an example of how to use ListDistributedDatabasePrivateEndpoints API. A default retry strategy applies to this operation ListDistributedDatabasePrivateEndpoints()
func (client DistributedDbPrivateEndpointServiceClient) PatchDistributedDatabasePrivateEndpoint(ctx context.Context, request PatchDistributedDatabasePrivateEndpointRequest) (response PatchDistributedDatabasePrivateEndpointResponse, err error)
PatchDistributedDatabasePrivateEndpoint Patch operation to update VCN network security group (NSG) IDs associated with the DistributedDatabasePrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedDatabasePrivateEndpoint.go.html to see an example of how to use PatchDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation PatchDistributedDatabasePrivateEndpoint()
func (client DistributedDbPrivateEndpointServiceClient) ReinstateProxyInstance(ctx context.Context, request ReinstateProxyInstanceRequest) (response ReinstateProxyInstanceResponse, err error)
ReinstateProxyInstance Reinstates the proxy instance associated with the DistributedDatabasePrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ReinstateProxyInstance.go.html to see an example of how to use ReinstateProxyInstance API. A default retry strategy applies to this operation ReinstateProxyInstance()
func (client *DistributedDbPrivateEndpointServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DistributedDbPrivateEndpointServiceClient) UpdateDistributedDatabasePrivateEndpoint(ctx context.Context, request UpdateDistributedDatabasePrivateEndpointRequest) (response UpdateDistributedDatabasePrivateEndpointResponse, err error)
UpdateDistributedDatabasePrivateEndpoint Updates the configuration of DistributedDatabasePrivateEndpoint.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedDatabasePrivateEndpoint.go.html to see an example of how to use UpdateDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation UpdateDistributedDatabasePrivateEndpoint()
DistributedDbProtectionModeEnum Enum with underlying type: string
type DistributedDbProtectionModeEnum string
Set of constants representing the allowable values for DistributedDbProtectionModeEnum
const (
DistributedDbProtectionModeMaximumAvailability DistributedDbProtectionModeEnum = "MAXIMUM_AVAILABILITY"
DistributedDbProtectionModeMaximumPerformance DistributedDbProtectionModeEnum = "MAXIMUM_PERFORMANCE"
DistributedDbProtectionModeMaximumProtection DistributedDbProtectionModeEnum = "MAXIMUM_PROTECTION"
)
func GetDistributedDbProtectionModeEnumValues() []DistributedDbProtectionModeEnum
GetDistributedDbProtectionModeEnumValues Enumerates the set of values for DistributedDbProtectionModeEnum
func GetMappingDistributedDbProtectionModeEnum(val string) (DistributedDbProtectionModeEnum, bool)
GetMappingDistributedDbProtectionModeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbServiceClient a client for DistributedDbService
type DistributedDbServiceClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDistributedDbServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DistributedDbServiceClient, err error)
NewDistributedDbServiceClientWithConfigurationProvider Creates a new default DistributedDbService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDistributedDbServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DistributedDbServiceClient, err error)
NewDistributedDbServiceClientWithOboToken Creates a new default DistributedDbService client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DistributedDbServiceClient) AddDistributedDatabaseGdsControlNode(ctx context.Context, request AddDistributedDatabaseGdsControlNodeRequest) (response AddDistributedDatabaseGdsControlNodeResponse, err error)
AddDistributedDatabaseGdsControlNode Add new Global database services control(GDS CTL) node for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/AddDistributedDatabaseGdsControlNode.go.html to see an example of how to use AddDistributedDatabaseGdsControlNode API. A default retry strategy applies to this operation AddDistributedDatabaseGdsControlNode()
func (client DistributedDbServiceClient) ChangeDistributedDatabaseCompartment(ctx context.Context, request ChangeDistributedDatabaseCompartmentRequest) (response ChangeDistributedDatabaseCompartmentResponse, err error)
ChangeDistributedDatabaseCompartment Move the Globally distributed database and its dependent resources to the specified compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDatabaseCompartment.go.html to see an example of how to use ChangeDistributedDatabaseCompartment API. A default retry strategy applies to this operation ChangeDistributedDatabaseCompartment()
func (client DistributedDbServiceClient) ChangeDistributedDbBackupConfig(ctx context.Context, request ChangeDistributedDbBackupConfigRequest) (response ChangeDistributedDbBackupConfigResponse, err error)
ChangeDistributedDbBackupConfig Change the DbBackupConfig for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ChangeDistributedDbBackupConfig.go.html to see an example of how to use ChangeDistributedDbBackupConfig API. A default retry strategy applies to this operation ChangeDistributedDbBackupConfig()
func (client *DistributedDbServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DistributedDbServiceClient) ConfigureDistributedDatabaseAutoResourceManagement(ctx context.Context, request ConfigureDistributedDatabaseAutoResourceManagementRequest) (response ConfigureDistributedDatabaseAutoResourceManagementResponse, err error)
ConfigureDistributedDatabaseAutoResourceManagement Configure autoResourceManagement options for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseAutoResourceManagement.go.html to see an example of how to use ConfigureDistributedDatabaseAutoResourceManagement API. A default retry strategy applies to this operation ConfigureDistributedDatabaseAutoResourceManagement()
func (client DistributedDbServiceClient) ConfigureDistributedDatabaseGsms(ctx context.Context, request ConfigureDistributedDatabaseGsmsRequest) (response ConfigureDistributedDatabaseGsmsResponse, err error)
ConfigureDistributedDatabaseGsms Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseGsms.go.html to see an example of how to use ConfigureDistributedDatabaseGsms API. A default retry strategy applies to this operation ConfigureDistributedDatabaseGsms()
func (client DistributedDbServiceClient) ConfigureDistributedDatabaseSharding(ctx context.Context, request ConfigureDistributedDatabaseShardingRequest) (response ConfigureDistributedDatabaseShardingResponse, err error)
ConfigureDistributedDatabaseSharding Once all components of Globally distributed database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the Globally distributed database. Note that this 'ConfigureSharding' API also needs to be invoked after successfully adding a new shard to the Globally distributed database using PATCH api. If this API is not invoked after successfully adding a new shard, then that new shard will not be a participant in sharding topology of the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ConfigureDistributedDatabaseSharding.go.html to see an example of how to use ConfigureDistributedDatabaseSharding API. A default retry strategy applies to this operation ConfigureDistributedDatabaseSharding()
func (client DistributedDbServiceClient) CreateDistributedDatabase(ctx context.Context, request CreateDistributedDatabaseRequest) (response CreateDistributedDatabaseResponse, err error)
CreateDistributedDatabase Creates a Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/CreateDistributedDatabase.go.html to see an example of how to use CreateDistributedDatabase API. A default retry strategy applies to this operation CreateDistributedDatabase()
func (client DistributedDbServiceClient) DeleteDistributedDatabase(ctx context.Context, request DeleteDistributedDatabaseRequest) (response DeleteDistributedDatabaseResponse, err error)
DeleteDistributedDatabase Terminate the given Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/DeleteDistributedDatabase.go.html to see an example of how to use DeleteDistributedDatabase API. A default retry strategy applies to this operation DeleteDistributedDatabase()
func (client DistributedDbServiceClient) GenerateDistributedDatabaseWallet(ctx context.Context, request GenerateDistributedDatabaseWalletRequest) (response GenerateDistributedDatabaseWalletResponse, err error)
GenerateDistributedDatabaseWallet Generate the wallet associated with Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GenerateDistributedDatabaseWallet.go.html to see an example of how to use GenerateDistributedDatabaseWallet API. A default retry strategy applies to this operation GenerateDistributedDatabaseWallet()
func (client DistributedDbServiceClient) GetDistributedDatabase(ctx context.Context, request GetDistributedDatabaseRequest) (response GetDistributedDatabaseResponse, err error)
GetDistributedDatabase Gets the details of the Globally distributed database identified by given id.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabase.go.html to see an example of how to use GetDistributedDatabase API. A default retry strategy applies to this operation GetDistributedDatabase()
func (client DistributedDbServiceClient) GetDistributedDatabaseRaftMetric(ctx context.Context, request GetDistributedDatabaseRaftMetricRequest) (response GetDistributedDatabaseRaftMetricResponse, err error)
GetDistributedDatabaseRaftMetric Operation to retrieve RAFT metrics for the Globally distributed database. If the Globally distributed database is not RAFT based then empty response is returned from the API.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabaseRaftMetric.go.html to see an example of how to use GetDistributedDatabaseRaftMetric API. A default retry strategy applies to this operation GetDistributedDatabaseRaftMetric()
func (client DistributedDbServiceClient) GetDistributedDatabaseRuChangeLog(ctx context.Context, request GetDistributedDatabaseRuChangeLogRequest) (response GetDistributedDatabaseRuChangeLogResponse, err error)
GetDistributedDatabaseRuChangeLog Operation to retrieve move RU invocation history and status for the Globally distributed database. Results are ordered by created timestamp in descending order.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabaseRuChangeLog.go.html to see an example of how to use GetDistributedDatabaseRuChangeLog API. A default retry strategy applies to this operation GetDistributedDatabaseRuChangeLog()
func (client DistributedDbServiceClient) ListDistributedDatabases(ctx context.Context, request ListDistributedDatabasesRequest) (response ListDistributedDatabasesResponse, err error)
ListDistributedDatabases List of Globally distributed databases.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedDatabases.go.html to see an example of how to use ListDistributedDatabases API. A default retry strategy applies to this operation ListDistributedDatabases()
func (client DistributedDbServiceClient) MoveDistributedDatabaseReplicationUnit(ctx context.Context, request MoveDistributedDatabaseReplicationUnitRequest) (response MoveDistributedDatabaseReplicationUnitResponse, err error)
MoveDistributedDatabaseReplicationUnit Move the replication units for RAFT based globally distributed database from source shard to destination shard.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/MoveDistributedDatabaseReplicationUnit.go.html to see an example of how to use MoveDistributedDatabaseReplicationUnit API. A default retry strategy applies to this operation MoveDistributedDatabaseReplicationUnit()
func (client DistributedDbServiceClient) PatchDistributedDatabase(ctx context.Context, request PatchDistributedDatabaseRequest) (response PatchDistributedDatabaseResponse, err error)
PatchDistributedDatabase Patch operation to add, remove or update shards to the Globally distributed database topology. In single patch operation, multiple shards can be either added, or removed or updated. Combination of inserts, update and remove in single operation is not allowed.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedDatabase.go.html to see an example of how to use PatchDistributedDatabase API. A default retry strategy applies to this operation PatchDistributedDatabase()
func (client DistributedDbServiceClient) RecreateFailedDistributedDatabaseResource(ctx context.Context, request RecreateFailedDistributedDatabaseResourceRequest) (response RecreateFailedDistributedDatabaseResourceResponse, err error)
RecreateFailedDistributedDatabaseResource Recreate the failed resource for the Globally Distributed Database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RecreateFailedDistributedDatabaseResource.go.html to see an example of how to use RecreateFailedDistributedDatabaseResource API. A default retry strategy applies to this operation RecreateFailedDistributedDatabaseResource()
func (client DistributedDbServiceClient) RotateDistributedDatabasePasswords(ctx context.Context, request RotateDistributedDatabasePasswordsRequest) (response RotateDistributedDatabasePasswordsResponse, err error)
RotateDistributedDatabasePasswords Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed database. This operation will also remove GdsCtlNodes if present.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RotateDistributedDatabasePasswords.go.html to see an example of how to use RotateDistributedDatabasePasswords API. A default retry strategy applies to this operation RotateDistributedDatabasePasswords()
func (client DistributedDbServiceClient) ScaleDistributedDatabaseGsms(ctx context.Context, request ScaleDistributedDatabaseGsmsRequest) (response ScaleDistributedDatabaseGsmsResponse, err error)
ScaleDistributedDatabaseGsms Scale global service manager(GSM aka shard manager) instances for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ScaleDistributedDatabaseGsms.go.html to see an example of how to use ScaleDistributedDatabaseGsms API. A default retry strategy applies to this operation ScaleDistributedDatabaseGsms()
func (client *DistributedDbServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DistributedDbServiceClient) StartDistributedDatabase(ctx context.Context, request StartDistributedDatabaseRequest) (response StartDistributedDatabaseResponse, err error)
StartDistributedDatabase Start the shards, catalog, GSMs and GDSCTL instances of Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StartDistributedDatabase.go.html to see an example of how to use StartDistributedDatabase API. A default retry strategy applies to this operation StartDistributedDatabase()
func (client DistributedDbServiceClient) StopDistributedDatabase(ctx context.Context, request StopDistributedDatabaseRequest) (response StopDistributedDatabaseResponse, err error)
StopDistributedDatabase Stop the shards, catalog, GSMs and GDSCTL instances for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StopDistributedDatabase.go.html to see an example of how to use StopDistributedDatabase API. A default retry strategy applies to this operation StopDistributedDatabase()
func (client DistributedDbServiceClient) UpdateDistributedDatabase(ctx context.Context, request UpdateDistributedDatabaseRequest) (response UpdateDistributedDatabaseResponse, err error)
UpdateDistributedDatabase Updates the configuration of the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedDatabase.go.html to see an example of how to use UpdateDistributedDatabase API. A default retry strategy applies to this operation UpdateDistributedDatabase()
func (client DistributedDbServiceClient) ValidateDistributedDatabaseNetwork(ctx context.Context, request ValidateDistributedDatabaseNetworkRequest) (response ValidateDistributedDatabaseNetworkResponse, err error)
ValidateDistributedDatabaseNetwork Validate the network connectivity between components of the globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedDatabaseNetwork.go.html to see an example of how to use ValidateDistributedDatabaseNetwork API. A default retry strategy applies to this operation ValidateDistributedDatabaseNetwork()
DistributedDbStorageVault The Storage Vault for Distributed Database Resource.
type DistributedDbStorageVault struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for Db Storage Vault.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Total storage capacity in GB for vault storage.
HighCapacityDatabaseStorage *int `mandatory:"true" json:"highCapacityDatabaseStorage"`
// The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
DisplayName *string `mandatory:"false" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault.
DbStorageVaultId *string `mandatory:"false" json:"dbStorageVaultId"`
// The size of additional Flash Cache in percentage of High Capacity database storage.
AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// Indicates if autoscale feature is enabled for the Database Storage Vault. The default value is `FALSE`.
IsAutoscaleEnabled *bool `mandatory:"false" json:"isAutoscaleEnabled"`
// The maximum limit, in gigabytes, to which the Vault storage size can automatically scale when auto scaling is enabled for the Database Storage Vault.
AutoscaleLimitInGBs *int `mandatory:"false" json:"autoscaleLimitInGBs"`
}
func (m DistributedDbStorageVault) String() string
func (m DistributedDbStorageVault) 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
DistributedDbTransportTypeEnum Enum with underlying type: string
type DistributedDbTransportTypeEnum string
Set of constants representing the allowable values for DistributedDbTransportTypeEnum
const (
DistributedDbTransportTypeSync DistributedDbTransportTypeEnum = "SYNC"
DistributedDbTransportTypeAsync DistributedDbTransportTypeEnum = "ASYNC"
DistributedDbTransportTypeFastsync DistributedDbTransportTypeEnum = "FASTSYNC"
)
func GetDistributedDbTransportTypeEnumValues() []DistributedDbTransportTypeEnum
GetDistributedDbTransportTypeEnumValues Enumerates the set of values for DistributedDbTransportTypeEnum
func GetMappingDistributedDbTransportTypeEnum(val string) (DistributedDbTransportTypeEnum, bool)
GetMappingDistributedDbTransportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbVmCluster The Exadata VM cluster for Distributed Database Resource.
type DistributedDbVmCluster struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for VM Cluster.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.
BackupSubnetId *string `mandatory:"true" json:"backupSubnetId"`
// The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.
EnabledECpuCount *int `mandatory:"true" json:"enabledECpuCount"`
// The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure.
SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
VmClusterId *string `mandatory:"false" json:"vmClusterId"`
// The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique.
DisplayName *string `mandatory:"false" json:"displayName"`
// The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.
TotalECpuCount *int `mandatory:"false" json:"totalECpuCount"`
// File System Storage Size in GBs for Exadata VM cluster.
VmFileSystemStorageSize *int `mandatory:"false" json:"vmFileSystemStorageSize"`
// The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE.
LicenseModel DistributedDbVmClusterLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`
// A domain name used for the Exadata VM cluster on Exascale Infrastructure.
// If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, then the domain name for the subnet is used
// (do not provide one). Otherwise, provide a valid DNS domain name.
// Hyphens (-) are not permitted. Applies to Exadata Database Service on Exascale Infrastructure only.
Domain *string `mandatory:"false" json:"domain"`
// The private zone ID in which you want DNS records to be created.
PrivateZoneId *string `mandatory:"false" json:"privateZoneId"`
// The list of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs.
// Setting this to an empty list removes all resources from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// A list of the OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to.
// Setting this to an empty array after the list is created removes the resource from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"`
// Indicates whether diagnostic collection is enabled for the VM cluster.
// Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues.
// Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system.
// You can enable diagnostic collection during VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` API.
IsDiagnosticsEventsEnabled *bool `mandatory:"false" json:"isDiagnosticsEventsEnabled"`
// Indicates whether health monitoring is enabled for the VM cluster.
// Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel.
// You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system.
// Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster` API.
IsHealthMonitoringEnabled *bool `mandatory:"false" json:"isHealthMonitoringEnabled"`
// Indicates whether incident logs and trace collection are enabled for the VM cluster.
// Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them.
// Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster` API.
IsIncidentLogsEnabled *bool `mandatory:"false" json:"isIncidentLogsEnabled"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
}
func (m DistributedDbVmCluster) String() string
func (m DistributedDbVmCluster) 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
DistributedDbVmClusterLicenseModelEnum Enum with underlying type: string
type DistributedDbVmClusterLicenseModelEnum string
Set of constants representing the allowable values for DistributedDbVmClusterLicenseModelEnum
const (
DistributedDbVmClusterLicenseModelLicenseIncluded DistributedDbVmClusterLicenseModelEnum = "LICENSE_INCLUDED"
DistributedDbVmClusterLicenseModelBringYourOwnLicense DistributedDbVmClusterLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)
func GetDistributedDbVmClusterLicenseModelEnumValues() []DistributedDbVmClusterLicenseModelEnum
GetDistributedDbVmClusterLicenseModelEnumValues Enumerates the set of values for DistributedDbVmClusterLicenseModelEnum
func GetMappingDistributedDbVmClusterLicenseModelEnum(val string) (DistributedDbVmClusterLicenseModelEnum, bool)
GetMappingDistributedDbVmClusterLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDbWorkRequestServiceClient a client for DistributedDbWorkRequestService
type DistributedDbWorkRequestServiceClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewDistributedDbWorkRequestServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DistributedDbWorkRequestServiceClient, err error)
NewDistributedDbWorkRequestServiceClientWithConfigurationProvider Creates a new default DistributedDbWorkRequestService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDistributedDbWorkRequestServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DistributedDbWorkRequestServiceClient, err error)
NewDistributedDbWorkRequestServiceClientWithOboToken Creates a new default DistributedDbWorkRequestService client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *DistributedDbWorkRequestServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DistributedDbWorkRequestServiceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details of the work request with the given ID.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DistributedDbWorkRequestServiceClient) 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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client DistributedDbWorkRequestServiceClient) 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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client DistributedDbWorkRequestServiceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *DistributedDbWorkRequestServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
GenerateDistributedAutonomousDatabaseWalletDetails Details to create and download an Globally distributed autonomous database wallet.
type GenerateDistributedAutonomousDatabaseWalletDetails struct {
// The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
Password *string `mandatory:"true" json:"password"`
}
func (m GenerateDistributedAutonomousDatabaseWalletDetails) String() string
func (m GenerateDistributedAutonomousDatabaseWalletDetails) 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
GenerateDistributedAutonomousDatabaseWalletRequest wrapper for the GenerateDistributedAutonomousDatabaseWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GenerateDistributedAutonomousDatabaseWallet.go.html to see an example of how to use GenerateDistributedAutonomousDatabaseWalletRequest.
type GenerateDistributedAutonomousDatabaseWalletRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Details for generating Globally distributed autonomous database wallet.
GenerateDistributedAutonomousDatabaseWalletDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GenerateDistributedAutonomousDatabaseWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateDistributedAutonomousDatabaseWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateDistributedAutonomousDatabaseWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateDistributedAutonomousDatabaseWalletRequest) String() string
func (request GenerateDistributedAutonomousDatabaseWalletRequest) 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
GenerateDistributedAutonomousDatabaseWalletResponse wrapper for the GenerateDistributedAutonomousDatabaseWallet operation
type GenerateDistributedAutonomousDatabaseWalletResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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"`
// Size of the file.
ContentLength *int64 `presentIn:"header" name:"content-length"`
// The date and time the wallet was created.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}
func (response GenerateDistributedAutonomousDatabaseWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateDistributedAutonomousDatabaseWalletResponse) String() string
GenerateDistributedDatabaseWalletDetails Details to create and download an Globally distributed database wallet.
type GenerateDistributedDatabaseWalletDetails struct {
// The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
Password *string `mandatory:"true" json:"password"`
}
func (m GenerateDistributedDatabaseWalletDetails) String() string
func (m GenerateDistributedDatabaseWalletDetails) 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
GenerateDistributedDatabaseWalletRequest wrapper for the GenerateDistributedDatabaseWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GenerateDistributedDatabaseWallet.go.html to see an example of how to use GenerateDistributedDatabaseWalletRequest.
type GenerateDistributedDatabaseWalletRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Details for generating Globally distributed database wallet.
GenerateDistributedDatabaseWalletDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GenerateDistributedDatabaseWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateDistributedDatabaseWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateDistributedDatabaseWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateDistributedDatabaseWalletRequest) String() string
func (request GenerateDistributedDatabaseWalletRequest) 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
GenerateDistributedDatabaseWalletResponse wrapper for the GenerateDistributedDatabaseWallet operation
type GenerateDistributedDatabaseWalletResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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"`
// Size of the file.
ContentLength *int64 `presentIn:"header" name:"content-length"`
// The date and time the wallet was created.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}
func (response GenerateDistributedDatabaseWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateDistributedDatabaseWalletResponse) String() string
GetDistributedAutonomousDatabaseRaftMetricRequest wrapper for the GetDistributedAutonomousDatabaseRaftMetric operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabaseRaftMetric.go.html to see an example of how to use GetDistributedAutonomousDatabaseRaftMetricRequest.
type GetDistributedAutonomousDatabaseRaftMetricRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// 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 (request GetDistributedAutonomousDatabaseRaftMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRaftMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRaftMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedAutonomousDatabaseRaftMetricRequest) String() string
func (request GetDistributedAutonomousDatabaseRaftMetricRequest) 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
GetDistributedAutonomousDatabaseRaftMetricResponse wrapper for the GetDistributedAutonomousDatabaseRaftMetric operation
type GetDistributedAutonomousDatabaseRaftMetricResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabaseRaftMetric instance
DistributedAutonomousDatabaseRaftMetric `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetDistributedAutonomousDatabaseRaftMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedAutonomousDatabaseRaftMetricResponse) String() string
GetDistributedAutonomousDatabaseRequest wrapper for the GetDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabase.go.html to see an example of how to use GetDistributedAutonomousDatabaseRequest.
type GetDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Comma-separated argument names for which metadata should be retrieved.
Metadata *string `mandatory:"false" contributesTo:"query" name:"metadata"`
// For conditional requests. In the GET call for a resource, set the
// `If-None-Match` header to the value of the ETag from a previous GET (or
// POST or PUT) response for that resource. The server will return with
// either a 304 Not Modified response if the resource has not changed, or a
// 200 OK response with the updated representation.
IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-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 (request GetDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedAutonomousDatabaseRequest) String() string
func (request GetDistributedAutonomousDatabaseRequest) 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
GetDistributedAutonomousDatabaseResponse wrapper for the GetDistributedAutonomousDatabase operation
type GetDistributedAutonomousDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabase instance
DistributedAutonomousDatabase `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response GetDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedAutonomousDatabaseResponse) String() string
GetDistributedAutonomousDatabaseRuChangeLogRequest wrapper for the GetDistributedAutonomousDatabaseRuChangeLog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedAutonomousDatabaseRuChangeLog.go.html to see an example of how to use GetDistributedAutonomousDatabaseRuChangeLogRequest.
type GetDistributedAutonomousDatabaseRuChangeLogRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The source shard name to filter RU change log entries.
SourceShardName *string `mandatory:"false" contributesTo:"query" name:"sourceShardName"`
// 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 (request GetDistributedAutonomousDatabaseRuChangeLogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRuChangeLogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedAutonomousDatabaseRuChangeLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedAutonomousDatabaseRuChangeLogRequest) String() string
func (request GetDistributedAutonomousDatabaseRuChangeLogRequest) 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
GetDistributedAutonomousDatabaseRuChangeLogResponse wrapper for the GetDistributedAutonomousDatabaseRuChangeLog operation
type GetDistributedAutonomousDatabaseRuChangeLogResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabaseRuChangeLog instance
DistributedAutonomousDatabaseRuChangeLog `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetDistributedAutonomousDatabaseRuChangeLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedAutonomousDatabaseRuChangeLogResponse) String() string
GetDistributedDatabasePrivateEndpointRequest wrapper for the GetDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabasePrivateEndpoint.go.html to see an example of how to use GetDistributedDatabasePrivateEndpointRequest.
type GetDistributedDatabasePrivateEndpointRequest struct {
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// For conditional requests. In the GET call for a resource, set the
// `If-None-Match` header to the value of the ETag from a previous GET (or
// POST or PUT) response for that resource. The server will return with
// either a 304 Not Modified response if the resource has not changed, or a
// 200 OK response with the updated representation.
IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-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 (request GetDistributedDatabasePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedDatabasePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedDatabasePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedDatabasePrivateEndpointRequest) String() string
func (request GetDistributedDatabasePrivateEndpointRequest) 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
GetDistributedDatabasePrivateEndpointResponse wrapper for the GetDistributedDatabasePrivateEndpoint operation
type GetDistributedDatabasePrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabasePrivateEndpoint instance
DistributedDatabasePrivateEndpoint `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response GetDistributedDatabasePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedDatabasePrivateEndpointResponse) String() string
GetDistributedDatabaseRaftMetricRequest wrapper for the GetDistributedDatabaseRaftMetric operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabaseRaftMetric.go.html to see an example of how to use GetDistributedDatabaseRaftMetricRequest.
type GetDistributedDatabaseRaftMetricRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// 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 (request GetDistributedDatabaseRaftMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedDatabaseRaftMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedDatabaseRaftMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedDatabaseRaftMetricRequest) String() string
func (request GetDistributedDatabaseRaftMetricRequest) 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
GetDistributedDatabaseRaftMetricResponse wrapper for the GetDistributedDatabaseRaftMetric operation
type GetDistributedDatabaseRaftMetricResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabaseRaftMetric instance
DistributedDatabaseRaftMetric `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetDistributedDatabaseRaftMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedDatabaseRaftMetricResponse) String() string
GetDistributedDatabaseRequest wrapper for the GetDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabase.go.html to see an example of how to use GetDistributedDatabaseRequest.
type GetDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Comma-separated argument names for which metadata should be retrieved.
Metadata *string `mandatory:"false" contributesTo:"query" name:"metadata"`
// For conditional requests. In the GET call for a resource, set the
// `If-None-Match` header to the value of the ETag from a previous GET (or
// POST or PUT) response for that resource. The server will return with
// either a 304 Not Modified response if the resource has not changed, or a
// 200 OK response with the updated representation.
IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-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 (request GetDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedDatabaseRequest) String() string
func (request GetDistributedDatabaseRequest) 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
GetDistributedDatabaseResponse wrapper for the GetDistributedDatabase operation
type GetDistributedDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabase instance
DistributedDatabase `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response GetDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedDatabaseResponse) String() string
GetDistributedDatabaseRuChangeLogRequest wrapper for the GetDistributedDatabaseRuChangeLog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/GetDistributedDatabaseRuChangeLog.go.html to see an example of how to use GetDistributedDatabaseRuChangeLogRequest.
type GetDistributedDatabaseRuChangeLogRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The source shard name to filter RU change log entries.
SourceShardName *string `mandatory:"false" contributesTo:"query" name:"sourceShardName"`
// 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 (request GetDistributedDatabaseRuChangeLogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDistributedDatabaseRuChangeLogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDistributedDatabaseRuChangeLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDistributedDatabaseRuChangeLogRequest) String() string
func (request GetDistributedDatabaseRuChangeLogRequest) 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
GetDistributedDatabaseRuChangeLogResponse wrapper for the GetDistributedDatabaseRuChangeLog operation
type GetDistributedDatabaseRuChangeLogResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabaseRuChangeLog instance
DistributedDatabaseRuChangeLog `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetDistributedDatabaseRuChangeLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDistributedDatabaseRuChangeLogResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/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 (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The WorkRequest instance
WorkRequest `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *int `presentIn:"header" name:"retry-after"`
}
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ListDistributedAutonomousDatabasesRequest wrapper for the ListDistributedAutonomousDatabases operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedAutonomousDatabases.go.html to see an example of how to use ListDistributedAutonomousDatabasesRequest.
type ListDistributedAutonomousDatabasesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// When set to true, returns resources in the specified compartment and in all of its child compartments recursively. Defaults to false.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// A filter to return only resources that are associated with the given privateEndpointId.
PrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"privateEndpointId"`
// A filter to return only resources whose lifecycleState matches the specified value.
LifecycleState DistributedAutonomousDatabaseLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// 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 ListDistributedAutonomousDatabasesSortOrderEnum `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 ListDistributedAutonomousDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources where autoResourceManagement is enabled when set to `true`, or disabled when set to `false`. If omitted, no autoResourceManagement-based filtering is applied.
IsAutoResourceManagementEnabled *bool `mandatory:"false" contributesTo:"query" name:"isAutoResourceManagementEnabled"`
// A filter to return only Globally distributed autonomous databases that match the entire name given. The match is not case sensitive.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources whose dbDeploymentType matches the specified value.
DbDeploymentType *string `mandatory:"false" contributesTo:"query" name:"dbDeploymentType"`
// Comma-separated argument names for which metadata should be retrieved.
Metadata *string `mandatory:"false" contributesTo:"query" name:"metadata"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDistributedAutonomousDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDistributedAutonomousDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDistributedAutonomousDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDistributedAutonomousDatabasesRequest) String() string
func (request ListDistributedAutonomousDatabasesRequest) 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
ListDistributedAutonomousDatabasesResponse wrapper for the ListDistributedAutonomousDatabases operation
type ListDistributedAutonomousDatabasesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DistributedAutonomousDatabaseCollection instances
DistributedAutonomousDatabaseCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDistributedAutonomousDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDistributedAutonomousDatabasesResponse) String() string
ListDistributedAutonomousDatabasesSortByEnum Enum with underlying type: string
type ListDistributedAutonomousDatabasesSortByEnum string
Set of constants representing the allowable values for ListDistributedAutonomousDatabasesSortByEnum
const (
ListDistributedAutonomousDatabasesSortByTimecreated ListDistributedAutonomousDatabasesSortByEnum = "timeCreated"
ListDistributedAutonomousDatabasesSortByTimeupdated ListDistributedAutonomousDatabasesSortByEnum = "timeUpdated"
)
func GetListDistributedAutonomousDatabasesSortByEnumValues() []ListDistributedAutonomousDatabasesSortByEnum
GetListDistributedAutonomousDatabasesSortByEnumValues Enumerates the set of values for ListDistributedAutonomousDatabasesSortByEnum
func GetMappingListDistributedAutonomousDatabasesSortByEnum(val string) (ListDistributedAutonomousDatabasesSortByEnum, bool)
GetMappingListDistributedAutonomousDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDistributedAutonomousDatabasesSortOrderEnum Enum with underlying type: string
type ListDistributedAutonomousDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListDistributedAutonomousDatabasesSortOrderEnum
const (
ListDistributedAutonomousDatabasesSortOrderAsc ListDistributedAutonomousDatabasesSortOrderEnum = "ASC"
ListDistributedAutonomousDatabasesSortOrderDesc ListDistributedAutonomousDatabasesSortOrderEnum = "DESC"
)
func GetListDistributedAutonomousDatabasesSortOrderEnumValues() []ListDistributedAutonomousDatabasesSortOrderEnum
GetListDistributedAutonomousDatabasesSortOrderEnumValues Enumerates the set of values for ListDistributedAutonomousDatabasesSortOrderEnum
func GetMappingListDistributedAutonomousDatabasesSortOrderEnum(val string) (ListDistributedAutonomousDatabasesSortOrderEnum, bool)
GetMappingListDistributedAutonomousDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDistributedDatabasePrivateEndpointsRequest wrapper for the ListDistributedDatabasePrivateEndpoints operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedDatabasePrivateEndpoints.go.html to see an example of how to use ListDistributedDatabasePrivateEndpointsRequest.
type ListDistributedDatabasePrivateEndpointsRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// When set to true, returns resources in the specified compartment and in all of its child compartments recursively. Defaults to false.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// A filter to return only resources their lifecycleState matches the given lifecycleState.
LifecycleState DistributedDatabasePrivateEndpointLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// 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 ListDistributedDatabasePrivateEndpointsSortOrderEnum `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 ListDistributedDatabasePrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDistributedDatabasePrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDistributedDatabasePrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDistributedDatabasePrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDistributedDatabasePrivateEndpointsRequest) String() string
func (request ListDistributedDatabasePrivateEndpointsRequest) 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
ListDistributedDatabasePrivateEndpointsResponse wrapper for the ListDistributedDatabasePrivateEndpoints operation
type ListDistributedDatabasePrivateEndpointsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DistributedDatabasePrivateEndpointCollection instances
DistributedDatabasePrivateEndpointCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDistributedDatabasePrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDistributedDatabasePrivateEndpointsResponse) String() string
ListDistributedDatabasePrivateEndpointsSortByEnum Enum with underlying type: string
type ListDistributedDatabasePrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListDistributedDatabasePrivateEndpointsSortByEnum
const (
ListDistributedDatabasePrivateEndpointsSortByTimecreated ListDistributedDatabasePrivateEndpointsSortByEnum = "timeCreated"
ListDistributedDatabasePrivateEndpointsSortByTimeupdated ListDistributedDatabasePrivateEndpointsSortByEnum = "timeUpdated"
)
func GetListDistributedDatabasePrivateEndpointsSortByEnumValues() []ListDistributedDatabasePrivateEndpointsSortByEnum
GetListDistributedDatabasePrivateEndpointsSortByEnumValues Enumerates the set of values for ListDistributedDatabasePrivateEndpointsSortByEnum
func GetMappingListDistributedDatabasePrivateEndpointsSortByEnum(val string) (ListDistributedDatabasePrivateEndpointsSortByEnum, bool)
GetMappingListDistributedDatabasePrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDistributedDatabasePrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListDistributedDatabasePrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListDistributedDatabasePrivateEndpointsSortOrderEnum
const (
ListDistributedDatabasePrivateEndpointsSortOrderAsc ListDistributedDatabasePrivateEndpointsSortOrderEnum = "ASC"
ListDistributedDatabasePrivateEndpointsSortOrderDesc ListDistributedDatabasePrivateEndpointsSortOrderEnum = "DESC"
)
func GetListDistributedDatabasePrivateEndpointsSortOrderEnumValues() []ListDistributedDatabasePrivateEndpointsSortOrderEnum
GetListDistributedDatabasePrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDistributedDatabasePrivateEndpointsSortOrderEnum
func GetMappingListDistributedDatabasePrivateEndpointsSortOrderEnum(val string) (ListDistributedDatabasePrivateEndpointsSortOrderEnum, bool)
GetMappingListDistributedDatabasePrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDistributedDatabasesRequest wrapper for the ListDistributedDatabases operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ListDistributedDatabases.go.html to see an example of how to use ListDistributedDatabasesRequest.
type ListDistributedDatabasesRequest struct {
// The ID of the compartment in which to list resources.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// When set to true, returns resources in the specified compartment and in all of its child compartments recursively. Defaults to false.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// A filter to return only resources that are associated with the given privateEndpointId.
PrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"privateEndpointId"`
// A filter to return only resources whose lifecycleState matches the specified value.
LifecycleState DistributedDatabaseLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`
// 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 ListDistributedDatabasesSortOrderEnum `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 ListDistributedDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A filter to return only resources where autoResourceManagement is enabled when set to `true`, or disabled when set to `false`. If omitted, no autoResourceManagement-based filtering is applied.
IsAutoResourceManagementEnabled *bool `mandatory:"false" contributesTo:"query" name:"isAutoResourceManagementEnabled"`
// A filter to return only Globally distributed databases that match the entire name given. The match is not case sensitive.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// A filter to return only resources whose dbDeploymentType matches the specified value.
DbDeploymentType *string `mandatory:"false" contributesTo:"query" name:"dbDeploymentType"`
// Comma-separated argument names for which metadata should be retrieved.
Metadata *string `mandatory:"false" contributesTo:"query" name:"metadata"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDistributedDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDistributedDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDistributedDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDistributedDatabasesRequest) String() string
func (request ListDistributedDatabasesRequest) 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
ListDistributedDatabasesResponse wrapper for the ListDistributedDatabases operation
type ListDistributedDatabasesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DistributedDatabaseCollection instances
DistributedDatabaseCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListDistributedDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDistributedDatabasesResponse) String() string
ListDistributedDatabasesSortByEnum Enum with underlying type: string
type ListDistributedDatabasesSortByEnum string
Set of constants representing the allowable values for ListDistributedDatabasesSortByEnum
const (
ListDistributedDatabasesSortByTimecreated ListDistributedDatabasesSortByEnum = "timeCreated"
ListDistributedDatabasesSortByTimeupdated ListDistributedDatabasesSortByEnum = "timeUpdated"
)
func GetListDistributedDatabasesSortByEnumValues() []ListDistributedDatabasesSortByEnum
GetListDistributedDatabasesSortByEnumValues Enumerates the set of values for ListDistributedDatabasesSortByEnum
func GetMappingListDistributedDatabasesSortByEnum(val string) (ListDistributedDatabasesSortByEnum, bool)
GetMappingListDistributedDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDistributedDatabasesSortOrderEnum Enum with underlying type: string
type ListDistributedDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListDistributedDatabasesSortOrderEnum
const (
ListDistributedDatabasesSortOrderAsc ListDistributedDatabasesSortOrderEnum = "ASC"
ListDistributedDatabasesSortOrderDesc ListDistributedDatabasesSortOrderEnum = "DESC"
)
func GetListDistributedDatabasesSortOrderEnumValues() []ListDistributedDatabasesSortOrderEnum
GetListDistributedDatabasesSortOrderEnumValues Enumerates the set of values for ListDistributedDatabasesSortOrderEnum
func GetMappingListDistributedDatabasesSortOrderEnum(val string) (ListDistributedDatabasesSortOrderEnum, bool)
GetMappingListDistributedDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/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 (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestErrorCollection instances
WorkRequestErrorCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/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 (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WorkRequestLogEntryCollection instances
WorkRequestLogEntryCollection `presentIn:"body"`
// For pagination of a list of items. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/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:"true" 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 their lifecycleState matches the given OperationStatus.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The 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 (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
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. When paging through a list, if this header appears in the response,
// then a partial list might have been returned. Include this value as the `page` parameter for the
// subsequent GET request to get the next batch of items.
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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"
ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
)
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
MoveDistributedAutonomousDatabaseReplicationUnitDetails The details for moving replication units from source shard to destination shard for the Globally distributed autonomous database.
type MoveDistributedAutonomousDatabaseReplicationUnitDetails struct {
// The name of the source shard from which to move the chunks out to other shards.
SourceShardName *string `mandatory:"true" json:"sourceShardName"`
// The name of the destination shard to which the chunks moved out from source shard should be relocate to.
DestinationShardName *string `mandatory:"false" json:"destinationShardName"`
// For RAFT databases please provide replication unit numbers to be moved from source shard to destination shard.
ReplicationUnits []int `mandatory:"false" json:"replicationUnits"`
}
func (m MoveDistributedAutonomousDatabaseReplicationUnitDetails) String() string
func (m MoveDistributedAutonomousDatabaseReplicationUnitDetails) 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
MoveDistributedAutonomousDatabaseReplicationUnitRequest wrapper for the MoveDistributedAutonomousDatabaseReplicationUnit operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/MoveDistributedAutonomousDatabaseReplicationUnit.go.html to see an example of how to use MoveDistributedAutonomousDatabaseReplicationUnitRequest.
type MoveDistributedAutonomousDatabaseReplicationUnitRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Details required to move the replication units from the source shard to destination shard.
MoveDistributedAutonomousDatabaseReplicationUnitDetails `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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request MoveDistributedAutonomousDatabaseReplicationUnitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request MoveDistributedAutonomousDatabaseReplicationUnitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request MoveDistributedAutonomousDatabaseReplicationUnitRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request MoveDistributedAutonomousDatabaseReplicationUnitRequest) String() string
func (request MoveDistributedAutonomousDatabaseReplicationUnitRequest) 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
MoveDistributedAutonomousDatabaseReplicationUnitResponse wrapper for the MoveDistributedAutonomousDatabaseReplicationUnit operation
type MoveDistributedAutonomousDatabaseReplicationUnitResponse 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 (response MoveDistributedAutonomousDatabaseReplicationUnitResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response MoveDistributedAutonomousDatabaseReplicationUnitResponse) String() string
MoveDistributedDatabaseReplicationUnitDetails The details for moving replication units from source shard to destination shard for the Globally distributed database.
type MoveDistributedDatabaseReplicationUnitDetails struct {
// The name of the source shard from which to move the chunks out to other shards.
SourceShardName *string `mandatory:"true" json:"sourceShardName"`
// The name of the destination shard to which the chunks moved out from source shard should be relocate to.
DestinationShardName *string `mandatory:"false" json:"destinationShardName"`
// For RAFT databases please provide replication unit numbers to be moved from source shard to destination shard.
ReplicationUnits []int `mandatory:"false" json:"replicationUnits"`
}
func (m MoveDistributedDatabaseReplicationUnitDetails) String() string
func (m MoveDistributedDatabaseReplicationUnitDetails) 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
MoveDistributedDatabaseReplicationUnitRequest wrapper for the MoveDistributedDatabaseReplicationUnit operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/MoveDistributedDatabaseReplicationUnit.go.html to see an example of how to use MoveDistributedDatabaseReplicationUnitRequest.
type MoveDistributedDatabaseReplicationUnitRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Details required to move the replication units from source shard to destination shard.
MoveDistributedDatabaseReplicationUnitDetails `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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request MoveDistributedDatabaseReplicationUnitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request MoveDistributedDatabaseReplicationUnitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request MoveDistributedDatabaseReplicationUnitRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request MoveDistributedDatabaseReplicationUnitRequest) String() string
func (request MoveDistributedDatabaseReplicationUnitRequest) 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
MoveDistributedDatabaseReplicationUnitResponse wrapper for the MoveDistributedDatabaseReplicationUnit operation
type MoveDistributedDatabaseReplicationUnitResponse 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 (response MoveDistributedDatabaseReplicationUnitResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response MoveDistributedDatabaseReplicationUnitResponse) String() string
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"
OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const (
OperationTypeCreateDistributedDb OperationTypeEnum = "CREATE_DISTRIBUTED_DB"
OperationTypePatchDistributedDbInsertShards OperationTypeEnum = "PATCH_DISTRIBUTED_DB_INSERT_SHARDS"
OperationTypePatchDistributedDbRemoveShards OperationTypeEnum = "PATCH_DISTRIBUTED_DB_REMOVE_SHARDS"
OperationTypePatchDistributedDbMergeCatalogShards OperationTypeEnum = "PATCH_DISTRIBUTED_DB_MERGE_CATALOG_SHARDS"
OperationTypeDeleteDistributedDb OperationTypeEnum = "DELETE_DISTRIBUTED_DB"
OperationTypeChangeDistributedDbCompartment OperationTypeEnum = "CHANGE_DISTRIBUTED_DB_COMPARTMENT"
OperationTypeConfigureDistributedDbGsms OperationTypeEnum = "CONFIGURE_DISTRIBUTED_DB_GSMS"
OperationTypeConfigureDistributedDbSharding OperationTypeEnum = "CONFIGURE_DISTRIBUTED_DB_SHARDING"
OperationTypeRotateDistributedDbPasswords OperationTypeEnum = "ROTATE_DISTRIBUTED_DB_PASSWORDS"
OperationTypeStartDistributedDb OperationTypeEnum = "START_DISTRIBUTED_DB"
OperationTypeStopDistributedDb OperationTypeEnum = "STOP_DISTRIBUTED_DB"
OperationTypeStartDistributedDbShard OperationTypeEnum = "START_DISTRIBUTED_DB_SHARD"
OperationTypeStartDistributedDbCatalog OperationTypeEnum = "START_DISTRIBUTED_DB_CATALOG"
OperationTypeStopDistributedDbShard OperationTypeEnum = "STOP_DISTRIBUTED_DB_SHARD"
OperationTypeStopDistributedDbCatalog OperationTypeEnum = "STOP_DISTRIBUTED_DB_CATALOG"
OperationTypeCreateDistributedDbShard OperationTypeEnum = "CREATE_DISTRIBUTED_DB_SHARD"
OperationTypeCreateDistributedDbCatalog OperationTypeEnum = "CREATE_DISTRIBUTED_DB_CATALOG"
OperationTypeCreateDistributedDbGsm OperationTypeEnum = "CREATE_DISTRIBUTED_DB_GSM"
OperationTypeUpdateDistributedDbCatalogShards OperationTypeEnum = "UPDATE_DISTRIBUTED_DB_CATALOG_SHARDS"
OperationTypeValidateNetwork OperationTypeEnum = "VALIDATE_NETWORK"
OperationTypeExecuteValidateNetworkTests OperationTypeEnum = "EXECUTE_VALIDATE_NETWORK_TESTS"
OperationTypeCreatePrivateEndpoint OperationTypeEnum = "CREATE_PRIVATE_ENDPOINT"
OperationTypeDeletePrivateEndpoint OperationTypeEnum = "DELETE_PRIVATE_ENDPOINT"
OperationTypeChangePrivateEndpointCompartment OperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT"
OperationTypeReinstateProxyInstance OperationTypeEnum = "REINSTATE_PROXY_INSTANCE"
OperationTypeDeleteDistributedDbShard OperationTypeEnum = "DELETE_DISTRIBUTED_DB_SHARD"
OperationTypeDeleteDistributedDbCatalog OperationTypeEnum = "DELETE_DISTRIBUTED_DB_CATALOG"
OperationTypeDeleteDistributedDbGsm OperationTypeEnum = "DELETE_DISTRIBUTED_DB_GSM"
OperationTypeAddGdscontrolNode OperationTypeEnum = "ADD_GDSCONTROL_NODE"
OperationTypeChangeDistributedDbBackupConfig OperationTypeEnum = "CHANGE_DISTRIBUTED_DB_BACKUP_CONFIG"
OperationTypeAddDistributedDbDgExadb OperationTypeEnum = "ADD_DISTRIBUTED_DB_DG_EXADB"
OperationTypeAddDistributedDbDgAdb OperationTypeEnum = "ADD_DISTRIBUTED_DB_DG_ADB"
OperationTypeRemoveDistributedDbDgAdb OperationTypeEnum = "REMOVE_DISTRIBUTED_DB_DG_ADB"
OperationTypeRemoveDistributedDbDgExadb OperationTypeEnum = "REMOVE_DISTRIBUTED_DB_DG_EXADB"
OperationTypeConfigureDistributedDbGsmsWallet OperationTypeEnum = "CONFIGURE_DISTRIBUTED_DB_GSMS_WALLET"
OperationTypeValidateCaBundle OperationTypeEnum = "VALIDATE_CA_BUNDLE"
OperationTypeRecreateFailedResource OperationTypeEnum = "RECREATE_FAILED_RESOURCE"
OperationTypeMoveReplicationUnits OperationTypeEnum = "MOVE_REPLICATION_UNITS"
)
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
PatchDistributedAutonomousDatabaseDetails Provide PatchInstruction(s) in items array. All instructions in items have to be of same type. All instructions in items have to either PatchInsertInstruction type, PatchRemoveInstruction or PatchMergeInstruction. Multiple instructions of different types is not allowed to be performed in single operation.
type PatchDistributedAutonomousDatabaseDetails struct {
// List of patch instructions.
Items []PatchInstruction `mandatory:"false" json:"items"`
}
func (m PatchDistributedAutonomousDatabaseDetails) String() string
func (m *PatchDistributedAutonomousDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PatchDistributedAutonomousDatabaseDetails) 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
PatchDistributedAutonomousDatabaseRequest wrapper for the PatchDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedAutonomousDatabase.go.html to see an example of how to use PatchDistributedAutonomousDatabaseRequest.
type PatchDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The payload containing instructions to patch the Globally distributed autonomous database.
PatchDistributedAutonomousDatabaseDetails `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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request PatchDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchDistributedAutonomousDatabaseRequest) String() string
func (request PatchDistributedAutonomousDatabaseRequest) 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
PatchDistributedAutonomousDatabaseResponse wrapper for the PatchDistributedAutonomousDatabase operation
type PatchDistributedAutonomousDatabaseResponse 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 (response PatchDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchDistributedAutonomousDatabaseResponse) String() string
PatchDistributedDatabaseDetails Provide PatchInstuction(s) in items array. All instructions in items have to be of same type. All instructions in items have to either PatchInsertInstruction type, PatchRemoveInstruction or PatchMergeInstruction. Multiple instructions of different types is not allowed to be performed in single operation.
type PatchDistributedDatabaseDetails struct {
// List of patch instructions.
Items []PatchInstruction `mandatory:"false" json:"items"`
}
func (m PatchDistributedDatabaseDetails) String() string
func (m *PatchDistributedDatabaseDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PatchDistributedDatabaseDetails) 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
PatchDistributedDatabasePrivateEndpointDetails Provide PatchInstruction(s) in items array. All instructions in items have to be of same type. The initial supported patch operation is MERGE with selection vcnNsgIds and value containing the vcnNsgIds payload.
type PatchDistributedDatabasePrivateEndpointDetails struct {
// List of patch instructions.
Items []PatchInstruction `mandatory:"false" json:"items"`
}
func (m PatchDistributedDatabasePrivateEndpointDetails) String() string
func (m *PatchDistributedDatabasePrivateEndpointDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PatchDistributedDatabasePrivateEndpointDetails) 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
PatchDistributedDatabasePrivateEndpointRequest wrapper for the PatchDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedDatabasePrivateEndpoint.go.html to see an example of how to use PatchDistributedDatabasePrivateEndpointRequest.
type PatchDistributedDatabasePrivateEndpointRequest struct {
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// The payload containing instructions to patch the DistributedDatabasePrivateEndpoint.
PatchDistributedDatabasePrivateEndpointDetails `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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request PatchDistributedDatabasePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchDistributedDatabasePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchDistributedDatabasePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchDistributedDatabasePrivateEndpointRequest) String() string
func (request PatchDistributedDatabasePrivateEndpointRequest) 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
PatchDistributedDatabasePrivateEndpointResponse wrapper for the PatchDistributedDatabasePrivateEndpoint operation
type PatchDistributedDatabasePrivateEndpointResponse 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 (response PatchDistributedDatabasePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchDistributedDatabasePrivateEndpointResponse) String() string
PatchDistributedDatabaseRequest wrapper for the PatchDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/PatchDistributedDatabase.go.html to see an example of how to use PatchDistributedDatabaseRequest.
type PatchDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The payload containing instructions to patch the Globally distributed database.
PatchDistributedDatabaseDetails `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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request PatchDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchDistributedDatabaseRequest) String() string
func (request PatchDistributedDatabaseRequest) 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
PatchDistributedDatabaseResponse wrapper for the PatchDistributedDatabase operation
type PatchDistributedDatabaseResponse 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 (response PatchDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchDistributedDatabaseResponse) String() string
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"`
}
func (m PatchInsertInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchInsertInstruction) String() string
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
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
}
PatchInstructionOperationEnum Enum with underlying type: string
type PatchInstructionOperationEnum string
Set of constants representing the allowable values for PatchInstructionOperationEnum
const (
PatchInstructionOperationInsert PatchInstructionOperationEnum = "INSERT"
PatchInstructionOperationRemove PatchInstructionOperationEnum = "REMOVE"
PatchInstructionOperationMerge PatchInstructionOperationEnum = "MERGE"
)
func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)
GetMappingPatchInstructionOperationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum
GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum
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 (m PatchMergeInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchMergeInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchMergeInstruction) String() string
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
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 (m PatchRemoveInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchRemoveInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchRemoveInstruction) String() string
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
RecreateFailedDistributedAutonomousDatabaseResourceRequest wrapper for the RecreateFailedDistributedAutonomousDatabaseResource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RecreateFailedDistributedAutonomousDatabaseResource.go.html to see an example of how to use RecreateFailedDistributedAutonomousDatabaseResourceRequest.
type RecreateFailedDistributedAutonomousDatabaseResourceRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Specify the name of the shard, catalog, or GSM.
ResourceName *string `mandatory:"true" contributesTo:"query" name:"resourceName"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RecreateFailedDistributedAutonomousDatabaseResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RecreateFailedDistributedAutonomousDatabaseResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RecreateFailedDistributedAutonomousDatabaseResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RecreateFailedDistributedAutonomousDatabaseResourceRequest) String() string
func (request RecreateFailedDistributedAutonomousDatabaseResourceRequest) 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
RecreateFailedDistributedAutonomousDatabaseResourceResponse wrapper for the RecreateFailedDistributedAutonomousDatabaseResource operation
type RecreateFailedDistributedAutonomousDatabaseResourceResponse 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 (response RecreateFailedDistributedAutonomousDatabaseResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RecreateFailedDistributedAutonomousDatabaseResourceResponse) String() string
RecreateFailedDistributedDatabaseResourceRequest wrapper for the RecreateFailedDistributedDatabaseResource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RecreateFailedDistributedDatabaseResource.go.html to see an example of how to use RecreateFailedDistributedDatabaseResourceRequest.
type RecreateFailedDistributedDatabaseResourceRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Specify the name of the shard, catalog, or GSM.
ResourceName *string `mandatory:"true" contributesTo:"query" name:"resourceName"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request RecreateFailedDistributedDatabaseResourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RecreateFailedDistributedDatabaseResourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RecreateFailedDistributedDatabaseResourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RecreateFailedDistributedDatabaseResourceRequest) String() string
func (request RecreateFailedDistributedDatabaseResourceRequest) 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
RecreateFailedDistributedDatabaseResourceResponse wrapper for the RecreateFailedDistributedDatabaseResource operation
type RecreateFailedDistributedDatabaseResourceResponse 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 (response RecreateFailedDistributedDatabaseResourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RecreateFailedDistributedDatabaseResourceResponse) String() string
ReinstateProxyInstanceRequest wrapper for the ReinstateProxyInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ReinstateProxyInstance.go.html to see an example of how to use ReinstateProxyInstanceRequest.
type ReinstateProxyInstanceRequest struct {
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ReinstateProxyInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ReinstateProxyInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ReinstateProxyInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ReinstateProxyInstanceRequest) String() string
func (request ReinstateProxyInstanceRequest) 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
ReinstateProxyInstanceResponse wrapper for the ReinstateProxyInstance operation
type ReinstateProxyInstanceResponse 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 (response ReinstateProxyInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ReinstateProxyInstanceResponse) String() string
RotateDistributedAutonomousDatabaseDetails Details to rotate password for a shard or catalog in the Globally distributed autonomous database.
type RotateDistributedAutonomousDatabaseDetails struct {
// The shard or catalog name.
Name *string `mandatory:"true" json:"name"`
// The admin password for the shard or catalog.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
}
func (m RotateDistributedAutonomousDatabaseDetails) String() string
func (m RotateDistributedAutonomousDatabaseDetails) 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
RotateDistributedAutonomousDatabasePasswordsDetails Payload to rotate passwords for shards and catalogs in the Globally distributed autonomous database.
type RotateDistributedAutonomousDatabasePasswordsDetails struct {
// Collection of shard or catalog password rotation details.
DatabaseDetails []RotateDistributedAutonomousDatabaseDetails `mandatory:"true" json:"databaseDetails"`
}
func (m RotateDistributedAutonomousDatabasePasswordsDetails) String() string
func (m RotateDistributedAutonomousDatabasePasswordsDetails) 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
RotateDistributedAutonomousDatabasePasswordsRequest wrapper for the RotateDistributedAutonomousDatabasePasswords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RotateDistributedAutonomousDatabasePasswords.go.html to see an example of how to use RotateDistributedAutonomousDatabasePasswordsRequest.
type RotateDistributedAutonomousDatabasePasswordsRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Details to rotate passwords for shards and catalogs in the Globally distributed autonomous database.
RotateDistributedAutonomousDatabasePasswordsDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RotateDistributedAutonomousDatabasePasswordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RotateDistributedAutonomousDatabasePasswordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RotateDistributedAutonomousDatabasePasswordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RotateDistributedAutonomousDatabasePasswordsRequest) String() string
func (request RotateDistributedAutonomousDatabasePasswordsRequest) 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
RotateDistributedAutonomousDatabasePasswordsResponse wrapper for the RotateDistributedAutonomousDatabasePasswords operation
type RotateDistributedAutonomousDatabasePasswordsResponse 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 (response RotateDistributedAutonomousDatabasePasswordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RotateDistributedAutonomousDatabasePasswordsResponse) String() string
RotateDistributedDatabaseDetails Details to rotate password for a shard or catalog in the Globally distributed database.
type RotateDistributedDatabaseDetails struct {
// The shard or catalog name.
Name *string `mandatory:"true" json:"name"`
// The admin password for the shard or catalog.
AdminPassword *string `mandatory:"true" json:"adminPassword"`
}
func (m RotateDistributedDatabaseDetails) String() string
func (m RotateDistributedDatabaseDetails) 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
RotateDistributedDatabasePasswordsDetails Payload to rotate passwords for shards and catalogs in the Globally distributed database.
type RotateDistributedDatabasePasswordsDetails struct {
// Collection of shard or catalog password rotation details.
DatabaseDetails []RotateDistributedDatabaseDetails `mandatory:"true" json:"databaseDetails"`
}
func (m RotateDistributedDatabasePasswordsDetails) String() string
func (m RotateDistributedDatabasePasswordsDetails) 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
RotateDistributedDatabasePasswordsRequest wrapper for the RotateDistributedDatabasePasswords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/RotateDistributedDatabasePasswords.go.html to see an example of how to use RotateDistributedDatabasePasswordsRequest.
type RotateDistributedDatabasePasswordsRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Details to rotate passwords for shards and catalogs in the Globally distributed database.
RotateDistributedDatabasePasswordsDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request RotateDistributedDatabasePasswordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RotateDistributedDatabasePasswordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RotateDistributedDatabasePasswordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RotateDistributedDatabasePasswordsRequest) String() string
func (request RotateDistributedDatabasePasswordsRequest) 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
RotateDistributedDatabasePasswordsResponse wrapper for the RotateDistributedDatabasePasswords operation
type RotateDistributedDatabasePasswordsResponse 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 (response RotateDistributedDatabasePasswordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RotateDistributedDatabasePasswordsResponse) String() string
ScaleDistributedAutonomousDatabaseGsmsDetails Empty payload to scale global service manager(GSM) instances for the distributed autonomous database.
type ScaleDistributedAutonomousDatabaseGsmsDetails struct {
}
func (m ScaleDistributedAutonomousDatabaseGsmsDetails) String() string
func (m ScaleDistributedAutonomousDatabaseGsmsDetails) 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
ScaleDistributedAutonomousDatabaseGsmsRequest wrapper for the ScaleDistributedAutonomousDatabaseGsms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ScaleDistributedAutonomousDatabaseGsms.go.html to see an example of how to use ScaleDistributedAutonomousDatabaseGsmsRequest.
type ScaleDistributedAutonomousDatabaseGsmsRequest struct {
// Empty payload to scale GSM instances for the distributed autonomous database.
ScaleDistributedAutonomousDatabaseGsmsDetails `contributesTo:"body"`
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ScaleDistributedAutonomousDatabaseGsmsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ScaleDistributedAutonomousDatabaseGsmsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScaleDistributedAutonomousDatabaseGsmsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScaleDistributedAutonomousDatabaseGsmsRequest) String() string
func (request ScaleDistributedAutonomousDatabaseGsmsRequest) 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
ScaleDistributedAutonomousDatabaseGsmsResponse wrapper for the ScaleDistributedAutonomousDatabaseGsms operation
type ScaleDistributedAutonomousDatabaseGsmsResponse 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 (response ScaleDistributedAutonomousDatabaseGsmsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScaleDistributedAutonomousDatabaseGsmsResponse) String() string
ScaleDistributedDatabaseGsmsDetails Empty payload to scale global service manager(GSM) instances for the distributed database.
type ScaleDistributedDatabaseGsmsDetails struct {
}
func (m ScaleDistributedDatabaseGsmsDetails) String() string
func (m ScaleDistributedDatabaseGsmsDetails) 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
ScaleDistributedDatabaseGsmsRequest wrapper for the ScaleDistributedDatabaseGsms operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ScaleDistributedDatabaseGsms.go.html to see an example of how to use ScaleDistributedDatabaseGsmsRequest.
type ScaleDistributedDatabaseGsmsRequest struct {
// Empty payload to scale GSM instances for the distributed database.
ScaleDistributedDatabaseGsmsDetails `contributesTo:"body"`
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ScaleDistributedDatabaseGsmsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ScaleDistributedDatabaseGsmsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScaleDistributedDatabaseGsmsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScaleDistributedDatabaseGsmsRequest) String() string
func (request ScaleDistributedDatabaseGsmsRequest) 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
ScaleDistributedDatabaseGsmsResponse wrapper for the ScaleDistributedDatabaseGsms operation
type ScaleDistributedDatabaseGsmsResponse 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 (response ScaleDistributedDatabaseGsmsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScaleDistributedDatabaseGsmsResponse) String() string
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const (
SortOrderAsc SortOrderEnum = "ASC"
SortOrderDesc SortOrderEnum = "DESC"
)
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
StartDistributedAutonomousDatabaseRequest wrapper for the StartDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StartDistributedAutonomousDatabase.go.html to see an example of how to use StartDistributedAutonomousDatabaseRequest.
type StartDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request StartDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartDistributedAutonomousDatabaseRequest) String() string
func (request StartDistributedAutonomousDatabaseRequest) 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
StartDistributedAutonomousDatabaseResponse wrapper for the StartDistributedAutonomousDatabase operation
type StartDistributedAutonomousDatabaseResponse 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 (response StartDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartDistributedAutonomousDatabaseResponse) String() string
StartDistributedDatabaseRequest wrapper for the StartDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StartDistributedDatabase.go.html to see an example of how to use StartDistributedDatabaseRequest.
type StartDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request StartDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartDistributedDatabaseRequest) String() string
func (request StartDistributedDatabaseRequest) 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
StartDistributedDatabaseResponse wrapper for the StartDistributedDatabase operation
type StartDistributedDatabaseResponse 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 (response StartDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartDistributedDatabaseResponse) String() string
StopDistributedAutonomousDatabaseRequest wrapper for the StopDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StopDistributedAutonomousDatabase.go.html to see an example of how to use StopDistributedAutonomousDatabaseRequest.
type StopDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request StopDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopDistributedAutonomousDatabaseRequest) String() string
func (request StopDistributedAutonomousDatabaseRequest) 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
StopDistributedAutonomousDatabaseResponse wrapper for the StopDistributedAutonomousDatabase operation
type StopDistributedAutonomousDatabaseResponse 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 (response StopDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopDistributedAutonomousDatabaseResponse) String() string
StopDistributedDatabaseRequest wrapper for the StopDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/StopDistributedDatabase.go.html to see an example of how to use StopDistributedDatabaseRequest.
type StopDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request StopDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StopDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopDistributedDatabaseRequest) String() string
func (request StopDistributedDatabaseRequest) 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
StopDistributedDatabaseResponse wrapper for the StopDistributedDatabase operation
type StopDistributedDatabaseResponse 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 (response StopDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopDistributedDatabaseResponse) String() string
SystemDataGuardDatabase System data guard shard database details.
type SystemDataGuardDatabase struct {
OriginalReplica *SystemDataGuardReplica `mandatory:"true" json:"originalReplica"`
// The system data guard replica details.
DataGuardReplicas []SystemDataGuardReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m SystemDataGuardDatabase) String() string
func (m SystemDataGuardDatabase) 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
SystemDataGuardReplica System data guard replica details.
type SystemDataGuardReplica struct {
// The name of data guard replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Details of the databases associated with the system data guard replica.
Databases []DistributedDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m SystemDataGuardReplica) String() string
func (m *SystemDataGuardReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m SystemDataGuardReplica) 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
SystemRaftCluster System raft cluster definition.
type SystemRaftCluster struct {
// The name of raft cluster.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
// Replication factor associated with the raft cluster.
ReplicationFactor *int `mandatory:"true" json:"replicationFactor"`
// Witnesses RU count associated with the raft cluster.
WitnessCount *int `mandatory:"true" json:"witnessCount"`
// Replication factor associated with the raft cluster.
RuMode SystemRaftClusterRuModeEnum `mandatory:"true" json:"ruMode"`
// Details of the databases associated with the system raft cluster.
Databases []DistributedDatabaseShardDatabase `mandatory:"true" json:"databases"`
}
func (m SystemRaftCluster) String() string
func (m *SystemRaftCluster) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m SystemRaftCluster) 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
SystemRaftClusterRuModeEnum Enum with underlying type: string
type SystemRaftClusterRuModeEnum string
Set of constants representing the allowable values for SystemRaftClusterRuModeEnum
const (
SystemRaftClusterRuModeOnly SystemRaftClusterRuModeEnum = "READ_ONLY"
SystemRaftClusterRuModeWrite SystemRaftClusterRuModeEnum = "READ_WRITE"
)
func GetMappingSystemRaftClusterRuModeEnum(val string) (SystemRaftClusterRuModeEnum, bool)
GetMappingSystemRaftClusterRuModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSystemRaftClusterRuModeEnumValues() []SystemRaftClusterRuModeEnum
GetSystemRaftClusterRuModeEnumValues Enumerates the set of values for SystemRaftClusterRuModeEnum
UpdateDistributedAutonomousDatabaseDetails The details of Globally distributed autonomous database to be updated.
type UpdateDistributedAutonomousDatabaseDetails struct {
// Display name of the Globally distributed autonomous database.
DisplayName *string `mandatory:"false" json:"displayName"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed autonomous database.
// Pass an empty list (`[]`) to remove existing notification topics (set `notificationTopicIds` to empty).
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateDistributedAutonomousDatabaseDetails) String() string
func (m UpdateDistributedAutonomousDatabaseDetails) 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
UpdateDistributedAutonomousDatabaseRequest wrapper for the UpdateDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedAutonomousDatabase.go.html to see an example of how to use UpdateDistributedAutonomousDatabaseRequest.
type UpdateDistributedAutonomousDatabaseRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// The configuration of the Globally distributed autonomous database to be updated.
UpdateDistributedAutonomousDatabaseDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateDistributedAutonomousDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDistributedAutonomousDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDistributedAutonomousDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDistributedAutonomousDatabaseRequest) String() string
func (request UpdateDistributedAutonomousDatabaseRequest) 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
UpdateDistributedAutonomousDatabaseResponse wrapper for the UpdateDistributedAutonomousDatabase operation
type UpdateDistributedAutonomousDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedAutonomousDatabase instance
DistributedAutonomousDatabase `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response UpdateDistributedAutonomousDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDistributedAutonomousDatabaseResponse) String() string
UpdateDistributedDatabaseDetails The details of Globally distributed database to be updated.
type UpdateDistributedDatabaseDetails struct {
// Display name of the Globally distributed database.
DisplayName *string `mandatory:"false" json:"displayName"`
// The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the notification topics associated with the globally distributed database.
// Pass an empty list (`[]`) to remove existing notification topics (set `notificationTopicIds` to empty).
NotificationTopicIds []string `mandatory:"false" json:"notificationTopicIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateDistributedDatabaseDetails) String() string
func (m UpdateDistributedDatabaseDetails) 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
UpdateDistributedDatabasePrivateEndpointDetails The details of private endpoint to be updated.
type UpdateDistributedDatabasePrivateEndpointDetails struct {
// Display name for DistributedDatabasePrivateEndpoint
DisplayName *string `mandatory:"false" json:"displayName"`
// DistributedDatabasePrivateEndpoint description.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m UpdateDistributedDatabasePrivateEndpointDetails) String() string
func (m UpdateDistributedDatabasePrivateEndpointDetails) 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
UpdateDistributedDatabasePrivateEndpointRequest wrapper for the UpdateDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedDatabasePrivateEndpoint.go.html to see an example of how to use UpdateDistributedDatabasePrivateEndpointRequest.
type UpdateDistributedDatabasePrivateEndpointRequest struct {
// Distributed Database PrivateEndpoint identifier
DistributedDatabasePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabasePrivateEndpointId"`
// The configuration of private endpoint to be updated.
UpdateDistributedDatabasePrivateEndpointDetails `contributesTo:"body"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
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"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateDistributedDatabasePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDistributedDatabasePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDistributedDatabasePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDistributedDatabasePrivateEndpointRequest) String() string
func (request UpdateDistributedDatabasePrivateEndpointRequest) 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
UpdateDistributedDatabasePrivateEndpointResponse wrapper for the UpdateDistributedDatabasePrivateEndpoint operation
type UpdateDistributedDatabasePrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabasePrivateEndpoint instance
DistributedDatabasePrivateEndpoint `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response UpdateDistributedDatabasePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDistributedDatabasePrivateEndpointResponse) String() string
UpdateDistributedDatabaseRequest wrapper for the UpdateDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/UpdateDistributedDatabase.go.html to see an example of how to use UpdateDistributedDatabaseRequest.
type UpdateDistributedDatabaseRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// The configuration of the Globally distributed database to be updated.
UpdateDistributedDatabaseDetails `contributesTo:"body"`
// The client request ID for tracing.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For optimistic concurrency control. In the PUT or DELETE call
// for a resource, set the `if-match` parameter to the value of the
// etag from a previous GET or POST response for that resource.
// The resource will be updated or deleted only if the etag you
// provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateDistributedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDistributedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDistributedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDistributedDatabaseRequest) String() string
func (request UpdateDistributedDatabaseRequest) 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
UpdateDistributedDatabaseResponse wrapper for the UpdateDistributedDatabase operation
type UpdateDistributedDatabaseResponse struct {
// The underlying http response
RawResponse *http.Response
// The DistributedDatabase instance
DistributedDatabase `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response UpdateDistributedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDistributedDatabaseResponse) String() string
UserShardSpace Distributed database user shard space details.
type UserShardSpace struct {
// The name of user shard space.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
OriginalReplica *UserShardSpaceReplica `mandatory:"true" json:"originalReplica"`
// The details of data guard replica for the user shard space.
DataGuardReplicas []UserShardSpaceReplica `mandatory:"false" json:"dataGuardReplicas"`
}
func (m UserShardSpace) String() string
func (m UserShardSpace) 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
UserShardSpaceReplica Details of user shard space.
type UserShardSpaceReplica struct {
// The name of user shard space replica.
// It must start with a letter and contain only letters, digits, and underscores.
// Maximum length is 40 characters.
Name *string `mandatory:"true" json:"name"`
Database DistributedDatabaseShardDatabase `mandatory:"true" json:"database"`
}
func (m UserShardSpaceReplica) String() string
func (m *UserShardSpaceReplica) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UserShardSpaceReplica) 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
ValidateDistributedAutonomousDatabaseCaBundleRequest wrapper for the ValidateDistributedAutonomousDatabaseCaBundle operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedAutonomousDatabaseCaBundle.go.html to see an example of how to use ValidateDistributedAutonomousDatabaseCaBundleRequest.
type ValidateDistributedAutonomousDatabaseCaBundleRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request ValidateDistributedAutonomousDatabaseCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateDistributedAutonomousDatabaseCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateDistributedAutonomousDatabaseCaBundleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateDistributedAutonomousDatabaseCaBundleRequest) String() string
func (request ValidateDistributedAutonomousDatabaseCaBundleRequest) 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
ValidateDistributedAutonomousDatabaseCaBundleResponse wrapper for the ValidateDistributedAutonomousDatabaseCaBundle operation
type ValidateDistributedAutonomousDatabaseCaBundleResponse 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 (response ValidateDistributedAutonomousDatabaseCaBundleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateDistributedAutonomousDatabaseCaBundleResponse) String() string
ValidateDistributedAutonomousDatabaseNetworkRequest wrapper for the ValidateDistributedAutonomousDatabaseNetwork operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedAutonomousDatabaseNetwork.go.html to see an example of how to use ValidateDistributedAutonomousDatabaseNetworkRequest.
type ValidateDistributedAutonomousDatabaseNetworkRequest struct {
// Globally distributed autonomous database identifier.
DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"`
// Determines the surrogates check. Default is true.
IsSurrogate *bool `mandatory:"false" contributesTo:"query" name:"isSurrogate"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request ValidateDistributedAutonomousDatabaseNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateDistributedAutonomousDatabaseNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateDistributedAutonomousDatabaseNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateDistributedAutonomousDatabaseNetworkRequest) String() string
func (request ValidateDistributedAutonomousDatabaseNetworkRequest) 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
ValidateDistributedAutonomousDatabaseNetworkResponse wrapper for the ValidateDistributedAutonomousDatabaseNetwork operation
type ValidateDistributedAutonomousDatabaseNetworkResponse 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 (response ValidateDistributedAutonomousDatabaseNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateDistributedAutonomousDatabaseNetworkResponse) String() string
ValidateDistributedDatabaseNetworkRequest wrapper for the ValidateDistributedDatabaseNetwork operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabasev26/ValidateDistributedDatabaseNetwork.go.html to see an example of how to use ValidateDistributedDatabaseNetworkRequest.
type ValidateDistributedDatabaseNetworkRequest struct {
// Globally distributed database identifier.
DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"`
// Determines the surrogates check. Default is true.
IsSurrogate *bool `mandatory:"false" contributesTo:"query" name:"isSurrogate"`
// 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"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// might be rejected.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// 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 (request ValidateDistributedDatabaseNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateDistributedDatabaseNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateDistributedDatabaseNetworkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateDistributedDatabaseNetworkRequest) String() string
func (request ValidateDistributedDatabaseNetworkRequest) 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
ValidateDistributedDatabaseNetworkResponse wrapper for the ValidateDistributedDatabaseNetwork operation
type ValidateDistributedDatabaseNetworkResponse 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 (response ValidateDistributedDatabaseNetworkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateDistributedDatabaseNetworkResponse) String() string
VcnNsgIdsDetails Specifies the Virtual Cloud Network (VCN) and the list of associated Network Security Group (NSG) OCIDs. This model is shared across create (POST), update (PUT/PATCH), and retrieve (GET) operations. - During create, `nsgIds` (if provided) specifies the NSGs to associate with the new resource. - During update or patch, `nsgIds` modifies the associations: provide an empty array (`[]`) to clear all NSGs, or provide a new list to replace them. - GET responses return the current associations (which may be empty).
type VcnNsgIdsDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer Virtual Cloud Network.
VcnId *string `mandatory:"true" json:"vcnId"`
// The list of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) associated with resources in this VCN.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"true" json:"nsgIds"`
}
func (m VcnNsgIdsDetails) String() string
func (m VcnNsgIdsDetails) 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
VmClusterDetails Details of the request to create exadb vm cluster for shard or catalog of the distributed database.
type VmClusterDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for VM Cluster.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.
SubnetId *string `mandatory:"true" json:"subnetId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.
BackupSubnetId *string `mandatory:"true" json:"backupSubnetId"`
// The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.
EnabledECpuCount *int `mandatory:"true" json:"enabledECpuCount"`
// The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure.
SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`
// The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.
TotalECpuCount *int `mandatory:"false" json:"totalECpuCount"`
// File System Storage Size in GBs for Exadata VM cluster.
VmFileSystemStorageSize *int `mandatory:"false" json:"vmFileSystemStorageSize"`
// The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE.
LicenseModel VmClusterDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"`
// A domain name used for the Exadata VM cluster on Exascale Infrastructure.
// If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, then the domain name for the subnet is used
// (do not provide one). Otherwise, provide a valid DNS domain name.
// Hyphens (-) are not permitted. Applies to Exadata Database Service on Exascale Infrastructure only.
Domain *string `mandatory:"false" json:"domain"`
// The private zone ID in which you want DNS records to be created.
PrivateZoneId *string `mandatory:"false" json:"privateZoneId"`
// Indicates whether diagnostic collection is enabled for the VM cluster.
// Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues.
// Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system.
// You can enable diagnostic collection during VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` API.
IsDiagnosticsEventsEnabled *bool `mandatory:"false" json:"isDiagnosticsEventsEnabled"`
// Indicates whether health monitoring is enabled for the VM cluster.
// Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel.
// You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system.
// Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster` API.
IsHealthMonitoringEnabled *bool `mandatory:"false" json:"isHealthMonitoringEnabled"`
// Indicates whether incident logs and trace collection are enabled for the VM cluster.
// Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them.
// Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster` API.
IsIncidentLogsEnabled *bool `mandatory:"false" json:"isIncidentLogsEnabled"`
// The list of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs.
// Setting this to an empty list removes all resources from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
NsgIds []string `mandatory:"false" json:"nsgIds"`
// A list of the OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to.
// Setting this to an empty array after the list is created removes the resource from all NSGs.
// For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
}
func (m VmClusterDetails) String() string
func (m VmClusterDetails) 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
VmClusterDetailsLicenseModelEnum Enum with underlying type: string
type VmClusterDetailsLicenseModelEnum string
Set of constants representing the allowable values for VmClusterDetailsLicenseModelEnum
const (
VmClusterDetailsLicenseModelLicenseIncluded VmClusterDetailsLicenseModelEnum = "LICENSE_INCLUDED"
VmClusterDetailsLicenseModelBringYourOwnLicense VmClusterDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE"
)
func GetMappingVmClusterDetailsLicenseModelEnum(val string) (VmClusterDetailsLicenseModelEnum, bool)
GetMappingVmClusterDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVmClusterDetailsLicenseModelEnumValues() []VmClusterDetailsLicenseModelEnum
GetVmClusterDetailsLicenseModelEnumValues Enumerates the set of values for VmClusterDetailsLicenseModelEnum
WorkRequest A description of workrequest status
type WorkRequest struct {
// Type of the work request
OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
// Status of current work request.
Status OperationStatusEnum `mandatory:"true" json:"status"`
// The id of the work request.
Id *string `mandatory:"true" json:"id"`
// The ocid of the compartment that contains the work request. Work requests should be scoped to
// the same compartment as the resource the work request affects. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the request was created, as described in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
// section 14.29.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
func (m WorkRequest) String() string
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
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct {
// A machine-usable code for the error that occured. Error codes are listed on
// (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm)
Code *string `mandatory:"true" json:"code"`
// A human readable description of the issue encountered.
Message *string `mandatory:"true" json:"message"`
// The time the error occured. An RFC3339 formatted datetime string.
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct {
// List of workRequestError objects.
Items []WorkRequestError `mandatory:"true" json:"items"`
}
func (m WorkRequestErrorCollection) String() string
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
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct {
// Human-readable log message.
Message *string `mandatory:"true" json:"message"`
// The time the log message was written. An RFC3339 formatted datetime string
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct {
// List of workRequestLogEntries.
Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}
func (m WorkRequestLogEntryCollection) String() string
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
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct {
// The resource type the work request affects.
EntityType *string `mandatory:"true" json:"entityType"`
// The way in which this resource is affected by the work tracked in the work request.
// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
// work is complete for that resource at which point it will transition to CREATED, UPDATED,
// or DELETED, respectively.
ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
// The identifier of the resource the work request affects.
Identifier *string `mandatory:"true" json:"identifier"`
// The URI path that the user can do a GET on to access the resource metadata
EntityUri *string `mandatory:"false" json:"entityUri"`
// Additional information that helps to explain the resource.
Metadata map[string]string `mandatory:"false" json:"metadata"`
}
func (m WorkRequestResource) String() string
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
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(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
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 of the compartment that contains the work request. Work requests should be scoped to
// the same compartment as the resource the work request affects. If the work request affects multiple resources,
// and those resources are not in the same compartment, it is up to the service team to pick the primary
// resource whose compartment should be used
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The resources affected by this work request.
Resources []WorkRequestResource `mandatory:"true" json:"resources"`
// Percentage of the request completed.
PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
// The date and time the request was created, as described in
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
// section 14.29.
TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}
func (m WorkRequestSummary) String() string
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
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct {
// List of workRequestSummary objects.
Items []WorkRequestSummary `mandatory:"true" json:"items"`
}
func (m WorkRequestSummaryCollection) String() string
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