Skip to main content

power_bi_resources

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

Overview

Namepower_bi_resources
TypeResource
Idazure.powerbi_privatelinks.power_bi_resources

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
createinsertsubscriptionId, resourceGroupName, azureResourceNamex-ms-client-tenant-idCreates or updates a Private Link Service Resource for Power BI.
updateupdatesubscriptionId, resourceGroupName, azureResourceNamex-ms-client-tenant-idCreates or updates a Private Link Service Resource for Power BI.
deletedeletesubscriptionId, resourceGroupName, azureResourceNameDeletes a Private Link Service Resource for Power BI.
list_by_resource_nameexecsubscriptionId, resourceGroupName, azureResourceNameGets all the private link resources for the given Azure resource.

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
azureResourceNamestringThe name of the Azure resource.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
x-ms-client-tenant-idstringThe client tenant id in header. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

INSERT examples

Creates or updates a Private Link Service Resource for Power BI.

INSERT INTO azure.powerbi_privatelinks.power_bi_resources (
data__location,
data__properties,
data__tags,
subscriptionId,
resourceGroupName,
azureResourceName,
x-ms-client-tenant-id
)
SELECT
'{{ location }}',
'{{ properties }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ azureResourceName }}',
'{{ x-ms-client-tenant-id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Creates or updates a Private Link Service Resource for Power BI.

UPDATE azure.powerbi_privatelinks.power_bi_resources
SET
data__location = '{{ location }}',
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND azureResourceName = '{{ azureResourceName }}' --required
AND x-ms-client-tenant-id = '{{ x-ms-client-tenant-id}}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Deletes a Private Link Service Resource for Power BI.

DELETE FROM azure.powerbi_privatelinks.power_bi_resources
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND azureResourceName = '{{ azureResourceName }}' --required
;

Lifecycle Methods

Gets all the private link resources for the given Azure resource.

EXEC azure.powerbi_privatelinks.power_bi_resources.list_by_resource_name 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@azureResourceName='{{ azureResourceName }}' --required
;