Class: Azure::Compute::Mgmt::V2020_06_01::Models::VMScaleSetConvertToSinglePlacementGroupInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#active_placement_group_idString

virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances.

Returns:

  • (String)

    Id of the placement group in which you want future



21
22
23
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb', line 21

def active_placement_group_id
  @active_placement_group_id
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VMScaleSetConvertToSinglePlacementGroupInput',
    type: {
      name: 'Composite',
      class_name: 'VMScaleSetConvertToSinglePlacementGroupInput',
      model_properties: {
        active_placement_group_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'activePlacementGroupId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end