artifact_stores
Creates, updates, deletes, gets or lists an artifact_stores
resource.
Overview
Name | artifact_stores |
Type | Resource |
Id | azure.hybrid_network.artifact_stores |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_publisher
Request is successful. The operation returns the resulting ArtifactStore resource.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | ArtifactStores properties. |
tags | object | Resource tags. |
Request is successful. The operation returns the resulting ArtifactStoreVersion resource.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | ArtifactStores properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
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.
Name | Datatype | Description |
---|---|---|
artifactStoreName | string | The name of the artifact store. |
publisherName | string | The name of the publisher. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_publisher
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
;
Gets information of the ArtifactStores under publisher.
SELECT
location,
properties,
tags
FROM azure.hybrid_network.artifact_stores
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: artifact_stores
props:
- name: resourceGroupName
value: string
description: Required parameter for the artifact_stores resource.
- name: publisherName
value: string
description: Required parameter for the artifact_stores resource.
- name: artifactStoreName
value: string
description: Required parameter for the artifact_stores resource.
- name: subscriptionId
value: string
description: Required parameter for the artifact_stores resource.
- name: properties
value: object
description: |
ArtifactStores properties.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
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
- delete
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_controller_end_points
- approve_private_end_points
- remove_private_end_points
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 }}"
}'
;
Approve manual private endpoints on artifact stores
EXEC azure.hybrid_network.artifact_stores.approve_private_end_points
@resourceGroupName='{{ resourceGroupName }}' --required,
@publisherName='{{ publisherName }}' --required,
@artifactStoreName='{{ artifactStoreName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"manualPrivateEndPointConnections": "{{ manualPrivateEndPointConnections }}"
}'
;
Remove manual private endpoints on artifact stores
EXEC azure.hybrid_network.artifact_stores.remove_private_end_points
@resourceGroupName='{{ resourceGroupName }}' --required,
@publisherName='{{ publisherName }}' --required,
@artifactStoreName='{{ artifactStoreName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"manualPrivateEndPointConnections": "{{ manualPrivateEndPointConnections }}"
}'
;