Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ asciifolding
Asns
aspnet
assessmentprojects
Associable
Asturian
asyncinfo
asyncoperation
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "Delete Network Security Perimeter",
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "testNSP1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"title": "Get Network Security Perimeter",
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1"
},
"responses": {
"200": {
"body": {
"name": "nsp1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "nsp1",
"description": "Test Network Security Periemter",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "List Network Security Perimeter",
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "subId",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter1",
"description": "Description for TestNetworkSecurityPerimeter1",
"provisioningState": "Succeeded"
}
},
{
"name": "testNSP2",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter2",
"description": "Description for TestNetworkSecurityPerimeter2",
"provisioningState": "Succeeded"
}
}
],
"nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-03-01&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"title": "List all the Network Security Perimeters in a Subscription",
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "subId"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter1",
"description": "Description for TestNetworkSecurityPerimeter1",
"provisioningState": "Succeeded"
}
},
{
"name": "testNSP2",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter2",
"description": "Description for TestNetworkSecurityPerimeter2",
"provisioningState": "Succeeded"
}
}
],
"nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-03-01&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"title": "Create/Update Network Security Perimeter",
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"parameters": {
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter"
}
}
},
"responses": {
"200": {
"body": {
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter",
"provisioningState": "Succeeded"
}
}
}
}
}
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",
"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&$skipToken=10"
}
}
}
}
Loading