azure.com

To manage and control access to your resources, you can define customized policies and assign them at a scope.

🔑 oauth2 9 endpoints cloud
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (9 total)

azure-sdk-for-python ✓ Official
pip install azure-sdk-for-python
azure-sdk-for-js ✓ Official
npm install azure-sdk-for-js
azure-sdk-for-node ✓ Official
npm install azure-sdk-for-node
azure-sdk-for-go ✓ Official
go get github.com/Azure/azure-sdk-for-go
azure-sdk-for-java ✓ Official
# Maven: see https://github.com/Azure/azure-sdk-for-java
dotnet add package cognitive-services-speech-sdk
azure-sdk-for-net ✓ Official
dotnet add package azure-sdk-for-net
# See https://github.com/microsoft/Azure-Kinect-Sensor-SDK
# See https://github.com/Azure/MachineLearningNotebooks
curl examples
Retrieves the policy assignment with the given ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{policyAssignmentId}
Retrieves all policy assignments that apply to a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments
Retrieves a policy assignment.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Endpoints (9 total)
GET
/{policyAssignmentId}
Retrieves the policy assignment with the given ID.
GET
/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a subscription.
GET
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Retrieves a policy assignment.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource group.
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource.
PUT
/{policyAssignmentId}
Creates or updates a policy assignment.
PUT
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Creates or updates a policy assignment.
DELETE
/{policyAssignmentId}
Deletes a policy assignment.
DELETE
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Deletes a policy assignment.
At a glance
Total SDKs9
Languages8
Endpoints9
Authoauth2
Categories1