Class: Azure::Network::Mgmt::V2020_06_01::Models::BastionSessionState
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_06_01::Models::BastionSessionState
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_network/models/bastion_session_state.rb
Overview
The session state detail for a target.
Instance Attribute Summary collapse
-
#message ⇒ String
Used for extra information.
-
#session_id ⇒ String
A unique id for the session.
-
#state ⇒ String
Disconnected/Failed/NotFound.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BastionSessionState class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
Returns Used for extra information.
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/bastion_session_state.rb', line 19 def @message end |
#session_id ⇒ String
Returns A unique id for the session.
16 17 18 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/bastion_session_state.rb', line 16 def session_id @session_id end |
#state ⇒ String
Disconnected/Failed/NotFound.
23 24 25 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/bastion_session_state.rb', line 23 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for BastionSessionState class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/bastion_session_state.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BastionSessionState', type: { name: 'Composite', class_name: 'BastionSessionState', model_properties: { session_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sessionId', type: { name: 'String' } }, message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'message', type: { name: 'String' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'String' } } } } } end |