共用方式為


IWithGitDirectoryNameBeta<ParentT>.WithGitDirectoryName(String) Method

Definition

Specifies the Git target directory name for the new volume. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithGitRevision<ParentT> WithGitDirectoryName (string gitDirectoryName);
abstract member WithGitDirectoryName : string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithGitRevision<'ParentT>
Public Function WithGitDirectoryName (gitDirectoryName As String) As IWithGitRevision(Of ParentT)

Parameters

gitDirectoryName
String

The Git target directory name for the new volume.

Returns

Applies to