Class UpdateBastionRequest
Implements
Inherited Members
Namespace: Oci.BastionService.Requests
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class UpdateBastionRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateBastion 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
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. |
UpdateBastionDetails
Declaration
[Required(ErrorMessage = "UpdateBastionDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateBastionDetails UpdateBastionDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdateBastionDetails | The bastion information to be updated. |
Remarks
Required