-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Microsoft.NetworkCloud] 2025-02-01 API (#32003)
- Loading branch information
1 parent
03c9dc9
commit 0897314
Showing
138 changed files
with
30,063 additions
and
1 deletion.
There are no files selected for viewing
255 changes: 255 additions & 0 deletions
255
...resource-manager/Microsoft.NetworkCloud/stable/2025-02-01/examples/AgentPools_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,255 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2025-02-01", | ||
"subscriptionId": "123e4567-e89b-12d3-a456-426655440000", | ||
"resourceGroupName": "resourceGroupName", | ||
"kubernetesClusterName": "kubernetesClusterName", | ||
"agentPoolName": "agentPoolName", | ||
"agentPoolParameters": { | ||
"location": "location", | ||
"tags": { | ||
"key1": "myvalue1", | ||
"key2": "myvalue2" | ||
}, | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName" | ||
}, | ||
"properties": { | ||
"administratorConfiguration": { | ||
"adminUsername": "azure", | ||
"sshPublicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm" | ||
} | ||
] | ||
}, | ||
"agentOptions": { | ||
"hugepagesCount": 96, | ||
"hugepagesSize": "1G" | ||
}, | ||
"attachedNetworkConfiguration": { | ||
"l2Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName", | ||
"pluginType": "DPDK" | ||
} | ||
], | ||
"l3Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName", | ||
"pluginType": "SRIOV", | ||
"ipamEnabled": "False" | ||
} | ||
], | ||
"trunkedNetworks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName", | ||
"pluginType": "MACVLAN" | ||
} | ||
] | ||
}, | ||
"availabilityZones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"count": 3, | ||
"labels": [ | ||
{ | ||
"key": "kubernetes.label", | ||
"value": "true" | ||
} | ||
], | ||
"mode": "System", | ||
"taints": [ | ||
{ | ||
"key": "kubernetes.taint", | ||
"value": "true:NoSchedule" | ||
} | ||
], | ||
"upgradeSettings": { | ||
"maxSurge": "1" | ||
}, | ||
"vmSkuName": "NC_P46_224_v1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName", | ||
"name": "default", | ||
"systemData": { | ||
"createdAt": "2021-01-22T13:27:03.008Z", | ||
"createdBy": "identityA", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2021-01-22T13:29:03.001Z", | ||
"lastModifiedBy": "identityB", | ||
"lastModifiedByType": "User" | ||
}, | ||
"type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools", | ||
"location": "location", | ||
"tags": { | ||
"key1": "myvalue1", | ||
"key2": "myvalue2" | ||
}, | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName" | ||
}, | ||
"properties": { | ||
"administratorConfiguration": { | ||
"adminUsername": "azure", | ||
"sshPublicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm" | ||
} | ||
] | ||
}, | ||
"agentOptions": { | ||
"hugepagesCount": 96, | ||
"hugepagesSize": "1G" | ||
}, | ||
"attachedNetworkConfiguration": { | ||
"l2Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName", | ||
"pluginType": "DPDK" | ||
} | ||
], | ||
"l3Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName", | ||
"pluginType": "SRIOV", | ||
"ipamEnabled": "False" | ||
} | ||
], | ||
"trunkedNetworks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName", | ||
"pluginType": "MACVLAN" | ||
} | ||
] | ||
}, | ||
"availabilityZones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"count": 3, | ||
"labels": [ | ||
{ | ||
"key": "kubernetes.label", | ||
"value": "true" | ||
} | ||
], | ||
"mode": "System", | ||
"taints": [ | ||
{ | ||
"key": "kubernetes.taint", | ||
"value": "true:NoSchedule" | ||
} | ||
], | ||
"upgradeSettings": { | ||
"maxSurge": "1" | ||
}, | ||
"vmSkuName": "NC_P46_224_v1", | ||
"provisioningState": "Succeeded", | ||
"kubernetesVersion": "1.XX.Y", | ||
"detailedStatus": "Available", | ||
"detailedStatusMessage": "Agent pool is available" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName", | ||
"name": "default", | ||
"systemData": { | ||
"createdAt": "2021-01-22T13:27:03.008Z", | ||
"createdBy": "identityA", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2021-01-22T13:29:03.001Z", | ||
"lastModifiedBy": "identityB", | ||
"lastModifiedByType": "User" | ||
}, | ||
"type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools", | ||
"location": "location", | ||
"tags": { | ||
"key1": "myvalue1", | ||
"key2": "myvalue2" | ||
}, | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName" | ||
}, | ||
"properties": { | ||
"administratorConfiguration": { | ||
"adminUsername": "azure", | ||
"sshPublicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm" | ||
} | ||
] | ||
}, | ||
"agentOptions": { | ||
"hugepagesCount": 96, | ||
"hugepagesSize": "1G" | ||
}, | ||
"attachedNetworkConfiguration": { | ||
"l2Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName", | ||
"pluginType": "DPDK" | ||
} | ||
], | ||
"l3Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName", | ||
"pluginType": "SRIOV", | ||
"ipamEnabled": "False" | ||
} | ||
], | ||
"trunkedNetworks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName", | ||
"pluginType": "MACVLAN" | ||
} | ||
] | ||
}, | ||
"availabilityZones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"count": 3, | ||
"labels": [ | ||
{ | ||
"key": "kubernetes.label", | ||
"value": "true" | ||
} | ||
], | ||
"mode": "System", | ||
"taints": [ | ||
{ | ||
"key": "kubernetes.taint", | ||
"value": "true:NoSchedule" | ||
} | ||
], | ||
"upgradeSettings": { | ||
"maxSurge": "1" | ||
}, | ||
"vmSkuName": "NC_P46_224_v1", | ||
"provisioningState": "Accepted", | ||
"kubernetesVersion": "1.XX.Y", | ||
"detailedStatus": "Available", | ||
"detailedStatusMessage": "Agent pool is available" | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2025-02-01" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...resource-manager/Microsoft.NetworkCloud/stable/2025-02-01/examples/AgentPools_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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2025-02-01", | ||
"subscriptionId": "123e4567-e89b-12d3-a456-426655440000", | ||
"resourceGroupName": "resourceGroupName", | ||
"kubernetesClusterName": "kubernetesClusterName", | ||
"agentPoolName": "agentPoolName" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2025-02-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
97 changes: 97 additions & 0 deletions
97
...ud/resource-manager/Microsoft.NetworkCloud/stable/2025-02-01/examples/AgentPools_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,97 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2025-02-01", | ||
"subscriptionId": "123e4567-e89b-12d3-a456-426655440000", | ||
"resourceGroupName": "resourceGroupName", | ||
"kubernetesClusterName": "kubernetesClusterName", | ||
"agentPoolName": "agentPoolName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName", | ||
"name": "default", | ||
"systemData": { | ||
"createdAt": "2021-01-22T13:27:03.008Z", | ||
"createdBy": "identityA", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2021-01-22T13:29:03.001Z", | ||
"lastModifiedBy": "identityB", | ||
"lastModifiedByType": "User" | ||
}, | ||
"type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools", | ||
"location": "location", | ||
"tags": { | ||
"key1": "myvalue1", | ||
"key2": "myvalue2" | ||
}, | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName" | ||
}, | ||
"properties": { | ||
"administratorConfiguration": { | ||
"adminUsername": "azure", | ||
"sshPublicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm" | ||
} | ||
] | ||
}, | ||
"agentOptions": { | ||
"hugepagesCount": 96, | ||
"hugepagesSize": "1G" | ||
}, | ||
"attachedNetworkConfiguration": { | ||
"l2Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName", | ||
"pluginType": "DPDK" | ||
} | ||
], | ||
"l3Networks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName", | ||
"pluginType": "SRIOV", | ||
"ipamEnabled": "False" | ||
} | ||
], | ||
"trunkedNetworks": [ | ||
{ | ||
"networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName", | ||
"pluginType": "MACVLAN" | ||
} | ||
] | ||
}, | ||
"availabilityZones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"count": 3, | ||
"labels": [ | ||
{ | ||
"key": "kubernetes.label", | ||
"value": "true" | ||
} | ||
], | ||
"mode": "System", | ||
"taints": [ | ||
{ | ||
"key": "kubernetes.taint", | ||
"value": "true:NoSchedule" | ||
} | ||
], | ||
"upgradeSettings": { | ||
"maxSurge": "1" | ||
}, | ||
"vmSkuName": "NC_P46_224_v1", | ||
"provisioningState": "Succeeded", | ||
"kubernetesVersion": "1.XX.Y", | ||
"detailedStatus": "Available", | ||
"detailedStatusMessage": "Agent pool is available" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.