Class ManagedSshSessionTargetResourceDetails
Details about a managed SSH session for a target resource.
Inherited Members
Namespace: Oci.BastionService.Models
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class ManagedSshSessionTargetResourceDetails : TargetResourceDetails
Properties
TargetResourceDisplayName
Declaration
[Required(ErrorMessage = "TargetResourceDisplayName is required.")]
[JsonProperty(PropertyName = "targetResourceDisplayName")]
public string TargetResourceDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the target Compute instance that the session connects to. |
Remarks
Required
TargetResourceId
Declaration
[Required(ErrorMessage = "TargetResourceId is required.")]
[JsonProperty(PropertyName = "targetResourceId")]
public string TargetResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the target resource (a Compute instance, for example) that the session connects to. |
Remarks
Required
TargetResourceOperatingSystemUserName
Declaration
[Required(ErrorMessage = "TargetResourceOperatingSystemUserName is required.")]
[JsonProperty(PropertyName = "targetResourceOperatingSystemUserName")]
public string TargetResourceOperatingSystemUserName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the user on the target resource operating system that the session uses for the connection. |
Remarks
Required
TargetResourcePort
Declaration
[JsonProperty(PropertyName = "targetResourcePort")]
public int? TargetResourcePort { get; set; }
Property Value
Type | Description |
---|---|
int? | The port number to connect to on the target resource. |
TargetResourcePrivateIpAddress
Declaration
[JsonProperty(PropertyName = "targetResourcePrivateIpAddress")]
public string TargetResourcePrivateIpAddress { get; set; }
Property Value
Type | Description |
---|---|
string | The private IP address of the target resource that the session connects to. |