Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
"required": true,
"type": "string",
"enum": [
"access"
"access",
"getAccess"
],
"x-ms-enum": {
"modelAsString": true,
Expand All @@ -159,6 +160,21 @@
"description": "The identifier of the Access configuration.",
"x-ms-parameter-location": "method"
},
"SettingsParameter": {
"name": "settingsType",
"in": "path",
"required": true,
"type": "string",
"enum": [
"public"
],
"x-ms-enum": {
"modelAsString": true,
"name": "settingsTypeName"
},
"description": "The identifier of the settings.",
"x-ms-parameter-location": "method"
},
"ApiIdParameter": {
"name": "apiId",
"in": "path",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"swagger": "2.0",
"info": {
"title": "ApiManagementClient",
"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.",
"version": "2020-06-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings": {
"get": {
"tags": [
"TenantSettings"
],
"operationId": "TenantSettings_ListByService",
"description": "Public settings.",
"x-ms-examples": {
"ApiManagementListTenantSettings": {
"$ref": "./examples/ApiManagementListTenantSettings.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
"description": "Not used"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Lists a collection of TenantSettings entities.",
"schema": {
"$ref": "./definitions.json#/definitions/TenantSettingsCollection"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-odata": "./definitions.json#/definitions/TenantSettingsContract"
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings/{settingsType}": {
"get": {
"tags": [
"TenantSettings"
],
"operationId": "TenantSettings_Get",
"description": "Get tenant settings.",
"x-ms-examples": {
"ApiManagementGetTenantSettings": {
"$ref": "./examples/ApiManagementGetTenantSettings.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SettingsParameter"
}
],
"responses": {
"200": {
"description": "Tenant Settings.",
"schema": {
"$ref": "./definitions.json#/definitions/TenantSettingsContract"
},
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {},
"parameters": {}
}
Loading