artifact_stores
Creates, updates, deletes, gets or lists a artifact_stores
resource.
Overview
Name | artifact_stores |
Type | Resource |
Id | azure.hybrid_network.artifact_stores |
Fields
- vw_artifact_stores
- artifact_stores
Name | Datatype | Description |
---|---|---|
artifactStoreName | text | field from the properties object |
backing_resource_public_network_access | text | field from the properties object |
location | text | The geo-location where the resource lives |
managed_resource_group_configuration | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisherName | text | field from the properties object |
replication_strategy | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storage_resource_id | text | field from the properties object |
store_type | 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 store properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Gets information about the specified artifact store. |
list_by_publisher | SELECT | publisherName, resourceGroupName, subscriptionId | Gets information of the ArtifactStores under publisher. |
create_or_update | INSERT | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Creates or updates a artifact store. |
delete | DELETE | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Deletes the specified artifact store. |
update | UPDATE | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Update artifact store resource. |
add_network_fabric_controller_end_points | EXEC | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Add network fabric controllers to artifact stores |
approve_private_end_points | EXEC | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Approve manual private endpoints on artifact stores |
remove_private_end_points | EXEC | artifactStoreName, publisherName, resourceGroupName, subscriptionId | Remove manual private endpoints on artifact stores |
SELECT
examples
Gets information of the ArtifactStores under publisher.
- vw_artifact_stores
- artifact_stores
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 }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.hybrid_network.artifact_stores (
artifactStoreName,
publisherName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ artifactStoreName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: storeType
value: string
- name: backingResourcePublicNetworkAccess
value: []
- name: replicationStrategy
value: string
- name: managedResourceGroupConfiguration
value:
- name: name
value: string
- name: location
value: string
- name: storageResourceId
value: string
- name: tags
value: object
- name: location
value: string
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 }}';