Skip to main content

published_artifacts

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

Overview

Namepublished_artifacts
TypeResource
Idazure.blueprints.published_artifacts

Fields

The following fields are returned by SELECT queries:

OK -- artifact of published blueprint definition retrieved.

NameDatatypeDescription
idstringString Id used to locate any resource on Azure.
namestringName of this resource.
kindstringSpecifies the kind of blueprint artifact.
typestringType of this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceScope, blueprintName, versionId, artifactNameGet an artifact for a published blueprint definition.
listselectresourceScope, blueprintName, versionIdList artifacts for a version of a published blueprint definition.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
artifactNamestringName of the blueprint artifact.
blueprintNamestringName of the blueprint definition.
resourceScopestringThe scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
versionIdstringVersion of the published blueprint definition.

SELECT examples

Get an artifact for a published blueprint definition.

SELECT
id,
name,
kind,
type
FROM azure.blueprints.published_artifacts
WHERE resourceScope = '{{ resourceScope }}' -- required
AND blueprintName = '{{ blueprintName }}' -- required
AND versionId = '{{ versionId }}' -- required
AND artifactName = '{{ artifactName }}' -- required
;