SourceRepositoryProperties Class

The properties of the source code repository.

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

Inheritance
SourceRepositoryProperties

Constructor

SourceRepositoryProperties(*, source_control_type: Union[str, azure.mgmt.containerregistry.v2018_02_01_preview.models._container_registry_management_client_enums.SourceControlType], repository_url: str, is_commit_trigger_enabled: Optional[bool] = False, source_control_auth_properties: Optional[azure.mgmt.containerregistry.v2018_02_01_preview.models._models_py3.SourceControlAuthInfo] = 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.

is_commit_trigger_enabled
bool

The value of this property indicates whether the source control commit trigger is enabled or not.

source_control_auth_properties
SourceControlAuthInfo

The authorization properties for accessing the source code repository.