Class: Azure::Compute::Mgmt::V2018_10_01::Models::VirtualMachineScaleSetVMProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_10_01::Models::VirtualMachineScaleSetVMProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-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
-
#additional_capabilities ⇒ AdditionalCapabilities
enabled or disabled on the virtual machine in the scale set.
-
#diagnostics_profile ⇒ DiagnosticsProfile
state.
-
#eviction_policy ⇒ VirtualMachineEvictionPolicyTypes
policy for virtual machines in a low priority scale set.
-
#extension_profile ⇒ VirtualMachineScaleSetExtensionProfile
of settings for extensions installed on virtual machines in the scale set.
-
#license_type ⇒ String
was licensed on-premises.
-
#network_profile ⇒ VirtualMachineScaleSetNetworkProfile
the network interfaces of the virtual machines in the scale set.
-
#os_profile ⇒ VirtualMachineScaleSetOSProfile
system settings for the virtual machines in the scale set.
-
#priority ⇒ VirtualMachinePriorityTypes
virtual machines in the scale set.
-
#storage_profile ⇒ VirtualMachineScaleSetStorageProfile
settings for the virtual machine disks.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetVMProfile class as Ruby Hash.
Instance Attribute Details
#additional_capabilities ⇒ AdditionalCapabilities
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.
27 28 29 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 27 def additional_capabilities @additional_capabilities end |
#diagnostics_profile ⇒ DiagnosticsProfile
state.
Minimum api-version: 2015-06-15.
35 36 37 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 35 def diagnostics_profile @diagnostics_profile end |
#eviction_policy ⇒ VirtualMachineEvictionPolicyTypes
policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
62 63 64 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 62 def eviction_policy @eviction_policy end |
#extension_profile ⇒ VirtualMachineScaleSetExtensionProfile
of settings for extensions installed on virtual machines in the scale set.
40 41 42 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 40 def extension_profile @extension_profile end |
#license_type ⇒ String
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
51 52 53 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 51 def license_type @license_type end |
#network_profile ⇒ VirtualMachineScaleSetNetworkProfile
the network interfaces of the virtual machines in the scale set.
31 32 33 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 31 def network_profile @network_profile end |
#os_profile ⇒ VirtualMachineScaleSetOSProfile
system settings for the virtual machines in the scale set.
17 18 19 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 17 def os_profile @os_profile end |
#priority ⇒ VirtualMachinePriorityTypes
virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'
56 57 58 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 56 def priority @priority end |
#storage_profile ⇒ VirtualMachineScaleSetStorageProfile
settings for the virtual machine disks.
21 22 23 |
# File 'lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 21 def storage_profile @storage_profile end |
Class Method Details
.mapper ⇒ Object
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-10-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 |