diff --git a/services/batchai/mgmt/2018-03-01/batchai/clusters.go b/services/batchai/mgmt/2018-03-01/batchai/clusters.go index fcd2b12301e3..592b35a5af64 100644 --- a/services/batchai/mgmt/2018-03-01/batchai/clusters.go +++ b/services/batchai/mgmt/2018-03-01/batchai/clusters.go @@ -353,8 +353,8 @@ func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, // List gets information about the Clusters associated with the subscription. // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client ClustersClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result ClusterListResultPage, err error) { if tracing.IsEnabled() { @@ -488,8 +488,8 @@ func (client ClustersClient) ListComplete(ctx context.Context, filter string, se // ListByResourceGroup gets information about the Clusters associated within the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result ClusterListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/batchai/mgmt/2018-03-01/batchai/fileservers.go b/services/batchai/mgmt/2018-03-01/batchai/fileservers.go index d8df4f801937..34e25f9e1be7 100644 --- a/services/batchai/mgmt/2018-03-01/batchai/fileservers.go +++ b/services/batchai/mgmt/2018-03-01/batchai/fileservers.go @@ -328,8 +328,8 @@ func (client FileServersClient) GetResponder(resp *http.Response) (result FileSe // List to list all the file servers available under the given subscription (and across all resource groups within that // subscription) // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client FileServersClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result FileServerListResultPage, err error) { if tracing.IsEnabled() { @@ -464,8 +464,8 @@ func (client FileServersClient) ListComplete(ctx context.Context, filter string, // resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client FileServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result FileServerListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/batchai/mgmt/2018-03-01/batchai/jobs.go b/services/batchai/mgmt/2018-03-01/batchai/jobs.go index fe4d68412796..e1e712df7ab9 100644 --- a/services/batchai/mgmt/2018-03-01/batchai/jobs.go +++ b/services/batchai/mgmt/2018-03-01/batchai/jobs.go @@ -343,8 +343,8 @@ func (client JobsClient) GetResponder(resp *http.Response) (result Job, err erro // List gets information about the jobs associated with the subscription. // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client JobsClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result JobListResultPage, err error) { if tracing.IsEnabled() { @@ -478,8 +478,8 @@ func (client JobsClient) ListComplete(ctx context.Context, filter string, select // ListByResourceGroup gets information about the Batch AI jobs associated within the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client JobsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result JobListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/batchai/mgmt/2018-03-01/batchai/models.go b/services/batchai/mgmt/2018-03-01/batchai/models.go index 4e1918c8a789..f487fd284bb8 100644 --- a/services/batchai/mgmt/2018-03-01/batchai/models.go +++ b/services/batchai/mgmt/2018-03-01/batchai/models.go @@ -235,7 +235,7 @@ func PossibleVMPriorityValues() []VMPriority { type AppInsightsReference struct { Component *ResourceID `json:"component,omitempty"` InstrumentationKey *string `json:"instrumentationKey,omitempty"` - // InstrumentationKeySecretReference - Specifies KeyVault Store and Secret which contains Azure Application Insights instrumentation key. One of instumentationKey or instrumentationKeySecretReference must be specified. + // InstrumentationKeySecretReference - Specifies KeyVault Store and Secret which contains Azure Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified. InstrumentationKeySecretReference *KeyVaultSecretReference `json:"instrumentationKeySecretReference,omitempty"` } @@ -666,7 +666,7 @@ func NewClusterListResultPage(getNextPage func(context.Context, ClusterListResul type ClusterProperties struct { // VMSize - All virtual machines in a cluster are the same size. For information about available VM sizes for clusters using images from the Virtual Machines Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual Machines (Windows). Batch AI service supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). VMSize *string `json:"vmSize,omitempty"` - // VMPriority - The default value is dedicated. The node can get preempted while the task is running if lowpriority is choosen. This is best suited if the workload is checkpointing and can be restarted. Possible values include: 'Dedicated', 'Lowpriority' + // VMPriority - The default value is dedicated. The node can get preempted while the task is running if lowpriority is chosen. This is best suited if the workload is checkpointing and can be restarted. Possible values include: 'Dedicated', 'Lowpriority' VMPriority VMPriority `json:"vmPriority,omitempty"` ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"` VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"` @@ -1441,7 +1441,7 @@ type FileServerReference struct { FileServer *ResourceID `json:"fileServer,omitempty"` // SourceDirectory - If this property is not specified, the entire File Server will be mounted. SourceDirectory *string `json:"sourceDirectory,omitempty"` - // RelativeMountPath - Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and job level file servers will be mouted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + // RelativeMountPath - Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and job level file servers will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. RelativeMountPath *string `json:"relativeMountPath,omitempty"` MountOptions *string `json:"mountOptions,omitempty"` } @@ -1639,7 +1639,7 @@ type JobBaseProperties struct { // Priority - Priority associated with the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. Priority *int32 `json:"priority,omitempty"` Cluster *ResourceID `json:"cluster,omitempty"` - // MountVolumes - These volumes will be mounted before the job execution and will be unmouted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + // MountVolumes - These volumes will be mounted before the job execution and will be unmounted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. MountVolumes *MountVolumes `json:"mountVolumes,omitempty"` // NodeCount - The job will be gang scheduled on that many compute nodes NodeCount *int32 `json:"nodeCount,omitempty"` @@ -1898,7 +1898,7 @@ type JobProperties struct { // Priority - Priority associated with the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. Priority *int32 `json:"priority,omitempty"` Cluster *ResourceID `json:"cluster,omitempty"` - // MountVolumes - These volumes will be mounted before the job execution and will be unmouted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + // MountVolumes - These volumes will be mounted before the job execution and will be unmounted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. MountVolumes *MountVolumes `json:"mountVolumes,omitempty"` // JobOutputDirectoryPathSegment - Batch AI creates job's output directories under an unique path to avoid conflicts between jobs. This value contains a path segment generated by Batch AI to make the path unique and can be used to find the output directory on the node or mounted filesystem. JobOutputDirectoryPathSegment *string `json:"jobOutputDirectoryPathSegment,omitempty"` @@ -1932,7 +1932,7 @@ type JobProperties struct { ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ProvisioningStateTransitionTime - The time at which the job entered its current provisioning state. ProvisioningStateTransitionTime *date.Time `json:"provisioningStateTransitionTime,omitempty"` - // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running succesfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' + // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running successfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' ExecutionState ExecutionState `json:"executionState,omitempty"` // ExecutionStateTransitionTime - The time at which the job entered its current execution state. ExecutionStateTransitionTime *date.Time `json:"executionStateTransitionTime,omitempty"` @@ -2663,7 +2663,7 @@ type SetupTask struct { RunElevated *bool `json:"runElevated,omitempty"` // StdOutErrPathPrefix - The prefix of a path where the Batch AI service will upload the stdout and stderr of the setup task. StdOutErrPathPrefix *string `json:"stdOutErrPathPrefix,omitempty"` - // StdOutErrPathSuffix - Batch AI creates the setup task output directories under an unique path to avoid conflicts between different clusters. You can concatinate stdOutErrPathPrefix and stdOutErrPathSuffix to get the full path to the output directory. + // StdOutErrPathSuffix - Batch AI creates the setup task output directories under an unique path to avoid conflicts between different clusters. You can concatenate stdOutErrPathPrefix and stdOutErrPathSuffix to get the full path to the output directory. StdOutErrPathSuffix *string `json:"stdOutErrPathSuffix,omitempty"` } diff --git a/services/batchai/mgmt/2018-05-01/batchai/models.go b/services/batchai/mgmt/2018-05-01/batchai/models.go index 9de98e06ae0f..26955e321093 100644 --- a/services/batchai/mgmt/2018-05-01/batchai/models.go +++ b/services/batchai/mgmt/2018-05-01/batchai/models.go @@ -1871,7 +1871,7 @@ type JobBaseProperties struct { SchedulingPriority JobPriority `json:"schedulingPriority,omitempty"` // Cluster - Resource ID of the cluster on which this job will run. Cluster *ResourceID `json:"cluster,omitempty"` - // MountVolumes - Information on mount volumes to be used by the job. These volumes will be mounted before the job execution and will be unmouted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + // MountVolumes - Information on mount volumes to be used by the job. These volumes will be mounted before the job execution and will be unmounted after the job completion. The volumes will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. MountVolumes *MountVolumes `json:"mountVolumes,omitempty"` // NodeCount - Number of compute nodes to run the job on. The job will be gang scheduled on that many compute nodes. NodeCount *int32 `json:"nodeCount,omitempty"` @@ -2114,7 +2114,7 @@ type JobProperties struct { SchedulingPriority JobPriority `json:"schedulingPriority,omitempty"` // Cluster - Resource ID of the cluster associated with the job. Cluster *ResourceID `json:"cluster,omitempty"` - // MountVolumes - Collection of mount volumes available to the job during execution. These volumes are mounted before the job execution and unmouted after the job completion. The volumes are mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. + // MountVolumes - Collection of mount volumes available to the job during execution. These volumes are mounted before the job execution and unmounted after the job completion. The volumes are mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. MountVolumes *MountVolumes `json:"mountVolumes,omitempty"` // NodeCount - The job will be gang scheduled on that many compute nodes NodeCount *int32 `json:"nodeCount,omitempty"` @@ -2153,7 +2153,7 @@ type JobProperties struct { ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ProvisioningStateTransitionTime - The time at which the job entered its current provisioning state. ProvisioningStateTransitionTime *date.Time `json:"provisioningStateTransitionTime,omitempty"` - // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running succesfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' + // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running successfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' ExecutionState ExecutionState `json:"executionState,omitempty"` // ExecutionStateTransitionTime - The time at which the job entered its current execution state. ExecutionStateTransitionTime *date.Time `json:"executionStateTransitionTime,omitempty"` @@ -2254,7 +2254,7 @@ func (future *JobsTerminateFuture) Result(client JobsClient) (ar autorest.Respon // KeyVaultSecretReference key Vault Secret reference. type KeyVaultSecretReference struct { - // SourceVault - Fully qualified resource indentifier of the Key Vault. + // SourceVault - Fully qualified resource identifier of the Key Vault. SourceVault *ResourceID `json:"sourceVault,omitempty"` // SecretURL - The URL referencing a secret in the Key Vault. SecretURL *string `json:"secretUrl,omitempty"` @@ -2633,7 +2633,7 @@ func NewOperationListResultPage(getNextPage func(context.Context, OperationListR // OutputDirectory output directory for the job. type OutputDirectory struct { - // ID - The ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_ environment variale to find the directory path, where is the value of id attribute. + // ID - The ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_ environment variable to find the directory path, where is the value of id attribute. ID *string `json:"id,omitempty"` // PathPrefix - The prefix path where the output directory will be created. Note, this is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix. PathPrefix *string `json:"pathPrefix,omitempty"` @@ -2929,7 +2929,7 @@ type TensorFlowSettings struct { ParameterServerCount *int32 `json:"parameterServerCount,omitempty"` } -// UnmanagedFileSystemReference unmananged file system mounting configuration. +// UnmanagedFileSystemReference unmanaged file system mounting configuration. type UnmanagedFileSystemReference struct { // MountCommand - Mount command line. Note, Batch AI will append mount path to the command on its own. MountCommand *string `json:"mountCommand,omitempty"` diff --git a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/clusters.go b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/clusters.go index 1aa581e70b95..70350880eb08 100644 --- a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/clusters.go +++ b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/clusters.go @@ -342,8 +342,8 @@ func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, // List gets information about the Clusters associated with the subscription. // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client ClustersClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result ClusterListResultPage, err error) { if tracing.IsEnabled() { @@ -477,8 +477,8 @@ func (client ClustersClient) ListComplete(ctx context.Context, filter string, se // ListByResourceGroup gets information about the Clusters associated within the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result ClusterListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/fileservers.go b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/fileservers.go index 25eee07b2028..21b7dd45f586 100644 --- a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/fileservers.go +++ b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/fileservers.go @@ -328,8 +328,8 @@ func (client FileServersClient) GetResponder(resp *http.Response) (result FileSe // List to list all the file servers available under the given subscription (and across all resource groups within that // subscription) // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client FileServersClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result FileServerListResultPage, err error) { if tracing.IsEnabled() { @@ -464,8 +464,8 @@ func (client FileServersClient) ListComplete(ctx context.Context, filter string, // resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client FileServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result FileServerListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/jobs.go b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/jobs.go index 73e78679305f..3b44941a0b93 100644 --- a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/jobs.go +++ b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/jobs.go @@ -343,8 +343,8 @@ func (client JobsClient) GetResponder(resp *http.Response) (result Job, err erro // List gets information about the jobs associated with the subscription. // Parameters: -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client JobsClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32) (result JobListResultPage, err error) { if tracing.IsEnabled() { @@ -478,8 +478,8 @@ func (client JobsClient) ListComplete(ctx context.Context, filter string, select // ListByResourceGroup gets information about the Batch AI jobs associated within the specified resource group. // Parameters: // resourceGroupName - name of the resource group to which the resource belongs. -// filter - an OData $filter clause.. Used to filter results that are returned in the GET respnose. -// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET respnose. +// filter - an OData $filter clause. Used to filter results that are returned in the GET response. +// selectParameter - an OData $select clause. Used to select the properties to be returned in the GET response. // maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. func (client JobsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, maxResults *int32) (result JobListResultPage, err error) { if tracing.IsEnabled() { diff --git a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/models.go b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/models.go index 754d325ddfcb..8fabdae9fdda 100644 --- a/services/preview/batchai/mgmt/2017-09-01-preview/batchai/models.go +++ b/services/preview/batchai/mgmt/2017-09-01-preview/batchai/models.go @@ -657,7 +657,7 @@ func NewClusterListResultPage(getNextPage func(context.Context, ClusterListResul type ClusterProperties struct { // VMSize - All virtual machines in a cluster are the same size. For information about available VM sizes for clusters using images from the Virtual Machines Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual Machines (Windows). Batch AI service supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). VMSize *string `json:"vmSize,omitempty"` - // VMPriority - The default value is dedicated. The node can get preempted while the task is running if lowpriority is choosen. This is best suited if the workload is checkpointing and can be restarted. Possible values include: 'Dedicated', 'Lowpriority' + // VMPriority - The default value is dedicated. The node can get preempted while the task is running if lowpriority is chosen. This is best suited if the workload is checkpointing and can be restarted. Possible values include: 'Dedicated', 'Lowpriority' VMPriority VMPriority `json:"vmPriority,omitempty"` ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"` VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"` @@ -1888,7 +1888,7 @@ type JobProperties struct { ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ProvisioningStateTransitionTime - The time at which the job entered its current provisioning state. ProvisioningStateTransitionTime *date.Time `json:"provisioningStateTransitionTime,omitempty"` - // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running succesfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' + // ExecutionState - The current state of the job. Possible values are: queued - The job is queued and able to run. A job enters this state when it is created, or when it is awaiting a retry after a failed run. running - The job is running on a compute cluster. This includes job-level preparation such as downloading resource files or set up container specified on the job - it does not necessarily mean that the job command line has started executing. terminating - The job is terminated by the user, the terminate operation is in progress. succeeded - The job has completed running successfully and exited with exit code 0. failed - The job has finished unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is also marked as failed if an error occurred launching the job. Possible values include: 'Queued', 'Running', 'Terminating', 'Succeeded', 'Failed' ExecutionState ExecutionState `json:"executionState,omitempty"` // ExecutionStateTransitionTime - The time at which the job entered its current execution state. ExecutionStateTransitionTime *date.Time `json:"executionStateTransitionTime,omitempty"`