-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reviewed in priv repo] adding ipam, vnv and sec admin for 2024-01-01…
… 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
1 parent
d9a3b78
commit 9778042
Showing
53 changed files
with
7,375 additions
and
1 deletion.
There are no files selected for viewing
77 changes: 77 additions & 0 deletions
77
...ource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Create.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Delete.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,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": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...resource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Get.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_GetPoolUsage.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,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" | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...esource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_List.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": "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" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...rosoft.Network/preview/2024-01-01-preview/examples/IpamPools_ListAssociatedResources.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,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" | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...ource-manager/Microsoft.Network/preview/2024-01-01-preview/examples/IpamPools_Update.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
....Network/preview/2024-01-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.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,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": {} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...oft.Network/preview/2024-01-01-preview/examples/NetworkManagerAdminRuleCollectionGet.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.