Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"title": "Post Network Security Perimeter Check Members",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"networkSecurityPerimeterProfile": "NP1",
"parameters": {
"memberDestinations": [
{
"privateLinkResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Sql/servers/resourceName1"
}
]
}
},
"responses": {
"200": {
"body": {
"memberDestinations": [
{
"privateLinkResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Sql/servers/resourceName1",
"isMember": "no",
"profile": ""
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
"name": "nsp1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "nsp1",
"description": "Test Network Security Periemter",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter1",
"description": "Description for TestNetworkSecurityPerimeter1",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
},
{
"name": "testNSP2",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter2",
"description": "Description for TestNetworkSecurityPerimeter2",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,21 @@
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter1",
"description": "Description for TestNetworkSecurityPerimeter1",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
},
{
"name": "testNSP2",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter2",
"description": "Description for TestNetworkSecurityPerimeter2",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"parameters": {
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter"
}
"properties": {}
}
},
"responses": {
Expand All @@ -18,9 +15,10 @@
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
Expand All @@ -30,9 +28,10 @@
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"displayName": "TestNetworkSecurityPerimeter",
"description": "Description of TestNetworkSecurityPerimeter",
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"title": "Reconcile NSP access rule",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"parameters": {
"properties": {}
}
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "Delete NSP resource association",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"associationName": "association1",
"operationId": "operationId1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@
"type": "Microsoft.Network/networkSecurityPerimeters/profiles",
"location": "resource location",
"properties": {
"accessRulesVersion": "0",
"enabledLogCategories": [
{
"name": "NSPOutboundAccessAllowed"
}
]
"accessRulesVersion": "0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
"type": "Microsoft.Network/networkSecurityPerimeters/profiles",
"location": "resource location",
"properties": {
"accessRulesVersion": "0",
"enabledLogCategories": [
{
"name": "NSPOutboundAccessDenied"
}
]
"accessRulesVersion": "0"
}
},
{
Expand All @@ -30,12 +25,7 @@
"type": "Microsoft.Network/networkSecurityPerimeters/profiles",
"location": "resource location",
"properties": {
"accessRulesVersion": "0",
"enabledLogCategories": [
{
"name": "NSPOutboundAttempt"
}
]
"accessRulesVersion": "0"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
"type": "Microsoft.Network/networkSecurityPerimeters/profiles",
"location": "East US 2 EUAP",
"properties": {
"accessRulesVersion": "0",
"enabledLogCategories": [
{
"name": "NSPInboundAccessAllowed"
}
]
"accessRulesVersion": "0"
}
}
},
Expand All @@ -34,12 +29,7 @@
"type": "Microsoft.Network/networkSecurityPerimeters/profiles",
"location": "East US 2 EUAP",
"properties": {
"accessRulesVersion": "0",
"enabledLogCategories": [
{
"name": "NSPInboundAccessDenied"
}
]
"accessRulesVersion": "0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Post Network Security Perimeter Query by GUID",
"parameters": {
"location": "centraluseuap",
"api-version": "2021-02-01-preview",
"parameters": {
"networkSecurityPerimeters": [
{
"perimeterGuid": "test"
}
]
}
},
"responses": {
"200": {
"body": {
"networkSecurityPerimeters": [
{
"perimeterGuid": "test",
"id": "xyz"
}
]
}
}
}
}
Loading