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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
etagstringModified whenever there is a change in the state of private endpoint connection.
groupIdsarrayThe group ids for the private endpoint resource.
privateEndpointobjectThe private endpoint resource.
privateLinkServiceConnectionStateobjectA collection of information about the state of the connection between service consumer and provider. Required.
provisioningStatestringThe provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", "Failed", "Updating", "InternalError", and "Canceled". (Succeeded, Creating, Deleting, Failed, Updating, InternalError, Canceled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cloud_hsm_cluster_name, pe_connection_name, subscription_idGets the private endpoint connection for the Cloud Hsm Cluster.
createinsertresource_group_name, cloud_hsm_cluster_name, pe_connection_name, subscription_idCreates or updates the private endpoint connection for the Cloud Hsm Cluster.
deletedeleteresource_group_name, cloud_hsm_cluster_name, pe_connection_name, subscription_idDeletes 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
cloud_hsm_cluster_namestringThe name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length. Required.
pe_connection_namestringName of the private endpoint connection associated with the Cloud HSM Cluster. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the private endpoint connection for the Cloud Hsm Cluster.

SELECT
id,
name,
etag,
groupIds,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.hardware_security_modules.cloud_hsm_cluster_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cloud_hsm_cluster_name = '{{ cloud_hsm_cluster_name }}' -- required
AND pe_connection_name = '{{ pe_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- 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 (
properties,
etag,
resource_group_name,
cloud_hsm_cluster_name,
pe_connection_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ etag }}',
'{{ resource_group_name }}',
'{{ cloud_hsm_cluster_name }}',
'{{ pe_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

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 resource_group_name = '{{ resource_group_name }}' --required
AND cloud_hsm_cluster_name = '{{ cloud_hsm_cluster_name }}' --required
AND pe_connection_name = '{{ pe_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;