{ "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": "2025-03-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses": { "get": { "operationId": "PublicIPAddresses_ListCloudServicePublicIPAddresses", "description": "Gets information about all public IP addresses on a cloud service level.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "cloudServiceName", "in": "path", "required": true, "type": "string", "description": "The name of the cloud service." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Request successful. The operation returns a list of PublicIPInterface resources.", "schema": { "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "./network.json#/definitions/CloudError" } } }, "x-ms-examples": { "ListVMSSPublicIP": { "$ref": "./examples/CloudServicePublicIpListAll.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": { "get": { "operationId": "PublicIPAddresses_ListCloudServiceRoleInstancePublicIPAddresses", "description": "Gets information about all public IP addresses in a role instance IP configuration in a cloud service.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "cloudServiceName", "in": "path", "required": true, "type": "string", "description": "The name of the cloud service." }, { "name": "roleInstanceName", "in": "path", "required": true, "type": "string", "description": "The name of role instance." }, { "name": "networkInterfaceName", "in": "path", "required": true, "type": "string", "description": "The network interface name." }, { "name": "ipConfigurationName", "in": "path", "required": true, "type": "string", "description": "The IP configuration name." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Request successful. The operation returns a list of PublicIPAddress resources.", "schema": { "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "./network.json#/definitions/CloudError" } } }, "x-ms-examples": { "ListVMSSVMPublicIP": { "$ref": "./examples/CloudServiceRoleInstancePublicIpList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": { "get": { "operationId": "PublicIPAddresses_GetCloudServicePublicIPAddress", "description": "Get the specified public IP address in a cloud service.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "cloudServiceName", "in": "path", "required": true, "type": "string", "description": "The name of the cloud service." }, { "name": "roleInstanceName", "in": "path", "required": true, "type": "string", "description": "The role instance name." }, { "name": "networkInterfaceName", "in": "path", "required": true, "type": "string", "description": "The name of the network interface." }, { "name": "ipConfigurationName", "in": "path", "required": true, "type": "string", "description": "The name of the IP configuration." }, { "name": "publicIpAddressName", "in": "path", "required": true, "type": "string", "description": "The name of the public IP Address." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", "in": "query", "required": false, "type": "string", "description": "Expands referenced resources." } ], "x-ms-examples": { "GetVMSSPublicIP": { "$ref": "./examples/CloudServicePublicIpGet.json" } }, "responses": { "200": { "description": "Request successful. The operation returns the resulting PublicIPAddress resource.", "schema": { "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "./network.json#/definitions/CloudError" } } } } } } }