swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PurviewPolicies API schemes: - https tags: - name: PurviewPolicies paths: /{scope}/providers/Microsoft.Purview/policies: get: operationId: microsoftAzurePurviewpoliciesList tags: - PurviewPolicies summary: Microsoft Azure Api To List The Purview Rbac Policies Based On A Scope description: The API lists the Azure purview RBAC policies affecting the scope. The scope can be any valid ARM resource id parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter - $ref: '#/parameters/SkipTokenParameter' - name: $filter in: query description: 'Supported filters : $filter=policyType eq SelfService, $filter=policyType eq SqlDevops. Returns only the policies of the specified type. If not specified, all policies are returned.' required: false type: string x-ms-client-name: filter x-ms-skip-url-encoding: true responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/PolicyListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: API to list the purview RBAC policies based on a scope - generated by [MaximumSet] rule - generated by [MaximumSet] rule: $ref: ./examples/PurviewPolicies_List_MaximumSet_Gen.json x-ms-pageable: nextLinkName: nextLink definitions: FabricItemMember: type: object description: Microsoft fabric item member properties: sourcePath: type: string description: Source path of the member itemAccess: type: array description: Array of access items for the member items: type: string AttributePredicate: type: object description: Attribute predicate for a policy permission properties: attributeName: type: string description: AttributeName of a policy permission attributeValueIncludedIn: type: array description: values for a policy permission items: type: string Decision: type: string description: The effect for rule enum: - Permit - Deny x-ms-enum: name: Decision modelAsString: true values: - name: Permit value: Permit description: Access permitted - name: Deny value: Deny description: Access denied ObjectType: type: string description: The objectType of the member. enum: - User - Group - ServicePrincipal x-ms-enum: name: ObjectType modelAsString: true values: - name: User value: User description: AAD User object type. - name: Group value: Group description: AAD Group object type. - name: ServicePrincipal value: ServicePrincipal description: Service Principal object type. PolicyDecisionRule: type: object description: Purview RBAC policy decision rule properties: effect: $ref: '#/definitions/Decision' description: The effect for rule permission: type: array description: Array of attribute predicates items: $ref: '#/definitions/AttributePredicate' x-ms-identifiers: [] required: - effect PolicyMembers: type: object description: Policy member properties: fabricItemMembers: type: array description: Array of azure active directory members items: $ref: '#/definitions/FabricItemMember' x-ms-identifiers: [] aadMembers: type: array description: Array of azure active directory members items: $ref: '#/definitions/AadMember' x-ms-identifiers: [] PolicyListResult: type: object description: The response of a Policy list operation. properties: value: type: array description: The Policy items on this page items: $ref: '#/definitions/Policy' nextLink: type: string format: uri description: The link to the next page of items required: - value AadMember: type: object description: Azure active directory member properties: tenantId: type: string description: The tenantId of the member objectId: type: string description: The objectId of the member objectType: $ref: '#/definitions/ObjectType' description: The objectType of the member. Policy: type: object description: Purview RBAC policy properties: kind: type: string description: The policy kind source: type: string description: The policy source etag: type: string description: The etag version of a policy scopes: type: array description: Array of scopes where the policy is published items: type: string members: $ref: '#/definitions/PolicyMembers' description: Members of the policy decisionRules: type: array description: Array of decision rules for the policy items: $ref: '#/definitions/PolicyDecisionRule' x-ms-identifiers: [] expiryTime: type: string format: date-time description: The timestamp of the expiry time of the policy (UTC). requestor: type: string description: The AAD member who requested the policy required: - source - etag - scopes - members - decisionRules allOf: - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource parameters: SkipTokenParameter: name: skipToken in: query description: Paging key to paginate to next page. required: false type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'