List SAS Policies for a Hub (ARM)

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

Lists the Authentication Policy 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>/AuthorizationPolicies?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 policy information that includes SAS Policy definitions, in the following form:

{
   'value':'[
            {
     'id':'/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/AuthorizationPolicies/<policyName>'
     'name':'<hubName>/<policyName>,
     'type':'Microsoft.CustomerInsights/hubs/AuthorizationPolicies',
     'properties' : <SASPolicy-Definition>
            },
            {
     'id':'/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/AuthorizationPolicies/<policyName>'
     'name':'<hubName>/<policyName>,
     'type':'Microsoft.CustomerInsights/hubs/AuthorizationPolicies',
     'properties' : <SASPolicy-Definition>
            }
            ]',
   'nextLink':'NextLink'
  }

Status Code

  • 200 (OK) - the policy was retrieved successfully.

  • 401 (Access denied) - not authorized to read resource.