IDefinition Interface

Definition

The entirety of the network interface definition.

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithGroup, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetwork, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetworkSubnet, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryPrivateIP, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithPrimaryNetwork>
    interface IWithExistingResourceGroup<IWithPrimaryNetwork>
    interface IWithNewResourceGroup<IWithPrimaryNetwork>
    interface IWithCreatableResourceGroup<IWithPrimaryNetwork>
    interface IWithPrimaryNetwork
    interface IWithPrimaryNetworkSubnet
    interface IWithPrimaryPrivateIP
    interface IWithCreate
    interface ICreatable<INetworkInterface>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithPrimaryPublicIPAddress
    interface IWithNetworkSecurityGroup
    interface IWithSecondaryIPConfiguration
    interface IWithAcceleratedNetworking
    interface IWithLoadBalancer
Public Interface IDefinition
Implements IBlank, ICreatable(Of INetworkInterface), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithPrimaryNetwork), IWithCreate, IWithExistingResourceGroup(Of IWithPrimaryNetwork), IWithGroup, IWithGroup(Of IWithPrimaryNetwork), IWithNewResourceGroup(Of IWithPrimaryNetwork), IWithPrimaryNetwork, IWithPrimaryNetworkSubnet, IWithPrimaryPrivateIP
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
DefineSecondaryIPConfiguration(String)

Starts definition of a secondary IP configuration.

(Inherited from IWithSecondaryIPConfiguration)
WithAcceleratedNetworking()

Enables accelerated networking. Note that additional steps need to be taken in the virtual machine itself for the virtual machine associated with this network interface to be able to take advantage of accelerated networking. This feature might not be available in some regions, virtual machine sizes, or operating system versions. It can be enabled only during the creation of a network interface, not during an update.

(Inherited from IWithAcceleratedNetworking)
WithDnsServer(String)

Specifies the IP address of the custom DNS server to associate with the network interface. Note this method's effect is additive, i.e. each time it is used, the new dns server is added to the network interface.

(Inherited from IWithCreate)
WithExistingLoadBalancerBackend(ILoadBalancer, String)

Associates the network interface's primary IP configuration with a backend of an existing load balancer.

(Inherited from IWithLoadBalancer)
WithExistingLoadBalancerInboundNatRule(ILoadBalancer, String)

Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.

(Inherited from IWithLoadBalancer)
WithExistingNetworkSecurityGroup(INetworkSecurityGroup)

Associates an existing network security group with the network interface.

(Inherited from IWithNetworkSecurityGroup)
WithExistingPrimaryNetwork(INetwork)

Associate an existing virtual network with the network interface's primary IP configuration.

(Inherited from IWithPrimaryNetwork)
WithExistingPrimaryPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the network interface's primary IP configuration.

(Inherited from IWithPrimaryPublicIPAddress)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithInternalDnsNameLabel(String)

Specifies the internal DNS name label for the network interface.

(Inherited from IWithCreate)
WithIPForwarding()

Enables IP forwarding in the network interface.

(Inherited from IWithCreate)
WithNewNetworkSecurityGroup(ICreatable<INetworkSecurityGroup>)

Create a new network security group to associate with network interface, based on the provided definition.

(Inherited from IWithNetworkSecurityGroup)
WithNewPrimaryNetwork(ICreatable<INetwork>)

Create a new virtual network to associate with the network interface's primary IP configuration, based on the provided definition.

(Inherited from IWithPrimaryNetwork)
WithNewPrimaryNetwork(String)

Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

(Inherited from IWithPrimaryNetwork)
WithNewPrimaryNetwork(String, String)

Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

(Inherited from IWithPrimaryNetwork)
WithNewPrimaryPublicIPAddress()

Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration. the internal name and DNS label for the public IP address will be derived from the network interface name.

(Inherited from IWithPrimaryPublicIPAddress)
WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.

(Inherited from IWithPrimaryPublicIPAddress)
WithNewPrimaryPublicIPAddress(String)

Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration. the internal name for the public IP address will be derived from the DNS label.

(Inherited from IWithPrimaryPublicIPAddress)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithPrimaryPrivateIPAddressDynamic()

Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration.

(Inherited from IWithPrimaryPrivateIP)
WithPrimaryPrivateIPAddressStatic(String)

Assigns the specified static private IP address within the specified existing virtual network subnet to the network interface's primary IP configuration.

(Inherited from IWithPrimaryPrivateIP)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithSubnet(String)

Associate a subnet with the network interface's primary IP configuration.

(Inherited from IWithPrimaryNetworkSubnet)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to