Class: Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkConfiguration
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb
Overview
Describes a virtual machine scale set network profile's network configurations.
Instance Attribute Summary collapse
-
#ip_configurations ⇒ Array<VirtualMachineScaleSetIPConfiguration>
machine scale set IP Configuration.
-
#name ⇒ String
The network configuration name.
-
#primary ⇒ Boolean
Whether this is a primary NIC on a virtual machine.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetNetworkConfiguration class as Ruby Hash.
Instance Attribute Details
#ip_configurations ⇒ Array<VirtualMachineScaleSetIPConfiguration>
machine scale set IP Configuration.
24 25 26 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 24 def ip_configurations @ip_configurations end |
#name ⇒ String
Returns The network configuration name.
17 18 19 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 17 def name @name end |
#primary ⇒ Boolean
Returns Whether this is a primary NIC on a virtual machine.
20 21 22 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 20 def primary @primary end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetNetworkConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, primary: { client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { name: 'Boolean' } }, ip_configurations: { client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetIPConfiguration' } } } } } } } end |