public final class BastionActiveSessionInner extends Object
| Constructor and Description |
|---|
BastionActiveSessionInner() |
| Modifier and Type | Method and Description |
|---|---|
BastionConnectProtocol |
protocol()
Get the protocol property: The protocol used to connect to the target.
|
String |
resourceType()
Get the resourceType property: The type of the resource.
|
Float |
sessionDurationInMins()
Get the sessionDurationInMins property: Duration in mins the session has been active.
|
String |
sessionId()
Get the sessionId property: A unique id for the session.
|
Object |
startTime()
Get the startTime property: The time when the session started.
|
String |
targetHostname()
Get the targetHostname property: The host name of the target.
|
String |
targetIpAddress()
Get the targetIpAddress property: The IP Address of the target.
|
String |
targetResourceGroup()
Get the targetResourceGroup property: The resource group of the target.
|
String |
targetResourceId()
Get the targetResourceId property: The resource id of the target.
|
String |
targetSubscriptionId()
Get the targetSubscriptionId property: The subscription id for the target virtual machine.
|
String |
username()
Get the username property: The user name who is active on this session.
|
void |
validate()
Validates the instance.
|
public String sessionId()
public Object startTime()
public String targetSubscriptionId()
public String resourceType()
public String targetHostname()
public String targetResourceGroup()
public String username()
public String targetIpAddress()
public BastionConnectProtocol protocol()
public String targetResourceId()
public Float sessionDurationInMins()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.