From 9c6e59b23be94fdb8cc8477ba9d5d2c920bd4b67 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 29 Apr 2019 14:30:22 -0400 Subject: [PATCH] chore: Renormalize line endings (#5783) Ran `git add --renormalize .` --- .../resource-manager/readme.md | 522 ++++++------- .../2019-02-01/availableDelegations.json | 332 ++++----- .../ApplicationGatewayBackendHealthTest.json | 82 +-- .../ApplicationSecurityGroupUpdateTags.json | 66 +- .../AvailableDelegationsResourceGroupGet.json | 50 +- .../AvailableDelegationsSubscriptionGet.json | 48 +- .../examples/InterfaceEndpointCreate.json | 134 ++-- .../examples/InterfaceEndpointDelete.json | 26 +- .../examples/InterfaceEndpointGet.json | 68 +- .../examples/InterfaceEndpointList.json | 118 +-- .../examples/InterfaceEndpointListAll.json | 160 ++-- .../examples/SubnetCreateWithDelegation.json | 120 +-- .../examples/SubnetGetWithDelegation.json | 66 +- ...tualNetworkCreateSubnetWithDelegation.json | 228 +++--- ...VirtualNetworkGetWithSubnetDelegation.json | 94 +-- .../stable/2019-02-01/interfaceEndpoint.json | 688 +++++++++--------- .../stable/2019-02-01/usage.json | 6 +- 17 files changed, 1404 insertions(+), 1404 deletions(-) diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index e41f898ff408..dd76ce01c32a 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -1,262 +1,262 @@ -# ContainerRegistry - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for ContainerRegistry. - - - ---- -## Getting Started -To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` ---- - -## Configuration - - - -### Basic Information -These are the global settings for the ContainerRegistry API. - -``` yaml -openapi-type: arm -tag: package-2019-04 -``` - -### Tag: package-2019-04 - -These settings apply only when `--tag=package-2019-04` is specified on the command line. - -``` yaml $(tag) == 'package-2019-04' -input-file: -- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json -- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json -``` - -### Tag: package-2018-09 - -These settings apply only when `--tag=package-2018-09` is specified on the command line. - -``` yaml $(tag) == 'package-2018-09' -input-file: -- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json -- Microsoft.ContainerRegistry/stable/2018-09-01/containerregistry_build.json -``` - -### Tag: package-2018-02-preview - -These settings apply only when `--tag=package-2018-02-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2018-02-preview' -input-file: -- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json -- Microsoft.ContainerRegistry/preview/2018-02-01-preview/containerregistry_build.json -``` - -### Tag: package-2017-10 - -These settings apply only when `--tag=package-2017-10` is specified on the command line. - -``` yaml $(tag) == 'package-2017-10' -input-file: -- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json -``` - -### Tag: package-2017-06-preview - -These settings apply only when `--tag=package-2017-06-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2017-06-preview' -input-file: -- Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json -``` - -### Tag: package-2017-03 - -These settings apply only when `--tag=package-2017-03` is specified on the command line. - -``` yaml $(tag) == 'package-2017-03' -input-file: -- Microsoft.ContainerRegistry/stable/2017-03-01/containerregistry.json -``` - -### Tag: package-2016-06-preview - -These settings apply only when `--tag=package-2016-06-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2016-06-preview' -input-file: -- Microsoft.ContainerRegistry/preview/2016-06-27-preview/containerregistry.json -``` - - ---- -# Code Generation - - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-python - after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-js - - repo: azure-sdk-for-node - - repo: azure-sdk-for-ruby - after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_registry'] -``` - - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - # stop the simplifier from making Task conflict: - skip-simplifier-on-namespace: - - System.Threading.Tasks - # last generated using AutoRest.1.0.0-Nightly20170212 with commit 3b0b26b4b6e3bc5e7cf3610b0866d310abb5b814 - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Management.ContainerRegistry - payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/ContainerRegistry/Management.ContainerRegistry/Generated - clear-output-folder: true -``` - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.containerregistry -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2019-04 - - tag: package-2018-09 - - tag: package-2018-02-preview - - tag: package-2017-10 - - tag: package-2017-06-preview - - tag: package-2017-03 - - tag: package-2016-06-preview -``` - -### Tag: package-2019-04 and java - -These settings apply only when `--tag=package-2019-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2019-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2019_04_01 - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_04_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-09 and java - -These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2018_09_01 - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2018_09_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2018-02-preview and java - -These settings apply only when `--tag=package-2018-02-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2018_02_01_preview - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2018_02_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-10 and java - -These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2017_10_01 - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_10_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-06-preview and java - -These settings apply only when `--tag=package-2017-06-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-06-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2017_06_01_preview - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_06_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-03 and java - -These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2017_03_01 - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_03_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2016-06-preview and java - -These settings apply only when `--tag=package-2016-06-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2016-06-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.containerregistry.v2016_06_27_preview - output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2016_06_27_preview -regenerate-manager: true -generate-interface: true +# ContainerRegistry + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ContainerRegistry. + + + +--- +## Getting Started +To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the ContainerRegistry API. + +``` yaml +openapi-type: arm +tag: package-2019-04 +``` + +### Tag: package-2019-04 + +These settings apply only when `--tag=package-2019-04` is specified on the command line. + +``` yaml $(tag) == 'package-2019-04' +input-file: +- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json +- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json +``` + +### Tag: package-2018-09 + +These settings apply only when `--tag=package-2018-09` is specified on the command line. + +``` yaml $(tag) == 'package-2018-09' +input-file: +- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json +- Microsoft.ContainerRegistry/stable/2018-09-01/containerregistry_build.json +``` + +### Tag: package-2018-02-preview + +These settings apply only when `--tag=package-2018-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-02-preview' +input-file: +- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json +- Microsoft.ContainerRegistry/preview/2018-02-01-preview/containerregistry_build.json +``` + +### Tag: package-2017-10 + +These settings apply only when `--tag=package-2017-10` is specified on the command line. + +``` yaml $(tag) == 'package-2017-10' +input-file: +- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json +``` + +### Tag: package-2017-06-preview + +These settings apply only when `--tag=package-2017-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06-preview' +input-file: +- Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json +``` + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.ContainerRegistry/stable/2017-03-01/containerregistry.json +``` + +### Tag: package-2016-06-preview + +These settings apply only when `--tag=package-2016-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06-preview' +input-file: +- Microsoft.ContainerRegistry/preview/2016-06-27-preview/containerregistry.json +``` + + +--- +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + after_scripts: + - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-node + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_registry'] +``` + + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + # stop the simplifier from making Task conflict: + skip-simplifier-on-namespace: + - System.Threading.Tasks + # last generated using AutoRest.1.0.0-Nightly20170212 with commit 3b0b26b4b6e3bc5e7cf3610b0866d310abb5b814 + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.ContainerRegistry + payload-flattening-threshold: 2 + output-folder: $(csharp-sdks-folder)/ContainerRegistry/Management.ContainerRegistry/Generated + clear-output-folder: true +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.containerregistry +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-04 + - tag: package-2018-09 + - tag: package-2018-02-preview + - tag: package-2017-10 + - tag: package-2017-06-preview + - tag: package-2017-03 + - tag: package-2016-06-preview +``` + +### Tag: package-2019-04 and java + +These settings apply only when `--tag=package-2019-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2019_04_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-09 and java + +These settings apply only when `--tag=package-2018-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2018_09_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2018_09_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-02-preview and java + +These settings apply only when `--tag=package-2018-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2018_02_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2018_02_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-06-preview and java + +These settings apply only when `--tag=package-2017-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_06_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-03 and java + +These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_03_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_03_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-06-preview and java + +These settings apply only when `--tag=package-2016-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2016_06_27_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2016_06_27_preview +regenerate-manager: true +generate-interface: true ``` \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/availableDelegations.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/availableDelegations.json index 4596f2408be0..c867a45443bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/availableDelegations.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/availableDelegations.json @@ -1,166 +1,166 @@ -{ - "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-02-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}/availableDelegations": { - "get": { - "operationId": "AvailableDelegations_List", - "description": "Gets all of the available subnet delegations for this subscription in this region.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location of the subnet." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", - "schema": { - "$ref": "#/definitions/AvailableDelegationsResult" - } - } - }, - "x-ms-examples": { - "Get available delegations": { - "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { - "get": { - "operationId": "AvailableResourceGroupDelegations_List", - "description": "Gets all of the available subnet delegations for this resource group in this region.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location of the domain name." - }, - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", - "schema": { - "$ref": "#/definitions/AvailableDelegationsResult" - } - } - }, - "x-ms-examples": { - "Get available delegations in the resource group": { - "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AvailableDelegationsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AvailableDelegation" - }, - "description": "An array of available delegations." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "An array of available delegations." - }, - "AvailableDelegation": { - "properties": { - "name": { - "type": "string", - "description": "The name of the AvailableDelegation resource." - }, - "id": { - "type": "string", - "description": "A unique identifier of the AvailableDelegation resource." - }, - "type": { - "type": "string", - "description": "Resource type." - }, - "serviceName": { - "type": "string", - "description": "The name of the service and resource " - }, - "actions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Describes the actions permitted to the service upon delegation" - } - }, - "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet." - } - } -} +{ + "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-02-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}/availableDelegations": { + "get": { + "operationId": "AvailableDelegations_List", + "description": "Gets all of the available subnet delegations for this subscription in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", + "schema": { + "$ref": "#/definitions/AvailableDelegationsResult" + } + } + }, + "x-ms-examples": { + "Get available delegations": { + "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { + "get": { + "operationId": "AvailableResourceGroupDelegations_List", + "description": "Gets all of the available subnet delegations for this resource group in this region.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name." + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.", + "schema": { + "$ref": "#/definitions/AvailableDelegationsResult" + } + } + }, + "x-ms-examples": { + "Get available delegations in the resource group": { + "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AvailableDelegationsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailableDelegation" + }, + "description": "An array of available delegations." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "An array of available delegations." + }, + "AvailableDelegation": { + "properties": { + "name": { + "type": "string", + "description": "The name of the AvailableDelegation resource." + }, + "id": { + "type": "string", + "description": "A unique identifier of the AvailableDelegation resource." + }, + "type": { + "type": "string", + "description": "Resource type." + }, + "serviceName": { + "type": "string", + "description": "The name of the service and resource " + }, + "actions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Describes the actions permitted to the service upon delegation" + } + }, + "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json index 8ab416d76aed..84da691ab1d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayBackendHealthTest.json @@ -1,41 +1,41 @@ -{ - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "applicationGatewayName": "appgw", - "probeRequest": { - "protocol": "Http", - "pickHostNameFromBackendHttpSettings": true, - "path": "/", - "timeout": 30, - "backendPoolName": "MFAnalyticsPool", - "backendHttpSettingName": "MFPoolSettings" - } - }, - "responses": { - "200": { - "body": { - "backendAddressPool": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" - }, - "backendHealthHttpSettings": { - "backendHttpSettings": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" - }, - "servers": [ - { - "address": "10.220.1.4", - "health": "Up" - }, - { - "address": "10.220.1.5", - "health": "Up" - } - ] - } - } - }, - "202": {} - } -} +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "applicationGatewayName": "appgw", + "probeRequest": { + "protocol": "Http", + "pickHostNameFromBackendHttpSettings": true, + "path": "/", + "timeout": 30, + "backendPoolName": "MFAnalyticsPool", + "backendHttpSettingName": "MFPoolSettings" + } + }, + "responses": { + "200": { + "body": { + "backendAddressPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHealthHttpSettings": { + "backendHttpSettings": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json index 89ce80faec61..b1e56c67012c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -1,33 +1,33 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subid", - "resourceGroupName" : "rg1", - "applicationSecurityGroupName" : "test-asg", - "location": "westus", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses" : { - "200" : { - "body" : { - "name" : "test-asg", - "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", - "type" : "Microsoft.Network/applicationSecurityGroups", - "location" : "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties" : { - "provisioningState": "Succeeded", - "resourceGuid": "00000000-0000-0000-0000-000000000000" - } - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subid", + "resourceGroupName" : "rg1", + "applicationSecurityGroupName" : "test-asg", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses" : { + "200" : { + "body" : { + "name" : "test-asg", + "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "type" : "Microsoft.Network/applicationSecurityGroups", + "location" : "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties" : { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json index e7b95cb8fcf9..0389845c66ad 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsResourceGroupGet.json @@ -1,25 +1,25 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "location": "regionName", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "Microsoft.Provider.resourceType", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", - "type": "Microsoft.Network/availableDelegations", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [ - "Microsoft.Network/resource/action" - ] - } - ] - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "location": "regionName", + "subscriptionId" : "subId", + "resourceGroupName" : "rg1" + }, + "responses" : { + "200" : { + "body" : { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/resource/action" + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json index 4f77be82f543..345baf39590b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/AvailableDelegationsSubscriptionGet.json @@ -1,24 +1,24 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "location": "regionName", - "subscriptionId" : "subId" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "name": "Microsoft.Provider.resourceType", - "id": "/subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", - "type": "Microsoft.Network/availableDelegations", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [ - "Microsoft.Network/resource/action" - ] - } - ] - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "location": "regionName", + "subscriptionId" : "subId" + }, + "responses" : { + "200" : { + "body" : { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "id": "/subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [ + "Microsoft.Network/resource/action" + ] + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json index 241499107606..7c3dcb1c1977 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointCreate.json @@ -1,67 +1,67 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName": "rg1", - "interfaceEndpointName": "testIe", - "parameters": { - "properties": { - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - } - } - } - }, - "responses" : { - "200" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "location" : "eastus", - "properties" : { - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "provisioningState": "Succeded", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" - } - ] - } - } - }, - "201" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" - } - ] - } - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId", + "resourceGroupName": "rg1", + "interfaceEndpointName": "testIe", + "parameters": { + "properties": { + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + } + } + } + }, + "responses" : { + "200" : { + "body" : { + "name" : "testIe", + "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "location" : "eastus", + "properties" : { + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "provisioningState": "Succeded", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" + } + ] + } + } + }, + "201" : { + "body" : { + "name" : "testIe", + "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "location" : "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json index 74a2a2b83cfe..adb02141ab8a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointDelete.json @@ -1,13 +1,13 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName": "rg1", - "interfaceEndpointName": "testIe" - }, - "responses" : { - "200" : { }, - "202" : { }, - "204" : { } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId", + "resourceGroupName": "rg1", + "interfaceEndpointName": "testIe" + }, + "responses" : { + "200" : { }, + "202" : { }, + "204" : { } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json index 84d656889639..3070ad413d22 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointGet.json @@ -1,34 +1,34 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "interfaceEndpointName" : "testIe" - }, - "responses" : { - "200" : { - "body" : { - "name" : "testIe", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", - "type" : "Microsoft.Network/interfaceEndpoints", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" - } - ] - } - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId", + "resourceGroupName" : "rg1", + "interfaceEndpointName" : "testIe" + }, + "responses" : { + "200" : { + "body" : { + "name" : "testIe", + "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe", + "type" : "Microsoft.Network/interfaceEndpoints", + "location" : "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json index 564d80efe0d1..639c61da3f7c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointList.json @@ -1,59 +1,59 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", - "name": "ie1", - "type": "Microsoft.Network/interfaceEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", - "name": "ie2", - "type": "Microsoft.Network/interfaceEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "alsoUnique.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" - } - ] - } - } - ] - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId", + "resourceGroupName" : "rg1" + }, + "responses" : { + "200" : { + "body" : { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", + "name": "ie1", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", + "name": "ie2", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "alsoUnique.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json index 9dcfdaef16d7..ebdb0d36a0b0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/InterfaceEndpointListAll.json @@ -1,80 +1,80 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId" - }, - "responses" : { - "200" : { - "body" : { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", - "name": "ie1", - "type": "Microsoft.Network/interfaceEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "uniqueIdentifier.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", - "name": "ie2", - "type": "Microsoft.Network/interfaceEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "alsoUnique.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" - } - ] - } - }, - { - "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1", - "name": "ie1", - "type": "Microsoft.Network/interfaceEndpoints", - "location": "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "fqdn": "stillVeryUnique.fqdn.windows.net", - "owner": "User", - "endpointService": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" - }, - "subnet": { - "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" - }, - "networkInterfaces": [ - { - "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463" - } - ] - } - } - ] - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId" + }, + "responses" : { + "200" : { + "body" : { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1", + "name": "ie1", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "uniqueIdentifier.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2", + "name": "ie2", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "alsoUnique.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876" + } + ] + } + }, + { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1", + "name": "ie1", + "type": "Microsoft.Network/interfaceEndpoints", + "location": "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "fqdn": "stillVeryUnique.fqdn.windows.net", + "owner": "User", + "endpointService": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName" + }, + "subnet": { + "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + }, + "networkInterfaces": [ + { + "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateWithDelegation.json index ae29da78a4c2..649ce8ec2870 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateWithDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetCreateWithDelegation.json @@ -1,60 +1,60 @@ -{ - "parameters": { - "subnetName": "subnet1", - "virtualNetworkName": "vnetname", - "resourceGroupName": "subnet-test", - "api-version": "2019-02-01", - "subscriptionId": "subId", - "subnetParameters": { - "properties": { - "addressPrefix": "10.0.0.0/16" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", - "name": "subnet1", - "properties": { - "addressPrefix": "10.0.0.0/16", - "provisioningState": "Succeeded", - "delegations": [ - { - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - } - ], - "purpose": "" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", - "name": "subnet1", - "properties": { - "addressPrefix": "10.0.0.0/16", - "provisioningState": "Succeeded", - "delegations": [ - { - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - } - ], - "purpose": "" - } - } - } - } -} +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-02-01", + "subscriptionId": "subId", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetGetWithDelegation.json index 77965d139b3d..e9d244333b53 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetGetWithDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/SubnetGetWithDelegation.json @@ -1,33 +1,33 @@ -{ - "parameters": { - "subnetName": "subnet1", - "virtualNetworkName": "vnetname", - "resourceGroupName": "subnet-test", - "api-version": "2019-02-01", - "subscriptionId": "subId" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", - "name": "subnet1", - "properties": { - "addressPrefix": "10.0.0.0/16", - "provisioningState": "Succeeded", - "delegations": [ - { - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - } - ], - "purpose": "" - } - } - } - } -} +{ + "parameters": { + "subnetName": "subnet1", + "virtualNetworkName": "vnetname", + "resourceGroupName": "subnet-test", + "api-version": "2019-02-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "name": "subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json index ab650d845ee1..368184418a7f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -1,114 +1,114 @@ -{ - "parameters" : { - "api-version": "2019-02-01", - "subscriptionId" : "subId", - "resourceGroupName" : "rg1", - "virtualNetworkName" : "test-vnet", - "parameters": { - "properties": { - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "subnets": [ - { - "name": "test-1", - "properties": { - "addressPrefix": "10.0.0.0/24", - "delegations": [ - { - "name": "myDelegation", - "properties": { - "serviceName": "Microsoft.Provider/resourceType" - } - } - ] - } - } - ] - }, - "location": "eastus" - } - }, - "responses" : { - "200" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ - "10.0.0.0/16" - ] - }, - "subnets": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", - "name": "test-1", - "properties": { - "addressPrefix": "10.0.0.0/24", - "provisioningState": "Succeeded", - "delegations": [ - { - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - } - ], - "purpose": "" - } - } - ], - "virtualNetworkPeerings" : [] - } - } - }, - "201" : { - "body" : { - "name" : "test-vnet", - "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type" : "Microsoft.Network/virtualNetworks", - "location" : "eastus", - "properties" : { - "provisioningState" : "Succeeded", - "addressSpace" : { - "addressPrefixes" : [ - "10.0.0.0/16" - ] - }, - "subnets": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", - "name": "test-1", - "properties": { - "addressPrefix": "10.0.0.0/24", - "provisioningState": "Succeeded", - "delegations": [ - { - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - } - ], - "purpose": "" - } - } - ], - "virtualNetworkPeerings" : [] - } - } - } - } -} +{ + "parameters" : { + "api-version": "2019-02-01", + "subscriptionId" : "subId", + "resourceGroupName" : "rg1", + "virtualNetworkName" : "test-vnet", + "parameters": { + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "properties": { + "serviceName": "Microsoft.Provider/resourceType" + } + } + ] + } + } + ] + }, + "location": "eastus" + } + }, + "responses" : { + "200" : { + "body" : { + "name" : "test-vnet", + "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type" : "Microsoft.Network/virtualNetworks", + "location" : "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "addressSpace" : { + "addressPrefixes" : [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings" : [] + } + } + }, + "201" : { + "body" : { + "name" : "test-vnet", + "id" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type" : "Microsoft.Network/virtualNetworks", + "location" : "eastus", + "properties" : { + "provisioningState" : "Succeeded", + "addressSpace" : { + "addressPrefixes" : [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + } + ], + "purpose": "" + } + } + ], + "virtualNetworkPeerings" : [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json index c5a64c0a1527..b97c14c221ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -1,48 +1,48 @@ -{ - "parameters": { - "api-version": "2019-02-01", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "virtualNetworkName": "test-vnet" - }, - "responses": { - "200": { - "body": { - "name": "test-vnet", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", - "type": "Microsoft.Network/virtualNetworks", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "addressSpace": { - "addressPrefixes": [ - "10.0.0.0/16" - ] - }, - "subnets": [{ - "name": "subnet1", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", - "properties": { - "provisioningState": "Succeeded", - "addressPrefix": "10.0.1.0/24", - "ipConfigurations": [{ - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" - }], - "delegations": [{ - "name": "myDelegation", - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", - "properties": { - "provisioningState": "Succeeded", - "serviceName": "Microsoft.Provider/resourceType", - "actions": [] - } - }], - "purpose": "" - } - }], - "virtualNetworkPeerings": [] - } - } - } - } +{ + "parameters": { + "api-version": "2019-02-01", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [{ + "name": "subnet1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "provisioningState": "Succeeded", + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [{ + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + }], + "delegations": [{ + "name": "myDelegation", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType", + "actions": [] + } + }], + "purpose": "" + } + }], + "virtualNetworkPeerings": [] + } + } + } + } } \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json index 46c6423076ed..c2ae4918a66a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json @@ -1,344 +1,344 @@ -{ - "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-02-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.Network/interfaceEndpoints/{interfaceEndpointName}": { - "delete": { - "tags": [ - "InterfaceEndpoints" - ], - "operationId": "InterfaceEndpoints_Delete", - "description": "Deletes the specified interface endpoint.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "interfaceEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the interface endpoint." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Delete successful." - }, - "200": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete interface endpoint": { "$ref": "./examples/InterfaceEndpointDelete.json" } - } - }, - "get": { - "tags": [ - "InterfaceEndpoints" - ], - "operationId": "InterfaceEndpoints_Get", - "description": "Gets the specified interface endpoint by resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "interfaceEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the interface endpoint." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$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 InterfaceEndpoint resource.", - "schema": { - "$ref": "#/definitions/InterfaceEndpoint" - } - } - }, - "x-ms-examples": { - "Get interface endpoint": { "$ref": "./examples/InterfaceEndpointGet.json" } - } - }, - "put": { - "tags": [ - "InterfaceEndpoints" - ], - "operationId": "InterfaceEndpoints_CreateOrUpdate", - "description": "Creates or updates an interface endpoint in the specified resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "interfaceEndpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the interface endpoint." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/InterfaceEndpoint" - }, - "description": "Parameters supplied to the create or update interface endpoint operation" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting InterfaceEndpoint resource.", - "schema": { - "$ref": "#/definitions/InterfaceEndpoint" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting InterfaceEndpoint resource.", - "schema": { - "$ref": "#/definitions/InterfaceEndpoint" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create interface endpoint": { "$ref": "./examples/InterfaceEndpointCreate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints": { - "get": { - "tags": [ - "InterfaceEndpoints" - ], - "operationId": "InterfaceEndpoints_List", - "description": "Gets all interface endpoints in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of InterfaceEndpoint resources.", - "schema": { - "$ref": "#/definitions/InterfaceEndpointListResult" - } - } - }, - "x-ms-examples": { - "List interface endpoints in resource group": { "$ref": "./examples/InterfaceEndpointList.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints": { - "get": { - "tags": [ - "InterfaceEndpoints" - ], - "operationId": "InterfaceEndpoints_ListBySubscription", - "description": "Gets all interface endpoints in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of InterfaceEndpoint resources.", - "schema": { - "$ref": "#/definitions/InterfaceEndpointListResult" - } - } - }, - "x-ms-examples": { - "List all interface endpoints": { "$ref": "./examples/InterfaceEndpointListAll.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "InterfaceEndpoint": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/InterfaceEndpointProperties", - "description": "Properties of the interface endpoint." - }, - "etag": { - "type": "string", - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "Interface endpoint resource." - }, - "InterfaceEndpointProperties": { - "properties": { - "fqdn": { - "type": "string", - "description": "A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint." - }, - "endpointService": { - "$ref": "#/definitions/EndpointService", - "description": "A reference to the service being brought into the virtual network." - }, - "subnet": { - "$ref": "./virtualNetwork.json#/definitions/Subnet", - "description": "The ID of the subnet from which the private IP will be allocated." - }, - "networkInterfaces": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkInterface.json#/definitions/NetworkInterface" - }, - "description": "Gets an array of references to the network interfaces created for this interface endpoint." - }, - "owner": { - "type": "string", - "readOnly": true, - "description": "A read-only property that identifies who created this interface endpoint." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'." - } - }, - "description": "Properties of the interface endpoint." - }, - "EndpointService": { - "properties": { - "id": { - "type": "string", - "description": "A unique identifier of the service being referenced by the interface endpoint." - } - }, - "description": "Identifies the service being brought into the virtual network." - }, - "InterfaceEndpointListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/InterfaceEndpoint" - }, - "description": "Gets a list of InterfaceEndpoint resources in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results.", - "readOnly": true - } - }, - "description": "Response for the ListInterfaceEndpoints API service call." - } - } -} +{ + "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-02-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.Network/interfaceEndpoints/{interfaceEndpointName}": { + "delete": { + "tags": [ + "InterfaceEndpoints" + ], + "operationId": "InterfaceEndpoints_Delete", + "description": "Deletes the specified interface endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "interfaceEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the interface endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete interface endpoint": { "$ref": "./examples/InterfaceEndpointDelete.json" } + } + }, + "get": { + "tags": [ + "InterfaceEndpoints" + ], + "operationId": "InterfaceEndpoints_Get", + "description": "Gets the specified interface endpoint by resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "interfaceEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the interface endpoint." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$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 InterfaceEndpoint resource.", + "schema": { + "$ref": "#/definitions/InterfaceEndpoint" + } + } + }, + "x-ms-examples": { + "Get interface endpoint": { "$ref": "./examples/InterfaceEndpointGet.json" } + } + }, + "put": { + "tags": [ + "InterfaceEndpoints" + ], + "operationId": "InterfaceEndpoints_CreateOrUpdate", + "description": "Creates or updates an interface endpoint in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "interfaceEndpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the interface endpoint." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/InterfaceEndpoint" + }, + "description": "Parameters supplied to the create or update interface endpoint operation" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting InterfaceEndpoint resource.", + "schema": { + "$ref": "#/definitions/InterfaceEndpoint" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting InterfaceEndpoint resource.", + "schema": { + "$ref": "#/definitions/InterfaceEndpoint" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create interface endpoint": { "$ref": "./examples/InterfaceEndpointCreate.json" } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints": { + "get": { + "tags": [ + "InterfaceEndpoints" + ], + "operationId": "InterfaceEndpoints_List", + "description": "Gets all interface endpoints in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of InterfaceEndpoint resources.", + "schema": { + "$ref": "#/definitions/InterfaceEndpointListResult" + } + } + }, + "x-ms-examples": { + "List interface endpoints in resource group": { "$ref": "./examples/InterfaceEndpointList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints": { + "get": { + "tags": [ + "InterfaceEndpoints" + ], + "operationId": "InterfaceEndpoints_ListBySubscription", + "description": "Gets all interface endpoints in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of InterfaceEndpoint resources.", + "schema": { + "$ref": "#/definitions/InterfaceEndpointListResult" + } + } + }, + "x-ms-examples": { + "List all interface endpoints": { "$ref": "./examples/InterfaceEndpointListAll.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "InterfaceEndpoint": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/InterfaceEndpointProperties", + "description": "Properties of the interface endpoint." + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Interface endpoint resource." + }, + "InterfaceEndpointProperties": { + "properties": { + "fqdn": { + "type": "string", + "description": "A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint." + }, + "endpointService": { + "$ref": "#/definitions/EndpointService", + "description": "A reference to the service being brought into the virtual network." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Subnet", + "description": "The ID of the subnet from which the private IP will be allocated." + }, + "networkInterfaces": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkInterface.json#/definitions/NetworkInterface" + }, + "description": "Gets an array of references to the network interfaces created for this interface endpoint." + }, + "owner": { + "type": "string", + "readOnly": true, + "description": "A read-only property that identifies who created this interface endpoint." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + }, + "description": "Properties of the interface endpoint." + }, + "EndpointService": { + "properties": { + "id": { + "type": "string", + "description": "A unique identifier of the service being referenced by the interface endpoint." + } + }, + "description": "Identifies the service being brought into the virtual network." + }, + "InterfaceEndpointListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/InterfaceEndpoint" + }, + "description": "Gets a list of InterfaceEndpoint resources in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "Response for the ListInterfaceEndpoints API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json index 7b6a5c70dd13..2f6ff0c5db5a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/usage.json @@ -48,7 +48,7 @@ "required": true, "type": "string", "description": "The location where resource usage is queried.", - "pattern": "^[-\\w\\._ ]+$" + "pattern": "^[-\\w\\._ ]+$" }, { "$ref": "./network.json#/parameters/ApiVersionParameter" @@ -66,8 +66,8 @@ } }, "x-ms-examples": { - "List usages": { "$ref": "./examples/UsageList.json" }, - "List usages spaced location": { "$ref": "./examples/UsageListSpacedLocation.json" } + "List usages": { "$ref": "./examples/UsageList.json" }, + "List usages spaced location": { "$ref": "./examples/UsageListSpacedLocation.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink"