SourceProperties Class

The properties of the source code repository.

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

Inheritance
SourceProperties

Constructor

SourceProperties(*, source_control_type: Union[str, azure.mgmt.containerregistry.v2019_06_01_preview.models._container_registry_management_client_enums.SourceControlType], repository_url: str, branch: Optional[str] = None, source_control_auth_properties: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.AuthInfo] = None, **kwargs)

Variables

source_control_type
str or SourceControlType

Required. The type of source control service. Possible values include: "Github", "VisualStudioTeamService".

repository_url
str

Required. The full URL to the source code repository.

branch
str

The branch name of the source code.

source_control_auth_properties
AuthInfo

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