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.ResourceSourceControl
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
- branch
- str
Required
The repo branch of the source control. Include branch as empty string for VsoTfvc.
- source_type
- str or SourceType
Required
The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: "VsoGit", "VsoTfvc", "GitHub".
Variables
- id
- str
Fully qualified resource Id for the resource.
- name
- str
The name of the resource.
- type
- str
The type of the resource.
Feedback
Submit and view feedback for