Skip to main content

arm_templates

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

Overview

Namearm_templates
TypeResource
Idazure.dev_test_labs.arm_templates

Fields

NameDatatypeDescription
idtextThe identifier of the resource.
nametextThe name of the resource.
descriptiontextfield from the properties object
artifactSourceNametextfield from the properties object
contentstextfield from the properties object
created_datetextfield from the properties object
display_nametextfield from the properties object
enabledtextfield from the properties object
icontextfield from the properties object
labNametextfield from the properties object
locationtextThe location of the resource.
parameters_value_files_infotextfield from the properties object
publishertextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextThe tags of the resource.
typetextThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTartifactSourceName, labName, name, resourceGroupName, subscriptionIdGet azure resource manager template.
listSELECTartifactSourceName, labName, resourceGroupName, subscriptionIdList azure resource manager templates in a given artifact source.

SELECT examples

List azure resource manager templates in a given artifact source.

SELECT
id,
name,
description,
artifactSourceName,
contents,
created_date,
display_name,
enabled,
icon,
labName,
location,
parameters_value_files_info,
publisher,
resourceGroupName,
subscriptionId,
tags,
type
FROM azure.dev_test_labs.vw_arm_templates
WHERE artifactSourceName = '{{ artifactSourceName }}'
AND labName = '{{ labName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';