你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SiteSourceControl interface
应用的源代码管理配置。
- 扩展
属性
branch | 要用于部署的分支的名称。 |
deployment |
|
git |
如果选择 GitHub Action,则为关联的配置。 |
is |
如果是通过 GitHub作部署的,则 |
is |
|
is |
水星存储库的 |
repo |
存储库或源代码管理 URL。 |
继承属性
id | 资源 ID。注意:此属性不会序列化。 它只能由服务器填充。 |
kind | 资源类型。 |
name | 资源名称。 注意:此属性不会序列化。 它只能由服务器填充。 |
type | 资源类型。 注意:此属性不会序列化。 它只能由服务器填充。 |
属性详细信息
branch
要用于部署的分支的名称。
branch?: string
属性值
string
deploymentRollbackEnabled
true
启用部署回滚;否则,false
。
deploymentRollbackEnabled?: boolean
属性值
boolean
gitHubActionConfiguration
如果选择 GitHub Action,则为关联的配置。
gitHubActionConfiguration?: GitHubActionConfiguration
属性值
isGitHubAction
如果是通过 GitHub作部署的,则 true
。
isGitHubAction?: boolean
属性值
boolean
isManualIntegration
true
限制为手动集成;false
启用持续集成(将 Webhook 配置为联机存储库(如 GitHub)。
isManualIntegration?: boolean
属性值
boolean
isMercurial
水星存储库的 true
;git 存储库的 false
。
isMercurial?: boolean
属性值
boolean
repoUrl
存储库或源代码管理 URL。
repoUrl?: string
属性值
string