Class: Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSettingCreationParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb

Overview

Represents resource specific settings

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

the virtual machine

Returns:

  • (String)

    The resource id of the gallery image used for creating



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

def gallery_image_resource_id
  @gallery_image_resource_id
end

#locationString

Returns The location where the virtual machine will live.

Returns:

  • (String)

    The location where the virtual machine will live



16
17
18
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 16

def location
  @location
end

#nameString

Returns The name of the resource setting.

Returns:

  • (String)

    The name of the resource setting



19
20
21
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 19

def name
  @name
end

#reference_vm_creation_parametersReferenceVmCreationParameters

Reference Vm

Returns:



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

def reference_vm_creation_parameters
  @reference_vm_creation_parameters
end

#sizeManagedLabVmSize

values include: ‘Basic’, ‘Standard’, ‘Performance’

Returns:



27
28
29
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 27

def size
  @size
end

Class Method Details

.mapperObject

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



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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceSettingCreationParameters',
    type: {
      name: 'Composite',
      class_name: 'ResourceSettingCreationParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        gallery_image_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'galleryImageResourceId',
          type: {
            name: 'String'
          }
        },
        size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'size',
          type: {
            name: 'String'
          }
        },
        reference_vm_creation_parameters: {
          client_side_validation: true,
          required: true,
          serialized_name: 'referenceVmCreationParameters',
          type: {
            name: 'Composite',
            class_name: 'ReferenceVmCreationParameters'
          }
        }
      }
    }
  }
end