all_policies
Creates, updates, deletes, gets or lists an all_policies resource.
Overview
| Name | all_policies |
| Type | Resource |
| Id | azure.api_management.all_policies |
Fields
The following fields are returned by SELECT queries:
- list_by_service
Returns an array of Policy Status.
| Name | Datatype | Description |
|---|---|---|
properties | object | Properties of the All Policies. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_service | select | resourceGroupName, serviceName, subscriptionId | Status of all policies of API Management services. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list_by_service
Status of all policies of API Management services.
SELECT
properties
FROM azure.api_management.all_policies
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;