Class VirtualMachineScaleSetNetworkConfiguration
Describes a virtual machine scale set network profile's network configurations.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineScaleSetNetworkConfiguration : Microsoft.Azure.Management.Compute.Models.SubResource
Constructors
VirtualMachineScaleSetNetworkConfiguration()
Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.
Declaration
public VirtualMachineScaleSetNetworkConfiguration ();
VirtualMachineScaleSetNetworkConfiguration(String, IList<VirtualMachineScaleSetIPConfiguration>, String, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualMachineScaleSetNetworkConfigurationDnsSettings, Nullable<Boolean>)
Initializes a new instance of the VirtualMachineScaleSetNetworkConfiguration class.
Declaration
public VirtualMachineScaleSetNetworkConfiguration (string name, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> ipConfigurations, string id = null, Nullable<bool> primary = null, Nullable<bool> enableAcceleratedNetworking = null, Microsoft.Azure.Management.Compute.Models.SubResource networkSecurityGroup = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = null, Nullable<bool> enableIPForwarding = null);
Parameters
|
String
name
The network configuration name. |
|
IList<VirtualMachineScaleSetIPConfiguration>
ipConfigurations
Specifies the IP configurations of the network interface. |
|
String
id
Resource Id |
|
Nullable<Boolean>
primary
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
|
Nullable<Boolean>
enableAcceleratedNetworking
Specifies whether the network interface is accelerated networking-enabled. |
|
SubResource
networkSecurityGroup
The network security group. |
|
VirtualMachineScaleSetNetworkConfigurationDnsSettings
dnsSettings
The dns settings to be applied on the network interfaces. |
|
Nullable<Boolean>
enableIPForwarding
Whether IP forwarding enabled on this NIC. |
Properties
DnsSettings
Gets or sets the dns settings to be applied on the network interfaces.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.dnsSettings")]
public Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkConfigurationDnsSettings DnsSettings { get; set; }
Property Value
|
VirtualMachineScaleSetNetworkConfigurationDnsSettings
|
EnableAcceleratedNetworking
Gets or sets specifies whether the network interface is accelerated networking-enabled.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.enableAcceleratedNetworking")]
public Nullable<bool> EnableAcceleratedNetworking { get; set; }
Property Value
|
Nullable<Boolean>
|
EnableIPForwarding
Gets or sets whether IP forwarding enabled on this NIC.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.enableIPForwarding")]
public Nullable<bool> EnableIPForwarding { get; set; }
Property Value
|
Nullable<Boolean>
|
IpConfigurations
Gets or sets specifies the IP configurations of the network interface.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.ipConfigurations")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIPConfiguration> IpConfigurations { get; set; }
Property Value
|
IList<VirtualMachineScaleSetIPConfiguration>
|
Name
Gets or sets the network configuration name.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
|
String
|
NetworkSecurityGroup
Gets or sets the network security group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.networkSecurityGroup")]
public Microsoft.Azure.Management.Compute.Models.SubResource NetworkSecurityGroup { get; set; }
Property Value
|
SubResource
|
Primary
Gets or sets specifies the primary network interface in case the virtual machine has more than 1 network interface.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.primary")]
public Nullable<bool> Primary { get; set; }
Property Value
|
Nullable<Boolean>
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |