Skip to main content

artifact_stores

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

Overview

Nameartifact_stores
TypeResource
Idazure.hybrid_network.artifact_stores

Fields

NameDatatypeDescription
artifactStoreNametextfield from the properties object
backing_resource_public_network_accesstextfield from the properties object
locationtextThe geo-location where the resource lives
managed_resource_group_configurationtextfield from the properties object
provisioning_statetextfield from the properties object
publisherNametextfield from the properties object
replication_strategytextfield from the properties object
resourceGroupNametextfield from the properties object
storage_resource_idtextfield from the properties object
store_typetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTartifactStoreName, publisherName, resourceGroupName, subscriptionIdGets information about the specified artifact store.
list_by_publisherSELECTpublisherName, resourceGroupName, subscriptionIdGets information of the ArtifactStores under publisher.
create_or_updateINSERTartifactStoreName, publisherName, resourceGroupName, subscriptionIdCreates or updates a artifact store.
deleteDELETEartifactStoreName, publisherName, resourceGroupName, subscriptionIdDeletes the specified artifact store.
updateUPDATEartifactStoreName, publisherName, resourceGroupName, subscriptionIdUpdate artifact store resource.
add_network_fabric_controller_end_pointsEXECartifactStoreName, publisherName, resourceGroupName, subscriptionIdAdd network fabric controllers to artifact stores
approve_private_end_pointsEXECartifactStoreName, publisherName, resourceGroupName, subscriptionIdApprove manual private endpoints on artifact stores
remove_private_end_pointsEXECartifactStoreName, publisherName, resourceGroupName, subscriptionIdRemove manual private endpoints on artifact stores

SELECT examples

Gets information of the ArtifactStores under publisher.

SELECT
artifactStoreName,
backing_resource_public_network_access,
location,
managed_resource_group_configuration,
provisioning_state,
publisherName,
replication_strategy,
resourceGroupName,
storage_resource_id,
store_type,
subscriptionId,
tags
FROM azure.hybrid_network.vw_artifact_stores
WHERE publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a artifact_stores resource.

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

DELETE example

Deletes the specified artifact_stores resource.

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