ArtifactSource Class
Properties of an artifact source.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.ResourceArtifactSource
Constructor
ArtifactSource(*, location: str | None = None, tags: Dict[str, str] | None = None, display_name: str | None = None, uri: str | None = None, source_type: str | SourceControlType | None = None, folder_path: str | None = None, arm_template_folder_path: str | None = None, branch_ref: str | None = None, security_token: str | None = None, status: str | EnableStatus | None = None, **kwargs)
Parameters
Name | Description |
---|---|
location
Required
|
The location of the resource. |
tags
Required
|
A set of tags. The tags of the resource. |
display_name
Required
|
The artifact source's display name. |
uri
Required
|
The artifact source's URI. |
source_type
Required
|
The artifact source's type. Possible values include: "VsoGit", "GitHub". |
folder_path
Required
|
The folder containing artifacts. |
arm_template_folder_path
Required
|
The folder containing Azure Resource Manager templates. |
branch_ref
Required
|
The artifact source's branch reference. |
security_token
Required
|
The security token to authenticate to the artifact source. |
status
Required
|
str or
EnableStatus
Indicates if the artifact source is enabled (values: Enabled, Disabled). Possible values include: "Enabled", "Disabled". |
Keyword-Only Parameters
Name | Description |
---|---|
location
Required
|
|
tags
Required
|
|
display_name
Required
|
|
uri
Required
|
|
source_type
Required
|
|
folder_path
Required
|
|
arm_template_folder_path
Required
|
|
branch_ref
Required
|
|
security_token
Required
|
|
status
Required
|
|
Variables
Name | Description |
---|---|
id
|
The identifier of the resource. |
name
|
The name of the resource. |
type
|
The type of the resource. |
created_date
|
The artifact source's creation date. |
provisioning_state
|
The provisioning status of the resource. |
unique_identifier
|
The unique immutable identifier of a resource (Guid). |
Azure SDK for Python