Class: Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetVMProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetVMProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-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
-
#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
#diagnostics_profile ⇒ DiagnosticsProfile
state.
Minimum api-version: 2015-06-15.
29 30 31 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 29 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'
56 57 58 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 56 def eviction_policy @eviction_policy end |
#extension_profile ⇒ VirtualMachineScaleSetExtensionProfile
of settings for extensions installed on virtual machines in the scale set.
34 35 36 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 34 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
45 46 47 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 45 def license_type @license_type end |
#network_profile ⇒ VirtualMachineScaleSetNetworkProfile
the network interfaces of the virtual machines in the scale set.
25 26 27 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 25 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-04-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'
50 51 52 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 50 def priority @priority end |
#storage_profile ⇒ VirtualMachineScaleSetStorageProfile
settings for the virtual machine disks.
21 22 23 |
# File 'lib/2018-04-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.
63 64 65 66 67 68 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 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb', line 63 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' } }, 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 |