共用方式為


IWithPrimaryPublicIPAddress Interface

Definition

The stage of the network interface definition allowing to associate public IP address with it's primary IP configuration.

public interface IWithPrimaryPublicIPAddress
type IWithPrimaryPublicIPAddress = interface
Public Interface IWithPrimaryPublicIPAddress
Derived

Methods

WithExistingPrimaryPublicIPAddress(IPublicIPAddress)

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

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.

WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

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

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.

Applies to