func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetCatalogPeerWithDedicatedInfraStatusEnumStringValues() []string
GetCatalogPeerWithDedicatedInfraStatusEnumStringValues Enumerates the set of values in String for CatalogPeerWithDedicatedInfraStatusEnum
func GetCatalogPeerWithExadbXsStatusEnumStringValues() []string
GetCatalogPeerWithExadbXsStatusEnumStringValues Enumerates the set of values in String for CatalogPeerWithExadbXsStatusEnum
func GetCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum
func GetCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum
func GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum
func GetCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum
func GetCreateDistributedAutonomousDatabaseDetailsShardingMethodEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseDetailsShardingMethodEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum
func GetCreateDistributedAutonomousDatabaseShardDetailsSourceEnumStringValues() []string
GetCreateDistributedAutonomousDatabaseShardDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedAutonomousDatabaseShardDetailsSourceEnum
func GetCreateDistributedDatabaseCatalogDetailsSourceEnumStringValues() []string
GetCreateDistributedDatabaseCatalogDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseCatalogDetailsSourceEnum
func GetCreateDistributedDatabaseDetailsDbDeploymentTypeEnumStringValues() []string
GetCreateDistributedDatabaseDetailsDbDeploymentTypeEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseDetailsDbDeploymentTypeEnum
func GetCreateDistributedDatabaseDetailsReplicationMethodEnumStringValues() []string
GetCreateDistributedDatabaseDetailsReplicationMethodEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseDetailsReplicationMethodEnum
func GetCreateDistributedDatabaseDetailsShardingMethodEnumStringValues() []string
GetCreateDistributedDatabaseDetailsShardingMethodEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseDetailsShardingMethodEnum
func GetCreateDistributedDatabaseShardDetailsSourceEnumStringValues() []string
GetCreateDistributedDatabaseShardDetailsSourceEnumStringValues Enumerates the set of values in String for CreateDistributedDatabaseShardDetailsSourceEnum
func GetDistributedAutonomousDatabaseCatalogSourceEnumStringValues() []string
GetDistributedAutonomousDatabaseCatalogSourceEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseCatalogSourceEnum
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 GetDistributedAutonomousDatabaseDbWorkloadEnumStringValues() []string
GetDistributedAutonomousDatabaseDbWorkloadEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseDbWorkloadEnum
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 GetDistributedAutonomousDatabaseShardSourceEnumStringValues() []string
GetDistributedAutonomousDatabaseShardSourceEnumStringValues Enumerates the set of values in String for DistributedAutonomousDatabaseShardSourceEnum
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 GetDistributedDatabaseCatalogSourceEnumStringValues() []string
GetDistributedDatabaseCatalogSourceEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogSourceEnum
func GetDistributedDatabaseCatalogWithExadbXsStatusEnumStringValues() []string
GetDistributedDatabaseCatalogWithExadbXsStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseCatalogWithExadbXsStatusEnum
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 GetDistributedDatabaseShardSourceEnumStringValues() []string
GetDistributedDatabaseShardSourceEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardSourceEnum
func GetDistributedDatabaseShardWithExadbXsStatusEnumStringValues() []string
GetDistributedDatabaseShardWithExadbXsStatusEnumStringValues Enumerates the set of values in String for DistributedDatabaseShardWithExadbXsStatusEnum
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 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 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 GetShardPeerWithDedicatedInfraStatusEnumStringValues() []string
GetShardPeerWithDedicatedInfraStatusEnumStringValues Enumerates the set of values in String for ShardPeerWithDedicatedInfraStatusEnum
func GetShardPeerWithExadbXsStatusEnumStringValues() []string
GetShardPeerWithExadbXsStatusEnumStringValues Enumerates the set of values in String for ShardPeerWithExadbXsStatusEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
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/distributeddatabase/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/distributeddatabase/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
CatalogPeerWithDedicatedInfra Details of the catalog peer with dedicated infrastructure.
type CatalogPeerWithDedicatedInfra struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloudAutonomousVmCluster. CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"` // The name of the shardGroup for the peer. ShardGroup *string `mandatory:"true" json:"shardGroup"` // Status of catalog with dedicated infrastructure for the Globally distributed autonomous database. Status CatalogPeerWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"` // The time the catalog peer was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the catalog peer was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"` }
func (m CatalogPeerWithDedicatedInfra) String() string
func (m CatalogPeerWithDedicatedInfra) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CatalogPeerWithDedicatedInfraStatusEnum Enum with underlying type: string
type CatalogPeerWithDedicatedInfraStatusEnum string
Set of constants representing the allowable values for CatalogPeerWithDedicatedInfraStatusEnum
const ( CatalogPeerWithDedicatedInfraStatusFailed CatalogPeerWithDedicatedInfraStatusEnum = "FAILED" CatalogPeerWithDedicatedInfraStatusDeleting CatalogPeerWithDedicatedInfraStatusEnum = "DELETING" CatalogPeerWithDedicatedInfraStatusDeleted CatalogPeerWithDedicatedInfraStatusEnum = "DELETED" CatalogPeerWithDedicatedInfraStatusUpdating CatalogPeerWithDedicatedInfraStatusEnum = "UPDATING" CatalogPeerWithDedicatedInfraStatusCreating CatalogPeerWithDedicatedInfraStatusEnum = "CREATING" CatalogPeerWithDedicatedInfraStatusCreated CatalogPeerWithDedicatedInfraStatusEnum = "CREATED" CatalogPeerWithDedicatedInfraStatusReadyForConfiguration CatalogPeerWithDedicatedInfraStatusEnum = "READY_FOR_CONFIGURATION" CatalogPeerWithDedicatedInfraStatusConfigured CatalogPeerWithDedicatedInfraStatusEnum = "CONFIGURED" CatalogPeerWithDedicatedInfraStatusNeedsAttention CatalogPeerWithDedicatedInfraStatusEnum = "NEEDS_ATTENTION" )
func GetCatalogPeerWithDedicatedInfraStatusEnumValues() []CatalogPeerWithDedicatedInfraStatusEnum
GetCatalogPeerWithDedicatedInfraStatusEnumValues Enumerates the set of values for CatalogPeerWithDedicatedInfraStatusEnum
func GetMappingCatalogPeerWithDedicatedInfraStatusEnum(val string) (CatalogPeerWithDedicatedInfraStatusEnum, bool)
GetMappingCatalogPeerWithDedicatedInfraStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CatalogPeerWithExadbXs Details of the catalog peer
type CatalogPeerWithExadbXs struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster. VmClusterId *string `mandatory:"true" json:"vmClusterId"` // The name of the shardGroup for the peer. ShardGroup *string `mandatory:"true" json:"shardGroup"` // Status of catalog with VmCluster for the Globally ditributed database. Status CatalogPeerWithExadbXsStatusEnum `mandatory:"true" json:"status"` // The time the catalog peer was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the catalog peer was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"` }
func (m CatalogPeerWithExadbXs) String() string
func (m CatalogPeerWithExadbXs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CatalogPeerWithExadbXsStatusEnum Enum with underlying type: string
type CatalogPeerWithExadbXsStatusEnum string
Set of constants representing the allowable values for CatalogPeerWithExadbXsStatusEnum
const ( CatalogPeerWithExadbXsStatusFailed CatalogPeerWithExadbXsStatusEnum = "FAILED" CatalogPeerWithExadbXsStatusDeleting CatalogPeerWithExadbXsStatusEnum = "DELETING" CatalogPeerWithExadbXsStatusDeleted CatalogPeerWithExadbXsStatusEnum = "DELETED" CatalogPeerWithExadbXsStatusUpdating CatalogPeerWithExadbXsStatusEnum = "UPDATING" CatalogPeerWithExadbXsStatusCreating CatalogPeerWithExadbXsStatusEnum = "CREATING" CatalogPeerWithExadbXsStatusCreated CatalogPeerWithExadbXsStatusEnum = "CREATED" CatalogPeerWithExadbXsStatusReadyForConfiguration CatalogPeerWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION" CatalogPeerWithExadbXsStatusConfigured CatalogPeerWithExadbXsStatusEnum = "CONFIGURED" CatalogPeerWithExadbXsStatusNeedsAttention CatalogPeerWithExadbXsStatusEnum = "NEEDS_ATTENTION" )
func GetCatalogPeerWithExadbXsStatusEnumValues() []CatalogPeerWithExadbXsStatusEnum
GetCatalogPeerWithExadbXsStatusEnumValues Enumerates the set of values for CatalogPeerWithExadbXsStatusEnum
func GetMappingCatalogPeerWithExadbXsStatusEnum(val string) (CatalogPeerWithExadbXsStatusEnum, bool)
GetMappingCatalogPeerWithExadbXsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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/distributeddatabase/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
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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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
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/distributeddatabase/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/distributeddatabase/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"` // 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
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/distributeddatabase/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/distributeddatabase/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
CreateDistributedAutonomousDatabaseCatalogDetails Details of the Globally distributed autonomous database catalog.
type CreateDistributedAutonomousDatabaseCatalogDetails interface { }
CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum
const ( CreateDistributedAutonomousDatabaseCatalogDetailsSourceAdbD CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum = "ADB_D" )
func GetCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnumValues() []CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum
GetCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum
func GetMappingCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum(val string) (CreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseCatalogDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails Globally distributed autonomous database catalog based on Dedicated infrastructure.
type CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails struct { // Admin password for catalog 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"` // Determines the auto-scaling mode for the catalog database. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster. CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"` // The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous VM Clusters. PeerCloudAutonomousVmClusterIds []string `mandatory:"false" json:"peerCloudAutonomousVmClusterIds"` // 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 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 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"` }
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"` // Sharding Methods for the Globally distributed autonomous database. ShardingMethod CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // Possible workload types. DbWorkload CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum `mandatory:"true" json:"dbWorkload"` // 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. OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"` // Ons remote port number. OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"` // The distributed autonomous database deployment type. DbDeploymentType CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` // Collection of shards for the Globally distributed autonomous database. ShardDetails []CreateDistributedAutonomousDatabaseShardDetails `mandatory:"true" json:"shardDetails"` // Collection of catalog for the Globally distributed autonomous database. CatalogDetails []CreateDistributedAutonomousDatabaseCatalogDetails `mandatory:"true" json:"catalogDetails"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for Globally distributed autonomous database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed autonomous database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` // 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) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum
const ( CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeAdbD CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum = "ADB_D" )
func GetCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnumValues() []CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum
GetCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum
func GetMappingCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum(val string) (CreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseDetailsDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum
const ( CreateDistributedAutonomousDatabaseDetailsDbWorkloadOltp CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum = "OLTP" CreateDistributedAutonomousDatabaseDetailsDbWorkloadDw CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum = "DW" )
func GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnumValues() []CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum
GetCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum
func GetMappingCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum(val string) (CreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseDetailsDbWorkloadEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum
const ( CreateDistributedAutonomousDatabaseDetailsReplicationMethodRaft CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum = "RAFT" CreateDistributedAutonomousDatabaseDetailsReplicationMethodDg CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum = "DG" )
func GetCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnumValues() []CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum
GetCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum
func GetMappingCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum(val string) (CreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseDetailsReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum
const ( CreateDistributedAutonomousDatabaseDetailsShardingMethodUser CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum = "USER" CreateDistributedAutonomousDatabaseDetailsShardingMethodSystem CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum = "SYSTEM" )
func GetCreateDistributedAutonomousDatabaseDetailsShardingMethodEnumValues() []CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum
GetCreateDistributedAutonomousDatabaseDetailsShardingMethodEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum
func GetMappingCreateDistributedAutonomousDatabaseDetailsShardingMethodEnum(val string) (CreateDistributedAutonomousDatabaseDetailsShardingMethodEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseDetailsShardingMethodEnum 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/distributeddatabase/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
CreateDistributedAutonomousDatabaseShardDetails Globally distributed autonomous database shard.
type CreateDistributedAutonomousDatabaseShardDetails interface { }
CreateDistributedAutonomousDatabaseShardDetailsSourceEnum Enum with underlying type: string
type CreateDistributedAutonomousDatabaseShardDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedAutonomousDatabaseShardDetailsSourceEnum
const ( CreateDistributedAutonomousDatabaseShardDetailsSourceAdbD CreateDistributedAutonomousDatabaseShardDetailsSourceEnum = "ADB_D" )
func GetCreateDistributedAutonomousDatabaseShardDetailsSourceEnumValues() []CreateDistributedAutonomousDatabaseShardDetailsSourceEnum
GetCreateDistributedAutonomousDatabaseShardDetailsSourceEnumValues Enumerates the set of values for CreateDistributedAutonomousDatabaseShardDetailsSourceEnum
func GetMappingCreateDistributedAutonomousDatabaseShardDetailsSourceEnum(val string) (CreateDistributedAutonomousDatabaseShardDetailsSourceEnum, bool)
GetMappingCreateDistributedAutonomousDatabaseShardDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails Globally distributed autonomous database shard with dedicated autonomous infrastructure.
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"` // Determines the auto-scaling mode for the shard database. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // 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 existing shard cannot be changed, once shard is created. // Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique // shard space name. For system defined sharding, shard space name is not required. ShardSpace *string `mandatory:"false" json:"shardSpace"` // The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousExadataVMClusters. PeerCloudAutonomousVmClusterIds []string `mandatory:"false" json:"peerCloudAutonomousVmClusterIds"` // 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 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 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"` }
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
CreateDistributedDatabaseCatalogDetails Details of the Globally distributed database catalog.
type CreateDistributedDatabaseCatalogDetails interface { }
CreateDistributedDatabaseCatalogDetailsSourceEnum Enum with underlying type: string
type CreateDistributedDatabaseCatalogDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseCatalogDetailsSourceEnum
const ( CreateDistributedDatabaseCatalogDetailsSourceExadbXs CreateDistributedDatabaseCatalogDetailsSourceEnum = "EXADB_XS" )
func GetCreateDistributedDatabaseCatalogDetailsSourceEnumValues() []CreateDistributedDatabaseCatalogDetailsSourceEnum
GetCreateDistributedDatabaseCatalogDetailsSourceEnumValues Enumerates the set of values for CreateDistributedDatabaseCatalogDetailsSourceEnum
func GetMappingCreateDistributedDatabaseCatalogDetailsSourceEnum(val string) (CreateDistributedDatabaseCatalogDetailsSourceEnum, bool)
GetMappingCreateDistributedDatabaseCatalogDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseCatalogWithExadbXsDetails Globally distributed database catalog based on exadbxs.
type CreateDistributedDatabaseCatalogWithExadbXsDetails 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 cataog associated with Globally distributed database. AdminPassword *string `mandatory:"true" json:"adminPassword"` // The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer VmClusterIds. PeerVmClusterIds []string `mandatory:"false" json:"peerVmClusterIds"` // The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created. // Shard space name shall be used while creation of new shards. ShardSpace *string `mandatory:"false" json:"shardSpace"` // 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 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 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"` }
func (m CreateDistributedDatabaseCatalogWithExadbXsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseCatalogWithExadbXsDetails) String() string
func (m CreateDistributedDatabaseCatalogWithExadbXsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 endpoint associated with Globally distributed autonomous database. PrivateEndpointIds []string `mandatory:"true" json:"privateEndpointIds"` // Sharding Methods for the Globally distributed database. ShardingMethod CreateDistributedDatabaseDetailsShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // 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. OnsPortLocal *int `mandatory:"true" json:"onsPortLocal"` // Ons remote port number. OnsPortRemote *int `mandatory:"true" json:"onsPortRemote"` // The distributed database deployment type. DbDeploymentType CreateDistributedDatabaseDetailsDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` // Collection of shards for the Globally distributed database. ShardDetails []CreateDistributedDatabaseShardDetails `mandatory:"true" json:"shardDetails"` // Collection of catalog for the Globally distributed database. CatalogDetails []CreateDistributedDatabaseCatalogDetails `mandatory:"true" json:"catalogDetails"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for Globally distributed database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod CreateDistributedDatabaseDetailsReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` // The SSH public key for Global service manager instances. GsmSshPublicKey *string `mandatory:"false" json:"gsmSshPublicKey"` DbBackupConfig *DistributedDbBackupConfig `mandatory:"false" json:"dbBackupConfig"` // 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) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDistributedDatabaseDetailsDbDeploymentTypeEnum Enum with underlying type: string
type CreateDistributedDatabaseDetailsDbDeploymentTypeEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseDetailsDbDeploymentTypeEnum
const ( CreateDistributedDatabaseDetailsDbDeploymentTypeExadbXs CreateDistributedDatabaseDetailsDbDeploymentTypeEnum = "EXADB_XS" )
func GetCreateDistributedDatabaseDetailsDbDeploymentTypeEnumValues() []CreateDistributedDatabaseDetailsDbDeploymentTypeEnum
GetCreateDistributedDatabaseDetailsDbDeploymentTypeEnumValues Enumerates the set of values for CreateDistributedDatabaseDetailsDbDeploymentTypeEnum
func GetMappingCreateDistributedDatabaseDetailsDbDeploymentTypeEnum(val string) (CreateDistributedDatabaseDetailsDbDeploymentTypeEnum, bool)
GetMappingCreateDistributedDatabaseDetailsDbDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseDetailsReplicationMethodEnum Enum with underlying type: string
type CreateDistributedDatabaseDetailsReplicationMethodEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseDetailsReplicationMethodEnum
const ( CreateDistributedDatabaseDetailsReplicationMethodRaft CreateDistributedDatabaseDetailsReplicationMethodEnum = "RAFT" CreateDistributedDatabaseDetailsReplicationMethodDg CreateDistributedDatabaseDetailsReplicationMethodEnum = "DG" )
func GetCreateDistributedDatabaseDetailsReplicationMethodEnumValues() []CreateDistributedDatabaseDetailsReplicationMethodEnum
GetCreateDistributedDatabaseDetailsReplicationMethodEnumValues Enumerates the set of values for CreateDistributedDatabaseDetailsReplicationMethodEnum
func GetMappingCreateDistributedDatabaseDetailsReplicationMethodEnum(val string) (CreateDistributedDatabaseDetailsReplicationMethodEnum, bool)
GetMappingCreateDistributedDatabaseDetailsReplicationMethodEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseDetailsShardingMethodEnum Enum with underlying type: string
type CreateDistributedDatabaseDetailsShardingMethodEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseDetailsShardingMethodEnum
const ( CreateDistributedDatabaseDetailsShardingMethodUser CreateDistributedDatabaseDetailsShardingMethodEnum = "USER" CreateDistributedDatabaseDetailsShardingMethodSystem CreateDistributedDatabaseDetailsShardingMethodEnum = "SYSTEM" )
func GetCreateDistributedDatabaseDetailsShardingMethodEnumValues() []CreateDistributedDatabaseDetailsShardingMethodEnum
GetCreateDistributedDatabaseDetailsShardingMethodEnumValues Enumerates the set of values for CreateDistributedDatabaseDetailsShardingMethodEnum
func GetMappingCreateDistributedDatabaseDetailsShardingMethodEnum(val string) (CreateDistributedDatabaseDetailsShardingMethodEnum, bool)
GetMappingCreateDistributedDatabaseDetailsShardingMethodEnum performs case Insensitive comparison on enum value and return the desired enum
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 OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // 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/distributeddatabase/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/distributeddatabase/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
CreateDistributedDatabaseShardDetails Globally distributed database shard.
type CreateDistributedDatabaseShardDetails interface { }
CreateDistributedDatabaseShardDetailsSourceEnum Enum with underlying type: string
type CreateDistributedDatabaseShardDetailsSourceEnum string
Set of constants representing the allowable values for CreateDistributedDatabaseShardDetailsSourceEnum
const ( CreateDistributedDatabaseShardDetailsSourceExadbXs CreateDistributedDatabaseShardDetailsSourceEnum = "EXADB_XS" )
func GetCreateDistributedDatabaseShardDetailsSourceEnumValues() []CreateDistributedDatabaseShardDetailsSourceEnum
GetCreateDistributedDatabaseShardDetailsSourceEnumValues Enumerates the set of values for CreateDistributedDatabaseShardDetailsSourceEnum
func GetMappingCreateDistributedDatabaseShardDetailsSourceEnum(val string) (CreateDistributedDatabaseShardDetailsSourceEnum, bool)
GetMappingCreateDistributedDatabaseShardDetailsSourceEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDistributedDatabaseShardWithExadbXsDetails Globally distributed database shard based on exadbxs.
type CreateDistributedDatabaseShardWithExadbXsDetails 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 collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer VmClusterIds. PeerVmClusterIds []string `mandatory:"false" json:"peerVmClusterIds"` // The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created. // Shard space name shall be used while creation of new shards. ShardSpace *string `mandatory:"false" json:"shardSpace"` // 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 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 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"` }
func (m CreateDistributedDatabaseShardWithExadbXsDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDistributedDatabaseShardWithExadbXsDetails) String() string
func (m CreateDistributedDatabaseShardWithExadbXsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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"` // 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"` // Sharding Methods for the Globally distributed autonomous database. ShardingMethod DistributedAutonomousDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // Possible workload types. DbWorkload DistributedAutonomousDatabaseDbWorkloadEnum `mandatory:"true" json:"dbWorkload"` // 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 distributed autonomous database deployment type. DbDeploymentType DistributedAutonomousDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` ConnectionStrings *DistributedAutonomousDatabaseConnectionString `mandatory:"false" json:"connectionStrings"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for Globally distributed autonomous database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed autonomous database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod DistributedAutonomousDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` LatestGsmImage *DistributedAutonomousDatabaseGsmImage `mandatory:"false" json:"latestGsmImage"` // Collection of shards associated with the Globally distributed autonomous database. ShardDetails []DistributedAutonomousDatabaseShard `mandatory:"false" json:"shardDetails"` // Collection of catalogs associated with the Globally distributed autonomous database. CatalogDetails []DistributedAutonomousDatabaseCatalog `mandatory:"false" json:"catalogDetails"` // Collection of catalogs associated with the Globally distributed autonomous database. GsmDetails []DistributedAutonomousDatabaseGsm `mandatory:"false" json:"gsmDetails"` 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) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint The details of distributed autonomous database associated with the private endpoint.
type DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the distributed database. Id *string `mandatory:"true" json:"id"` // The dbDeploymentType associated with the distributed autonomous database. DbDeploymentType DistributedAutonomousDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` }
func (m DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint) String() string
func (m DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DistributedAutonomousDatabaseCatalog Globally distributed autonomous database catalog.
type DistributedAutonomousDatabaseCatalog interface { // The name of 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 }
DistributedAutonomousDatabaseCatalogSourceEnum Enum with underlying type: string
type DistributedAutonomousDatabaseCatalogSourceEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseCatalogSourceEnum
const ( DistributedAutonomousDatabaseCatalogSourceAdbD DistributedAutonomousDatabaseCatalogSourceEnum = "ADB_D" )
func GetDistributedAutonomousDatabaseCatalogSourceEnumValues() []DistributedAutonomousDatabaseCatalogSourceEnum
GetDistributedAutonomousDatabaseCatalogSourceEnumValues Enumerates the set of values for DistributedAutonomousDatabaseCatalogSourceEnum
func GetMappingDistributedAutonomousDatabaseCatalogSourceEnum(val string) (DistributedAutonomousDatabaseCatalogSourceEnum, bool)
GetMappingDistributedAutonomousDatabaseCatalogSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseCatalogWithDedicatedInfra Globally distributed autonomous database catalog with dedicated autonomous infrastructure.
type DistributedAutonomousDatabaseCatalogWithDedicatedInfra struct { // The name of 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"` // Determines the auto-scaling mode for the catalog database. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // The name of the shardGroup for the catalog. ShardGroup *string `mandatory:"true" json:"shardGroup"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloudAutonomousVmCluster. CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"` // The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousVmClusters. PeerCloudAutonomousVmClusterIds []string `mandatory:"false" json:"peerCloudAutonomousVmClusterIds"` // 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 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 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"` // Peer details for the catalog with dedicated infrastructure. PeerDetails []CatalogPeerWithDedicatedInfra `mandatory:"false" json:"peerDetails"` Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"` // Status of catalog with dedicated infrastructure for the Globally distributed autonomous database. Status DistributedAutonomousDatabaseCatalogWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"` }
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
DistributedAutonomousDatabaseDbWorkloadEnum Enum with underlying type: string
type DistributedAutonomousDatabaseDbWorkloadEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseDbWorkloadEnum
const ( DistributedAutonomousDatabaseDbWorkloadOltp DistributedAutonomousDatabaseDbWorkloadEnum = "OLTP" DistributedAutonomousDatabaseDbWorkloadDw DistributedAutonomousDatabaseDbWorkloadEnum = "DW" )
func GetDistributedAutonomousDatabaseDbWorkloadEnumValues() []DistributedAutonomousDatabaseDbWorkloadEnum
GetDistributedAutonomousDatabaseDbWorkloadEnumValues Enumerates the set of values for DistributedAutonomousDatabaseDbWorkloadEnum
func GetMappingDistributedAutonomousDatabaseDbWorkloadEnum(val string) (DistributedAutonomousDatabaseDbWorkloadEnum, bool)
GetMappingDistributedAutonomousDatabaseDbWorkloadEnum performs case Insensitive comparison on enum value and return the desired enum
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 number associated with the image identified by id. VersionNumber *int `mandatory:"true" json:"versionNumber"` }
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
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
DistributedAutonomousDatabaseShard Globally distributed autonomous database shard.
type DistributedAutonomousDatabaseShard 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 }
DistributedAutonomousDatabaseShardSourceEnum Enum with underlying type: string
type DistributedAutonomousDatabaseShardSourceEnum string
Set of constants representing the allowable values for DistributedAutonomousDatabaseShardSourceEnum
const ( DistributedAutonomousDatabaseShardSourceAdbD DistributedAutonomousDatabaseShardSourceEnum = "ADB_D" )
func GetDistributedAutonomousDatabaseShardSourceEnumValues() []DistributedAutonomousDatabaseShardSourceEnum
GetDistributedAutonomousDatabaseShardSourceEnumValues Enumerates the set of values for DistributedAutonomousDatabaseShardSourceEnum
func GetMappingDistributedAutonomousDatabaseShardSourceEnum(val string) (DistributedAutonomousDatabaseShardSourceEnum, bool)
GetMappingDistributedAutonomousDatabaseShardSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedAutonomousDatabaseShardWithDedicatedInfra Globally distributed autonomous database shard with dedicated autonomous 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"` // Determines the auto-scaling mode for the shard database. IsAutoScalingEnabled *bool `mandatory:"true" json:"isAutoScalingEnabled"` // The name of the shardGroup for the shard. ShardGroup *string `mandatory:"true" json:"shardGroup"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloudAutonomousVmCluster. CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"` // The collection of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousVmClusters. PeerCloudAutonomousVmClusterIds []string `mandatory:"false" json:"peerCloudAutonomousVmClusterIds"` // The shard space name for the Globally distributed autonomous database. Shard space for existing shard cannot be changed, once shard is created. // Shard space name shall be used while creation of new shards. ShardSpace *string `mandatory:"false" json:"shardSpace"` // 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 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 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"` // Peer details for the shard with dedicated infrastructure. PeerDetails []ShardPeerWithDedicatedInfra `mandatory:"false" json:"peerDetails"` Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"` // Status of shard with dedicated infrastructure for the Globally distributed autonomous database. Status DistributedAutonomousDatabaseShardWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"` }
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" )
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"` // Sharding Methods for the Globally distributed autonomous database. ShardingMethod DistributedAutonomousDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // The workload type for the database. DbWorkload DistributedAutonomousDatabaseDbWorkloadEnum `mandatory:"true" json:"dbWorkload"` // 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"` // The distributed autonomous database deployment type. DbDeploymentType DistributedAutonomousDatabaseSummaryDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` ConnectionStrings *DistributedAutonomousDatabaseConnectionString `mandatory:"false" json:"connectionStrings"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for the Globally distributed autonomous database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed autonomous database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod DistributedAutonomousDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` 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 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
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
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/distributeddatabase/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/distributeddatabase/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) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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/distributeddatabase/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, and signed GSM certificates are successfully uploaded, 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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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) DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest(ctx context.Context, request DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) (response DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse, err error)
DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest Generate the common certificate signing request for GSMs. Download the <globalautonomousdb-prefix>.csr file from API response. Users can use this .csr file to generate the CA signed certificate, and as a next step use 'uploadSignedCertificateAndGenerateWallet' API to upload the CA signed certificate to GSM, and generate wallets for the GSM instances of the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest API. A default retry strategy applies to this operation DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest()
func (client DistributedAutonomousDbServiceClient) GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest(ctx context.Context, request GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) (response GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse, err error)
GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest Generate the certificate signing request for GSM instances of the Globally distributed autonomous database. Once certificate signing request is generated, then customers can download the certificate signing request using 'downloadGsmCertificateSigningRequest' api call.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest API. A default retry strategy applies to this operation GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest()
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/distributeddatabase/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/distributeddatabase/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) 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/distributeddatabase/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) 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/distributeddatabase/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) RotateDistributedAutonomousDatabasePasswords(ctx context.Context, request RotateDistributedAutonomousDatabasePasswordsRequest) (response RotateDistributedAutonomousDatabasePasswordsResponse, err error)
RotateDistributedAutonomousDatabasePasswords Rotate passwords for different components of the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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) 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 and GSMs of Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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 and GSM instances for the Globally distributed autonomous database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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/distributeddatabase/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) UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet(ctx context.Context, request UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) (response UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse, err error)
UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet Upload the CA signed certificate to the GSM instances and generate wallets for GSM instances of the Globally distributed autonomous database. Customer shall provide the CA signed certificate key details by adding the certificate in request body.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet.go.html to see an example of how to use UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet API. A default retry strategy applies to this operation UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet()
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/distributeddatabase/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"` // 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"` // Sharding Methods for the Globally distributed database. ShardingMethod DistributedDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // 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 distributed database deployment type. DbDeploymentType DistributedDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` ConnectionStrings *DistributedDbConnectionString `mandatory:"false" json:"connectionStrings"` LatestGsmImageDetails *DistributedDbGsmImage `mandatory:"false" json:"latestGsmImageDetails"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for Globally distributed database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod DistributedDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` // Collection of shards associated with the Globally distributed database. ShardDetails []DistributedDatabaseShard `mandatory:"false" json:"shardDetails"` // Collection of catalogs associated with the Globally distributed database. CatalogDetails []DistributedDatabaseCatalog `mandatory:"false" json:"catalogDetails"` // Collection of catalogs associated with the Globally distributed database. GsmDetails []DistributedDatabaseGsm `mandatory:"false" json:"gsmDetails"` DbBackupConfig *DistributedDbBackupConfig `mandatory:"false" json:"dbBackupConfig"` // The SSH public key for Global service manager instances. GsmSshPublicKey *string `mandatory:"false" json:"gsmSshPublicKey"` 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) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DistributedDatabaseAssociatedWithPrivateEndpoint The details of distributed database associated with the private endpoint.
type DistributedDatabaseAssociatedWithPrivateEndpoint struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the distributed database. Id *string `mandatory:"true" json:"id"` // The dbDeploymentType associated with the distributed database. DbDeploymentType DistributedDatabaseDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` }
func (m DistributedDatabaseAssociatedWithPrivateEndpoint) String() string
func (m DistributedDatabaseAssociatedWithPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DistributedDatabaseCatalog Globally distributed database catalog.
type DistributedDatabaseCatalog interface { // The name of 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 }
DistributedDatabaseCatalogSourceEnum Enum with underlying type: string
type DistributedDatabaseCatalogSourceEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogSourceEnum
const ( DistributedDatabaseCatalogSourceExadbXs DistributedDatabaseCatalogSourceEnum = "EXADB_XS" )
func GetDistributedDatabaseCatalogSourceEnumValues() []DistributedDatabaseCatalogSourceEnum
GetDistributedDatabaseCatalogSourceEnumValues Enumerates the set of values for DistributedDatabaseCatalogSourceEnum
func GetMappingDistributedDatabaseCatalogSourceEnum(val string) (DistributedDatabaseCatalogSourceEnum, bool)
GetMappingDistributedDatabaseCatalogSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseCatalogWithExadbXs Globally distributed database catalog based on exadbxs.
type DistributedDatabaseCatalogWithExadbXs struct { // The name of 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 name of the shardGroup for the catalog. ShardGroup *string `mandatory:"true" json:"shardGroup"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster. VmClusterId *string `mandatory:"true" json:"vmClusterId"` // 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 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 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"` // Peer details for the catalog. PeerDetails []CatalogPeerWithExadbXs `mandatory:"false" json:"peerDetails"` Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"` // Status of catalog with VmCluster for the Globally ditributed database. Status DistributedDatabaseCatalogWithExadbXsStatusEnum `mandatory:"true" json:"status"` }
func (m DistributedDatabaseCatalogWithExadbXs) GetName() *string
GetName returns Name
func (m DistributedDatabaseCatalogWithExadbXs) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseCatalogWithExadbXs) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseCatalogWithExadbXs) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseCatalogWithExadbXs) String() string
func (m DistributedDatabaseCatalogWithExadbXs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DistributedDatabaseCatalogWithExadbXsStatusEnum Enum with underlying type: string
type DistributedDatabaseCatalogWithExadbXsStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseCatalogWithExadbXsStatusEnum
const ( DistributedDatabaseCatalogWithExadbXsStatusFailed DistributedDatabaseCatalogWithExadbXsStatusEnum = "FAILED" DistributedDatabaseCatalogWithExadbXsStatusDeleting DistributedDatabaseCatalogWithExadbXsStatusEnum = "DELETING" DistributedDatabaseCatalogWithExadbXsStatusDeleted DistributedDatabaseCatalogWithExadbXsStatusEnum = "DELETED" DistributedDatabaseCatalogWithExadbXsStatusUpdating DistributedDatabaseCatalogWithExadbXsStatusEnum = "UPDATING" DistributedDatabaseCatalogWithExadbXsStatusCreating DistributedDatabaseCatalogWithExadbXsStatusEnum = "CREATING" DistributedDatabaseCatalogWithExadbXsStatusCreated DistributedDatabaseCatalogWithExadbXsStatusEnum = "CREATED" DistributedDatabaseCatalogWithExadbXsStatusReadyForConfiguration DistributedDatabaseCatalogWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION" DistributedDatabaseCatalogWithExadbXsStatusConfigured DistributedDatabaseCatalogWithExadbXsStatusEnum = "CONFIGURED" DistributedDatabaseCatalogWithExadbXsStatusNeedsAttention DistributedDatabaseCatalogWithExadbXsStatusEnum = "NEEDS_ATTENTION" )
func GetDistributedDatabaseCatalogWithExadbXsStatusEnumValues() []DistributedDatabaseCatalogWithExadbXsStatusEnum
GetDistributedDatabaseCatalogWithExadbXsStatusEnumValues Enumerates the set of values for DistributedDatabaseCatalogWithExadbXsStatusEnum
func GetMappingDistributedDatabaseCatalogWithExadbXsStatusEnum(val string) (DistributedDatabaseCatalogWithExadbXsStatusEnum, bool)
GetMappingDistributedDatabaseCatalogWithExadbXsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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 ( DistributedDatabaseDbDeploymentTypeExadbXs DistributedDatabaseDbDeploymentTypeEnum = "EXADB_XS" )
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
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 for the Globally ditributed database. 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 OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // The details of the non-deleted Globally distributed databases that consumes the given private endpoint. GloballyDistributedDatabases []DistributedDatabaseAssociatedWithPrivateEndpoint `mandatory:"false" json:"globallyDistributedDatabases"` // The details of the non-deleted Globally distributed autonomous databases that consumes the given private endpoint. GloballyDistributedAutonomousDatabases []DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint `mandatory:"false" json:"globallyDistributedAutonomousDatabases"` // 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 OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // 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
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
DistributedDatabaseShard Globally distributed database shard.
type DistributedDatabaseShard 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 }
DistributedDatabaseShardSourceEnum Enum with underlying type: string
type DistributedDatabaseShardSourceEnum string
Set of constants representing the allowable values for DistributedDatabaseShardSourceEnum
const ( DistributedDatabaseShardSourceExadbXs DistributedDatabaseShardSourceEnum = "EXADB_XS" )
func GetDistributedDatabaseShardSourceEnumValues() []DistributedDatabaseShardSourceEnum
GetDistributedDatabaseShardSourceEnumValues Enumerates the set of values for DistributedDatabaseShardSourceEnum
func GetMappingDistributedDatabaseShardSourceEnum(val string) (DistributedDatabaseShardSourceEnum, bool)
GetMappingDistributedDatabaseShardSourceEnum performs case Insensitive comparison on enum value and return the desired enum
DistributedDatabaseShardWithExadbXs Globally distributed database shard based on exadbxs.
type DistributedDatabaseShardWithExadbXs 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 name of the shardGroup for the shard. ShardGroup *string `mandatory:"true" json:"shardGroup"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster. VmClusterId *string `mandatory:"true" json:"vmClusterId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home. DbHomeId *string `mandatory:"false" json:"dbHomeId"` // The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created. // Shard space name shall be used while creation of new shards. ShardSpace *string `mandatory:"false" json:"shardSpace"` // 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 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 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"` // Peer details for the shard. PeerDetails []ShardPeerWithExadbXs `mandatory:"false" json:"peerDetails"` Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"` // Status of shard based on exadbxs for the Globally ditributed database. Status DistributedDatabaseShardWithExadbXsStatusEnum `mandatory:"true" json:"status"` }
func (m DistributedDatabaseShardWithExadbXs) GetName() *string
GetName returns Name
func (m DistributedDatabaseShardWithExadbXs) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DistributedDatabaseShardWithExadbXs) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DistributedDatabaseShardWithExadbXs) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DistributedDatabaseShardWithExadbXs) String() string
func (m DistributedDatabaseShardWithExadbXs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DistributedDatabaseShardWithExadbXsStatusEnum Enum with underlying type: string
type DistributedDatabaseShardWithExadbXsStatusEnum string
Set of constants representing the allowable values for DistributedDatabaseShardWithExadbXsStatusEnum
const ( DistributedDatabaseShardWithExadbXsStatusFailed DistributedDatabaseShardWithExadbXsStatusEnum = "FAILED" DistributedDatabaseShardWithExadbXsStatusDeleting DistributedDatabaseShardWithExadbXsStatusEnum = "DELETING" DistributedDatabaseShardWithExadbXsStatusDeleted DistributedDatabaseShardWithExadbXsStatusEnum = "DELETED" DistributedDatabaseShardWithExadbXsStatusUpdating DistributedDatabaseShardWithExadbXsStatusEnum = "UPDATING" DistributedDatabaseShardWithExadbXsStatusCreating DistributedDatabaseShardWithExadbXsStatusEnum = "CREATING" DistributedDatabaseShardWithExadbXsStatusCreated DistributedDatabaseShardWithExadbXsStatusEnum = "CREATED" DistributedDatabaseShardWithExadbXsStatusReadyForConfiguration DistributedDatabaseShardWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION" DistributedDatabaseShardWithExadbXsStatusConfigured DistributedDatabaseShardWithExadbXsStatusEnum = "CONFIGURED" DistributedDatabaseShardWithExadbXsStatusNeedsAttention DistributedDatabaseShardWithExadbXsStatusEnum = "NEEDS_ATTENTION" )
func GetDistributedDatabaseShardWithExadbXsStatusEnumValues() []DistributedDatabaseShardWithExadbXsStatusEnum
GetDistributedDatabaseShardWithExadbXsStatusEnumValues Enumerates the set of values for DistributedDatabaseShardWithExadbXsStatusEnum
func GetMappingDistributedDatabaseShardWithExadbXsStatusEnum(val string) (DistributedDatabaseShardWithExadbXsStatusEnum, bool)
GetMappingDistributedDatabaseShardWithExadbXsStatusEnum 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" )
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"` // Sharding Methods for the Globally distributed database. ShardingMethod DistributedDatabaseShardingMethodEnum `mandatory:"true" json:"shardingMethod"` // 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"` // The distributed database deployment type. DbDeploymentType DistributedDatabaseSummaryDbDeploymentTypeEnum `mandatory:"true" json:"dbDeploymentType"` ConnectionStrings *DistributedDbConnectionString `mandatory:"false" json:"connectionStrings"` // The default number of unique chunks in a shardspace. The value of chunks must be // greater than 2 times the size of the largest shardgroup in any shardspace. Chunks *int `mandatory:"false" json:"chunks"` // The TLS listener port number for the Globally distributed database. ListenerPortTls *int `mandatory:"false" json:"listenerPortTls"` // The Replication method for Globally distributed database. Use RAFT for Raft replication, and DG for // DataGuard. If replicationMethod is not provided, it defaults to DG. ReplicationMethod DistributedDatabaseReplicationMethodEnum `mandatory:"false" json:"replicationMethod,omitempty"` // The Replication factor for RAFT replication based Globally distributed database. Currently supported values are 3, 5 and 7. ReplicationFactor *int `mandatory:"false" json:"replicationFactor"` // For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. ReplicationUnit *int `mandatory:"false" json:"replicationUnit"` 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 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 ( DistributedDatabaseSummaryDbDeploymentTypeExadbXs DistributedDatabaseSummaryDbDeploymentTypeEnum = "EXADB_XS" )
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
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"` // For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. VpcUser *string `mandatory:"false" json:"vpcUser"` // For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. VpcPassword *string `mandatory:"false" json:"vpcPassword"` // Indicates whether Zero Data Loss functionality is enabled for a Recovery Appliance backup destination in an Autonomous Container Database. When enabled, the database automatically ships all redo logs in real-time to the Recovery Appliance for a Zero Data Loss recovery setup (sub-second RPO). Defaults to `TRUE` if no value is given. IsZeroDataLossEnabled *bool `mandatory:"false" json:"isZeroDataLossEnabled"` // 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" DistributedDbBackupDestinationTypeRecoveryAppliance DistributedDbBackupDestinationTypeEnum = "RECOVERY_APPLIANCE" 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
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 number associated with the image identified by id. VersionNumber *int `mandatory:"true" json:"versionNumber"` }
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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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) 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/distributeddatabase/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/distributeddatabase/UpdateDistributedDatabasePrivateEndpoint.go.html to see an example of how to use UpdateDistributedDatabasePrivateEndpoint API. A default retry strategy applies to this operation UpdateDistributedDatabasePrivateEndpoint()
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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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) 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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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 databases.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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) DownloadDistributedDatabaseGsmCertificateSigningRequest(ctx context.Context, request DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) (response DownloadDistributedDatabaseGsmCertificateSigningRequestResponse, err error)
DownloadDistributedDatabaseGsmCertificateSigningRequest Generate the common certificate signing request for GSMs. Download the <globaldb-prefix>.csr file from API response. Users can use this .csr file to generate the CA signed certificate, and as a next step use 'uploadSignedCertificateAndGenerateWallet' API to upload the CA signed certificate to GSM, and generate wallets for the GSM instances of the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/DownloadDistributedDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use DownloadDistributedDatabaseGsmCertificateSigningRequest API. A default retry strategy applies to this operation DownloadDistributedDatabaseGsmCertificateSigningRequest()
func (client DistributedDbServiceClient) GenerateDistributedDatabaseGsmCertificateSigningRequest(ctx context.Context, request GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) (response GenerateDistributedDatabaseGsmCertificateSigningRequestResponse, err error)
GenerateDistributedDatabaseGsmCertificateSigningRequest Generate the certificate signing request for GSM instances of the Globally distributed database. Once certificate signing request is generated, then customers can download the certificate signing request using 'downloadGsmCertificateSigningRequest' api call.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/GenerateDistributedDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use GenerateDistributedDatabaseGsmCertificateSigningRequest API. A default retry strategy applies to this operation GenerateDistributedDatabaseGsmCertificateSigningRequest()
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/distributeddatabase/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/distributeddatabase/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) 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/distributeddatabase/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) 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/distributeddatabase/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) RotateDistributedDatabasePasswords(ctx context.Context, request RotateDistributedDatabasePasswordsRequest) (response RotateDistributedDatabasePasswordsResponse, err error)
RotateDistributedDatabasePasswords Rotate passwords for different components of the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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) 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 and GSMs of Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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 and GSM instances for the Globally distributed database.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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/distributeddatabase/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) UploadDistributedDatabaseSignedCertificateAndGenerateWallet(ctx context.Context, request UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) (response UploadDistributedDatabaseSignedCertificateAndGenerateWalletResponse, err error)
UploadDistributedDatabaseSignedCertificateAndGenerateWallet Upload the CA signed certificate to the GSM instances and generate wallets for GSM instances of the Globally distributed database. Customer shall provide the CA signed certificate key details by adding the certificate in request body.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/UploadDistributedDatabaseSignedCertificateAndGenerateWallet.go.html to see an example of how to use UploadDistributedDatabaseSignedCertificateAndGenerateWallet API. A default retry strategy applies to this operation UploadDistributedDatabaseSignedCertificateAndGenerateWallet()
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/distributeddatabase/ValidateDistributedDatabaseNetwork.go.html to see an example of how to use ValidateDistributedDatabaseNetwork API. A default retry strategy applies to this operation ValidateDistributedDatabaseNetwork()
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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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.
DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest wrapper for the DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest.
type DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest 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"` // 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 DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) String() string
func (request DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse wrapper for the DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest operation
type DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse 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 certificate signing request was created. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse) String() string
DownloadDistributedDatabaseGsmCertificateSigningRequestRequest wrapper for the DownloadDistributedDatabaseGsmCertificateSigningRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/DownloadDistributedDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use DownloadDistributedDatabaseGsmCertificateSigningRequestRequest.
type DownloadDistributedDatabaseGsmCertificateSigningRequestRequest 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"` // 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 DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) String() string
func (request DownloadDistributedDatabaseGsmCertificateSigningRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DownloadDistributedDatabaseGsmCertificateSigningRequestResponse wrapper for the DownloadDistributedDatabaseGsmCertificateSigningRequest operation
type DownloadDistributedDatabaseGsmCertificateSigningRequestResponse 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 certificate signing request was created. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
func (response DownloadDistributedDatabaseGsmCertificateSigningRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadDistributedDatabaseGsmCertificateSigningRequestResponse) String() string
GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest wrapper for the GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest.
type GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest struct { // Globally distributed autonomous database identifier DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"` // The ID of the Ca Bundle. CaBundleId *string `mandatory:"true" contributesTo:"query" name:"caBundleId"` // 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 GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) String() string
func (request GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse wrapper for the GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest operation
type GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse 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 GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse) String() string
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/distributeddatabase/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
GenerateDistributedDatabaseGsmCertificateSigningRequestRequest wrapper for the GenerateDistributedDatabaseGsmCertificateSigningRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/GenerateDistributedDatabaseGsmCertificateSigningRequest.go.html to see an example of how to use GenerateDistributedDatabaseGsmCertificateSigningRequestRequest.
type GenerateDistributedDatabaseGsmCertificateSigningRequestRequest struct { // Globally distributed database identifier DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"` // The ID of the Ca Bundle. CaBundleId *string `mandatory:"true" contributesTo:"query" name:"caBundleId"` // 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 GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) String() string
func (request GenerateDistributedDatabaseGsmCertificateSigningRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GenerateDistributedDatabaseGsmCertificateSigningRequestResponse wrapper for the GenerateDistributedDatabaseGsmCertificateSigningRequest operation
type GenerateDistributedDatabaseGsmCertificateSigningRequestResponse 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 GenerateDistributedDatabaseGsmCertificateSigningRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GenerateDistributedDatabaseGsmCertificateSigningRequestResponse) 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/distributeddatabase/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
GetDistributedAutonomousDatabaseRequest wrapper for the GetDistributedAutonomousDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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 names of argument corresponding to which metadata need to be retrived. 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
GetDistributedDatabasePrivateEndpointRequest wrapper for the GetDistributedDatabasePrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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
GetDistributedDatabaseRequest wrapper for the GetDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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 names of argument corresponding to which metadata need to be retrived. 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
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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/distributeddatabase/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"` // A filter to return only resources their lifecycleState matches the given lifecycleState. 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 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 their dbDeploymentType matches the given dbDeploymentType. DbDeploymentType DistributedAutonomousDatabaseDbDeploymentTypeEnum `mandatory:"false" contributesTo:"query" name:"dbDeploymentType" omitEmpty:"true"` // Comma separated names of argument corresponding to which metadata need to be retrived. 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/distributeddatabase/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"` // 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/distributeddatabase/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"` // A filter to return only resources their lifecycleState matches the given lifecycleState. 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 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 their dbDeploymentType matches the given dbDeploymentType. DbDeploymentType DistributedDatabaseDbDeploymentTypeEnum `mandatory:"false" contributesTo:"query" name:"dbDeploymentType" omitEmpty:"true"` // Comma separated names of argument corresponding to which metadata need to be retrived. 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/distributeddatabase/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 timeAccepted 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 ( ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted" )
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/distributeddatabase/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 timeAccepted 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 ( ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted" )
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/distributeddatabase/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
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" OperationTypeGenerateDistributedDbGsmCertSigningReq OperationTypeEnum = "GENERATE_DISTRIBUTED_DB_GSM_CERT_SIGNING_REQ" 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" OperationTypeUploadDistributedDbSignedCertAndGenerateWallet OperationTypeEnum = "UPLOAD_DISTRIBUTED_DB_SIGNED_CERT_AND_GENERATE_WALLET" 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" )
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 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 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/distributeddatabase/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
PatchDistributedDatabaseRequest wrapper for the PatchDistributedDatabase operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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
ReinstateProxyInstanceRequest wrapper for the ReinstateProxyInstance operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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
RotateDistributedAutonomousDatabasePasswordsRequest wrapper for the RotateDistributedAutonomousDatabasePasswords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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"` // 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 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
RotateDistributedDatabasePasswordsRequest wrapper for the RotateDistributedDatabasePasswords operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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"` // 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 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
ShardPeerWithDedicatedInfra Details of the shard peer
type ShardPeerWithDedicatedInfra struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloudAutonomousVmCluster. CloudAutonomousVmClusterId *string `mandatory:"true" json:"cloudAutonomousVmClusterId"` // The name of the shardGroup for the peer. ShardGroup *string `mandatory:"true" json:"shardGroup"` // Status of shard with dedicated infrastructure for the Globally distributed autonomous database. Status ShardPeerWithDedicatedInfraStatusEnum `mandatory:"true" json:"status"` // The time the shard peer was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the shard peer was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` Metadata *DistributedAutonomousDbMetadata `mandatory:"false" json:"metadata"` }
func (m ShardPeerWithDedicatedInfra) String() string
func (m ShardPeerWithDedicatedInfra) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShardPeerWithDedicatedInfraStatusEnum Enum with underlying type: string
type ShardPeerWithDedicatedInfraStatusEnum string
Set of constants representing the allowable values for ShardPeerWithDedicatedInfraStatusEnum
const ( ShardPeerWithDedicatedInfraStatusFailed ShardPeerWithDedicatedInfraStatusEnum = "FAILED" ShardPeerWithDedicatedInfraStatusDeleting ShardPeerWithDedicatedInfraStatusEnum = "DELETING" ShardPeerWithDedicatedInfraStatusDeleted ShardPeerWithDedicatedInfraStatusEnum = "DELETED" ShardPeerWithDedicatedInfraStatusUpdating ShardPeerWithDedicatedInfraStatusEnum = "UPDATING" ShardPeerWithDedicatedInfraStatusCreating ShardPeerWithDedicatedInfraStatusEnum = "CREATING" ShardPeerWithDedicatedInfraStatusCreated ShardPeerWithDedicatedInfraStatusEnum = "CREATED" ShardPeerWithDedicatedInfraStatusReadyForConfiguration ShardPeerWithDedicatedInfraStatusEnum = "READY_FOR_CONFIGURATION" ShardPeerWithDedicatedInfraStatusConfigured ShardPeerWithDedicatedInfraStatusEnum = "CONFIGURED" ShardPeerWithDedicatedInfraStatusNeedsAttention ShardPeerWithDedicatedInfraStatusEnum = "NEEDS_ATTENTION" )
func GetMappingShardPeerWithDedicatedInfraStatusEnum(val string) (ShardPeerWithDedicatedInfraStatusEnum, bool)
GetMappingShardPeerWithDedicatedInfraStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetShardPeerWithDedicatedInfraStatusEnumValues() []ShardPeerWithDedicatedInfraStatusEnum
GetShardPeerWithDedicatedInfraStatusEnumValues Enumerates the set of values for ShardPeerWithDedicatedInfraStatusEnum
ShardPeerWithExadbXs Details of the shard peer
type ShardPeerWithExadbXs struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VmCluster. VmClusterId *string `mandatory:"true" json:"vmClusterId"` // The name of the shardGroup for the peer. ShardGroup *string `mandatory:"true" json:"shardGroup"` // Status of catalog with VmCluster for the Globally ditributed database. Status ShardPeerWithExadbXsStatusEnum `mandatory:"true" json:"status"` // The time the shard peer was created. An RFC3339 formatted datetime string TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time the shard peer was last updated. An RFC3339 formatted datetime string TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` Metadata *DistributedDbMetadata `mandatory:"false" json:"metadata"` }
func (m ShardPeerWithExadbXs) String() string
func (m ShardPeerWithExadbXs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShardPeerWithExadbXsStatusEnum Enum with underlying type: string
type ShardPeerWithExadbXsStatusEnum string
Set of constants representing the allowable values for ShardPeerWithExadbXsStatusEnum
const ( ShardPeerWithExadbXsStatusFailed ShardPeerWithExadbXsStatusEnum = "FAILED" ShardPeerWithExadbXsStatusDeleting ShardPeerWithExadbXsStatusEnum = "DELETING" ShardPeerWithExadbXsStatusDeleted ShardPeerWithExadbXsStatusEnum = "DELETED" ShardPeerWithExadbXsStatusUpdating ShardPeerWithExadbXsStatusEnum = "UPDATING" ShardPeerWithExadbXsStatusCreating ShardPeerWithExadbXsStatusEnum = "CREATING" ShardPeerWithExadbXsStatusCreated ShardPeerWithExadbXsStatusEnum = "CREATED" ShardPeerWithExadbXsStatusReadyForConfiguration ShardPeerWithExadbXsStatusEnum = "READY_FOR_CONFIGURATION" ShardPeerWithExadbXsStatusConfigured ShardPeerWithExadbXsStatusEnum = "CONFIGURED" ShardPeerWithExadbXsStatusNeedsAttention ShardPeerWithExadbXsStatusEnum = "NEEDS_ATTENTION" )
func GetMappingShardPeerWithExadbXsStatusEnum(val string) (ShardPeerWithExadbXsStatusEnum, bool)
GetMappingShardPeerWithExadbXsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetShardPeerWithExadbXsStatusEnumValues() []ShardPeerWithExadbXsStatusEnum
GetShardPeerWithExadbXsStatusEnumValues Enumerates the set of values for ShardPeerWithExadbXsStatusEnum
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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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/distributeddatabase/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
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"` // 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/distributeddatabase/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"` // 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"` // The OCIDs of the network security groups that the private endpoint belongs to. NsgIds []string `mandatory:"false" json:"nsgIds"` // 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/distributeddatabase/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/distributeddatabase/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
UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletDetails Details of the request to upload the CA signed certificates to GSMs and generate wallets for GSMs of the Globally distributed autonomous database.
type UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletDetails struct { // The CA signed certificate key. CaSignedCertificate *string `mandatory:"true" json:"caSignedCertificate"` }
func (m UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletDetails) String() string
func (m UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest wrapper for the UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet.go.html to see an example of how to use UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest.
type UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest struct { // Globally distributed autonomous database identifier DistributedAutonomousDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedAutonomousDatabaseId"` // Details required to upload the CA signed certificates to GSM instances of Globally distributed autonomous database and generate // the wallets. UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletDetails `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 UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) String() string
func (request UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse wrapper for the UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet operation
type UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse 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 UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse) String() string
UploadDistributedDatabaseSignedCertificateAndGenerateWalletDetails Details of the request to upload the CA signed certificates to GSMs and generate wallets for GSMs of the Globally distributed database.
type UploadDistributedDatabaseSignedCertificateAndGenerateWalletDetails struct { // The CA signed certificate key. CaSignedCertificate *string `mandatory:"true" json:"caSignedCertificate"` }
func (m UploadDistributedDatabaseSignedCertificateAndGenerateWalletDetails) String() string
func (m UploadDistributedDatabaseSignedCertificateAndGenerateWalletDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest wrapper for the UploadDistributedDatabaseSignedCertificateAndGenerateWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/UploadDistributedDatabaseSignedCertificateAndGenerateWallet.go.html to see an example of how to use UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest.
type UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest struct { // Globally distributed database identifier DistributedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"distributedDatabaseId"` // Details required to upload the CA signed certificates to GSM instances of Globally distributed database and generate // the wallets. UploadDistributedDatabaseSignedCertificateAndGenerateWalletDetails `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 UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) String() string
func (request UploadDistributedDatabaseSignedCertificateAndGenerateWalletRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UploadDistributedDatabaseSignedCertificateAndGenerateWalletResponse wrapper for the UploadDistributedDatabaseSignedCertificateAndGenerateWallet operation
type UploadDistributedDatabaseSignedCertificateAndGenerateWalletResponse 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 UploadDistributedDatabaseSignedCertificateAndGenerateWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UploadDistributedDatabaseSignedCertificateAndGenerateWalletResponse) String() string
ValidateDistributedAutonomousDatabaseNetworkRequest wrapper for the ValidateDistributedAutonomousDatabaseNetwork operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/distributeddatabase/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"` // Specify the name of shard or catalog. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // The shardGroup name example ShardGroupA, ShardGroupB. ShardGroup *string `mandatory:"false" contributesTo:"query" name:"shardGroup"` // 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/distributeddatabase/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"` // Specify the name of shard or catalog. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // The shardGroup name example ShardGroupA, ShardGroupB. ShardGroup *string `mandatory:"false" contributesTo:"query" name:"shardGroup"` // 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
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