diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json index 14a8a4cf9655..98f7fcdb1f06 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -16,7 +16,6 @@ "expressRoutePort": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, - "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", "bandwidthInGbps": 10 } } @@ -35,7 +34,6 @@ "expressRoutePort": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, - "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", "allowClassicOperations": false, @@ -63,7 +61,6 @@ "expressRoutePort": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" }, - "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", "bandwidthInGbps": 10, "circuitProvisioningState": "Enabled", "allowClassicOperations": false, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationCreate.json deleted file mode 100644 index 278177bf660c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationCreate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "expressRoutePortName": "expressRoutePortName", - "resourceGroupName": "rg1", - "authorizationName": "authorizatinName", - "api-version": "2020-07-01", - "subscriptionId": "subid", - "authorizationParameters": { - "properties": {} - } - }, - "responses": { - "201": { - "body": { - "name": "authorizationName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", - "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties": { - "provisioningState": "Updating", - "authorizationUseStatus": "Available", - "circuit": "" - }, - "type": "Microsoft.Network/expressRoutePorts/authorizations" - } - }, - "200": { - "body": { - "name": "authorizationName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", - "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties": { - "provisioningState": "Updating", - "authorizationUseStatus": "Available", - "circuit": "" - }, - "type": "Microsoft.Network/expressRoutePorts/authorizations" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationDelete.json deleted file mode 100644 index 69a513459531..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "expressRoutePortName": "expressRoutePortName", - "resourceGroupName": "rg1", - "api-version": "2020-07-01", - "subscriptionId": "subid", - "authorizationName": "authorizationName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationGet.json deleted file mode 100644 index 7eff28231fc3..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "expressRoutePortName": "expressRoutePortName", - "resourceGroupName": "rg1", - "api-version": "2020-07-01", - "subscriptionId": "subid", - "authorizationName": "authorizationName" - }, - "responses": { - "200": { - "body": { - "name": "authorizationName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available", - "circuit": "" - }, - "type": "Microsoft.Network/expressRoutePorts/authorizations" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationList.json deleted file mode 100644 index 396c45a52c3e..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/ExpressRoutePortAuthorizationList.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "expressRoutePortName": "expressRoutePortName", - "resourceGroupName": "rg1", - "api-version": "2020-07-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "authorizationName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", - "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", - "properties": { - "provisioningState": "Succeeded", - "authorizationKey": "authKey", - "authorizationUseStatus": "Available", - "circuit": "" - }, - "type": "Microsoft.Network/expressRoutePorts/authorizations" - } - ] - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRouteCircuit.json index 9bcf12506078..506133276e79 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRouteCircuit.json @@ -2239,10 +2239,6 @@ "globalReachEnabled": { "type": "boolean", "description": "Flag denoting global reach status." - }, - "authorizationKey": { - "type": "string", - "description": "The authorizationKey." } }, "description": "Properties of ExpressRouteCircuit." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRoutePort.json index 49014dccbf5e..79b7772f7b78 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/expressRoutePort.json @@ -601,252 +601,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": { - "delete": { - "tags": [ - "ExpressRoutePortAuthorizations" - ], - "operationId": "ExpressRoutePortAuthorizations_Delete", - "description": "Deletes the specified authorization from the specified express route port.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route port." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete ExpressRoutePort Authorization": { - "$ref": "./examples/ExpressRoutePortAuthorizationDelete.json" - } - } - }, - "get": { - "tags": [ - "ExpressRoutePortAuthorizations" - ], - "operationId": "ExpressRoutePortAuthorizations_Get", - "description": "Gets the specified authorization from the specified express route port.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route port." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the ExpressRoutePortAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortAuthorization" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get ExpressRoutePort Authorization": { - "$ref": "./examples/ExpressRoutePortAuthorizationGet.json" - } - } - }, - "put": { - "tags": [ - "ExpressRoutePortAuthorizations" - ], - "operationId": "ExpressRoutePortAuthorizations_CreateOrUpdate", - "description": "Creates or updates an authorization in the specified express route port.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route port." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "name": "authorizationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRoutePortAuthorization" - }, - "description": "Parameters supplied to the create or update express route port authorization operation." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Create successful. The operation returns the resulting ExpressRoutePortAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortAuthorization" - } - }, - "200": { - "description": "Update successful. The operation returns the resulting ExpressRoutePortAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortAuthorization" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create ExpressRoutePort Authorization": { - "$ref": "./examples/ExpressRoutePortAuthorizationCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations": { - "get": { - "tags": [ - "ExpressRoutePortAuthorizations" - ], - "operationId": "ExpressRoutePortAuthorizations_List", - "description": "Gets all authorizations in an express route port.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "expressRoutePortName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route port." - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRoutePortAuthorization resources.", - "schema": { - "$ref": "#/definitions/ExpressRoutePortAuthorizationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRoutePort Authorization": { - "$ref": "./examples/ExpressRoutePortAuthorizationList.json" - } - } - } } }, "definitions": { @@ -1204,87 +958,6 @@ "description": "The content as a base64 encoded string." } } - }, - "ExpressRoutePortAuthorizationPropertiesFormat": { - "title": "ExpressRoute Port Authorization Properties", - "description": "Properties of ExpressRoutePort Authorization.", - "properties": { - "authorizationKey": { - "readOnly": true, - "type": "string", - "description": "The authorization key." - }, - "authorizationUseStatus": { - "readOnly": true, - "type": "string", - "description": "The authorization use status.", - "enum": [ - "Available", - "InUse" - ], - "x-ms-enum": { - "name": "ExpressRoutePortAuthorizationUseStatus", - "modelAsString": true - } - }, - "circuit": { - "readOnly": true, - "$ref": "./network.json#/definitions/SubResource", - "description": "The reference to the ExpressRoute circuit resource using the authorization." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the authorization resource." - } - } - }, - "ExpressRoutePortAuthorization": { - "title": "ExpressRoute Port Authorization", - "description": "ExpressRoutePort Authorization resource definition.", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRoutePortAuthorizationPropertiesFormat", - "description": "ExpressRoutePort properties." - }, - "name": { - "type": "string", - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Type of the resource." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ] - }, - "ExpressRoutePortAuthorizationListResult": { - "title": "ExpressRoute Port Authorization List Result", - "description": "Response for ListExpressRoutePortAuthorizations API service call.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRoutePortAuthorization" - }, - "description": "The authorizations in an ExpressRoute Port." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - } } } }