Skip to main content

artifact_stores

Creates, updates, deletes, gets or lists an artifact_stores resource.

Overview

Nameartifact_stores
TypeResource
Idazure.hybrid_network.artifact_stores

Fields

The following fields are returned by SELECT queries:

Request is successful. The operation returns the resulting ArtifactStore resource.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectArtifactStores properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, publisherName, artifactStoreName, subscriptionIdGets information about the specified artifact store.
list_by_publisherselectresourceGroupName, publisherName, subscriptionIdGets information of the ArtifactStores under publisher.
create_or_updateinsertresourceGroupName, publisherName, artifactStoreName, subscriptionIdCreates or updates a artifact store.
updateupdateresourceGroupName, publisherName, artifactStoreName, subscriptionIdUpdate artifact store resource.
deletedeleteresourceGroupName, publisherName, artifactStoreName, subscriptionIdDeletes the specified artifact store.
add_network_fabric_controller_end_pointsexecresourceGroupName, publisherName, artifactStoreName, subscriptionIdAdd network fabric controllers to artifact stores
approve_private_end_pointsexecresourceGroupName, publisherName, artifactStoreName, subscriptionIdApprove manual private endpoints on artifact stores
remove_private_end_pointsexecresourceGroupName, publisherName, artifactStoreName, subscriptionIdRemove manual private endpoints on artifact stores

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
artifactStoreNamestringThe name of the artifact store.
publisherNamestringThe name of the publisher.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets information about the specified artifact store.

SELECT
location,
properties,
tags
FROM azure.hybrid_network.artifact_stores
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND artifactStoreName = '{{ artifactStoreName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates a artifact store.

INSERT INTO azure.hybrid_network.artifact_stores (
data__properties,
data__tags,
data__location,
resourceGroupName,
publisherName,
artifactStoreName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ publisherName }}',
'{{ artifactStoreName }}',
'{{ subscriptionId }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Update artifact store resource.

UPDATE azure.hybrid_network.artifact_stores
SET
data__tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND publisherName = '{{ publisherName }}' --required
AND artifactStoreName = '{{ artifactStoreName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Deletes the specified artifact store.

DELETE FROM azure.hybrid_network.artifact_stores
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND publisherName = '{{ publisherName }}' --required
AND artifactStoreName = '{{ artifactStoreName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;

Lifecycle Methods

Add network fabric controllers to artifact stores

EXEC azure.hybrid_network.artifact_stores.add_network_fabric_controller_end_points 
@resourceGroupName='{{ resourceGroupName }}' --required,
@publisherName='{{ publisherName }}' --required,
@artifactStoreName='{{ artifactStoreName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"networkFabricControllerIds": "{{ networkFabricControllerIds }}"
}'
;