Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.elastic_san.private_endpoint_connections

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
elasticSanNametextfield from the properties object
group_idstextfield from the properties object
privateEndpointConnectionNametextfield 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
getSELECTelasticSanName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets the specified private endpoint connection associated with the Elastic San
listSELECTelasticSanName, resourceGroupName, subscriptionIdList all Private Endpoint Connections associated with the Elastic San.
createINSERTelasticSanName, privateEndpointConnectionName, resourceGroupName, subscriptionId, data__propertiesUpdate the state of specified private endpoint connection associated with the Elastic San
deleteDELETEelasticSanName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes the specified private endpoint connection associated with the Elastic San

SELECT examples

List all Private Endpoint Connections associated with the Elastic San.

SELECT
id,
name,
elasticSanName,
group_ids,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.elastic_san.vw_private_endpoint_connections
WHERE elasticSanName = '{{ elasticSanName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.elastic_san.private_endpoint_connections (
elasticSanName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ elasticSanName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.elastic_san.private_endpoint_connections
WHERE elasticSanName = '{{ elasticSanName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';