Delen via


IWithPrivateImageRegistryOrVolume.DefineVolume(String) Method

Definition

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().

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IVolumeDefinitionBlank<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolume> DefineVolume (string name);
abstract member DefineVolume : string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IVolumeDefinitionBlank<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolume>
Public Function DefineVolume (name As String) As IVolumeDefinitionBlank(Of IWithVolume)

Parameters

name
String

The name of the volume.

Returns

Applies to