{ "swagger": "2.0", "info": { "title": "NetworkManagementClient", "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", "version": "2019-08-01" }, "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}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": { "get": { "operationId": "AvailableServiceAliases_List", "description": "Gets all available service aliases for this subscription in this region.", "parameters": [ { "name": "location", "in": "path", "required": true, "type": "string", "description": "The location." }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "$ref": "./network.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Request successful. Returns all available service aliases for the subscription in the region.", "schema": { "$ref": "#/definitions/AvailableServiceAliasesResult" } } }, "x-ms-examples": { "Get available service aliases": { "$ref": "./examples/AvailableServiceAliasesList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": { "get": { "operationId": "AvailableServiceAliases_ListByResourceGroup", "description": "Gets all available service aliases for this resource group in this region.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "location", "in": "path", "required": true, "type": "string", "description": "The location." }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "$ref": "./network.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Request successful. Returns all available service aliases for the resource group in the region.", "schema": { "$ref": "#/definitions/AvailableServiceAliasesResult" } } }, "x-ms-examples": { "Get available service aliases in the resource group": { "$ref": "./examples/AvailableServiceAliasesListByResourceGroup.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } } }, "definitions": { "AvailableServiceAlias": { "properties": { "name": { "type": "string", "description": "The name of the service alias." }, "id": { "type": "string", "description": "The ID of the service alias." }, "type": { "type": "string", "description": "The type of the resource." }, "resourceName": { "type": "string", "description": "The resource name of the service alias." } }, "description": "The available service alias." }, "AvailableServiceAliasesResult": { "properties": { "value": { "type": "array", "items": { "$ref": "#/definitions/AvailableServiceAlias" }, "description": "An array of available service aliases." }, "nextLink": { "readOnly": true, "type": "string", "description": "The URL to get the next set of results." } }, "description": "An array of available service aliases." } } }