Skip to main content

artifact_manifests

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

Overview

Nameartifact_manifests
TypeResource
Idazure.hybrid_network.artifact_manifests

Fields

NameDatatypeDescription
artifactManifestNametextfield from the properties object
artifactStoreNametextfield from the properties object
artifact_manifest_statetextfield from the properties object
artifactstextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
publisherNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTartifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionIdGets information about a artifact manifest resource.
list_by_artifact_storeSELECTartifactStoreName, publisherName, resourceGroupName, subscriptionIdGets information about the artifact manifest.
create_or_updateINSERTartifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionIdCreates or updates a artifact manifest.
deleteDELETEartifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionIdDeletes the specified artifact manifest.
updateUPDATEartifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionIdUpdates a artifact manifest resource.

SELECT examples

Gets information about the artifact manifest.

SELECT
artifactManifestName,
artifactStoreName,
artifact_manifest_state,
artifacts,
location,
provisioning_state,
publisherName,
resourceGroupName,
subscriptionId,
tags
FROM azure.hybrid_network.vw_artifact_manifests
WHERE artifactStoreName = '{{ artifactStoreName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new artifact_manifests resource.

/*+ create */
INSERT INTO azure.hybrid_network.artifact_manifests (
artifactManifestName,
artifactStoreName,
publisherName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ artifactManifestName }}',
'{{ artifactStoreName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a artifact_manifests resource.

/*+ update */
UPDATE azure.hybrid_network.artifact_manifests
SET
tags = '{{ tags }}'
WHERE
artifactManifestName = '{{ artifactManifestName }}'
AND artifactStoreName = '{{ artifactStoreName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified artifact_manifests resource.

/*+ delete */
DELETE FROM azure.hybrid_network.artifact_manifests
WHERE artifactManifestName = '{{ artifactManifestName }}'
AND artifactStoreName = '{{ artifactStoreName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';