Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb

Overview

Describes a virtual machine scale set network profile's network configurations.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#dns_settingsVirtualMachineScaleSetNetworkConfigurationDnsSettings

settings to be applied on the network interfaces.



35
36
37
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 35

def dns_settings
  @dns_settings
end

#enable_accelerated_networkingBoolean

accelerated networking-enabled.

Returns:

  • (Boolean)

    Specifies whether the network interface is



24
25
26
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 24

def enable_accelerated_networking
  @enable_accelerated_networking
end

#enable_fpgaBoolean

networking-enabled.

Returns:

  • (Boolean)

    Specifies whether the network interface is FPGA



28
29
30
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 28

def enable_fpga
  @enable_fpga
end

#enable_ipforwardingBoolean

Returns Whether IP forwarding enabled on this NIC.

Returns:

  • (Boolean)

    Whether IP forwarding enabled on this NIC.



42
43
44
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 42

def enable_ipforwarding
  @enable_ipforwarding
end

#ip_configurationsArray<VirtualMachineScaleSetUpdateIPConfiguration>

virtual machine scale set IP Configuration.



39
40
41
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 39

def ip_configurations
  @ip_configurations
end

#nameString

Returns The network configuration name.

Returns:

  • (String)

    The network configuration name.



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 17

def name
  @name
end

#network_security_groupSubResource

Returns The network security group.

Returns:



31
32
33
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 31

def network_security_group
  @network_security_group
end

#primaryBoolean

Returns Whether this is a primary NIC on a virtual machine.

Returns:

  • (Boolean)

    Whether this is a primary NIC on a virtual machine.



20
21
22
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 20

def primary
  @primary
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        primary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primary',
          type: {
            name: 'Boolean'
          }
        },
        enable_accelerated_networking: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableAcceleratedNetworking',
          type: {
            name: 'Boolean'
          }
        },
        enable_fpga: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableFpga',
          type: {
            name: 'Boolean'
          }
        },
        network_security_group: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkSecurityGroup',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        dns_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dnsSettings',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings'
          }
        },
        ip_configurations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ipConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualMachineScaleSetUpdateIPConfiguration'
                }
            }
          }
        },
        enable_ipforwarding: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableIPForwarding',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end