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

The following fields are returned by SELECT queries:

Private endpoint connection successfully returned.

NameDatatypeDescription
etagstringModified whenever there is a change in the state of private endpoint connection.
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, cloudHsmClusterName, peConnectionNameGets the private endpoint connection for the Cloud Hsm Cluster.
createinsertsubscriptionId, resourceGroupName, cloudHsmClusterName, peConnectionNameCreates or updates the private endpoint connection for the Cloud Hsm Cluster.
deletedeletesubscriptionId, resourceGroupName, cloudHsmClusterName, peConnectionNameDeletes the private endpoint connection for the Cloud Hsm Cluster.

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
cloudHsmClusterNamestringThe name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.
peConnectionNamestringName of the private endpoint connection associated with the Cloud HSM Cluster.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the private endpoint connection for the Cloud Hsm Cluster.

SELECT
etag,
properties
FROM azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudHsmClusterName = '{{ cloudHsmClusterName }}' -- required
AND peConnectionName = '{{ peConnectionName }}' -- required
;

INSERT examples

Creates or updates the private endpoint connection for the Cloud Hsm Cluster.

INSERT INTO azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections (
data__properties,
data__etag,
subscriptionId,
resourceGroupName,
cloudHsmClusterName,
peConnectionName
)
SELECT
'{{ properties }}',
'{{ etag }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ cloudHsmClusterName }}',
'{{ peConnectionName }}'
RETURNING
etag,
properties
;

DELETE examples

Deletes the private endpoint connection for the Cloud Hsm Cluster.

DELETE FROM azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND cloudHsmClusterName = '{{ cloudHsmClusterName }}' --required
AND peConnectionName = '{{ peConnectionName }}' --required
;