Class: Azure::Compute::Mgmt::V2019_12_01::Models::GalleryImageUpdate

Inherits:
UpdateResourceDefinition show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb

Overview

Specifies information about the gallery Image Definition that you want to update.

Instance Attribute Summary collapse

Attributes inherited from UpdateResourceDefinition

#id, #name, #tags, #type

Class Method Summary collapse

Instance Attribute Details

#descriptionString

resource. This property is updatable.

Returns:

  • (String)

    The description of this gallery Image Definition



18
19
20
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 18

def description
  @description
end

#disallowedDisallowed

Returns:



58
59
60
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 58

def disallowed
  @disallowed
end

#end_of_life_dateDateTime

Definition. This property can be used for decommissioning purposes. This property is updatable.

Returns:

  • (DateTime)

    The end of life date of the gallery Image



49
50
51
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 49

def end_of_life_date
  @end_of_life_date
end

#eulaString

Returns The Eula agreement for the gallery Image Definition.

Returns:

  • (String)

    The Eula agreement for the gallery Image Definition.



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 21

def eula
  @eula
end

#hyper_vgenerationHyperVGeneration

Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

Returns:



44
45
46
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 44

def hyper_vgeneration
  @hyper_vgeneration
end

#identifierGalleryImageIdentifier



52
53
54
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 52

def identifier
  @identifier
end

#os_stateOperatingSystemStateTypes

specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'

Returns:



39
40
41
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 39

def os_state
  @os_state
end

#os_typeOperatingSystemTypes

type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
*Windows*
*Linux*. Possible values include: 'Windows', 'Linux'

Returns:



33
34
35
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 33

def os_type
  @os_type
end

#privacy_statement_uriString

Returns The privacy statement uri.

Returns:

  • (String)

    The privacy statement uri.



24
25
26
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 24

def privacy_statement_uri
  @privacy_statement_uri
end

#provisioning_stateEnum

provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

Returns:

  • (Enum)

    The current state of the gallery Image Definition. The



67
68
69
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 67

def provisioning_state
  @provisioning_state
end

#purchase_planImagePurchasePlan

Returns:



61
62
63
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 61

def purchase_plan
  @purchase_plan
end


55
56
57
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 55

def recommended
  @recommended
end

#release_note_uriString

Returns The release note uri.

Returns:

  • (String)

    The release note uri.



27
28
29
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 27

def release_note_uri
  @release_note_uri
end

Class Method Details

.mapperObject

Mapper for GalleryImageUpdate class as Ruby Hash. This will be used for serialization/deserialization.



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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb', line 74

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryImageUpdate',
    type: {
      name: 'Composite',
      class_name: 'GalleryImageUpdate',
      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'
          }
        },
        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'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        eula: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.eula',
          type: {
            name: 'String'
          }
        },
        privacy_statement_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.privacyStatementUri',
          type: {
            name: 'String'
          }
        },
        release_note_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.releaseNoteUri',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.osType',
          type: {
            name: 'Enum',
            module: 'OperatingSystemTypes'
          }
        },
        os_state: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.osState',
          type: {
            name: 'Enum',
            module: 'OperatingSystemStateTypes'
          }
        },
        hyper_vgeneration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hyperVGeneration',
          type: {
            name: 'String'
          }
        },
        end_of_life_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endOfLifeDate',
          type: {
            name: 'DateTime'
          }
        },
        identifier: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.identifier',
          type: {
            name: 'Composite',
            class_name: 'GalleryImageIdentifier'
          }
        },
        recommended: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recommended',
          type: {
            name: 'Composite',
            class_name: 'RecommendedMachineConfiguration'
          }
        },
        disallowed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.disallowed',
          type: {
            name: 'Composite',
            class_name: 'Disallowed'
          }
        },
        purchase_plan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.purchasePlan',
          type: {
            name: 'Composite',
            class_name: 'ImagePurchasePlan'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end