Skip to main content

artifacts

Creates, updates, deletes, gets or lists a artifacts resource.

Overview

Nameartifacts
TypeResource
Idazure.dev_test_labs.artifacts

Fields

NameDatatypeDescription
idtextThe identifier of the resource.
nametextThe name of the resource.
descriptiontextfield from the properties object
artifactSourceNametextfield from the properties object
created_datetextfield from the properties object
file_pathtextfield from the properties object
icontextfield from the properties object
labNametextfield from the properties object
locationtextThe location of the resource.
parameterstextfield from the properties object
publishertextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextThe tags of the resource.
target_os_typetextfield from the properties object
titletextfield from the properties object
typetextThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTartifactSourceName, labName, name, resourceGroupName, subscriptionIdGet artifact.
listSELECTartifactSourceName, labName, resourceGroupName, subscriptionIdList artifacts in a given artifact source.
generate_arm_templateEXECartifactSourceName, labName, name, resourceGroupName, subscriptionIdGenerates 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.

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 }}';