Get a SAS Policy (ARM)

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

Gets the specified Authentication Policy type for resources in 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/<policyName>?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
policyName Yes Name of the policy to be retrieved

Response

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

Status Code

  • 200 (OK) - Policy was retrieved successfully.
  • 401 (Access denied) - not authorized to read resource.
  • 404 (Not Found) - requested policy not found.

Response Body

The requested policy information, including a SasPolicy type definition, of the form:

{
     'id':'/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.CustomerInsights/hubs/<hubName>/AuthorizationPolicies/<policyName>',
     'name':'<hubName>/<policyName>,
     'type':'Microsoft.CustomerInsights/hubs/AuthorizationPolicies',
     'properties' : <SasPolicy-Definition>
}