artifacts
Creates, updates, deletes, gets or lists a artifacts
resource.
Overview
Name | artifacts |
Type | Resource |
Id | azure.dev_test_labs.artifacts |
Fields
- vw_artifacts
- artifacts
Name | Datatype | Description |
---|---|---|
id | text | The identifier of the resource. |
name | text | The name of the resource. |
description | text | field from the properties object |
artifactSourceName | text | field from the properties object |
created_date | text | field from the properties object |
file_path | text | field from the properties object |
icon | text | field from the properties object |
labName | text | field from the properties object |
location | text | The location of the resource. |
parameters | text | field from the properties object |
publisher | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | The tags of the resource. |
target_os_type | text | field from the properties object |
title | text | field from the properties object |
type | text | The type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | The identifier of the resource. |
name | string | The name of the resource. |
location | string | The location of the resource. |
properties | object | Properties of an artifact. |
tags | object | The tags of the resource. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | artifactSourceName, labName, name, resourceGroupName, subscriptionId | Get artifact. |
list | SELECT | artifactSourceName, labName, resourceGroupName, subscriptionId | List artifacts in a given artifact source. |
generate_arm_template | EXEC | artifactSourceName, labName, name, resourceGroupName, subscriptionId | Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact. |
SELECT
examples
List artifacts in a given artifact source.
- vw_artifacts
- artifacts
SELECT
id,
name,
description,
artifactSourceName,
created_date,
file_path,
icon,
labName,
location,
parameters,
publisher,
resourceGroupName,
subscriptionId,
tags,
target_os_type,
title,
type
FROM azure.dev_test_labs.vw_artifacts
WHERE artifactSourceName = '{{ artifactSourceName }}'
AND labName = '{{ labName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.dev_test_labs.artifacts
WHERE artifactSourceName = '{{ artifactSourceName }}'
AND labName = '{{ labName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';