Class: Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSet

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

Overview

Represents a VM and the setting Id it was created for.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#resource_setting_idString

Returns resourceSettingId for the environment.

Returns:

  • (String)

    resourceSettingId for the environment



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

def resource_setting_id
  @resource_setting_id
end

#vm_resource_idString

Returns VM resource Id for the environment.

Returns:

  • (String)

    VM resource Id for the environment



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

def vm_resource_id
  @vm_resource_id
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_set.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceSet',
    type: {
      name: 'Composite',
      class_name: 'ResourceSet',
      model_properties: {
        vm_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmResourceId',
          type: {
            name: 'String'
          }
        },
        resource_setting_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceSettingId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end