2
2
title : Create a simplified node communication pool without public IP addresses (preview)
3
3
description : Learn how to create an Azure Batch simplified node communication pool without public IP addresses.
4
4
ms.topic : how-to
5
- ms.date : 11/08 /2022
5
+ ms.date : 11/14 /2022
6
6
ms.custom : references_regions
7
7
---
8
8
@@ -85,23 +85,23 @@ The example below shows how to use the [Batch Service REST API](/rest/api/batchs
85
85
### REST API URI
86
86
87
87
``` http
88
- POST {batchURL}/pools?api-version=2020-03 -01.11 .0
88
+ POST {batchURL}/pools?api-version=2022-10 -01.16 .0
89
89
client-request-id: 00000000-0000-0000-0000-000000000000
90
90
```
91
91
92
92
### Request body
93
93
94
94
``` json
95
95
"pool" : {
96
- "id" : " pool2 " ,
97
- "vmSize" : " standard_a1 " ,
96
+ "id" : " pool-npip " ,
97
+ "vmSize" : " standard_d2s_v3 " ,
98
98
"virtualMachineConfiguration" : {
99
99
"imageReference" : {
100
100
"publisher" : " Canonical" ,
101
- "offer" : " UbuntuServer " ,
102
- "sku" : " 18.04 -lts"
101
+ "offer" : " 0001-com-ubuntu-server-jammy " ,
102
+ "sku" : " 22_04 -lts"
103
103
},
104
- "nodeAgentSKUId" : " batch.node.ubuntu 18 .04"
104
+ "nodeAgentSKUId" : " batch.node.ubuntu 22 .04"
105
105
}
106
106
"networkConfiguration" : {
107
107
"subnetId" : " /subscriptions/<your_subscription_id>/resourceGroups/<your_resource_group>/providers/Microsoft.Network/virtualNetworks/<your_vnet_name>/subnets/<your_subnet_name>" ,
@@ -110,20 +110,15 @@ client-request-id: 00000000-0000-0000-0000-000000000000
110
110
}
111
111
},
112
112
"resizeTimeout" : " PT15M" ,
113
- "targetDedicatedNodes" : 5 ,
113
+ "targetDedicatedNodes" : 2 ,
114
114
"targetLowPriorityNodes" : 0 ,
115
- "taskSlotsPerNode" : 3 ,
115
+ "taskSlotsPerNode" : 1 ,
116
116
"taskSchedulingPolicy" : {
117
117
"nodeFillType" : " spread"
118
118
},
119
119
"enableAutoScale" : false ,
120
- "enableInterNodeCommunication" : true ,
121
- "metadata" : [
122
- {
123
- "name" : " myproperty" ,
124
- "value" : " myvalue"
125
- }
126
- ]
120
+ "enableInterNodeCommunication" : false ,
121
+ "targetNodeCommunicationMode" : " simplified"
127
122
}
128
123
```
129
124
0 commit comments