다음을 통해 공유


IWithPorts<ParentT> Interface

Definition

The stage of the container instance definition allowing to specify the container ports.

public interface IWithPorts<ParentT> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithPorts<'ParentT> = interface
    interface IBeta
Public Interface IWithPorts(Of ParentT)
Implements IBeta

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Derived
Implements

Methods

WithExternalTcpPort(Int32)

Specifies the container's TCP port available to external clients. A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.

WithExternalTcpPorts(Int32[])

Specifies the container's TCP ports available to external clients. A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.

WithExternalUdpPort(Int32)

Specifies the container's UDP port available to external clients. A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.

WithExternalUdpPorts(Int32[])

Specifies the container's UDP ports available to external clients. A public IP address will be create to allow external clients to reach the containers within the group. To enable external clients to reach a container within the group, you must expose the port on the IP address and from the container. Because containers within the group share a port namespace, port mapping is not supported.

WithInternalTcpPort(Int32)

Specifies the container's TCP port is available to internal clients only (other container instances within the container group). Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.

WithInternalTcpPorts(Int32[])

Specifies the container's TCP ports are available to internal clients only (other container instances within the container group). Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.

WithInternalUdpPort(Int32)

Specifies the container's UDP port is available to internal clients only (other container instances within the container group). Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.

WithInternalUdpPorts(Int32[])

Specifies the container's Udp ports are available to internal clients only (other container instances within the container group). Containers within a group can reach each other via localhost on the ports that they have exposed, even if those ports are not exposed externally on the group's IP address.

Applies to