Skip to content

Karthikgumpu/nsp 240601 preview [Not ready for review] #32327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
4128524
Copy preview version files
shublnu Jan 20, 2025
62de160
Change api version
shublnu Jan 20, 2025
1ff883f
Async association changes
shublnu Jan 20, 2025
190e0ec
Version fix
shublnu Jan 20, 2025
f32e471
x-ms-enum added
shublnu Jan 20, 2025
c251879
long running operation flag added
shublnu Jan 20, 2025
2cfdc43
Added suppression
shublnu Jan 21, 2025
6d75071
Added type
shublnu Jan 21, 2025
4cc1935
Reverting - Added type
shublnu Jan 21, 2025
d90e852
Making name as read-only
shublnu Jan 21, 2025
9d650a5
Revert - Making name as read-only
shublnu Jan 21, 2025
342d46b
Add log settings
Jan 21, 2025
7a853ac
Merge pull request #1 from karthik-gumpu/karthikgumpu/nsp-24-07-previ…
shublnu Jan 21, 2025
2a705ef
Added pattern restriction
shublnu Jan 22, 2025
0e208d9
Fixed pattern regex
shublnu Jan 22, 2025
cafae3e
Removing 2024-07-01-preview
shublnu Jan 22, 2025
a080ef6
Copied files from previous version to 2024-01-01-preview
shublnu Jan 22, 2025
3676a77
Changed version to 2024-01-01-preview
shublnu Jan 22, 2025
cff0c91
Changes in the new version
shublnu Jan 22, 2025
22fd929
Removing nsp files from 2024-01-01-preview
shublnu Jan 22, 2025
e012503
Removing readme changes
shublnu Jan 22, 2025
d1ff84a
Copied files from previous version to 2024-02-01-preview
shublnu Jan 22, 2025
11eead9
Changed version to 2024-02-01-preview
shublnu Jan 22, 2025
6094fc3
Changes in the new version
shublnu Jan 22, 2025
dfb8d5a
Merge branch 'main' into shublnu/nsp-2024-07-01-preview
shublnu Jan 22, 2025
1a6faa7
Added operations file
shublnu Jan 23, 2025
d5d60e9
Merge branch 'shublnu/nsp-2024-07-01-preview' of https://github.com/s…
shublnu Jan 23, 2025
fba8e88
Changed url path
shublnu Jan 23, 2025
8cc4a61
Operation status changes
shublnu Jan 23, 2025
057a60f
Logging config list api
shublnu Jan 23, 2025
c58b418
Prettier fix
shublnu Jan 23, 2025
d24c1f1
Model fix
shublnu Jan 23, 2025
9c78fcf
Anonymous types
shublnu Jan 23, 2025
08092ca
Model changes
shublnu Jan 23, 2025
a9bf438
Model changes
shublnu Jan 23, 2025
c01dd0b
Force delete changes
shublnu Jan 24, 2025
62bb944
Lro header
shublnu Jan 24, 2025
83ccf66
Merge branch 'shublnu/nsp-2024-07-01-preview' of https://github.com/s…
Jan 24, 2025
b612011
Add Network 2024-06-01-preview
Jan 24, 2025
3782a21
Update default tag
Jan 24, 2025
388df91
Remove unwanted tag
Jan 24, 2025
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,18 @@
{
"title": "Delete Network Security Perimeter",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "testNSP1"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"title": "Get Network Security Perimeter",
"parameters": {
"api-version": "2024-06-01-preview",
"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",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"title": "List Network Security Perimeter",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"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": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
],
"nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2024-06-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"title": "List all the Network Security Perimeters in a Subscription",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testNSP1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"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": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
],
"nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2024-06-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "Patch Network Security Perimeter",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"parameters": {
"tags": {
"description": "nsp1"
}
}
},
"responses": {
"200": {
"body": {
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {
"description": "nsp1"
},
"location": "East US 2 EUAP",
"properties": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"title": "Create/Update Network Security Perimeter",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"parameters": {
"properties": {}
}
},
"responses": {
"200": {
"body": {
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "TestNetworkSecurityPerimeter",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter",
"type": "Microsoft.Network/networkSecurityPerimeters",
"tags": {},
"location": "East US 2 EUAP",
"properties": {
"perimeterGuid": "guid",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "Delete NSP access rule",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"accessRuleName": "accessRule1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"title": "Get NSP Access Rule",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"accessRuleName": "accessRule1"
},
"responses": {
"200": {
"body": {
"name": "accessRule1",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1",
"type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules",
"properties": {
"provisioningState": "Succeeded",
"direction": "Outbound",
"addressPrefixes": [],
"fullyQualifiedDomainNames": [
"paasrp1.contoso.org",
"paasrp2.contoso.org"
],
"subscriptions": [],
"networkSecurityPerimeters": [],
"emailAddresses": [],
"phoneNumbers": [],
"serviceTags": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"title": "List NSP Access Rules",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "accessRule1",
"id": "/subscriptions/rg1/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1",
"type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules",
"properties": {
"provisioningState": "Succeeded",
"direction": "Inbound",
"addressPrefixes": [
"10.11.0.0/16",
"10.10.1.0/24"
],
"fullyQualifiedDomainNames": [],
"subscriptions": [],
"networkSecurityPerimeters": [],
"emailAddresses": [],
"phoneNumbers": [],
"serviceTags": []
}
},
{
"name": "accessRule2",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule2",
"type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules",
"properties": {
"provisioningState": "Succeeded",
"direction": "Outbound",
"addressPrefixes": [],
"fullyQualifiedDomainNames": [
"paasrp1.contoso.org",
"paasrp2.contoso.org"
],
"subscriptions": [],
"networkSecurityPerimeters": [],
"emailAddresses": [],
"phoneNumbers": [],
"serviceTags": []
}
}
],
"nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2024-06-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"title": "Create/Update NSP access rule",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"accessRuleName": "accessRule1",
"parameters": {
"properties": {
"direction": "Inbound",
"addressPrefixes": [
"10.11.0.0/16",
"10.10.1.0/24"
]
}
}
},
"responses": {
"200": {
"body": {
"name": "accessRule1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1",
"type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules",
"properties": {
"provisioningState": "Succeeded",
"direction": "Inbound",
"addressPrefixes": [
"10.11.0.0/16",
"10.10.1.0/24"
],
"fullyQualifiedDomainNames": [],
"subscriptions": [],
"networkSecurityPerimeters": [],
"emailAddresses": [],
"phoneNumbers": [],
"serviceTags": []
}
}
},
"201": {
"body": {
"name": "accessRule1",
"id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1",
"type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules",
"properties": {
"provisioningState": "Succeeded",
"direction": "Inbound",
"addressPrefixes": [
"10.11.0.0/16",
"10.10.1.0/24"
],
"fullyQualifiedDomainNames": [],
"subscriptions": [],
"networkSecurityPerimeters": [],
"emailAddresses": [],
"phoneNumbers": [],
"serviceTags": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "Reconcile NSP access rule",
"parameters": {
"api-version": "2024-06-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"accessRuleName": "accessRuleName1",
"parameters": {
"properties": {}
}
},
"responses": {
"200": {
"body": {}
}
}
}
Loading