Class SessionSummary
Summary information for a bastion session resource.
Inherited Members
Namespace: Oci.BastionService.Models
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class SessionSummary
Properties
BastionId
Declaration
[Required(ErrorMessage = "BastionId is required.")]
[JsonProperty(PropertyName = "bastionId")]
public string BastionId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the bastion that is hosting this session. |
Remarks
Required
BastionName
Declaration
[Required(ErrorMessage = "BastionName is required.")]
[JsonProperty(PropertyName = "bastionName")]
public string BastionName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the bastion that is hosting this session. |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the session. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the session, which can't be changed after creation. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current session state in more detail. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SessionLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SessionLifecycleState? | The current state of the session. |
Remarks
Required
SessionTtlInSeconds
Declaration
[Required(ErrorMessage = "SessionTtlInSeconds is required.")]
[JsonProperty(PropertyName = "sessionTtlInSeconds")]
public int? SessionTtlInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The amount of time the session can remain active. |
Remarks
Required
TargetResourceDetails
Declaration
[Required(ErrorMessage = "TargetResourceDetails is required.")]
[JsonProperty(PropertyName = "targetResourceDetails")]
public TargetResourceDetails TargetResourceDetails { get; set; }
Property Value
Type | Description |
---|---|
TargetResourceDetails |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the session was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the session was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z |