Class CreateManagedSshSessionTargetResourceDetails
Details about a managed SSH session for a target resource.
Inherited Members
Namespace: Oci.BastionService.Models
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class CreateManagedSshSessionTargetResourceDetails : CreateSessionTargetResourceDetailsProperties
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. |