Class CreateProtectedDatabaseRequest
Implements
Inherited Members
Namespace: Oci.RecoveryService.Requests
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class CreateProtectedDatabaseRequest : IOciRequestExamples
Click here to see an example of how to use CreateProtectedDatabase request.
Properties
CreateProtectedDatabaseDetails
Declaration
[Required(ErrorMessage = "CreateProtectedDatabaseDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public CreateProtectedDatabaseDetails CreateProtectedDatabaseDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| CreateProtectedDatabaseDetails | Describes the parameters required to create a protected database. | 
Remarks
Required
OpcDryRun
Declaration
[HttpConverter(TargetEnum.Header, "opc-dry-run")]
public bool? OpcDryRun { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Indicates if the request is to test the preparedness for creating a protected database, without actually creating a protected database.
 
 | 
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique identifier for the request. | 
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 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. |