Class ChangeBastionCompartmentRequest
Implements
Inherited Members
Namespace: Oci.BastionService.Requests
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class ChangeBastionCompartmentRequest : IOciRequest
Examples
Click here to see an example of how to use ChangeBastionCompartment request.
Properties
BastionId
Declaration
[Required(ErrorMessage = "BastionId is required.")]
[HttpConverter(TargetEnum.Path, "bastionId")]
public string BastionId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the bastion. |
Remarks
Required
ChangeBastionCompartmentDetails
Declaration
[Required(ErrorMessage = "ChangeBastionCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeBastionCompartmentDetails ChangeBastionCompartmentDetails { get; set; }
Property Value
Type | Description |
---|---|
ChangeBastionCompartmentDetails | The compartment information to be updated. |
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 | The client request ID for tracing. |