ArmContainerInstanceModelFactory.ContainerInstanceGitRepoVolume Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.