Skip to content

Commit

Permalink
Updated resource path for POST ValidateRegisteredPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanSaracoMS committed Jul 21, 2022
1 parent cc68e67 commit 02f86eb
Showing 1 changed file with 38 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -936,12 +936,12 @@
}
}
},
"post": {
"delete": {
"tags": [
"PeeringRegisteredPrefixes"
],
"description": "Validates an existing registered prefix with the specified name under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_Validate",
"description": "Deletes an existing registered prefix with the specified name under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_Delete",
"parameters": [
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -973,10 +973,10 @@
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/PeeringRegisteredPrefix"
}
"description": "OK"
},
"204": {
"description": "NoContent"
},
"default": {
"description": "Error response describing why the operation has failed.",
Expand All @@ -986,17 +986,19 @@
}
},
"x-ms-examples": {
"Validate a registered prefix associated with the peering": {
"$ref": "./examples/ValidateRegisteredPrefix.json"
"Deletes a registered prefix associated with the peering": {
"$ref": "./examples/DeleteRegisteredPrefix.json"
}
}
},
"delete": {
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/registeredPrefixes": {
"get": {
"tags": [
"PeeringRegisteredPrefixes"
],
"description": "Deletes an existing registered prefix with the specified name under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_Delete",
"description": "Lists all registered prefixes under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_ListByPeering",
"parameters": [
{
"name": "resourceGroupName",
Expand All @@ -1012,13 +1014,6 @@
"required": true,
"type": "string"
},
{
"name": "registeredPrefixName",
"in": "path",
"description": "The name of the registered prefix.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
Expand All @@ -1028,10 +1023,10 @@
],
"responses": {
"200": {
"description": "OK"
},
"204": {
"description": "NoContent"
"description": "OK",
"schema": {
"$ref": "#/definitions/PeeringRegisteredPrefixListResult"
}
},
"default": {
"description": "Error response describing why the operation has failed.",
Expand All @@ -1041,19 +1036,22 @@
}
},
"x-ms-examples": {
"Deletes a registered prefix associated with the peering": {
"$ref": "./examples/DeleteRegisteredPrefix.json"
"List all the registered prefixes associated with the peering": {
"$ref": "./examples/ListRegisteredPrefixesByPeering.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/registeredPrefixes": {
"get": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/registeredPrefixes/{registeredPrefixName}/validate": {
"post": {
"tags": [
"PeeringRegisteredPrefixes"
],
"description": "Lists all registered prefixes under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_ListByPeering",
"description": "Validates an existing registered prefix with the specified name under the given subscription, resource group and peering.",
"operationId": "RegisteredPrefixes_Validate",
"parameters": [
{
"name": "resourceGroupName",
Expand All @@ -1069,6 +1067,13 @@
"required": true,
"type": "string"
},
{
"name": "registeredPrefixName",
"in": "path",
"description": "The name of the registered prefix.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
Expand All @@ -1080,7 +1085,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/PeeringRegisteredPrefixListResult"
"$ref": "#/definitions/PeeringRegisteredPrefix"
}
},
"default": {
Expand All @@ -1091,12 +1096,9 @@
}
},
"x-ms-examples": {
"List all the registered prefixes associated with the peering": {
"$ref": "./examples/ListRegisteredPrefixesByPeering.json"
"Validate a registered prefix associated with the peering": {
"$ref": "./examples/ValidateRegisteredPrefix.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
Expand Down

0 comments on commit 02f86eb

Please sign in to comment.