Delen via


IWithVolume Interface

Definition

The stage of the container group definition allowing to specify a volume that can be mounted by a container instance.

public interface IWithVolume : Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithFirstContainerInstance, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPrivateImageRegistryOrVolumeBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithVolume = interface
    interface IWithFirstContainerInstance
    interface IWithPrivateImageRegistryOrVolumeBeta
    interface IBeta
Public Interface IWithVolume
Implements IBeta, IWithFirstContainerInstance, IWithPrivateImageRegistryOrVolumeBeta
Derived
Implements

Methods

DefineContainerInstance(String)

Begins the definition of a container instance.

(Inherited from IWithFirstContainerInstance)
DefineVolume(String)

Begins the definition of a volume that can be shared by the container instances in the container group. The definition must be completed with a call to VolumeDefinitionStages.WithVolumeAttach.attach().

WithContainerInstance(String, Int32)

Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with a custom TCP port opened externally.

(Inherited from IWithFirstContainerInstance)
WithContainerInstance(String)

Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with TCP port 80 opened externally.

(Inherited from IWithFirstContainerInstance)
WithEmptyDirectoryVolume(String)

Specifies an empty directory volume that can be shared by the container instances in the container group.

(Inherited from IWithPrivateImageRegistryOrVolumeBeta)

Applies to