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

SiteSourceControl Class

Source control configuration for an app.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.web.v2021_01_15.models._models_py3.ProxyOnlyResource
SiteSourceControl

Constructor

SiteSourceControl(*, kind: str | None = None, repo_url: str | None = None, branch: str | None = None, is_manual_integration: bool | None = None, is_git_hub_action: bool | None = None, deployment_rollback_enabled: bool | None = None, is_mercurial: bool | None = None, git_hub_action_configuration: _models.GitHubActionConfiguration | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

repo_url
str

Repository or source control URL.

branch
str

Name of branch to use for deployment.

is_manual_integration

<code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).

is_git_hub_action

<code>true</code> if this is deployed via GitHub action.

deployment_rollback_enabled

<code>true</code> to enable deployment rollback; otherwise, <code>false</code>.

is_mercurial

<code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.

git_hub_action_configuration

If GitHub Action is selected, than the associated configuration.

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

repo_url
str

Repository or source control URL.

branch
str

Name of branch to use for deployment.

is_manual_integration

<code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).

is_git_hub_action

<code>true</code> if this is deployed via GitHub action.

deployment_rollback_enabled

<code>true</code> to enable deployment rollback; otherwise, <code>false</code>.

is_mercurial

<code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.

git_hub_action_configuration

If GitHub Action is selected, than the associated configuration.