class Azure::Network::Mgmt::V2020_06_01::Models::BastionActiveSession
The session detail for a target.
Attributes
@return [BastionConnectProtocol] The protocol used to connect to the target. Possible values include: 'SSH', 'RDP'
@return [String] The type of the resource.
@return [Float] Duration in mins the session has been active.
@return [String] A unique id for the session.
@return The time when the session started.
@return [String] The host name of the target.
@return [String] The IP Address of the target.
@return [String] The resource group of the target.
@return [String] The resource id of the target.
@return [String] The subscription id for the target virtual machine.
@return [String] The user name who is active on this session.
Public Class Methods
Mapper for BastionActiveSession
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_network/models/bastion_active_session.rb, line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BastionActiveSession', type: { name: 'Composite', class_name: 'BastionActiveSession', model_properties: { session_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sessionId', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'Object' } }, target_subscription_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetSubscriptionId', type: { name: 'String' } }, resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, target_host_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetHostName', type: { name: 'String' } }, target_resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetResourceGroup', type: { name: 'String' } }, user_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'userName', type: { name: 'String' } }, target_ip_address: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetIpAddress', type: { name: 'String' } }, protocol: { client_side_validation: true, required: false, read_only: true, serialized_name: 'protocol', type: { name: 'String' } }, target_resource_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetResourceId', type: { name: 'String' } }, session_duration_in_mins: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sessionDurationInMins', type: { name: 'Double' } } } } } end