forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the toplevel resource for querying the onboarded resources (Az…
…ure#15230) * Defining the APIs for the new NSP resource * Update networkSecurityPerimeter.json Adding the definition of the new location based endpoint for getting the list of resources onboarded to use the network security perimeter feature. * Create PerimeterAssociableResourcesList.json Adding the example response for the resource endpoint * Deleting the NSP files from the earlier release folder * Update readme.md * Fixed validation errors * added a custom word * Update networkSecurityPerimeter.json * Update networkSecurityPerimeter.json Fixing a duplicate definition error. * Update networkSecurityPerimeter.json * Fixing the prettier check * Update PerimeterAssociableResourcesList.json * Update networkSecurityPerimeter.json * Update networkSecurityPerimeter.json Co-authored-by: Hari Prasad Perabattula <haperaba@microsoft.com>
- Loading branch information
Showing
3 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,6 +139,7 @@ asciifolding | |
Asns | ||
aspnet | ||
assessmentprojects | ||
Associable | ||
Asturian | ||
asyncinfo | ||
asyncoperation | ||
|
44 changes: 44 additions & 0 deletions
44
...crosoft.Network/preview/2021-03-01-preview/examples/PerimeterAssociableResourcesList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"title": "List of resources onboarded for network security perimeter feature (perimeter associable resources).", | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "subId", | ||
"location": "westus" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Sql.servers", | ||
"id": "/subscriptions/{subscriptionID}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Sql.servers", | ||
"type": "Microsoft.Network/PerimeterAssociableResourceTypes", | ||
"properties": { | ||
"resourceType": "Microsoft.Sql/servers", | ||
"displayName": "Microsoft.Sql/servers", | ||
"publicDnsZones": [ | ||
"database.windows.net" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Storage.accounts", | ||
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts", | ||
"type": "Microsoft.Network/PerimeterAssociableResourceTypes", | ||
"properties": { | ||
"resourceType": "Microsoft.Storage/accounts", | ||
"displayName": "Microsoft.Storage/accounts", | ||
"publicDnsZones": [ | ||
"blob.core.windows.net", | ||
"table.core.windows.net", | ||
"queue.core.windows.net", | ||
"file.core.windows.net" | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2021-03-01-preview&$skipToken=10" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters