Class: Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentDetails
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb
Overview
This represents the details about a User’s environment and its state.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the Environment.
-
#environment_state ⇒ String
values are Creating, Created, Failed.
-
#id ⇒ String
Resource Id of the environment.
-
#latest_operation_result ⇒ LatestOperationResult
ex: status, error.
-
#name ⇒ String
Name of the Environment.
-
#password_last_reset ⇒ DateTime
When the password was last reset on the environment.
-
#provisioning_state ⇒ String
includes LabIsFull and NotYetProvisioned status.
-
#total_usage ⇒ Duration
How long the environment has been used by a lab user.
-
#virtual_machine_details ⇒ VirtualMachineDetails
with compute and network details.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnvironmentDetails class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns Description of the Environment.
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 19 def description @description end |
#environment_state ⇒ String
values are Creating, Created, Failed
38 39 40 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 38 def environment_state @environment_state end |
#id ⇒ String
Returns Resource Id of the environment.
22 23 24 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 22 def id @id end |
#latest_operation_result ⇒ LatestOperationResult
ex: status, error
34 35 36 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 34 def latest_operation_result @latest_operation_result end |
#name ⇒ String
Returns Name of the Environment.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 16 def name @name end |
#password_last_reset ⇒ DateTime
Returns When the password was last reset on the environment.
44 45 46 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 44 def password_last_reset @password_last_reset end |
#provisioning_state ⇒ String
includes LabIsFull and NotYetProvisioned status.
26 27 28 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 26 def provisioning_state @provisioning_state end |
#total_usage ⇒ Duration
Returns How long the environment has been used by a lab user.
41 42 43 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 41 def total_usage @total_usage end |
#virtual_machine_details ⇒ VirtualMachineDetails
with compute and network details.
30 31 32 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 30 def virtual_machine_details @virtual_machine_details end |
Class Method Details
.mapper ⇒ Object
Mapper for EnvironmentDetails class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_details.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvironmentDetails', type: { name: 'Composite', class_name: 'EnvironmentDetails', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'description', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, virtual_machine_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachineDetails', type: { name: 'Composite', class_name: 'VirtualMachineDetails' } }, latest_operation_result: { client_side_validation: true, required: false, read_only: true, serialized_name: 'latestOperationResult', type: { name: 'Composite', class_name: 'LatestOperationResult' } }, environment_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'environmentState', type: { name: 'String' } }, total_usage: { client_side_validation: true, required: false, read_only: true, serialized_name: 'totalUsage', type: { name: 'TimeSpan' } }, password_last_reset: { client_side_validation: true, required: false, read_only: true, serialized_name: 'passwordLastReset', type: { name: 'DateTime' } } } } } end |