Udostępnij za pośrednictwem


IContainerInstanceDefinition<ParentT> Interface

Definition

Grouping of the container group's volume definition stages.

public interface IContainerInstanceDefinition<ParentT> : Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IContainerInstanceDefinitionBlank<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.IWithImage<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithMemorySize<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOrWithoutPorts<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithoutPorts<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPorts<ParentT>, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPortsOrContainerInstanceAttach<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 IContainerInstanceDefinition<'ParentT> = interface
    interface IContainerInstanceDefinitionBlank<'ParentT>
    interface IWithImage<'ParentT>
    interface IWithOrWithoutPorts<'ParentT>
    interface IWithPorts<'ParentT>
    interface IBeta
    interface IWithoutPorts<'ParentT>
    interface IWithPortsOrContainerInstanceAttach<'ParentT>
    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 IContainerInstanceDefinition(Of ParentT)
Implements IBeta, IContainerInstanceDefinitionBlank(Of ParentT), IInDefinition(Of ParentT), IWithContainerInstanceAttach(Of ParentT), IWithCpuCoreCount(Of ParentT), IWithEnvironmentVariables(Of ParentT), IWithGpuResource(Of ParentT), IWithImage(Of ParentT), IWithMemorySize(Of ParentT), IWithOrWithoutPorts(Of ParentT), IWithoutPorts(Of ParentT), IWithPorts(Of ParentT), IWithPortsOrContainerInstanceAttach(Of ParentT), IWithStartingCommandLine(Of ParentT), IWithStartingCommandLineBeta(Of ParentT), IWithVolumeMountSetting(Of ParentT)

Type Parameters

ParentT
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>)
WithImage(String)

Specifies the container image to be used.

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

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

(Inherited from IWithoutPorts<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