GitRepoVolume Constructors
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.
Overloads
GitRepoVolume() |
Initializes a new instance of the GitRepoVolume class. |
GitRepoVolume(String, String, String) |
Initializes a new instance of the GitRepoVolume class. |
GitRepoVolume()
Initializes a new instance of the GitRepoVolume class.
public GitRepoVolume ();
Public Sub New ()
Applies to
GitRepoVolume(String, String, String)
Initializes a new instance of the GitRepoVolume class.
public GitRepoVolume (string repository, string directory = default, string revision = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.GitRepoVolume : string * string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.GitRepoVolume
Public Sub New (repository As String, Optional directory As String = Nothing, Optional revision As String = Nothing)
Parameters
- repository
- String
Repository URL
- 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.
- revision
- String
Commit hash for the specified revision.
Applies to
Azure SDK for .NET