# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2017_03_30 module Models # # Describes a virtual machine scale set network profile's network # configurations. # class VirtualMachineScaleSetUpdateNetworkConfiguration < SubResource include MsRestAzure # @return [String] The network configuration name. attr_accessor :name # @return [Boolean] Whether this is a primary NIC on a virtual machine. attr_accessor :primary # @return [Boolean] Specifies whether the network interface is # accelerated networking-enabled. attr_accessor :enable_accelerated_networking # @return [SubResource] The network security group. attr_accessor :network_security_group # @return [VirtualMachineScaleSetNetworkConfigurationDnsSettings] The dns # settings to be applied on the network interfaces. attr_accessor :dns_settings # @return [Array] The # virtual machine scale set IP Configuration. attr_accessor :ip_configurations # # Mapper for VirtualMachineScaleSetUpdateNetworkConfiguration class as # Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, 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: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateIPConfiguration' } } } } } } } end end end end