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

GitRepoVolume interface

表示使用 git 存储库的内容填充的卷

属性

directory

目标目录名称。 不得包含或以“..”开头。 如果提供了“.”,卷目录将是 git 存储库。 否则,如果指定,卷将包含具有给定名称的子目录中的 git 存储库。

repository

存储库 URL

revision

指定修订的提交哈希。

属性详细信息

directory

目标目录名称。 不得包含或以“..”开头。 如果提供了“.”,卷目录将是 git 存储库。 否则,如果指定,卷将包含具有给定名称的子目录中的 git 存储库。

directory?: string

属性值

string

repository

存储库 URL

repository: string

属性值

string

revision

指定修订的提交哈希。

revision?: string

属性值

string