Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineScaleSetVMProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-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

#billing_profileBillingProfile

Azure Spot VMSS.
Minimum api-version: 2019-03-01.

Returns:



68
69
70
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 68

def billing_profile
  @billing_profile
end

#diagnostics_profileDiagnosticsProfile

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

Returns:



33
34
35
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 33

def diagnostics_profile
  @diagnostics_profile
end

#eviction_policyVirtualMachineEvictionPolicyTypes

policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

Returns:



64
65
66
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 64

def eviction_policy
  @eviction_policy
end

#extension_profileVirtualMachineScaleSetExtensionProfile

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

Returns:



38
39
40
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 38

def extension_profile
  @extension_profile
end

#license_typeString

was licensed on-premises.
Possible values for Windows Server operating system are:
Windows_Client
Windows_Server
Possible values for Linux Server operating system are:
RHEL_BYOS (for RHEL)
SLES_BYOS (for SUSE)
For more information, see [Azure Hybrid Use Benefit for Windows Server](docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
[Azure Hybrid Use Benefit for Linux Server](docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
Minimum api-version: 2015-06-15

Returns:

  • (String)

    Specifies that the image or disk that is being used



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

def license_type
  @license_type
end

#network_profileVirtualMachineScaleSetNetworkProfile

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

Returns:



25
26
27
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 25

def network_profile
  @network_profile
end

#os_profileVirtualMachineScaleSetOSProfile

system settings for the virtual machines in the scale set.

Returns:



17
18
19
# File 'lib/2020-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', 'Spot'

Returns:



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

def priority
  @priority
end

#scheduled_events_profileScheduledEventsProfile

configurations.

Returns:



72
73
74
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 72

def scheduled_events_profile
  @scheduled_events_profile
end

#security_profileSecurityProfile

settings for the virtual machines in the scale set.

Returns:



29
30
31
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 29

def security_profile
  @security_profile
end

#storage_profileVirtualMachineScaleSetStorageProfile

settings for the virtual machine disks.

Returns:



21
22
23
# File 'lib/2020-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.



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

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'
          }
        },
        network_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetNetworkProfile'
          }
        },
        security_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'securityProfile',
          type: {
            name: 'Composite',
            class_name: 'SecurityProfile'
          }
        },
        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'
          }
        },
        billing_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'billingProfile',
          type: {
            name: 'Composite',
            class_name: 'BillingProfile'
          }
        },
        scheduled_events_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scheduledEventsProfile',
          type: {
            name: 'Composite',
            class_name: 'ScheduledEventsProfile'
          }
        }
      }
    }
  }
end