List Roles for a Hub (ARM)

[This topic is pre-release documentation and is subject to change.]

Lists the Role type definitions for the specified Hub.

Request

The request is constructed as follows:

HTTP Verb Request URI
GET https://management.azure.com/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/roles?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
subId Yes Subscription ID
rgName Yes Azure region name
hubName Yes Name of your Customer Insights Hub

Response

The response includes a standard HTTP status code, a set of standard response headers, and a response body.

Response Body

A collection of role information, including Role type definitions, in the following format:

{ 
   'value':'[ 
    { 
        'id':'/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/Roles/<roleName>' 
        'name':'<hubName>/<roleName>, 
        'type':'Microsoft.CustomerInsights/hubs/Roles', 
        'properties': <Role-Definition>
    }, 
    { 
        'id':'/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/Roles/<roleName>' 
        'name':'<hubName>/<roleName>, 
        'type':'Microsoft.CustomerInsights/hubs/Roles', 
        'properties': <Role-Definition>
    }  ]', 
   'nextLink':'<url>' 
}