|
1182 | 1182 | </maml:relatedLinks>
|
1183 | 1183 | </command:command>
|
1184 | 1184 | <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
|
| 1185 | +<!--Generated by PS Cmdlet Help Editor--> |
| 1186 | + <command:details> |
| 1187 | + <command:name>Enable-AzureBatchTask</command:name> |
| 1188 | + <maml:description> |
| 1189 | + <maml:para>Reactivates a task, allowing it to run again even if its retry count has been exhausted.</maml:para> |
| 1190 | + </maml:description> |
| 1191 | + <maml:copyright> |
| 1192 | + <maml:para /> |
| 1193 | + </maml:copyright> |
| 1194 | + <command:verb>Enable</command:verb> |
| 1195 | + <command:noun>AzureBatchTask</command:noun> |
| 1196 | + <dev:version /> |
| 1197 | + </command:details> |
| 1198 | + <maml:description> |
| 1199 | + <maml:para /> |
| 1200 | + </maml:description> |
| 1201 | + <command:syntax> |
| 1202 | + <command:syntaxItem> |
| 1203 | + <maml:name>Enable-AzureBatchTask</maml:name> |
| 1204 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> |
| 1205 | + <maml:name>BatchContext</maml:name> |
| 1206 | + <maml:description> |
| 1207 | + <maml:para>Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.</maml:para> |
| 1208 | + </maml:description> |
| 1209 | + <command:parameterValue required="true" variableLength="false">BatchAccountContext</command:parameterValue> |
| 1210 | + </command:parameter> |
| 1211 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> |
| 1212 | + <maml:name>Id</maml:name> |
| 1213 | + <maml:description> |
| 1214 | + <maml:para>Specifies the ID of the task to reactivate.</maml:para> |
| 1215 | + </maml:description> |
| 1216 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 1217 | + </command:parameter> |
| 1218 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> |
| 1219 | + <maml:name>JobId</maml:name> |
| 1220 | + <maml:description> |
| 1221 | + <maml:para>Specifies the ID of the job containing the task.</maml:para> |
| 1222 | + </maml:description> |
| 1223 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 1224 | + </command:parameter> |
| 1225 | + </command:syntaxItem> |
| 1226 | + <command:syntaxItem> |
| 1227 | + <maml:name>Enable-AzureBatchTask</maml:name> |
| 1228 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> |
| 1229 | + <maml:name>BatchContext</maml:name> |
| 1230 | + <maml:description> |
| 1231 | + <maml:para>Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.</maml:para> |
| 1232 | + </maml:description> |
| 1233 | + <command:parameterValue required="true" variableLength="false">BatchAccountContext</command:parameterValue> |
| 1234 | + </command:parameter> |
| 1235 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> |
| 1236 | + <maml:name>Task</maml:name> |
| 1237 | + <maml:description> |
| 1238 | + <maml:para>Specifies the task that this cmdlet reactivates. To obtain a PSCloudTask object, use the Get-AzureBatchTask cmdlet.</maml:para> |
| 1239 | + </maml:description> |
| 1240 | + <command:parameterValue required="true" variableLength="false">PSCloudTask</command:parameterValue> |
| 1241 | + </command:parameter> |
| 1242 | + </command:syntaxItem> |
| 1243 | + </command:syntax> |
| 1244 | + <command:parameters> |
| 1245 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> |
| 1246 | + <maml:name>BatchContext</maml:name> |
| 1247 | + <maml:description> |
| 1248 | + <maml:para>Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.</maml:para> |
| 1249 | + </maml:description> |
| 1250 | + <command:parameterValue required="true" variableLength="false">BatchAccountContext</command:parameterValue> |
| 1251 | + <dev:type> |
| 1252 | + <maml:name>BatchAccountContext</maml:name> |
| 1253 | + <maml:uri/> |
| 1254 | + </dev:type> |
| 1255 | + <dev:defaultValue></dev:defaultValue> |
| 1256 | + </command:parameter> |
| 1257 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> |
| 1258 | + <maml:name>Id</maml:name> |
| 1259 | + <maml:description> |
| 1260 | + <maml:para>Specifies the ID of the task to reactivate.</maml:para> |
| 1261 | + </maml:description> |
| 1262 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 1263 | + <dev:type> |
| 1264 | + <maml:name>String</maml:name> |
| 1265 | + <maml:uri/> |
| 1266 | + </dev:type> |
| 1267 | + <dev:defaultValue></dev:defaultValue> |
| 1268 | + </command:parameter> |
| 1269 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> |
| 1270 | + <maml:name>JobId</maml:name> |
| 1271 | + <maml:description> |
| 1272 | + <maml:para>Specifies the ID of the job containing the task.</maml:para> |
| 1273 | + </maml:description> |
| 1274 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 1275 | + <dev:type> |
| 1276 | + <maml:name>String</maml:name> |
| 1277 | + <maml:uri/> |
| 1278 | + </dev:type> |
| 1279 | + <dev:defaultValue></dev:defaultValue> |
| 1280 | + </command:parameter> |
| 1281 | + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> |
| 1282 | + <maml:name>Task</maml:name> |
| 1283 | + <maml:description> |
| 1284 | + <maml:para>Specifies the task that this cmdlet reactivates. To obtain a PSCloudTask object, use the Get-AzureBatchTask cmdlet.</maml:para> |
| 1285 | + </maml:description> |
| 1286 | + <command:parameterValue required="true" variableLength="false">PSCloudTask</command:parameterValue> |
| 1287 | + <dev:type> |
| 1288 | + <maml:name>PSCloudTask</maml:name> |
| 1289 | + <maml:uri/> |
| 1290 | + </dev:type> |
| 1291 | + <dev:defaultValue></dev:defaultValue> |
| 1292 | + </command:parameter> |
| 1293 | + </command:parameters> |
| 1294 | + <command:inputTypes> |
| 1295 | + </command:inputTypes> |
| 1296 | + <command:returnValues> |
| 1297 | + </command:returnValues> |
| 1298 | + <command:examples> |
| 1299 | + <command:example> |
| 1300 | + <maml:title>-------------------------- Example 1: Reactivate a task --------------------------</maml:title> |
| 1301 | + <maml:introduction> |
| 1302 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1303 | + </maml:introduction> |
| 1304 | + <dev:code>PS C:\>Enable-AzureBatchTask -JobId "Job7" -Id "Task2" -BatchContext $Context</dev:code> |
| 1305 | + <dev:remarks> |
| 1306 | + <maml:para>This command reactivates the task Task2 in job Job7.</maml:para> |
| 1307 | + <maml:para /> |
| 1308 | + <maml:para /> |
| 1309 | + <maml:para></maml:para> |
| 1310 | + </dev:remarks> |
| 1311 | + <command:commandLines> |
| 1312 | + <command:commandLine> |
| 1313 | + <command:commandText> |
| 1314 | + <maml:para /> |
| 1315 | + </command:commandText> |
| 1316 | + </command:commandLine> |
| 1317 | + </command:commandLines> |
| 1318 | + </command:example> |
| 1319 | + <command:example> |
| 1320 | + <maml:title>-------------------------- Example 2: Reactivate a task by using the pipeline --------------------------</maml:title> |
| 1321 | + <maml:introduction> |
| 1322 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1323 | + </maml:introduction> |
| 1324 | + <dev:code>PS C:\>Get-AzureBatchTask -JobId "Job8" -Id "Task3" -BatchContext $Context | Enable-AzureBatchTask -BatchContext $Context</dev:code> |
| 1325 | + <dev:remarks> |
| 1326 | + <maml:para>This command gets the Batch task that has the ID Task3 in the job that has the ID Job8 by using the Get-AzureBatchTask cmdlet. The command passes that task to the current cmdlet by using the pipeline operator. The command reactivates that task.</maml:para> |
| 1327 | + <maml:para /> |
| 1328 | + <maml:para /> |
| 1329 | + <maml:para></maml:para> |
| 1330 | + </dev:remarks> |
| 1331 | + <command:commandLines> |
| 1332 | + <command:commandLine> |
| 1333 | + <command:commandText> |
| 1334 | + <maml:para /> |
| 1335 | + </command:commandText> |
| 1336 | + </command:commandLine> |
| 1337 | + </command:commandLines> |
| 1338 | + </command:example> |
| 1339 | + </command:examples> |
| 1340 | + <maml:relatedLinks> |
| 1341 | + <maml:navigationLink> |
| 1342 | + <maml:linkText>Get-AzureBatchTask</maml:linkText> |
| 1343 | + <maml:uri></maml:uri> |
| 1344 | + </maml:navigationLink> |
| 1345 | + <maml:navigationLink> |
| 1346 | + <maml:linkText>New-AzureBatchTask</maml:linkText> |
| 1347 | + <maml:uri></maml:uri> |
| 1348 | + </maml:navigationLink> |
| 1349 | + <maml:navigationLink> |
| 1350 | + <maml:linkText>Remove-AzureBatchTask</maml:linkText> |
| 1351 | + <maml:uri></maml:uri> |
| 1352 | + </maml:navigationLink> |
| 1353 | + <maml:navigationLink> |
| 1354 | + <maml:linkText>Azure Batch Cmdlets</maml:linkText> |
| 1355 | + <maml:uri></maml:uri> |
| 1356 | + </maml:navigationLink> |
| 1357 | + </maml:relatedLinks> |
| 1358 | +</command:command> |
| 1359 | +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> |
1185 | 1360 | <!--Generated by PS Cmdlet Help Editor-->
|
1186 | 1361 | <command:details>
|
1187 | 1362 | <command:name>Get-AzureBatchCertificate</command:name>
|
|
0 commit comments