|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "ApiManagementClient", |
| 5 | + "description": "Use these REST APIs for performing operations on settings entity associated with your Azure API Management deployment. Using this entity you can manage properties and configuration that apply to the entire API Management service instance.", |
| 6 | + "version": "2020-06-01-preview" |
| 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}/settings": { |
| 38 | + "get": { |
| 39 | + "tags": [ |
| 40 | + "TenantSettings" |
| 41 | + ], |
| 42 | + "operationId": "TenantSettings_ListByService", |
| 43 | + "description": "Public settings.", |
| 44 | + "x-ms-examples": { |
| 45 | + "ApiManagementListTenantSettings": { |
| 46 | + "$ref": "./examples/ApiManagementListTenantSettings.json" |
| 47 | + } |
| 48 | + }, |
| 49 | + "parameters": [ |
| 50 | + { |
| 51 | + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" |
| 52 | + }, |
| 53 | + { |
| 54 | + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" |
| 55 | + }, |
| 56 | + { |
| 57 | + "name": "$filter", |
| 58 | + "in": "query", |
| 59 | + "required": false, |
| 60 | + "type": "string", |
| 61 | + "description": "Not used" |
| 62 | + }, |
| 63 | + { |
| 64 | + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" |
| 65 | + }, |
| 66 | + { |
| 67 | + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" |
| 68 | + } |
| 69 | + ], |
| 70 | + "responses": { |
| 71 | + "200": { |
| 72 | + "description": "Lists a collection of TenantSettings entities.", |
| 73 | + "schema": { |
| 74 | + "$ref": "./definitions.json#/definitions/TenantSettingsCollection" |
| 75 | + } |
| 76 | + }, |
| 77 | + "default": { |
| 78 | + "description": "Error response describing why the operation failed.", |
| 79 | + "schema": { |
| 80 | + "$ref": "./apimanagement.json#/definitions/ErrorResponse" |
| 81 | + } |
| 82 | + } |
| 83 | + }, |
| 84 | + "x-ms-pageable": { |
| 85 | + "nextLinkName": "nextLink" |
| 86 | + }, |
| 87 | + "x-ms-odata": "./definitions.json#/definitions/TenantSettingsContract" |
| 88 | + } |
| 89 | + }, |
| 90 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings/{settingsType}": { |
| 91 | + "get": { |
| 92 | + "tags": [ |
| 93 | + "TenantSettings" |
| 94 | + ], |
| 95 | + "operationId": "TenantSettings_Get", |
| 96 | + "description": "Get tenant settings.", |
| 97 | + "x-ms-examples": { |
| 98 | + "ApiManagementGetTenantSettings": { |
| 99 | + "$ref": "./examples/ApiManagementGetTenantSettings.json" |
| 100 | + } |
| 101 | + }, |
| 102 | + "parameters": [ |
| 103 | + { |
| 104 | + "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter" |
| 105 | + }, |
| 106 | + { |
| 107 | + "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" |
| 108 | + }, |
| 109 | + { |
| 110 | + "$ref": "./apimanagement.json#/parameters/ApiVersionParameter" |
| 111 | + }, |
| 112 | + { |
| 113 | + "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter" |
| 114 | + }, |
| 115 | + { |
| 116 | + "$ref": "./apimanagement.json#/parameters/SettingsParameter" |
| 117 | + } |
| 118 | + ], |
| 119 | + "responses": { |
| 120 | + "200": { |
| 121 | + "description": "Tenant Settings.", |
| 122 | + "schema": { |
| 123 | + "$ref": "./definitions.json#/definitions/TenantSettingsContract" |
| 124 | + }, |
| 125 | + "headers": { |
| 126 | + "ETag": { |
| 127 | + "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", |
| 128 | + "type": "string" |
| 129 | + } |
| 130 | + } |
| 131 | + }, |
| 132 | + "default": { |
| 133 | + "description": "Error response describing why the operation failed.", |
| 134 | + "schema": { |
| 135 | + "$ref": "./apimanagement.json#/definitions/ErrorResponse" |
| 136 | + } |
| 137 | + } |
| 138 | + } |
| 139 | + } |
| 140 | + } |
| 141 | + }, |
| 142 | + "definitions": {}, |
| 143 | + "parameters": {} |
| 144 | +} |
0 commit comments