SourceControl Class

Definition of the source control.

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

Inheritance
azure.mgmt.automation.models._models_py3.Resource
SourceControl

Constructor

SourceControl(*, 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, description: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = 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.

auto_sync
bool
Required

The auto sync 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. Possible values include: "VsoGit", "VsoTfvc", "GitHub".

description
str
Required

The description.

creation_time
datetime
Required

The creation time.

last_modified_time
datetime
Required

The last modified time.

Variables

id
str

Fully qualified resource Id for the resource.

name
str

The name of the resource.

type
str

The type of the resource.