Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.powerbi_privatelinks.private_endpoint_connections

Fields

NameDatatypeDescription
idtextSpecifies the id of the resource.
nametextSpecifies the name of the resource.
azureResourceNametextfield from the properties object
privateEndpointNametextfield 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
typetextSpecifies the type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTazureResourceName, privateEndpointName, resourceGroupName, subscriptionIdGet a specific private endpoint connection for Power BI by private endpoint name.
list_by_resourceSELECTazureResourceName, resourceGroupName, subscriptionIdGets private endpoint connection for Power BI.
createINSERTazureResourceName, privateEndpointName, resourceGroupName, subscriptionIdUpdates the status of Private Endpoint Connection object. Used to approve or reject a connection.
deleteDELETEazureResourceName, privateEndpointName, resourceGroupName, subscriptionIdDeletes a private endpoint connection for Power BI by private endpoint name.

SELECT examples

Gets private endpoint connection for Power BI.

SELECT
id,
name,
azureResourceName,
privateEndpointName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.powerbi_privatelinks.vw_private_endpoint_connections
WHERE azureResourceName = '{{ azureResourceName }}'
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.powerbi_privatelinks.private_endpoint_connections (
azureResourceName,
privateEndpointName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ azureResourceName }}',
'{{ privateEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.powerbi_privatelinks.private_endpoint_connections
WHERE azureResourceName = '{{ azureResourceName }}'
AND privateEndpointName = '{{ privateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';