Class BastionActiveSessionInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner
The session detail for a target.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BastionActiveSessionInner class. -
Method Summary
Modifier and TypeMethodDescriptionprotocol()Get the protocol property: The protocol used to connect to the target.Get the resourceType property: The type of the resource.Get the sessionDurationInMins property: Duration in mins the session has been active.Get the sessionId property: A unique id for the session.Get the startTime property: The time when the session started.Get the targetHostname property: The host name of the target.Get the targetIpAddress property: The IP Address of the target.Get the targetResourceGroup property: The resource group of the target.Get the targetResourceId property: The resource id of the target.Get the targetSubscriptionId property: The subscription id for the target virtual machine.username()Get the username property: The user name who is active on this session.voidvalidate()Validates the instance.
-
Constructor Details
-
BastionActiveSessionInner
public BastionActiveSessionInner()Creates an instance of BastionActiveSessionInner class.
-
-
Method Details
-
sessionId
Get the sessionId property: A unique id for the session.- Returns:
- the sessionId value.
-
startTime
Get the startTime property: The time when the session started.- Returns:
- the startTime value.
-
targetSubscriptionId
Get the targetSubscriptionId property: The subscription id for the target virtual machine.- Returns:
- the targetSubscriptionId value.
-
resourceType
Get the resourceType property: The type of the resource.- Returns:
- the resourceType value.
-
targetHostname
Get the targetHostname property: The host name of the target.- Returns:
- the targetHostname value.
-
targetResourceGroup
Get the targetResourceGroup property: The resource group of the target.- Returns:
- the targetResourceGroup value.
-
username
Get the username property: The user name who is active on this session.- Returns:
- the username value.
-
targetIpAddress
Get the targetIpAddress property: The IP Address of the target.- Returns:
- the targetIpAddress value.
-
protocol
Get the protocol property: The protocol used to connect to the target.- Returns:
- the protocol value.
-
targetResourceId
Get the targetResourceId property: The resource id of the target.- Returns:
- the targetResourceId value.
-
sessionDurationInMins
Get the sessionDurationInMins property: Duration in mins the session has been active.- Returns:
- the sessionDurationInMins value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-