다음을 통해 공유


IWithPortsOrContainerInstanceAttach<ParentT> Interface

Definition

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

public interface IWithPortsOrContainerInstanceAttach<ParentT> : Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCpuCoreCount<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithEnvironmentVariables<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithGpuResource<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithMemorySize<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPorts<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithStartingCommandLine<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithStartingCommandLineBeta<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolumeMountSetting<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithPortsOrContainerInstanceAttach<'ParentT> = interface
    interface IWithPorts<'ParentT>
    interface IBeta
    interface IWithContainerInstanceAttach<'ParentT>
    interface IWithCpuCoreCount<'ParentT>
    interface IWithGpuResource<'ParentT>
    interface IWithMemorySize<'ParentT>
    interface IWithStartingCommandLine<'ParentT>
    interface IWithStartingCommandLineBeta<'ParentT>
    interface IWithEnvironmentVariables<'ParentT>
    interface IWithVolumeMountSetting<'ParentT>
    interface IInDefinition<'ParentT>
Public Interface IWithPortsOrContainerInstanceAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithContainerInstanceAttach(Of ParentT), IWithCpuCoreCount(Of ParentT), IWithEnvironmentVariables(Of ParentT), IWithGpuResource(Of ParentT), IWithMemorySize(Of ParentT), IWithPorts(Of ParentT), IWithStartingCommandLine(Of ParentT), IWithStartingCommandLineBeta(Of ParentT), IWithVolumeMountSetting(Of ParentT)

Type Parameters

ParentT

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

Derived
Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
WithCpuCoreCount(Double)

Specifies the number of CPU cores assigned to this container instance.

(Inherited from IWithCpuCoreCount<ParentT>)
WithEnvironmentVariable(String, String)

Specifies the environment variable.

(Inherited from IWithEnvironmentVariables<ParentT>)
WithEnvironmentVariables(IDictionary<String,String>)

Specifies the environment variables.

(Inherited from IWithEnvironmentVariables<ParentT>)
WithEnvironmentVariablesWithSecuredValue(IDictionary<String,String>)

Specifies a collection of name and secure value pairs for the environment variables.

(Inherited from IWithEnvironmentVariables<ParentT>)
WithEnvironmentVariableWithSecuredValue(String, String)

Specifies the environment variable that has a secured value.

(Inherited from IWithEnvironmentVariables<ParentT>)
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>)
WithGpuResource(Int32, GpuSku) (Inherited from IWithGpuResource<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>)
WithMemorySizeInGB(Double)

Specifies the memory size in GB assigned to this container instance.

(Inherited from IWithMemorySize<ParentT>)
WithReadOnlyVolumeMountSetting(IDictionary<String,String>)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

(Inherited from IWithVolumeMountSetting<ParentT>)
WithReadOnlyVolumeMountSetting(String, String)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

(Inherited from IWithVolumeMountSetting<ParentT>)
WithStartingCommandLine(String, String[])

Specifies the starting command lines.

(Inherited from IWithStartingCommandLineBeta<ParentT>)
WithStartingCommandLine(String)

Specifies the starting command line.

(Inherited from IWithStartingCommandLine<ParentT>)
WithVolumeMountSetting(IDictionary<String,String>)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

(Inherited from IWithVolumeMountSetting<ParentT>)
WithVolumeMountSetting(String, String)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

(Inherited from IWithVolumeMountSetting<ParentT>)

Applies to