Share via


IGitRepoVolume Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolumeTypeConverter))]
public interface IGitRepoVolume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.GitRepoVolumeTypeConverter))>]
type IGitRepoVolume = interface
    interface IJsonSerializable
Public Interface IGitRepoVolume
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to