-
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.
Add IPAM, VNV, update Security Admin and Vnet specs (#30560)
* Add IPAM, VNV, update Security Admin and Vnet specs * adminrule error * adding suppressions * suppression spacing * space issue * another space update * the issue was 2024-03 readme and not 2024-05 * adding suppressions * removing location headers * reverting location header changes for delete * Update sdk-suppressions.yaml * mark networkManagerScopeAccess as an optional property * update go breaking suppressions --------- Co-authored-by: kazrael2119 <[email protected]> Co-authored-by: Chenjie Shi <[email protected]>
- Loading branch information
1 parent
f4d3ecc
commit 59bd02e
Showing
36 changed files
with
4,053 additions
and
78 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
...twork/resource-manager/Microsoft.Network/stable/2024-05-01/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,81 @@ | ||
{ | ||
"title": "Create/Update the Pool resource", | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "11111111-1111-1111-1111-111111111111", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "TestNetworkManager", | ||
"poolName": "TestPool", | ||
"body": { | ||
"location": "eastus", | ||
"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" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...twork/resource-manager/Microsoft.Network/stable/2024-05-01/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-05-01", | ||
"subscriptionId": "11111111-1111-1111-1111-111111111111", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "TestNetworkManager", | ||
"poolName": "TestPool" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
.../network/resource-manager/Microsoft.Network/stable/2024-05-01/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-05-01", | ||
"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
...resource-manager/Microsoft.Network/stable/2024-05-01/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-05-01", | ||
"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
...network/resource-manager/Microsoft.Network/stable/2024-05-01/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-05-01", | ||
"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-05-01&$skipToken=10" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...nager/Microsoft.Network/stable/2024-05-01/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-05-01", | ||
"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-05-01" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...twork/resource-manager/Microsoft.Network/stable/2024-05-01/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,46 @@ | ||
{ | ||
"title": "Updates the specific Pool resource", | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "11111111-1111-1111-1111-111111111111", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "TestNetworkManager", | ||
"poolName": "TestPool", | ||
"parameters": { | ||
"properties": { | ||
"description": "Test description.", | ||
"displayName": "TestPool" | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.