Udostępnij za pośrednictwem


IWithContainerInstanceAttach<ParentT> Interface

Definition

The final stage of the container instance definition. At this stage, any remaining optional settings can be specified, or the subnet definition can be attached to the parent virtual network definition.

public interface 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.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 IWithContainerInstanceAttach<'ParentT> = interface
    interface IWithCpuCoreCount<'ParentT>
    interface IWithGpuResource<'ParentT>
    interface IWithMemorySize<'ParentT>
    interface IWithStartingCommandLine<'ParentT>
    interface IWithStartingCommandLineBeta<'ParentT>
    interface IBeta
    interface IWithEnvironmentVariables<'ParentT>
    interface IWithVolumeMountSetting<'ParentT>
    interface IInDefinition<'ParentT>
Public Interface IWithContainerInstanceAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithCpuCoreCount(Of ParentT), IWithEnvironmentVariables(Of ParentT), IWithGpuResource(Of ParentT), IWithMemorySize(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>)
WithGpuResource(Int32, GpuSku) (Inherited from IWithGpuResource<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