ArmContainerInstanceModelFactory.ContainerInstanceGitRepoVolume Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceGitRepoVolume ContainerInstanceGitRepoVolume(string directory = default, string repository = default, string revision = default);
static member ContainerInstanceGitRepoVolume : string * string * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceGitRepoVolume
Public Shared Function ContainerInstanceGitRepoVolume (Optional directory As String = Nothing, Optional repository As String = Nothing, Optional revision As String = Nothing) As ContainerInstanceGitRepoVolume

Parameters

directory
String

Target directory name. 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.

repository
String

Repository URL.

revision
String

Commit hash for the specified revision.

Returns

A new ContainerInstanceGitRepoVolume instance for mocking.

Applies to