Show / Hide Table of Contents

Class UpdateCompartmentRequest

Inheritance
System.Object
UpdateCompartmentRequest
Implements
IOciRequest
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class UpdateCompartmentRequest : object, IOciRequest
Examples

Click here to see an example of how to use UpdateCompartment request.

Properties

CompartmentId

Declaration
public string CompartmentId { get; set; }
Property Value
Type Description
System.String

The OCID of the compartment.

Remarks

Required

IfMatch

Declaration
public string IfMatch { get; set; }
Property Value
Type Description
System.String

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.

UpdateCompartmentDetails

Declaration
public UpdateCompartmentDetails UpdateCompartmentDetails { get; set; }
Property Value
Type Description
UpdateCompartmentDetails

Request object for updating a compartment.

Remarks

Required

Implements

IOciRequest
In This Article
Back to top