diff --git a/services/batch/2017-05-01.5.0/batch/models.go b/services/batch/2017-05-01.5.0/batch/models.go index ca0bed91487a..9bd724fdd0fe 100644 --- a/services/batch/2017-05-01.5.0/batch/models.go +++ b/services/batch/2017-05-01.5.0/batch/models.go @@ -2926,7 +2926,7 @@ type NodeUpdateUserParameter struct { // OSDisk ... type OSDisk struct { - // ImageUris - All the VHDs must be identical and must reside in an Azure Storage account within the same subscription and same region as the Batch account. For best performance, it is recommended that each VHD resides in a separate Azure Storage account. Each VHD can serve upto 20 Windows compute nodes or 40 Linux compute nodes. You must supply enough VHD URIs to satisfy the 'targetDedicated' property of the pool. If you do not supply enough VHD URIs, the pool will partially allocate compute nodes, and a resize error will occur. + // ImageUris - All the VHDs must be identical and must reside in an Azure Storage account within the same subscription and same region as the Batch account. For best performance, it is recommended that each VHD resides in a separate Azure Storage account. Each VHD can serve up to 20 Windows compute nodes or 40 Linux compute nodes. You must supply enough VHD URIs to satisfy the 'targetDedicated' property of the pool. If you do not supply enough VHD URIs, the pool will partially allocate compute nodes, and a resize error will occur. ImageUris *[]string `json:"imageUris,omitempty"` // Caching - none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write. The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'None', 'ReadOnly', 'ReadWrite' Caching CachingType `json:"caching,omitempty"` diff --git a/services/batch/2018-03-01.6.1/batch/models.go b/services/batch/2018-03-01.6.1/batch/models.go index 988c070acdad..709b980963c5 100644 --- a/services/batch/2018-03-01.6.1/batch/models.go +++ b/services/batch/2018-03-01.6.1/batch/models.go @@ -152,13 +152,13 @@ func PossibleCertificateStoreLocationValues() []CertificateStoreLocation { type CertificateVisibility string const ( - // CertificateVisibilityRemoteUser The certificate should be visibile to the user accounts under which - // users remotely access the node. + // CertificateVisibilityRemoteUser The certificate should be visible to the user accounts under which users + // remotely access the node. CertificateVisibilityRemoteUser CertificateVisibility = "remoteuser" // CertificateVisibilityStartTask The certificate should be visible to the user account under which the // start task is run. CertificateVisibilityStartTask CertificateVisibility = "starttask" - // CertificateVisibilityTask The certificate should be visibile to the user accounts under which job tasks + // CertificateVisibilityTask The certificate should be visible to the user accounts under which job tasks // are run. CertificateVisibilityTask CertificateVisibility = "task" ) @@ -272,7 +272,7 @@ const ( // Offline The node is not currently running a task, and scheduling of new tasks to the node is disabled. Offline ComputeNodeState = "offline" // Preempted The low-priority node has been preempted. Tasks which were running on the node when it was - // pre-empted will be rescheduled when another node becomes available. + // preempted will be rescheduled when another node becomes available. Preempted ComputeNodeState = "preempted" // Rebooting The node is rebooting. Rebooting ComputeNodeState = "rebooting" @@ -2245,7 +2245,7 @@ type ComputeNode struct { // ID - Every node that is added to a pool is assigned a unique ID. Whenever a node is removed from a pool, all of its local files are deleted, and the ID is reclaimed and could be reused for new nodes. ID *string `json:"id,omitempty"` URL *string `json:"url,omitempty"` - // State - The low-priority node has been preempted. Tasks which were running on the node when it was pre-empted will be rescheduled when another node becomes available. Possible values include: 'Idle', 'Rebooting', 'Reimaging', 'Running', 'Unusable', 'Creating', 'Starting', 'WaitingForStartTask', 'StartTaskFailed', 'Unknown', 'LeavingPool', 'Offline', 'Preempted' + // State - The low-priority node has been preempted. Tasks which were running on the node when it was preempted will be rescheduled when another node becomes available. Possible values include: 'Idle', 'Rebooting', 'Reimaging', 'Running', 'Unusable', 'Creating', 'Starting', 'WaitingForStartTask', 'StartTaskFailed', 'Unknown', 'LeavingPool', 'Offline', 'Preempted' State ComputeNodeState `json:"state,omitempty"` // SchedulingState - Possible values include: 'Enabled', 'Disabled' SchedulingState SchedulingState `json:"schedulingState,omitempty"` diff --git a/services/batch/2018-08-01.7.0/batch/models.go b/services/batch/2018-08-01.7.0/batch/models.go index f0fedd5ebf1f..4092dbeea92c 100644 --- a/services/batch/2018-08-01.7.0/batch/models.go +++ b/services/batch/2018-08-01.7.0/batch/models.go @@ -152,13 +152,13 @@ func PossibleCertificateStoreLocationValues() []CertificateStoreLocation { type CertificateVisibility string const ( - // CertificateVisibilityRemoteUser The certificate should be visibile to the user accounts under which - // users remotely access the node. + // CertificateVisibilityRemoteUser The certificate should be visible to the user accounts under which users + // remotely access the node. CertificateVisibilityRemoteUser CertificateVisibility = "remoteuser" // CertificateVisibilityStartTask The certificate should be visible to the user account under which the // start task is run. CertificateVisibilityStartTask CertificateVisibility = "starttask" - // CertificateVisibilityTask The certificate should be visibile to the user accounts under which job tasks + // CertificateVisibilityTask The certificate should be visible to the user accounts under which job tasks // are run. CertificateVisibilityTask CertificateVisibility = "task" ) @@ -272,7 +272,7 @@ const ( // Offline The node is not currently running a task, and scheduling of new tasks to the node is disabled. Offline ComputeNodeState = "offline" // Preempted The low-priority node has been preempted. Tasks which were running on the node when it was - // pre-empted will be rescheduled when another node becomes available. + // preempted will be rescheduled when another node becomes available. Preempted ComputeNodeState = "preempted" // Rebooting The node is rebooting. Rebooting ComputeNodeState = "rebooting" @@ -2231,7 +2231,7 @@ type ComputeNode struct { // ID - Every node that is added to a pool is assigned a unique ID. Whenever a node is removed from a pool, all of its local files are deleted, and the ID is reclaimed and could be reused for new nodes. ID *string `json:"id,omitempty"` URL *string `json:"url,omitempty"` - // State - The low-priority node has been preempted. Tasks which were running on the node when it was pre-empted will be rescheduled when another node becomes available. Possible values include: 'Idle', 'Rebooting', 'Reimaging', 'Running', 'Unusable', 'Creating', 'Starting', 'WaitingForStartTask', 'StartTaskFailed', 'Unknown', 'LeavingPool', 'Offline', 'Preempted' + // State - The low-priority node has been preempted. Tasks which were running on the node when it was preempted will be rescheduled when another node becomes available. Possible values include: 'Idle', 'Rebooting', 'Reimaging', 'Running', 'Unusable', 'Creating', 'Starting', 'WaitingForStartTask', 'StartTaskFailed', 'Unknown', 'LeavingPool', 'Offline', 'Preempted' State ComputeNodeState `json:"state,omitempty"` // SchedulingState - Possible values include: 'Enabled', 'Disabled' SchedulingState SchedulingState `json:"schedulingState,omitempty"`