Skip to main content

roles

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

Overview

Nameroles
TypeResource
Idazure_extras.customer_insights.roles

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
propertiesobjectThe Role definition.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
list_by_hubSELECThubName, resourceGroupName, subscriptionIdGets all the roles for the hub.

SELECT examples

Gets all the roles for the hub.

SELECT
id,
name,
properties,
type
FROM azure_extras.customer_insights.roles
WHERE hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';