Compartilhar via


SourceProperties Class

The properties of the source code repository.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry._serialization.Model
SourceProperties

Constructor

SourceProperties(*, source_control_type: str | _models.SourceControlType, repository_url: str, branch: str | None = None, source_control_auth_properties: _models.AuthInfo | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
source_control_type

The type of source control service. Required. Known values are: "Github" and "VisualStudioTeamService".

repository_url
str

The full URL to the source code repository. Required.

branch
str

The branch name of the source code.

source_control_auth_properties

The authorization properties for accessing the source code repository and to set up webhooks for notifications.

Variables

Name Description
source_control_type

The type of source control service. Required. Known values are: "Github" and "VisualStudioTeamService".

repository_url
str

The full URL to the source code repository. Required.

branch
str

The branch name of the source code.

source_control_auth_properties

The authorization properties for accessing the source code repository and to set up webhooks for notifications.