Udostępnij za pośrednictwem


IWithCreate Interface

Definition

The stage of the network interface definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.

public interface IWithCreate : Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithAcceleratedNetworking, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithLoadBalancer, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithNetworkSecurityGroup, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryPublicIPAddress, Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithSecondaryIPConfiguration, 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 IWithCreate = interface
    interface ICreatable<INetworkInterface>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithPrimaryPublicIPAddress
    interface IWithNetworkSecurityGroup
    interface IWithSecondaryIPConfiguration
    interface IWithAcceleratedNetworking
    interface IWithLoadBalancer
Public Interface IWithCreate
Implements ICreatable(Of INetworkInterface), IDefinitionWithTags(Of IWithCreate), IWithAcceleratedNetworking, IWithLoadBalancer, IWithNetworkSecurityGroup, IWithPrimaryPublicIPAddress, IWithSecondaryIPConfiguration
Derived
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.

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)
WithExistingPrimaryPublicIPAddress(IPublicIPAddress)

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

(Inherited from IWithPrimaryPublicIPAddress)
WithInternalDnsNameLabel(String)

Specifies the internal DNS name label for the network interface.

WithIPForwarding()

Enables IP forwarding in the network interface.

WithNewNetworkSecurityGroup(ICreatable<INetworkSecurityGroup>)

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

(Inherited from IWithNetworkSecurityGroup)
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)
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