-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new cloud service NIC and PIP APIs (#11650)
Co-authored-by: Richa Jain <ricjain@microsoft.com>
- Loading branch information
Showing
9 changed files
with
839 additions
and
0 deletions.
There are no files selected for viewing
222 changes: 222 additions & 0 deletions
222
...rk/resource-manager/Microsoft.Network/stable/2020-08-01/cloudServiceNetworkInterface.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
{ | ||
"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": "2020-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces": { | ||
"get": { | ||
"tags": [ | ||
"NetworkInterfaces" | ||
], | ||
"operationId": "NetworkInterfaces_ListCloudServiceRoleInstanceNetworkInterfaces", | ||
"description": "Gets information about all network interfaces in a role instance 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." | ||
}, | ||
{ | ||
"$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" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "./network.json#/definitions/CloudError" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"List cloud service role instance network interfaces": { | ||
"$ref": "./examples/CloudServiceRoleInstanceNetworkInterfaceList.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces": { | ||
"get": { | ||
"tags": [ | ||
"NetworkInterfaces" | ||
], | ||
"operationId": "NetworkInterfaces_ListCloudServiceNetworkInterfaces", | ||
"description": "Gets all network interfaces 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." | ||
}, | ||
{ | ||
"$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" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "./network.json#/definitions/CloudError" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"List cloud service network interfaces": { | ||
"$ref": "./examples/CloudServiceNetworkInterfaceList.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}": { | ||
"get": { | ||
"tags": [ | ||
"NetworkInterfaces" | ||
], | ||
"operationId": "NetworkInterfaces_GetCloudServiceNetworkInterface", | ||
"description": "Get the specified network interface 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 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" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "./network.json#/definitions/CloudError" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Get cloud service network interface": { | ||
"$ref": "./examples/CloudServiceNetworkInterfaceGet.json" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.