Skip to content

Commit

Permalink
[Reviewed in priv repo] adding ipam, vnv and sec admin for 2024-01-01…
Browse files Browse the repository at this point in the history
… preview (#29998)

* adding ipam, vnv and sec admin for 2024-01-01 preview. already reviewed in priv repo

* updating readme with the newest stable 2024-01-01

* BodyTopLevelProperties suppression

* typo for ipaddress in suppression

* update package tag

* update readme (PR comments) and update to use common types (a copy of the models from common-types v5 folder) and update networkManagerName to include - in regex

* Change default tag to package-2024-01

* updating systemdata to commonsystemdata

* removing commonsystemdata property

* reverting all systemdata changes and adding suppression for the same

---------

Co-authored-by: GuptaVertika <[email protected]>
Co-authored-by: Arjun Patel (from Dev Box) <[email protected]>
  • Loading branch information
3 people authored Aug 14, 2024
1 parent d9a3b78 commit 9778042
Show file tree
Hide file tree
Showing 53 changed files with 7,375 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"title": "Create/Update the Pool resource",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool",
"parameters": {
"properties": {
"description": "Test description.",
"parentPoolName": "",
"addressPrefixes": [
"10.0.0.0/24"
]
}
}
},
"responses": {
"200": {
"body": {
"name": "TestPool",
"type": "Microsoft.Network/networkManagers/ipamPools",
"properties": {
"description": "Test description.",
"ipAddressType": [
"IPv4"
],
"parentPoolName": "",
"addressPrefixes": [
"10.0.0.0/24"
],
"provisioningState": "Updating"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"tags": {},
"location": "eastus",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
},
"201": {
"body": {
"name": "TestPool",
"type": "Microsoft.Network/networkManagers/ipamPools",
"properties": {
"description": "Test description.",
"ipAddressType": [
"IPv4"
],
"parentPoolName": "",
"addressPrefixes": [
"10.0.0.0/24"
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"tags": {},
"location": "eastus",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"title": "Delete the Pool resource",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/ipamPools/TestPool/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-01-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"title": "Gets the specific Pool resource",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool"
},
"responses": {
"200": {
"body": {
"name": "TestPool",
"type": "Microsoft.Network/networkManagers/ipamPools",
"properties": {
"description": "Test description.",
"ipAddressType": [
"IPv4"
],
"parentPoolName": "",
"addressPrefixes": [
"10.0.0.0/24"
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"tags": {},
"location": "eastus",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"title": "Get the Pool Usage",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool"
},
"responses": {
"200": {
"body": {
"addressPrefixes": [
"10.0.0.0/8",
"192.0.0.0/8"
],
"childPools": [
{
"resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool1",
"addressPrefixes": [
"10.0.2.0/26"
]
},
{
"resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool2",
"addressPrefixes": [
"10.0.3.0/26"
]
}
],
"allocatedAddressPrefixes": [
"10.0.2.0/26",
"10.0.3.0/26"
],
"reservedAddressPrefixes": [
"10.0.0.0/24"
],
"availableAddressPrefixes": [
"10.0.1.0/24",
"10.0.2.64/26",
"10.0.2.128/25",
"10.0.3.64/26",
"10.0.3.128/25",
"10.0.4.0/22",
"10.0.8.0/21",
"10.0.16.0/20",
"10.0.32.0/19",
"10.0.64.0/18",
"10.0.128.0/17",
"10.1.0.0/16",
"10.2.0.0/15",
"10.4.0.0/14",
"10.8.0.0/13",
"10.16.0.0/12",
"10.32.0.0/11",
"10.64.0.0/10",
"10.128.0.0/9",
"192.0.0.0/8"
],
"totalNumberOfIPAddresses": "33554432",
"numberOfAllocatedIPAddresses": "128",
"numberOfReservedIPAddresses": "256",
"numberOfAvailableIPAddresses": "33554048"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"title": "Gets list of Pool resources at Network Manager level",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "TestPool",
"type": "Microsoft.Network/networkManagers/ipamPools",
"properties": {
"description": "Test description.",
"ipAddressType": [
"IPv4"
],
"parentPoolName": "",
"addressPrefixes": [
"10.0.0.0/24"
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"tags": {},
"location": "eastus",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
],
"nextLink": "{baseurl}/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools?api-version=2024-01-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"title": "List Associated Resource in the Pool",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool"
},
"responses": {
"200": {
"body": {
"value": [
{
"resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testVnet",
"poolId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"description": "",
"addressPrefixes": [
"10.0.0.0/24"
],
"reservedPrefixes": [],
"totalNumberOfIPAddresses": "256",
"numberOfReservedIPAddresses": "0",
"createdAt": "2020-09-09T20:00:00.0000000Z",
"reservationExpiresAt": null
}
],
"nextLink": "{baseurl}/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/listAssociatedResources?api-version=2024-01-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"title": "Updates the specific Pool resource",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "11111111-1111-1111-1111-111111111111",
"resourceGroupName": "rg1",
"networkManagerName": "TestNetworkManager",
"poolName": "TestPool",
"parameters": {
"properties": {
"description": "Test description.",
"parentPoolName": "test-ipam-pool",
"addressPrefixes": [
"10.0.0.0/24"
]
}
}
},
"responses": {
"200": {
"body": {
"name": "TestPool",
"type": "Microsoft.Network/networkManagers/ipamPools",
"properties": {
"description": "Test description.",
"ipAddressType": [
"IPv4"
],
"parentPoolName": "test-ipam-pool",
"addressPrefixes": [
"10.0.0.0/24"
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
"tags": {},
"location": "eastus",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"networkManagerName": "testNetworkManager",
"configurationName": "myTestSecurityConfig",
"ruleCollectionName": "testRuleCollection",
"force": false
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg1",
"networkManagerName": "testNetworkManager",
"ruleCollectionName": "testRuleCollection",
"configurationName": "myTestSecurityConfig"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection",
"name": "testRuleCollection",
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
},
"properties": {
"description": "A sample rule collection",
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
}
]
}
}
}
}
}
Loading

0 comments on commit 9778042

Please sign in to comment.