Class: Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile

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

Overview

Describes a virtual machine scale set virtual machine profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_capabilitiesAdditionalCapabilities

enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.

Returns:



27
28
29
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 27

def additional_capabilities
  @additional_capabilities
end

#diagnostics_profileDiagnosticsProfile

state.
Minimum api-version: 2015-06-15.

Returns:



35
36
37
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 35

def diagnostics_profile
  @diagnostics_profile
end

#eviction_policyVirtualMachineEvictionPolicyTypes

policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

Returns:



62
63
64
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 62

def eviction_policy
  @eviction_policy
end

#extension_profileVirtualMachineScaleSetExtensionProfile

of settings for extensions installed on virtual machines in the scale set.

Returns:



40
41
42
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 40

def extension_profile
  @extension_profile
end

#license_typeString

was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15

Returns:

  • (String)

    Specifies that the image or disk that is being used



51
52
53
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 51

def license_type
  @license_type
end

#network_profileVirtualMachineScaleSetNetworkProfile

the network interfaces of the virtual machines in the scale set.

Returns:



31
32
33
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 31

def network_profile
  @network_profile
end

#os_profileVirtualMachineScaleSetOSProfile

system settings for the virtual machines in the scale set.

Returns:



17
18
19
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 17

def os_profile
  @os_profile
end

#priorityVirtualMachinePriorityTypes

virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'

Returns:



56
57
58
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 56

def priority
  @priority
end

#storage_profileVirtualMachineScaleSetStorageProfile

settings for the virtual machine disks.

Returns:



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

def storage_profile
  @storage_profile
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 69

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineScaleSetVMProfile',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetVMProfile',
      model_properties: {
        os_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetOSProfile'
          }
        },
        storage_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetStorageProfile'
          }
        },
        additional_capabilities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'additionalCapabilities',
          type: {
            name: 'Composite',
            class_name: 'AdditionalCapabilities'
          }
        },
        network_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetNetworkProfile'
          }
        },
        diagnostics_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diagnosticsProfile',
          type: {
            name: 'Composite',
            class_name: 'DiagnosticsProfile'
          }
        },
        extension_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensionProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetExtensionProfile'
          }
        },
        license_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'licenseType',
          type: {
            name: 'String'
          }
        },
        priority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'priority',
          type: {
            name: 'String'
          }
        },
        eviction_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'evictionPolicy',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end