Class: Azure::ARM::Compute::Models::VirtualMachineScaleSetNetworkConfiguration

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

Class Method Summary collapse

Instance Attribute Details

#dns_settingsVirtualMachineScaleSetNetworkConfigurationDnsSettings

settings to be applied on the network interfaces.



33
34
35
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 33

def dns_settings
  @dns_settings
end

#enable_accelerated_networkingBoolean

accelerated networking-enabled.

Returns:

  • (Boolean)

    Specifies whether the network interface is



26
27
28
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 26

def enable_accelerated_networking
  @enable_accelerated_networking
end

#ip_configurationsArray<VirtualMachineScaleSetIPConfiguration>

configurations of the network interface.

Returns:



37
38
39
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 37

def ip_configurations
  @ip_configurations
end

#nameString

Returns The network configuration name.

Returns:

  • (String)

    The network configuration name.



18
19
20
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 18

def name
  @name
end

#network_security_groupSubResource

Returns The network security group.

Returns:

  • (SubResource)

    The network security group.



29
30
31
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 29

def network_security_group
  @network_security_group
end

#primaryBoolean

virtual machine has more than 1 network interface.

Returns:

  • (Boolean)

    Specifies the primary network interface in case the



22
23
24
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 22

def primary
  @primary
end

Class Method Details

.mapperObject

Mapper for VirtualMachineScaleSetNetworkConfiguration class as Ruby Hash. This will be used for serialization/deserialization.



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
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
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb', line 45

def self.mapper()
  {
    required: false,
    serialized_name: 'VirtualMachineScaleSetNetworkConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetNetworkConfiguration',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        primary: {
          required: false,
          serialized_name: 'properties.primary',
          type: {
            name: 'Boolean'
          }
        },
        enable_accelerated_networking: {
          required: false,
          serialized_name: 'properties.enableAcceleratedNetworking',
          type: {
            name: 'Boolean'
          }
        },
        network_security_group: {
          required: false,
          serialized_name: 'properties.networkSecurityGroup',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        dns_settings: {
          required: false,
          serialized_name: 'properties.dnsSettings',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings'
          }
        },
        ip_configurations: {
          required: true,
          serialized_name: 'properties.ipConfigurations',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualMachineScaleSetIPConfiguration'
                }
            }
          }
        }
      }
    }
  }
end