Udostępnij za pośrednictwem


IWithOrWithoutPorts<ParentT> Interface

Definition

The stage of the container instance definition allowing to specify (or not) the container ports.

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

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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
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.

(Inherited from IWithPorts<ParentT>)
WithoutPorts()

Specifies that not ports will be opened internally or externally for this container instance.

(Inherited from IWithoutPorts<ParentT>)

Applies to