{ "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": "2018-10-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/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces": { "get": { "tags": [ "NetworkInterfaces" ], "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces", "description": "Gets information about all network interfaces in a virtual machine in a virtual machine scale set.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "virtualMachineScaleSetName", "in": "path", "required": true, "type": "string", "description": "The name of the virtual machine scale set." }, { "name": "virtualmachineIndex", "in": "path", "required": true, "type": "string", "description": "The virtual machine index." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Request successful. The operation returns a list of NetworkInterface resources.", "schema": { "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult" } } }, "x-ms-examples": { "List virtual machine scale set vm network interfaces": { "$ref": "./examples/VmssVmNetworkInterfaceList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces": { "get": { "tags": [ "NetworkInterfaces" ], "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces", "description": "Gets all network interfaces in a virtual machine scale set.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "virtualMachineScaleSetName", "in": "path", "required": true, "type": "string", "description": "The name of the virtual machine scale set." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Request successful. The operation returns a list of NetworkInterface resources.", "schema": { "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult" } } }, "x-ms-examples": { "List virtual machine scale set network interfaces": { "$ref": "./examples/VmssNetworkInterfaceList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}": { "get": { "tags": [ "NetworkInterfaces" ], "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface", "description": "Get the specified network interface in a virtual machine scale set.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "virtualMachineScaleSetName", "in": "path", "required": true, "type": "string", "description": "The name of the virtual machine scale set." }, { "name": "virtualmachineIndex", "in": "path", "required": true, "type": "string", "description": "The virtual machine index." }, { "name": "networkInterfaceName", "in": "path", "required": true, "type": "string", "description": "The name of the network interface." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", "in": "query", "required": false, "type": "string", "description": "Expands referenced resources." } ], "responses": { "200": { "description": "Request successful. The operation returns the resulting NetworkInterface resource.", "schema": { "$ref": "./networkInterface.json#/definitions/NetworkInterface" } } }, "x-ms-examples": { "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceGet.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations": { "get": { "tags": [ "NetworkInterfaces" ], "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetIpConfigurations", "description": "Get the specified network interface ip configuration in a virtual machine scale set.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "virtualMachineScaleSetName", "in": "path", "required": true, "type": "string", "description": "The name of the virtual machine scale set." }, { "name": "virtualmachineIndex", "in": "path", "required": true, "type": "string", "description": "The virtual machine index." }, { "name": "networkInterfaceName", "in": "path", "required": true, "type": "string", "description": "The name of the network interface." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", "in": "query", "required": false, "type": "string", "description": "Expands referenced resources." } ], "responses": { "200": { "description": "Request successful. The operation returns the list of resulting NetworkInterfaceIPConfigurations resources.", "schema": { "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfigurationListResult" } } }, "x-ms-examples": { "List virtual machine scale set network interface ip configurations": { "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": { "get": { "tags": [ "NetworkInterfaces" ], "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetIpConfiguration", "description": "Get the specified network interface ip configuration in a virtual machine scale set.", "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group." }, { "name": "virtualMachineScaleSetName", "in": "path", "required": true, "type": "string", "description": "The name of the virtual machine scale set." }, { "name": "virtualmachineIndex", "in": "path", "required": true, "type": "string", "description": "The virtual machine index." }, { "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." }, { "$ref": "./network.json#/parameters/ApiVersionVmssParameter" }, { "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", "in": "query", "required": false, "type": "string", "description": "Expands referenced resources." } ], "responses": { "200": { "description": "Request successful. The operation returns the resulting NetworkInterfaceIPConfiguration resource.", "schema": { "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration" } } }, "x-ms-examples": { "Get virtual machine scale set network interface": { "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json" } } } } } }