Class: Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentSetting
- Inherits:
-
Resource
- Object
- Resource
- Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentSetting
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb
Overview
Represents settings of an environment, from which environment instances would be created
Instance Attribute Summary collapse
-
#configuration_state ⇒ ConfigurationState
configuring their environment setting.
-
#description ⇒ String
Describes the environment and its resource settings.
-
#last_changed ⇒ DateTime
Time when the template VM was last changed.
-
#last_published ⇒ DateTime
publishing.
-
#latest_operation_result ⇒ LatestOperationResult
ex: status, error.
-
#provisioning_state ⇒ String
The provisioning status of the resource.
-
#publishing_state ⇒ PublishingState
setting.
-
#resource_settings ⇒ ResourceSettings
The resource specific settings.
-
#title ⇒ String
resource settings.
-
#unique_identifier ⇒ String
The unique immutable identifier of a resource (Guid).
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnvironmentSetting class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#configuration_state ⇒ ConfigurationState
configuring their environment setting. Possible values include: ‘NotApplicable’, ‘Completed’
24 25 26 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 24 def configuration_state @configuration_state end |
#description ⇒ String
Returns Describes the environment and its resource settings.
27 28 29 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 27 def description @description end |
#last_changed ⇒ DateTime
Returns Time when the template VM was last changed.
37 38 39 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 37 def last_changed @last_changed end |
#last_published ⇒ DateTime
publishing.
41 42 43 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 41 def last_published @last_published end |
#latest_operation_result ⇒ LatestOperationResult
ex: status, error
51 52 53 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 51 def latest_operation_result @latest_operation_result end |
#provisioning_state ⇒ String
Returns The provisioning status of the resource.
44 45 46 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 44 def provisioning_state @provisioning_state end |
#publishing_state ⇒ PublishingState
setting. Possible values include: ‘Draft’, ‘Publishing’, ‘Published’, ‘PublishFailed’, ‘Scaling’
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 19 def publishing_state @publishing_state end |
#resource_settings ⇒ ResourceSettings
Returns The resource specific settings.
34 35 36 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 34 def resource_settings @resource_settings end |
#title ⇒ String
resource settings
31 32 33 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 31 def title @title end |
#unique_identifier ⇒ String
Returns The unique immutable identifier of a resource (Guid).
47 48 49 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 47 def unique_identifier @unique_identifier end |
Class Method Details
.mapper ⇒ Object
Mapper for EnvironmentSetting class as Ruby Hash. This will be used for serialization/deserialization.
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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvironmentSetting', type: { name: 'Composite', class_name: 'EnvironmentSetting', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, publishing_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publishingState', type: { name: 'String' } }, configuration_state: { client_side_validation: true, required: false, serialized_name: 'properties.configurationState', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, title: { client_side_validation: true, required: false, serialized_name: 'properties.title', type: { name: 'String' } }, resource_settings: { client_side_validation: true, required: true, serialized_name: 'properties.resourceSettings', type: { name: 'Composite', class_name: 'ResourceSettings' } }, last_changed: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastChanged', type: { name: 'DateTime' } }, last_published: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastPublished', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, unique_identifier: { client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { name: 'String' } }, latest_operation_result: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestOperationResult', type: { name: 'Composite', class_name: 'LatestOperationResult' } } } } } end |