From 783c027e0437baa4a0cfc6f28aac204666d0951b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 8 Mar 2019 14:52:23 -0800 Subject: [PATCH] [AutoPR batch/data-plane] Update some descriptions. (#4193) * Generated from 01810dd4dd7a4ef0336c51a2804f8e7ff3e3a82a Update some descriptions. * Generated from 11c705caee395c4991964c1025807b6ce95cad93 Update some descriptions. --- services/batch/2018-12-01.8.0/batch/models.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/services/batch/2018-12-01.8.0/batch/models.go b/services/batch/2018-12-01.8.0/batch/models.go index 5ce93649490a..4a93aa8f805f 100644 --- a/services/batch/2018-12-01.8.0/batch/models.go +++ b/services/batch/2018-12-01.8.0/batch/models.go @@ -1375,7 +1375,8 @@ type CloudJob struct { // Metadata - The Batch service does not assign any meaning to metadata; it is solely for the use of user code. Metadata *[]MetadataItem `json:"metadata,omitempty"` ExecutionInfo *JobExecutionInformation `json:"executionInfo,omitempty"` - Stats *JobStatistics `json:"stats,omitempty"` + // Stats - This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes. + Stats *JobStatistics `json:"stats,omitempty"` } // CloudJobListPreparationAndReleaseTaskStatusResult ... @@ -1893,7 +1894,8 @@ type CloudPool struct { TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"` UserAccounts *[]UserAccount `json:"userAccounts,omitempty"` Metadata *[]MetadataItem `json:"metadata,omitempty"` - Stats *PoolStatistics `json:"stats,omitempty"` + // Stats - This property is populated only if the CloudPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes. + Stats *PoolStatistics `json:"stats,omitempty"` } // CloudPoolListResult ... @@ -3022,7 +3024,10 @@ type MetadataItem struct { Value *string `json:"value,omitempty"` } -// MultiInstanceSettings multi-instance tasks are commonly used to support MPI tasks. +// MultiInstanceSettings multi-instance tasks are commonly used to support MPI tasks. In the MPI case, if +// any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire +// multi-instance task fails. The multi-instance task is then terminated and retried, up to its retry +// limit. type MultiInstanceSettings struct { // NumberOfInstances - If omitted, the default is 1. NumberOfInstances *int32 `json:"numberOfInstances,omitempty"`