你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IGitRepoVolume Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.GitRepoVolumeTypeConverter))]
public interface IGitRepoVolume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.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