Class UpdatePolicyRequest
Implements
Inherited Members
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class UpdatePolicyRequest : IOciRequest
Examples
Click here to see an example of how to use UpdatePolicy request.
Properties
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 |
PolicyId
Declaration
[Required(ErrorMessage = "PolicyId is required.")]
[HttpConverter(TargetEnum.Path, "policyId")]
public string PolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the policy. |
Remarks
Required
UpdatePolicyDetails
Declaration
[Required(ErrorMessage = "UpdatePolicyDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdatePolicyDetails UpdatePolicyDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdatePolicyDetails | Request object for updating a policy. |
Remarks
Required