Skip to main content

mhsm_private_endpoint_connections

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

Overview

Namemhsm_private_endpoint_connections
TypeResource
Idazure.key_vault.mhsm_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.
identityobjectManaged service identity.
locationstringThe geo-location where the resource lives.
privateEndpointobjectProperties of the private endpoint object.
privateLinkServiceConnectionStateobjectApproval state of the private link connection.
provisioningStatestringProvisioning state of the private endpoint connection. Known values are: "Succeeded", "Creating", "Updating", "Deleting", "Failed", and "Disconnected". (Succeeded, Creating, Updating, Deleting, Failed, Disconnected)
skuobjectSKU details.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
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, name, private_endpoint_connection_name, subscription_idGets the specified private endpoint connection associated with the managed HSM Pool.
list_by_resourceselectresource_group_name, name, subscription_idThe List operation gets information about the private endpoint connections associated with the managed HSM Pool.
deletedeleteresource_group_name, name, private_endpoint_connection_name, subscription_idDeletes the specified private endpoint connection associated with the managed hsm pool.
putexecresource_group_name, name, private_endpoint_connection_name, subscription_idUpdates the specified private endpoint connection associated with the managed hsm pool.

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
namestringThe name of the managed HSM Pool. Required.
private_endpoint_connection_namestringName of the private endpoint connection associated with the managed hsm pool. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the specified private endpoint connection associated with the managed HSM Pool.

SELECT
id,
name,
etag,
identity,
location,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
sku,
systemData,
tags,
type
FROM azure.key_vault.mhsm_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND name = '{{ name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

DELETE examples

Deletes the specified private endpoint connection associated with the managed hsm pool.

DELETE FROM azure.key_vault.mhsm_private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND name = '{{ name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Updates the specified private endpoint connection associated with the managed hsm pool.

EXEC azure.key_vault.mhsm_private_endpoint_connections.put 
@resource_group_name='{{ resource_group_name }}' --required,
@name='{{ name }}' --required,
@private_endpoint_connection_name='{{ private_endpoint_connection_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}",
"sku": "{{ sku }}",
"identity": "{{ identity }}",
"etag": "{{ etag }}",
"location": "{{ location }}",
"tags": "{{ tags }}"
}'
;