|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "ApiManagementClient", |
| 5 | + "description": "REST API for getting policy status in an Azure API Management deployment.", |
| 6 | + "version": "2024-05-01" |
| 7 | + }, |
| 8 | + "host": "management.azure.com", |
| 9 | + "schemes": [ |
| 10 | + "https" |
| 11 | + ], |
| 12 | + "consumes": [ |
| 13 | + "application/json" |
| 14 | + ], |
| 15 | + "produces": [ |
| 16 | + "application/json" |
| 17 | + ], |
| 18 | + "security": [ |
| 19 | + { |
| 20 | + "azure_auth": [ |
| 21 | + "user_impersonation" |
| 22 | + ] |
| 23 | + } |
| 24 | + ], |
| 25 | + "securityDefinitions": { |
| 26 | + "azure_auth": { |
| 27 | + "type": "oauth2", |
| 28 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 29 | + "flow": "implicit", |
| 30 | + "description": "Azure Active Directory OAuth2 Flow.", |
| 31 | + "scopes": { |
| 32 | + "user_impersonation": "impersonate your user account" |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + "paths": { |
| 37 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/allPolicies": { |
| 38 | + "get": { |
| 39 | + "tags": [ |
| 40 | + "AllPolicies" |
| 41 | + ], |
| 42 | + "operationId": "AllPolicies_ListByService", |
| 43 | + "description": "Status of all policies of API Management services.", |
| 44 | + "x-ms-examples": { |
| 45 | + "ApiManagementListPolicyRestrictions": { |
| 46 | + "$ref": "./examples/ApiManagementAllPolicies.json" |
| 47 | + } |
| 48 | + }, |
| 49 | + "parameters": [ |
| 50 | + { |
| 51 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" |
| 52 | + }, |
| 53 | + { |
| 54 | + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" |
| 55 | + }, |
| 56 | + { |
| 57 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" |
| 58 | + }, |
| 59 | + { |
| 60 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" |
| 61 | + } |
| 62 | + ], |
| 63 | + "responses": { |
| 64 | + "200": { |
| 65 | + "description": "Returns an array of Policy Status.", |
| 66 | + "schema": { |
| 67 | + "$ref": "./definitions.json#/definitions/AllPoliciesCollection" |
| 68 | + } |
| 69 | + }, |
| 70 | + "default": { |
| 71 | + "description": "Error response describing why the operation failed.", |
| 72 | + "schema": { |
| 73 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" |
| 74 | + } |
| 75 | + } |
| 76 | + }, |
| 77 | + "x-ms-pageable": { |
| 78 | + "nextLinkName": "nextLink" |
| 79 | + } |
| 80 | + } |
| 81 | + } |
| 82 | + }, |
| 83 | + "definitions": {}, |
| 84 | + "parameters": {} |
| 85 | +} |
0 commit comments