Compartir a través de


NetworkInterface Class

Definition

A network interface in a resource group.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkInterfaceTypeConverter))]
public class NetworkInterface : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkInterface, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkInterfaceTypeConverter))>]
type NetworkInterface = class
    interface INetworkInterface
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class NetworkInterface
Implements INetworkInterface, IValidates
Inheritance
NetworkInterface
Attributes
Implements

Constructors

NetworkInterface()

Creates an new NetworkInterface instance.

Properties

Alias

The alias of the private link service.

ApplicationSecurityGroup

Application security groups in which the private endpoint IP configuration is included.

AutoApprovalSubscription

The list of subscriptions.

CustomDnsConfig

An array of custom dns configurations.

CustomNetworkInterfaceName

The custom name of the network interface attached to the private endpoint.

DefaultSecurityRule

The default security rules of network security group.

DnsSettingAppliedDnsServer

If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.

DnsSettingDnsServer

List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.

DnsSettingInternalDnsNameLabel

Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

DnsSettingInternalDomainNameSuffix

Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.

DnsSettingInternalFqdn

Fully qualified DNS name supporting internal communications between VMs in the same virtual network.

DscpConfigurationId

Resource ID.

EnableAcceleratedNetworking

If the network interface is accelerated networking enabled.

EnableIPForwarding

Indicates whether IP forwarding is enabled on this network interface.

EnableProxyProtocol

Whether the private link service is enabled for proxy protocol or not.

Etag

A unique read-only string that changes whenever the resource is updated.

ExtendedLocationName

The name of the extended location.

ExtendedLocationType

The type of the extended location.

FlowLog

A collection of references to flow log resources.

Fqdn

The list of Fqdn.

HostedWorkload

A list of references to linked BareMetal resources.

Id

Resource ID.

IPConfiguration

A list of IPConfigurations of the network interface.

LoadBalancerFrontendIPConfiguration

An array of references to the load balancer IP configurations.

Location

Resource location.

MacAddress

The MAC address of the network interface.

ManualPrivateLinkServiceConnection

A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.

MigrationPhase

Migration phase of Network Interface resource.

Name

Resource name.

NetworkSecurityGroupEtag

A unique read-only string that changes whenever the resource is updated.

NetworkSecurityGroupId

Resource ID.

NetworkSecurityGroupLocation

Resource location.

NetworkSecurityGroupName

Resource name.

NetworkSecurityGroupPropertiesNetworkInterface

A collection of references to network interfaces.

NetworkSecurityGroupPropertiesProvisioningState

The provisioning state of the network security group resource.

NetworkSecurityGroupPropertiesResourceGuid

The resource GUID property of the network security group resource.

NetworkSecurityGroupTag

Resource tags.

NetworkSecurityGroupType

Resource type.

NicType

Type of Network Interface resource.

Primary

Whether this is a primary network interface on a virtual machine.

PrivateEndpointConnection

An array of list about connections to the private endpoint.

PrivateEndpointEtag

A unique read-only string that changes whenever the resource is updated.

PrivateEndpointExtendedLocationName

The name of the extended location.

PrivateEndpointExtendedLocationType

The type of the extended location.

PrivateEndpointId

Resource ID.

PrivateEndpointLocation

Resource location.

PrivateEndpointName

Resource name.

PrivateEndpointPropertiesIPConfiguration

A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.

PrivateEndpointPropertiesNetworkInterface

An array of references to the network interfaces created for this private endpoint.

PrivateEndpointPropertiesProvisioningState

The provisioning state of the private endpoint resource.

PrivateEndpointTag

Resource tags.

PrivateEndpointType

Resource type.

PrivateLinkServiceConnection

A grouping of information about the connection to the remote resource.

PrivateLinkServiceEtag

A unique read-only string that changes whenever the resource is updated.

PrivateLinkServiceExtendedLocationName

The name of the extended location.

PrivateLinkServiceExtendedLocationType

The type of the extended location.

PrivateLinkServiceId

Resource ID.

PrivateLinkServiceLocation

Resource location.

PrivateLinkServiceName

Resource name.

PrivateLinkServicePropertiesIPConfiguration

An array of private link service IP configurations.

PrivateLinkServicePropertiesNetworkInterface

An array of references to the network interfaces created for this private link service.

PrivateLinkServicePropertiesProvisioningState

The provisioning state of the private link service resource.

PrivateLinkServiceTag

Resource tags.

PrivateLinkServiceType

Resource type.

PropertiesNetworkSecurityGroupPropertiesSubnets

A collection of references to subnets.

ProvisioningState

The provisioning state of the network interface resource.

ResourceGuid

The resource GUID property of the network interface resource.

SecurityRule

A collection of security rules of the network security group.

Subnet

The ID of the subnet from which the private IP will be allocated.

Tag

Resource tags.

TapConfiguration

A list of TapConfigurations of the network interface.

Type

Resource type.

VirtualMachineId

Resource ID.

VisibilitySubscription

The list of subscriptions.

WorkloadType

WorkloadType of the NetworkInterface for BareMetal resources

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkInterface.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkInterface.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkInterface.

FromJsonString(String)

Creates a new instance of NetworkInterface, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkInterface into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to