SourceControlCreateOrUpdateParameters Class

The parameters supplied to the create or update source control operation.

Inheritance
SourceControlCreateOrUpdateParameters

Constructor

SourceControlCreateOrUpdateParameters(*, repo_url: Optional[str] = None, branch: Optional[str] = None, folder_path: Optional[str] = None, auto_sync: Optional[bool] = None, publish_runbook: Optional[bool] = None, source_type: Optional[Union[str, azure.mgmt.automation.models._automation_client_enums.SourceType]] = None, security_token: Optional[azure.mgmt.automation.models._models_py3.SourceControlSecurityTokenProperties] = None, description: Optional[str] = None, **kwargs)

Parameters

repo_url
str
Required

The repo url of the source control.

branch
str
Required

The repo branch of the source control. Include branch as empty string for VsoTfvc.

folder_path
str
Required

The folder path of the source control. Path must be relative.

auto_sync
bool
Required

The auto async of the source control. Default is false.

publish_runbook
bool
Required

The auto publish of the source control. Default is true.

source_type
str or SourceType
Required

The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: "VsoGit", "VsoTfvc", "GitHub".

security_token
SourceControlSecurityTokenProperties
Required

The authorization token for the repo of the source control.

description
str
Required

The user description of the source control.