Class ChangeProtectionPolicyCompartmentRequest
Implements
Inherited Members
Namespace: Oci.RecoveryService.Requests
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class ChangeProtectionPolicyCompartmentRequest : IOciRequest
Examples
Click here to see an example of how to use ChangeProtectionPolicyCompartment request.
Properties
ChangeProtectionPolicyCompartmentDetails
Declaration
[Required(ErrorMessage = "ChangeProtectionPolicyCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeProtectionPolicyCompartmentDetails ChangeProtectionPolicyCompartmentDetails { get; set; }
Property Value
Type | Description |
---|---|
ChangeProtectionPolicyCompartmentDetails | The configuration details required to move a protection policy 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. |
ProtectionPolicyId
Declaration
[Required(ErrorMessage = "ProtectionPolicyId is required.")]
[HttpConverter(TargetEnum.Path, "protectionPolicyId")]
public string ProtectionPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The protection policy OCID. |
Remarks
Required