-
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.
Update examples and spec for new API version.
- Loading branch information
Showing
5 changed files
with
205 additions
and
17 deletions.
There are no files selected for viewing
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
94 changes: 94 additions & 0 deletions
94
...-manager/Microsoft.Batch/stable/2023-05-01/examples/PoolCreate_AcceleratedNetworking.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,94 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"accountName": "sampleacct", | ||
"poolName": "testpool", | ||
"api-version": "2023-05-01", | ||
"parameters": { | ||
"properties": { | ||
"vmSize": "STANDARD_D1_V2", | ||
"networkConfiguration": { | ||
"subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", | ||
"enableAcceleratedNetworking": true | ||
}, | ||
"deploymentConfiguration": { | ||
"virtualMachineConfiguration": { | ||
"imageReference": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"sku": "2016-datacenter-smalldisk", | ||
"version": "latest" | ||
}, | ||
"nodeAgentSkuId": "batch.node.windows amd64" | ||
} | ||
}, | ||
"scaleSettings": { | ||
"fixedScale": { | ||
"targetDedicatedNodes": 1, | ||
"targetLowPriorityNodes": 0 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8DB46CB72A227E2\"" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", | ||
"name": "testpool", | ||
"type": "Microsoft.Batch/batchAccounts/pools", | ||
"etag": "W/\"0x8DB46CB72A227E2\"", | ||
"properties": { | ||
"lastModified": "2023-04-27T02:59:41.8592226Z", | ||
"creationTime": "2023-04-27T02:59:41.8592226Z", | ||
"provisioningState": "Succeeded", | ||
"provisioningStateTransitionTime": "2023-04-27T02:59:41.8592226Z", | ||
"allocationState": "Steady", | ||
"allocationStateTransitionTime": "2023-04-27T03:00:34.0646502Z", | ||
"vmSize": "STANDARD_D1_V2", | ||
"interNodeCommunication": "Disabled", | ||
"taskSlotsPerNode": 1, | ||
"taskSchedulingPolicy": { | ||
"nodeFillType": "Spread" | ||
}, | ||
"deploymentConfiguration": { | ||
"virtualMachineConfiguration": { | ||
"imageReference": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"sku": "2016-datacenter-smalldisk", | ||
"version": "latest" | ||
}, | ||
"nodeAgentSkuId": "batch.node.windows amd64" | ||
} | ||
}, | ||
"networkConfiguration": { | ||
"subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", | ||
"dynamicVnetAssignmentScope": "none", | ||
"enableAcceleratedNetworking": true | ||
}, | ||
"scaleSettings": { | ||
"fixedScale": { | ||
"targetDedicatedNodes": 1, | ||
"targetLowPriorityNodes": 0, | ||
"resizeTimeout": "PT15M" | ||
} | ||
}, | ||
"resizeOperationStatus": { | ||
"targetDedicatedNodes": 1, | ||
"nodeDeallocationOption": "Requeue", | ||
"resizeTimeout": "PT15M", | ||
"startTime": "2023-04-27T02:59:41.8592226Z" | ||
}, | ||
"currentDedicatedNodes": 1, | ||
"currentLowPriorityNodes": 0, | ||
"currentNodeCommunicationMode": "Classic" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
67 changes: 67 additions & 0 deletions
67
...rce-manager/Microsoft.Batch/stable/2023-05-01/examples/PoolGet_AcceleratedNetworking.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 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"accountName": "sampleacct", | ||
"poolName": "testpool", | ||
"api-version": "2023-05-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8D4EDFEBFADF4AB\"" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", | ||
"name": "testpool", | ||
"type": "Microsoft.Batch/batchAccounts/pools", | ||
"etag": "W/\"0x8D4EDFEBFADF4AB\"", | ||
"properties": { | ||
"lastModified": "2023-04-28T02:32:32.8696419Z", | ||
"creationTime": "2023-04-28T02:32:32.8696419Z", | ||
"provisioningState": "Succeeded", | ||
"provisioningStateTransitionTime": "2023-04-28T02:32:32.8696419Z", | ||
"allocationState": "Steady", | ||
"allocationStateTransitionTime": "2023-04-28T02:33:40.82831Z", | ||
"vmSize": "STANDARD_D1_V2", | ||
"interNodeCommunication": "Disabled", | ||
"taskSlotsPerNode": 1, | ||
"taskSchedulingPolicy": { | ||
"nodeFillType": "Spread" | ||
}, | ||
"deploymentConfiguration": { | ||
"virtualMachineConfiguration": { | ||
"imageReference": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"sku": "2016-datacenter-smalldisk", | ||
"version": "latest" | ||
}, | ||
"nodeAgentSkuId": "batch.node.windows amd64" | ||
} | ||
}, | ||
"networkConfiguration": { | ||
"dynamicVnetAssignmentScope": "none", | ||
"enableAcceleratedNetworking": true | ||
}, | ||
"scaleSettings": { | ||
"fixedScale": { | ||
"targetDedicatedNodes": 1, | ||
"targetLowPriorityNodes": 0, | ||
"resizeTimeout": "PT15M" | ||
} | ||
}, | ||
"resizeOperationStatus": { | ||
"targetDedicatedNodes": 1, | ||
"nodeDeallocationOption": "Requeue", | ||
"resizeTimeout": "PT15M", | ||
"startTime": "2023-04-28T02:32:32.8696419Z" | ||
}, | ||
"currentDedicatedNodes": 1, | ||
"currentLowPriorityNodes": 0, | ||
"currentNodeCommunicationMode": "Classic" | ||
} | ||
} | ||
} | ||
} | ||
} |
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