artifact_manifests
Creates, updates, deletes, gets or lists a artifact_manifests
resource.
Overview
Name | artifact_manifests |
Type | Resource |
Id | azure.hybrid_network.artifact_manifests |
Fields
- vw_artifact_manifests
- artifact_manifests
Name | Datatype | Description |
---|---|---|
artifactManifestName | text | field from the properties object |
artifactStoreName | text | field from the properties object |
artifact_manifest_state | text | field from the properties object |
artifacts | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
publisherName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Artifact manifest properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | artifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionId | Gets information about a artifact manifest resource. |
list_by_artifact_store | SELECT | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Gets information about the artifact manifest. |
create_or_update | INSERT | artifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionId | Creates or updates a artifact manifest. |
delete | DELETE | artifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionId | Deletes the specified artifact manifest. |
update | UPDATE | artifactManifestName, artifactStoreName, publisherName, resourceGroupName, subscriptionId | Updates a artifact manifest resource. |
SELECT
examples
Gets information about the artifact manifest.
- vw_artifact_manifests
- artifact_manifests
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 }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: artifactManifestState
value: []
- name: artifacts
value:
- - name: artifactName
value: string
- name: artifactType
value: []
- name: artifactVersion
value: string
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 }}';