workspace_collections_access_keys
Creates, updates, deletes, gets or lists a workspace_collections_access_keys
resource.
Overview
Name | workspace_collections_access_keys |
Type | Resource |
Id | azure.powerbi_embedded.workspace_collections_access_keys |
Fields
The following fields are returned by SELECT
queries:
- get
Get access keys completed successfully
Name | Datatype | Description |
---|---|---|
key1 | string | Access key 1 |
key2 | string | Access key 2 |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , workspaceCollectionName | Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection. |
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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | Azure resource group |
subscriptionId | string | Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
workspaceCollectionName | string | Power BI Embedded Workspace Collection name |
SELECT
examples
- get
Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.
SELECT
key1,
key2
FROM azure.powerbi_embedded.workspace_collections_access_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceCollectionName = '{{ workspaceCollectionName }}' -- required
;