Skip to main content

cloud_hsm_cluster_private_endpoint_connections

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

Overview

Namecloud_hsm_cluster_private_endpoint_connections
TypeResource
Idazure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
cloudHsmClusterNametextfield from the properties object
group_idstextfield from the properties object
peConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTcloudHsmClusterName, peConnectionName, resourceGroupName, subscriptionIdGets the private endpoint connection for the Cloud Hsm Cluster.
createINSERTcloudHsmClusterName, peConnectionName, resourceGroupName, subscriptionIdCreates or updates the private endpoint connection for the Cloud Hsm Cluster.
deleteDELETEcloudHsmClusterName, peConnectionName, resourceGroupName, subscriptionIdDeletes the private endpoint connection for the Cloud Hsm Cluster.

SELECT examples

Gets the private endpoint connection for the Cloud Hsm Cluster.

SELECT
id,
name,
cloudHsmClusterName,
group_ids,
peConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.hardware_security_modules.vw_cloud_hsm_cluster_private_endpoint_connections
WHERE cloudHsmClusterName = '{{ cloudHsmClusterName }}'
AND peConnectionName = '{{ peConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections (
cloudHsmClusterName,
peConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ cloudHsmClusterName }}',
'{{ peConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified cloud_hsm_cluster_private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections
WHERE cloudHsmClusterName = '{{ cloudHsmClusterName }}'
AND peConnectionName = '{{ peConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';