Class: Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentSetting

Inherits:
Resource
  • Object
show all
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

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#configuration_stateConfigurationState

configuring their environment setting. Possible values include: ‘NotApplicable’, ‘Completed’

Returns:



24
25
26
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 24

def configuration_state
  @configuration_state
end

#descriptionString

Returns Describes the environment and its resource settings.

Returns:

  • (String)

    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_changedDateTime

Returns Time when the template VM was last changed.

Returns:

  • (DateTime)

    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_publishedDateTime

publishing.

Returns:

  • (DateTime)

    Time when the template VM was last sent for



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_resultLatestOperationResult

ex: status, error

Returns:



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_stateString

Returns The provisioning status of the resource.

Returns:

  • (String)

    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_statePublishingState

setting. Possible values include: ‘Draft’, ‘Publishing’, ‘Published’, ‘PublishFailed’, ‘Scaling’

Returns:



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_settingsResourceSettings

Returns The resource specific settings.

Returns:



34
35
36
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 34

def resource_settings
  @resource_settings
end

#titleString

resource settings

Returns:

  • (String)

    Brief title describing the environment and its



31
32
33
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_setting.rb', line 31

def title
  @title
end

#unique_identifierString

Returns The unique immutable identifier of a resource (Guid).

Returns:

  • (String)

    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

.mapperObject

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