private_endpoint_connections
Creates, updates, deletes, gets or lists a private_endpoint_connections
resource.
Overview
Name | private_endpoint_connections |
Type | Resource |
Id | azure.powerbi_privatelinks.private_endpoint_connections |
Fields
- vw_private_endpoint_connections
- private_endpoint_connections
Name | Datatype | Description |
---|---|---|
id | text | Specifies the id of the resource. |
name | text | Specifies the name of the resource. |
azureResourceName | text | field from the properties object |
privateEndpointName | text | field from the properties object |
private_endpoint | text | field from the properties object |
private_link_service_connection_state | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Specifies the type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | Specifies the id of the resource. |
name | string | Specifies the name of the resource. |
properties | object | |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Specifies the type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | azureResourceName, privateEndpointName, resourceGroupName, subscriptionId | Get a specific private endpoint connection for Power BI by private endpoint name. |
list_by_resource | SELECT | azureResourceName, resourceGroupName, subscriptionId | Gets private endpoint connection for Power BI. |
create | INSERT | azureResourceName, privateEndpointName, resourceGroupName, subscriptionId | Updates the status of Private Endpoint Connection object. Used to approve or reject a connection. |
delete | DELETE | azureResourceName, privateEndpointName, resourceGroupName, subscriptionId | Deletes a private endpoint connection for Power BI by private endpoint name. |
SELECT
examples
Gets private endpoint connection for Power BI.
- vw_private_endpoint_connections
- private_endpoint_connections
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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.powerbi_privatelinks.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.powerbi_privatelinks.private_endpoint_connections (
azureResourceName,
privateEndpointName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ azureResourceName }}',
'{{ privateEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: string
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 }}';