Class ChangeProtectedDatabaseCompartmentRequest
Implements
Inherited Members
Namespace: Oci.RecoveryService.Requests
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class ChangeProtectedDatabaseCompartmentRequest : IOciRequest
Examples
Click here to see an example of how to use ChangeProtectedDatabaseCompartment request.
Properties
ChangeProtectedDatabaseCompartmentDetails
Declaration
[Required(ErrorMessage = "ChangeProtectedDatabaseCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeProtectedDatabaseCompartmentDetails ChangeProtectedDatabaseCompartmentDetails { get; set; }
Property Value
Type | Description |
---|---|
ChangeProtectedDatabaseCompartmentDetails | The configuration details required to move a protected database from the existing compartment to a specified compartment. |
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call
for a resource, set the |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. |
ProtectedDatabaseId
Declaration
[Required(ErrorMessage = "ProtectedDatabaseId is required.")]
[HttpConverter(TargetEnum.Path, "protectedDatabaseId")]
public string ProtectedDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The protected database OCID. |
Remarks
Required