GitRepoVolume Class
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.
Represents a volume that is populated with the contents of a git repository
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolumeTypeConverter))]
public class GitRepoVolume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IGitRepoVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolumeTypeConverter))>]
type GitRepoVolume = class
interface IGitRepoVolume
interface IJsonSerializable
Public Class GitRepoVolume
Implements IGitRepoVolume
- Inheritance
-
GitRepoVolume
- Attributes
- Implements
Constructors
GitRepoVolume() |
Creates an new GitRepoVolume instance. |
Properties
Directory |
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 |
Repository URL |
Revision |
Commit hash for the specified revision. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of GitRepoVolume. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GitRepoVolume. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IGitRepoVolume. |
FromJsonString(String) |
Creates a new instance of GitRepoVolume, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of GitRepoVolume into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |