Class: Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetVMProfile

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#diagnostics_profileDiagnosticsProfile

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

Returns:



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_policyVirtualMachineEvictionPolicyTypes

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

Returns:



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_profileVirtualMachineScaleSetExtensionProfile

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

Returns:



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_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



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_profileVirtualMachineScaleSetNetworkProfile

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

Returns:



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_profileVirtualMachineScaleSetOSProfile

system settings for the virtual machines in the scale set.

Returns:



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

#priorityVirtualMachinePriorityTypes

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

Returns:



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_profileVirtualMachineScaleSetStorageProfile

settings for the virtual machine disks.

Returns:



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

.mapperObject

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