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