diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 891dec1d31b6..0eea9398ef86 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -22,7 +22,7 @@
/sdk/eventgrid/ @kalyanaj
-/sdk/eventhub/ @serkantkaraca
+/sdk/eventhub/ @serkantkaraca @jsquire @kinelski
/sdk/eventhub/azure.messaging.eventhubs/ @jsquire @kinelski
/sdk/identity/azure.identity/ @schaabs
@@ -31,7 +31,7 @@
/sdk/keyvault/azure.*/ @schaabs @shahabhijeet
/sdk/search/ @brjohnstmsft
-/sdk/servicebus/ @nemakam
+/sdk/servicebus/ @nemakam @jsquire
/sdk/storage/ @kfarmer-msft @seanmcc-msft @tg-msft
# Management Plane
/**/*Management*/ @erich-wang
diff --git a/eng/Directory.Build.Data.props b/eng/Directory.Build.Data.props
index 979c7daa2b71..18f8a9c261e4 100644
--- a/eng/Directory.Build.Data.props
+++ b/eng/Directory.Build.Data.props
@@ -108,7 +108,7 @@
false
false
false
- true
+ false
preview
$(IntermediateOutputPath)$(TargetFramework)\$(MSBuildProjectName).xml
diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props
index 5be423b5a17f..89694924ebd6 100755
--- a/eng/Packages.Data.props
+++ b/eng/Packages.Data.props
@@ -9,7 +9,8 @@
-
+
+
diff --git a/eng/mgmt/mgmtmetadata/search_data-plane_Microsoft.Azure.Search.Service.txt b/eng/mgmt/mgmtmetadata/search_data-plane_Microsoft.Azure.Search.Service.txt
index e84e664eb864..66accf64b1ae 100644
--- a/eng/mgmt/mgmtmetadata/search_data-plane_Microsoft.Azure.Search.Service.txt
+++ b/eng/mgmt/mgmtmetadata/search_data-plane_Microsoft.Azure.Search.Service.txt
@@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
-cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\repos\azure-sdk-for-net\sdk
-2019-07-25 22:29:05 UTC
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\src\azure-sdk-for-net\sdk
+2019-08-01 17:40:34 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: a28a3fca492d332b0e515f0017551cb692772b29
+Commit: 39c47bb0623a056d760175c63688d688e0020faa
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
diff --git a/packages.md b/packages.md
old mode 100644
new mode 100755
index fd7b542b8570..779ddd7bf96a
--- a/packages.md
+++ b/packages.md
@@ -8,8 +8,7 @@
| [`Azure.Core`]( sdk/core/Azure.Core/src/Azure.Core.csproj )| [Readme](sdk/core/Azure.Core/README.md) | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Core/ ) |
| [`Azure.Core.Extensions`]( sdk/core/Azure.Core.Extensions/src/Azure.Core.Extensions.csproj )| N/A | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Core.Extensions/ ) |
| [`Azure.Identity`]( sdk/identity/Azure.Identity/src/Azure.Identity.csproj )| [Readme](sdk/identity/Azure.Identity/README.md) | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Identity/ ) |
-| [`Azure.Messaging.EventHubs`]( sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj )| [Readme](sdk/eventhub/Azure.Messaging.EventHubs/README.md) | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Messaging.EventHubs/ ) |
-| [`Azure.Messaging.EventHubs.TrackOne`]( sdk/eventhub/Azure.Messaging.EventHubs/src/TrackOneClient/Azure.Messaging.EventHubs.TrackOne.csproj )| [Readme](sdk/eventhub/Azure.Messaging.EventHubs/README.md) | N/A | N/A |
+| [`Azure.Messaging.EventHubs`]( sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj )| [Readme](sdk/eventhub/Azure.Messaging.EventHubs/README.md) | [Changelog](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md) | [Nuget]( https://www.nuget.org/packages/Azure.Messaging.EventHubs/ ) |
| [`Azure.Security.KeyVault.Secrets`]( sdk/keyvault/Azure.Security.KeyVault.Secrets/src/Azure.Security.KeyVault.Secrets.csproj )| N/A | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Security.KeyVault.Secrets/ ) |
| [`Azure.Security.Keyvault.Keys`]( sdk/keyvault/Azure.Security.KeyVault.Keys/src/Azure.Security.Keyvault.Keys.csproj )| N/A | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Security.Keyvault.Keys/ ) |
| [`Azure.Storage.Blobs`]( sdk/storage/Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj )| [Readme](sdk/storage/Azure.Storage.Blobs/README.md) | N/A | [Nuget]( https://www.nuget.org/packages/Azure.Storage.Blobs/ ) |
diff --git a/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcher.cs b/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcher.cs
deleted file mode 100644
index 317e366e541b..000000000000
--- a/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcher.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace Azure.ApplicationModel.Configuration.Tests
-{
- public class ConfigurationWatcher
- {
- readonly ConfigurationClient _client;
- readonly List _keysToWatch = new List();
- readonly Dictionary _lastPolled = new Dictionary();
- Task _watching;
- CancellationTokenSource _cancel;
- object _sync = new object();
-
- // TODO (pri 2): should we be using passed in client? the retry policy and logging is pretty bad for watching
- public ConfigurationWatcher(ConfigurationClient client, params string[] keysToWatch)
- {
- if (client == null) throw new ArgumentNullException(nameof(client));
- _keysToWatch.AddRange(keysToWatch);
- _client = client;
- }
-
- public TimeSpan Interval { get; set; } = TimeSpan.FromSeconds(1);
-
- public void Start(CancellationToken token = default)
- {
- lock (_sync) {
- if (_watching != null) throw new InvalidOperationException("watcher already started");
- _cancel = (token == default) ? new CancellationTokenSource() : CancellationTokenSource.CreateLinkedTokenSource(token);
- _watching = WatchChangesAsync(_cancel.Token);
- }
- }
-
- public async Task Stop()
- {
- Task watching;
- lock (_sync) {
- if (_watching == null) throw new InvalidOperationException("watcher has not been started");
- watching = _watching;
- _cancel.Cancel();
- _cancel = null;
- _watching = null;
- }
- Debug.Assert(watching != null);
- await watching.ConfigureAwait(false);
- }
-
- public event EventHandler SettingChanged;
- public event EventHandler Error;
-
- protected virtual bool CompareSetting(ConfigurationSetting left, ConfigurationSetting right)
- {
- if (left == null && right != null) return true;
- return !left.Equals(right);
- }
-
- private async Task WatchChangesAsync(CancellationToken cancellationToken)
- {
- // record current values
- await Snapshot(cancellationToken).ConfigureAwait(false);
-
- while (!cancellationToken.IsCancellationRequested) {
- try {
- await PollAsync(cancellationToken).ConfigureAwait(false);
- await Task.Delay(Interval, cancellationToken).ConfigureAwait(false);
- }
- catch (Exception e) {
- if (e is OperationCanceledException) return;
- Error?.Invoke(this, e);
- }
- }
- }
-
- private async Task Snapshot(CancellationToken cancellationToken)
- {
- try {
- for (int i = 0; i < _keysToWatch.Count; i++) {
-
- var response = await _client.GetAsync(_keysToWatch[i], null, default, cancellationToken).ConfigureAwait(false);
- if (response.GetRawResponse().Status == 200) {
- var setting = response.Value;
- _lastPolled[setting.Key] = setting;
- }
- // TODO (pri 2): what should we do when the request fails?
- }
- }
- catch (Exception e) {
- if (e is OperationCanceledException) return;
- Error?.Invoke(this, e);
- }
- }
-
- private async Task PollAsync(CancellationToken cancellationToken)
- {
- var callback = SettingChanged;
- if (callback == null) return;
-
- var tasks = new Task>[_keysToWatch.Count];
- for (int i = 0; i < _keysToWatch.Count; i++) {
- tasks[i] = _client.GetAsync(_keysToWatch[i], null, default, cancellationToken);
- }
- await Task.WhenAll(tasks);
-
- foreach(var task in tasks) {
- var response = task.Result;
- if (response.GetRawResponse().Status == 200) {
- ConfigurationSetting current = response.Value;
- _lastPolled.TryGetValue(current.Key, out var previous);
- if (CompareSetting(current, previous)) {
- if (current == null) _lastPolled.Remove(current.Key);
- else _lastPolled[current.Key] = current;
- var e = new SettingChangedEventArgs(previous, current);
- callback(this, e); // TODO (pri 2): should this be synchronized to the UI thread?
- }
- }
- // TODO (pri 2): should we return for some error status codes?
- }
- }
-
- public struct SettingChangedEventArgs
- {
- public SettingChangedEventArgs(ConfigurationSetting older, ConfigurationSetting newer)
- {
- Older = older;
- Newer = newer;
- }
-
- public ConfigurationSetting Older { get; }
- public ConfigurationSetting Newer { get; }
- }
- }
-}
diff --git a/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcherTests.cs b/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcherTests.cs
deleted file mode 100644
index 12f9894d3a80..000000000000
--- a/sdk/appconfiguration/Azure.ApplicationModel.Configuration/tests/ConfigurationWatcherTests.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using NUnit.Framework;
-using System.Threading.Tasks;
-using System;
-using System.Linq;
-using System.Threading;
-using System.Collections.Generic;
-
-namespace Azure.ApplicationModel.Configuration.Tests
-{
- [Category("Live")]
- public class ConfigurationWatcherTests
- {
- [Test]
- public async Task Helpers()
- {
- ConfigurationClient client = new ConfigurationClient(TestEnvironment.GetClientConnectionString());
-
- const int numberOfSettings = 2;
-
- // key prefix used to partition tests running at the same time so that they don't interract with each other
- var testPartition = Guid.NewGuid().ToString();
-
- var addedSettings = new List(numberOfSettings);
-
- try {
- // add settings to the store
- for (int i = 0; i < numberOfSettings; i++) {
- ConfigurationSetting setting = await client.AddAsync(new ConfigurationSetting($"{testPartition}_{i}", i.ToString()));
- addedSettings.Add(setting);
- }
-
- var changed = new List(); // acumulator for detected changes
- var watcher = new ConfigurationWatcher(client, addedSettings.Select((setting) => setting.Key).ToArray());
- watcher.SettingChanged += (sender, e) =>
- {
- changed.Add(e);
- };
- watcher.Error += (sender, e) =>
- {
- Assert.Fail(e.Message);
- };
-
- // start watching for changes
- watcher.Start();
-
- // do updates in the service store
- for (int i = 0; i < numberOfSettings; i++) {
- var updated = addedSettings[i];
- updated.Value = (i + 100).ToString();
- var response = await client.UpdateAsync(updated);
- }
-
- // wait for updates to be detected
- await Task.Delay(2000);
- await watcher.Stop();
-
- // assert expectations
- Assert.AreEqual(numberOfSettings, changed.Count);
- }
- finally {
- // delete settings from the service store
- foreach (var setting in addedSettings) {
- var response = await client.DeleteAsync(setting.Key);
- if (response.Status != 200) {
- throw new Exception("could not delete setting " + setting.Key);
- }
- }
- }
- }
-
- [Test]
- public async Task WatcherSample()
- {
- // Retrieve the connection string from the configuration store.
- // You can get the string from your Azure portal.
- var connectionString = Environment.GetEnvironmentVariable("APP_CONFIG_CONNECTION");
-
- // Instantiate a client that will be used to call the service.
- var client = new ConfigurationClient(connectionString);
-
- // Setup the watcher to watch "key1" and "key2"
- var watcher = new ConfigurationWatcher(client, "key1", "key2");
- watcher.SettingChanged += (sender, e) =>
- {
- Console.WriteLine($"old value: {e.Older.Value}");
- Console.WriteLine($"new value: {e.Newer.Value}");
- };
- // Print errors occuring during watching
- watcher.Error += (sender, e) =>
- {
- Console.WriteLine($"Error {e.Message}");
- };
-
- // start watching
- watcher.Start();
-
- // watch for 1 second
- await Task.Delay(1000);
-
- // stop watching
- await watcher.Stop();
- }
- }
-}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Microsoft.Azure.Batch.sln b/sdk/batch/Microsoft.Azure.Batch/Microsoft.Azure.Batch.sln
index 5218de8de650..d3ec27e60f65 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Microsoft.Azure.Batch.sln
+++ b/sdk/batch/Microsoft.Azure.Batch/Microsoft.Azure.Batch.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.28803.452
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.645
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Batch", "src\Microsoft.Azure.Batch.csproj", "{A8548C94-A0EA-438D-9226-11142F2646B9}"
EndProject
@@ -15,10 +15,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Batch.Unit.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodeGenerationLibrary", "tools\CodeGenerationLibrary\CodeGenerationLibrary.csproj", "{D15F9643-2956-499E-A94A-5171D5A47D9A}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConfigureAwaitAnalyzer.Tests", "tools\ConfigureAwaitAnalyzerTests\ConfigureAwaitAnalyzer.Tests.csproj", "{AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConfigureAwaitAnalyzer", "tools\ConfigureAwaitAnalyzer\ConfigureAwaitAnalyzer.csproj", "{E6F7F36C-C370-438A-A8F2-8B7A021B5155}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ObjectModelCodeGenerator", "tools\ObjectModelCodeGenerator\ObjectModelCodeGenerator.csproj", "{718237FC-37F8-4557-B2FB-70DF3255AAF5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProxyLayerParser", "tools\RoslynParser\ProxyLayerParser.csproj", "{403E2952-7152-4F52-B7FD-5BF8A4691B48}"
@@ -111,30 +107,6 @@ Global
{D15F9643-2956-499E-A94A-5171D5A47D9A}.Portable-Release|Any CPU.Build.0 = Release|Any CPU
{D15F9643-2956-499E-A94A-5171D5A47D9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D15F9643-2956-499E-A94A-5171D5A47D9A}.Release|Any CPU.Build.0 = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Net45-Debug|Any CPU.Build.0 = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Net45-Release|Any CPU.ActiveCfg = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Net45-Release|Any CPU.Build.0 = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Portable-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Portable-Debug|Any CPU.Build.0 = Debug|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Portable-Release|Any CPU.ActiveCfg = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Portable-Release|Any CPU.Build.0 = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A}.Release|Any CPU.Build.0 = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Net45-Debug|Any CPU.Build.0 = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Net45-Release|Any CPU.ActiveCfg = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Net45-Release|Any CPU.Build.0 = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Portable-Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Portable-Debug|Any CPU.Build.0 = Debug|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Portable-Release|Any CPU.ActiveCfg = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Portable-Release|Any CPU.Build.0 = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155}.Release|Any CPU.Build.0 = Release|Any CPU
{718237FC-37F8-4557-B2FB-70DF3255AAF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{718237FC-37F8-4557-B2FB-70DF3255AAF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{718237FC-37F8-4557-B2FB-70DF3255AAF5}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -170,8 +142,6 @@ Global
{BEC46645-02DB-4759-B6D9-56B6B17741A5} = {9B6E704C-0833-4CDE-BE2C-603A4087BAC9}
{11F0374A-3609-4C9C-B57B-BB7876C76DA4} = {9B6E704C-0833-4CDE-BE2C-603A4087BAC9}
{D15F9643-2956-499E-A94A-5171D5A47D9A} = {48070FB2-8BB9-4EE4-A8BD-413B2C2B8ED4}
- {AB0EB56A-413A-4CBE-AF93-F99AB6C0798A} = {48070FB2-8BB9-4EE4-A8BD-413B2C2B8ED4}
- {E6F7F36C-C370-438A-A8F2-8B7A021B5155} = {48070FB2-8BB9-4EE4-A8BD-413B2C2B8ED4}
{718237FC-37F8-4557-B2FB-70DF3255AAF5} = {48070FB2-8BB9-4EE4-A8BD-413B2C2B8ED4}
{403E2952-7152-4F52-B7FD-5BF8A4691B48} = {48070FB2-8BB9-4EE4-A8BD-413B2C2B8ED4}
EndGlobalSection
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj b/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
index f0f1160fb965..e9e08675d1e2 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
@@ -2,6 +2,7 @@
Azure Batch object model code generation library
true
+ false
@@ -9,6 +10,6 @@
-
+
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationUtilities.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationUtilities.cs
index 9ccf4d282610..e678a43e78cb 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationUtilities.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationUtilities.cs
@@ -162,8 +162,18 @@ private static string GetProtocolCollectionToObjectModelCollectionString(string
return omPropertyData.GenericTypeParameter +
".ConvertFromProtocolCollection(" + protocolObjectSimpleGetter + ")";
}
- return omPropertyData.GenericTypeParameter + ".ConvertFromProtocolCollectionAndFreeze(" +
- protocolObjectSimpleGetter + ")";
+
+ // If the name of the type and the name of the property happen to match, we need to disambiguate
+ if(string.Equals(omPropertyData.Name, omPropertyData.GenericTypeParameter))
+ {
+ // This is a bit of a hack...
+ const string prefix = "Batch";
+ return $"{prefix}.{omPropertyData.GenericTypeParameter}.ConvertFromProtocolCollectionAndFreeze({protocolObjectSimpleGetter})";
+ }
+ else
+ {
+ return $"{omPropertyData.GenericTypeParameter}.ConvertFromProtocolCollectionAndFreeze({protocolObjectSimpleGetter})";
+ }
}
return omPropertyData.GenericTypeParameter + ".ConvertFromProtocolCollectionReadOnly(" + protocolObjectSimpleGetter + ")";
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/AssemblyAttributes.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/AssemblyAttributes.cs
deleted file mode 100644
index 259123e45927..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/AssemblyAttributes.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System.Runtime.CompilerServices;
-
-[assembly: InternalsVisibleTo("ConfigureAwaitAnalyzer.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/ConfigureAwaitAnalyzer.csproj b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/ConfigureAwaitAnalyzer.csproj
deleted file mode 100644
index 0824608b6131..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/ConfigureAwaitAnalyzer.csproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- Azure Batch Roslyn analyzer for checking configureawait
- $(DefineConstants);TESTSIGN
- true
- true
-
-
-
- netstandard1.4
- $(PackageTargetFallback);portable-net45+win8
-
-
-
-
-
-
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/DiagnosticAnalyzer.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/DiagnosticAnalyzer.cs
deleted file mode 100644
index 5dc0a18c38e5..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/DiagnosticAnalyzer.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-namespace ConfigureAwaitAnalyzer
-{
- using System;
- using System.Collections.Immutable;
- using System.Linq;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using Microsoft.CodeAnalysis.Diagnostics;
-
- [DiagnosticAnalyzer(LanguageNames.CSharp)]
- public class ConfigureAwaitAnalyzer : DiagnosticAnalyzer
- {
- public const string DiagnosticId = "ConfigureAwaitAnalyzer";
-
- internal const string Title = "ConfigureAwaitFalseChecker";
- internal const string MessageFormat = "'await' expressions must include ConfigureAwait(false)";
- internal const string Description = "Ensures that all await expressions include ConfigureAwait(false)";
- private const string Category = "Usage";
-
- private static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(
- DiagnosticId,
- Title,
- MessageFormat,
- Category,
- DiagnosticSeverity.Warning,
- isEnabledByDefault: true,
- description: Description);
-
- private const string ConfigureAwait = "ConfigureAwait";
-
- public struct AnalysisResult
- {
- public bool HasConfigureAwaitFalse { get; }
- public Location Location { get; }
-
- public AnalysisResult(bool hasConfigureAwaitFalse, Location location)
- {
- this.HasConfigureAwaitFalse = hasConfigureAwaitFalse;
- this.Location = location;
- }
- }
-
- public override ImmutableArray SupportedDiagnostics => ImmutableArray.Create(Rule);
-
- public override void Initialize(AnalysisContext context)
- {
- context.RegisterSyntaxNodeAction(Analyze, SyntaxKind.AwaitExpression);
- }
-
- private static void Analyze(SyntaxNodeAnalysisContext context)
- {
- var awaitNode = (AwaitExpressionSyntax)context.Node;
- AnalysisResult analysisResult = HasConfigureAwaitFalse(awaitNode);
- if (!analysisResult.HasConfigureAwaitFalse)
- {
- context.ReportDiagnostic(Diagnostic.Create(Rule, analysisResult.Location));
- }
- }
-
- private static AnalysisResult HasConfigureAwaitFalse(AwaitExpressionSyntax awaitNode)
- {
- InvocationExpressionSyntax configureAwaitExpression = FindConfigureAwaitExpression(awaitNode);
- bool hasConfigureAwaitFalse = configureAwaitExpression != null && IsExpressionConfigureAwaitFalse(configureAwaitExpression);
- return new AnalysisResult(hasConfigureAwaitFalse, awaitNode.GetLocation());
- }
-
- private static InvocationExpressionSyntax FindConfigureAwaitExpression(SyntaxNode node)
- {
- foreach (SyntaxNode childNode in node.ChildNodes())
- {
- //Find the first node which is an invocation expression
- if (childNode is InvocationExpressionSyntax)
- {
- return (InvocationExpressionSyntax)childNode;
- }
- return FindConfigureAwaitExpression(childNode);
- }
-
- return null;
- }
-
- ///
- /// Checks to see if the expression already contains ConfigureAwait(false)
- ///
- private static bool IsExpressionConfigureAwaitFalse(InvocationExpressionSyntax invocationExpression)
- {
- var memberAccessExpression = invocationExpression.Expression as MemberAccessExpressionSyntax;
-
- bool isConfigureAwait = memberAccessExpression?.Name.Identifier.Text.Equals(ConfigureAwait, StringComparison.Ordinal) == true;
- bool hasFalseParameter = invocationExpression.ArgumentList.Arguments.Count == 1 &&
- invocationExpression.ArgumentList.Arguments.Single().Expression.IsKind(SyntaxKind.FalseLiteralExpression);
-
- return isConfigureAwait && hasFalseParameter;
- }
- }
-}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzer.Tests.csproj b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzer.Tests.csproj
deleted file mode 100644
index 8c388027e617..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzer.Tests.csproj
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- $(BuiltPackageOutputDir)
- false
- true
- false
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
- Azure Batch configure await analyzer tests
- 1.0.0-preview
- false
-
-
- netcoreapp1.1
- $(PackageTargetFallback);portable-net45+win8
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzerTests.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzerTests.cs
deleted file mode 100644
index 359a08c306b0..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzerTests.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-namespace ConfigureAwaitAnalyzerTests
-{
- using System;
- using ConfigureAwaitAnalyzer;
- using Helpers;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.Diagnostics;
- using Xunit;
-
- public class ConfigureAwaitAnalyzerTests : DiagnosticVerifier
- {
- private static readonly string ExpectedFileName = $"{DefaultFilePathPrefix}0.{CSharpDefaultFileExt}";
-
- [Fact]
- public void TestEmptyCodeBlock_ShouldBeNoError()
- {
- var test = @"";
-
- this.VerifyCSharpDiagnostic(test);
- }
-
- [Fact]
- public void TestAwaitWithNoConfigureAwait_ShouldBeError()
- {
- var test = @"
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Diagnostics;
-
- namespace ConsoleApplication1
- {
- public class TypeName
- {
- public static async Task Test()
- {
- await Task.Delay(0);
- }
- }
- }";
- this.VerifyCSharpDiagnostic(test, BuildExpectedResult(15, 17));
- }
-
- [Fact]
- public void TestAwaitWithConfigureAwaitTrue_ShouldBeError()
- {
- var test = @"
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Diagnostics;
-
- namespace ConsoleApplication1
- {
- public class TypeName
- {
- public static async Task Test()
- {
- await Task.Delay(0).ConfigureAwait(true);
- }
- }
- }";
- this.VerifyCSharpDiagnostic(test, BuildExpectedResult(15, 17));
- }
-
- [Fact]
- public void TestAwaitWithConfigureAwaitFalse_ShouldBeNoError()
- {
- var test = @"
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Diagnostics;
-
- namespace ConsoleApplication1
- {
- public class TypeName
- {
- public static async Task Test()
- {
- await Task.Delay(0).ConfigureAwait(false);
- await Task.Delay(0).ConfigureAwait(continueOnCapturedContext: false);
- }
- }
- }";
- this.VerifyCSharpDiagnostic(test);
- }
-
- protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer()
- {
- return new ConfigureAwaitAnalyzer();
- }
-
- protected override DiagnosticAnalyzer GetBasicDiagnosticAnalyzer()
- {
- throw new NotSupportedException("VB is not supported");
- }
-
- private static DiagnosticResult BuildExpectedResult(int line, int column)
- {
- return new DiagnosticResult
- {
- Id = ConfigureAwaitAnalyzer.DiagnosticId,
- Message = ConfigureAwaitAnalyzer.MessageFormat,
- Severity = DiagnosticSeverity.Warning,
- Locations =
- new[] {
- new DiagnosticResultLocation(ExpectedFileName, line, column)
- }
- };
- }
- }
-}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticResult.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticResult.cs
deleted file mode 100644
index 8a693e5e1054..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticResult.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-namespace ConfigureAwaitAnalyzerTests.Helpers
-{
- using System;
- using Microsoft.CodeAnalysis;
-
- ///
- /// Location where the diagnostic appears, as determined by path, line number, and column number.
- ///
- public struct DiagnosticResultLocation
- {
- public DiagnosticResultLocation(string path, int line, int column)
- {
- if (line < -1)
- {
- throw new ArgumentOutOfRangeException(nameof(line), "line must be >= -1");
- }
-
- if (column < -1)
- {
- throw new ArgumentOutOfRangeException(nameof(column), "column must be >= -1");
- }
-
- this.Path = path;
- this.Line = line;
- this.Column = column;
- }
-
- public string Path { get; }
- public int Line { get; }
- public int Column { get; }
- }
-
- ///
- /// Struct that stores information about a Diagnostic appearing in a source
- ///
- public struct DiagnosticResult
- {
- private DiagnosticResultLocation[] locations;
-
- public DiagnosticResultLocation[] Locations
- {
- get
- {
- if (this.locations == null)
- {
- this.locations = new DiagnosticResultLocation[] { };
- }
- return this.locations;
- }
-
- set
- {
- this.locations = value;
- }
- }
-
- public DiagnosticSeverity Severity { get; set; }
-
- public string Id { get; set; }
-
- public string Message { get; set; }
-
- public string Path
- {
- get
- {
- return this.Locations.Length > 0 ? this.Locations[0].Path : "";
- }
- }
-
- public int Line
- {
- get
- {
- return this.Locations.Length > 0 ? this.Locations[0].Line : -1;
- }
- }
-
- public int Column
- {
- get
- {
- return this.Locations.Length > 0 ? this.Locations[0].Column : -1;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticVerifier.Helper.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticVerifier.Helper.cs
deleted file mode 100644
index b296ef1a5714..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Helpers/DiagnosticVerifier.Helper.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-namespace ConfigureAwaitAnalyzerTests
-{
- using System;
- using System.Collections.Generic;
- using System.Collections.Immutable;
- using System.Linq;
- using System.Reflection;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.Diagnostics;
- using Microsoft.CodeAnalysis.Text;
-
- ///
- /// Class for turning strings into documents and getting the diagnostics on them
- /// All methods are static
- ///
- public abstract partial class DiagnosticVerifier
- {
- private static readonly MetadataReference CorlibReference = MetadataReference.CreateFromFile(typeof(object).GetTypeInfo().Assembly.Location);
- private static readonly MetadataReference SystemCoreReference = MetadataReference.CreateFromFile(typeof(Enumerable).GetTypeInfo().Assembly.Location);
- private static readonly MetadataReference CSharpSymbolsReference = MetadataReference.CreateFromFile(typeof(CSharpCompilation).GetTypeInfo().Assembly.Location);
- private static readonly MetadataReference CodeAnalysisReference = MetadataReference.CreateFromFile(typeof(Compilation).GetTypeInfo().Assembly.Location);
-
- internal static string DefaultFilePathPrefix = "Test";
- internal static string CSharpDefaultFileExt = "cs";
- internal static string VisualBasicDefaultExt = "vb";
- internal static string TestProjectName = "TestProject";
-
- #region Get Diagnostics
-
- ///
- /// Given classes in the form of strings, their language, and an IDiagnosticAnlayzer to apply to it, return the diagnostics found in the string after converting it to a document.
- ///
- /// Classes in the form of strings
- /// The language the source classes are in
- /// The analyzer to be run on the sources
- /// An IEnumerable of Diagnostics that surfaced in the source code, sorted by Location
- private static Diagnostic[] GetSortedDiagnostics(string[] sources, string language, DiagnosticAnalyzer analyzer)
- {
- return GetSortedDiagnosticsFromDocuments(analyzer, GetDocuments(sources, language));
- }
-
- ///
- /// Given an analyzer and a document to apply it to, run the analyzer and gather an array of diagnostics found in it.
- /// The returned diagnostics are then ordered by location in the source document.
- ///
- /// The analyzer to run on the documents
- /// The Documents that the analyzer will be run on
- /// An IEnumerable of Diagnostics that surfaced in the source code, sorted by Location
- protected static Diagnostic[] GetSortedDiagnosticsFromDocuments(DiagnosticAnalyzer analyzer, Document[] documents)
- {
- var projects = new HashSet();
- foreach (var document in documents)
- {
- projects.Add(document.Project);
- }
-
- var diagnostics = new List();
- foreach (var project in projects)
- {
- var compilationWithAnalyzers = project.GetCompilationAsync().Result.WithAnalyzers(ImmutableArray.Create(analyzer));
- var diags = compilationWithAnalyzers.GetAnalyzerDiagnosticsAsync().Result;
- foreach (var diag in diags)
- {
- if (diag.Location == Location.None || diag.Location.IsInMetadata)
- {
- diagnostics.Add(diag);
- }
- else
- {
- for (int i = 0; i < documents.Length; i++)
- {
- var document = documents[i];
- var tree = document.GetSyntaxTreeAsync().Result;
- if (tree == diag.Location.SourceTree)
- {
- diagnostics.Add(diag);
- }
- }
- }
- }
-
- }
-
- var results = SortDiagnostics(diagnostics);
- diagnostics.Clear();
- return results;
- }
-
- ///
- /// Sort diagnostics by location in source document
- ///
- /// The list of Diagnostics to be sorted
- /// An IEnumerable containing the Diagnostics in order of Location
- private static Diagnostic[] SortDiagnostics(IEnumerable diagnostics)
- {
- return diagnostics.OrderBy(d => d.Location.SourceSpan.Start).ToArray();
- }
-
- #endregion
-
- #region Set up compilation and documents
- ///
- /// Given an array of strings as sources and a language, turn them into a project and return the documents and spans of it.
- ///
- /// Classes in the form of strings
- /// The language the source code is in
- /// A Tuple containing the Documents produced from the sources and their TextSpans if relevant
- private static Document[] GetDocuments(string[] sources, string language)
- {
- if (language != LanguageNames.CSharp && language != LanguageNames.VisualBasic)
- {
- throw new ArgumentException("Unsupported Language");
- }
-
- var project = CreateProject(sources, language);
- var documents = project.Documents.ToArray();
-
- if (sources.Length != documents.Length)
- {
- throw new Exception("Amount of sources did not match amount of Documents created");
- }
-
- return documents;
- }
-
- ///
- /// Create a Document from a string through creating a project that contains it.
- ///
- /// Classes in the form of a string
- /// The language the source code is in
- /// A Document created from the source string
- protected static Document CreateDocument(string source, string language = LanguageNames.CSharp)
- {
- return CreateProject(new[] { source }, language).Documents.First();
- }
-
- ///
- /// Create a project using the inputted strings as sources.
- ///
- /// Classes in the form of strings
- /// The language the source code is in
- /// A Project created out of the Documents created from the source strings
- private static Project CreateProject(string[] sources, string language = LanguageNames.CSharp)
- {
- string fileNamePrefix = DefaultFilePathPrefix;
- string fileExt = language == LanguageNames.CSharp ? CSharpDefaultFileExt : VisualBasicDefaultExt;
-
- var projectId = ProjectId.CreateNewId(debugName: TestProjectName);
-
- var solution = new AdhocWorkspace()
- .CurrentSolution
- .AddProject(projectId, TestProjectName, TestProjectName, language)
- .AddMetadataReference(projectId, CorlibReference)
- .AddMetadataReference(projectId, SystemCoreReference)
- .AddMetadataReference(projectId, CSharpSymbolsReference)
- .AddMetadataReference(projectId, CodeAnalysisReference);
-
- int count = 0;
- foreach (var source in sources)
- {
- var newFileName = fileNamePrefix + count + "." + fileExt;
- var documentId = DocumentId.CreateNewId(projectId, debugName: newFileName);
- solution = solution.AddDocument(documentId, newFileName, SourceText.From(source));
- count++;
- }
- return solution.GetProject(projectId);
- }
- #endregion
- }
-}
-
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Verifiers/DiagnosticVerifier.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Verifiers/DiagnosticVerifier.cs
deleted file mode 100644
index a926da7a3afe..000000000000
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/Verifiers/DiagnosticVerifier.cs
+++ /dev/null
@@ -1,247 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-namespace ConfigureAwaitAnalyzerTests
-{
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Helpers;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.Diagnostics;
- using Xunit;
-
- ///
- /// Superclass of all Unit Tests for DiagnosticAnalyzers
- ///
- public abstract partial class DiagnosticVerifier
- {
- #region To be implemented by Test classes
-
- ///
- /// Get the CSharp analyzer being tested - to be implemented in non-abstract class
- ///
- protected abstract DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer();
-
- ///
- /// Get the Visual Basic analyzer being tested (C#) - to be implemented in non-abstract class
- ///
- protected abstract DiagnosticAnalyzer GetBasicDiagnosticAnalyzer();
-
- #endregion
-
- #region Verifier wrappers
-
- ///
- /// Called to test a C# DiagnosticAnalyzer when applied on the single inputted string as a source
- /// Note: input a DiagnosticResult for each Diagnostic expected
- ///
- /// A class in the form of a string to run the analyzer on
- /// DiagnosticResults that should appear after the analyzer is run on the source
- protected void VerifyCSharpDiagnostic(string source, params DiagnosticResult[] expected)
- {
- this.VerifyDiagnostics(new[] { source }, LanguageNames.CSharp, this.GetCSharpDiagnosticAnalyzer(), expected);
- }
-
- ///
- /// Called to test a C# DiagnosticAnalyzer when applied on the inputted strings as a source
- /// Note: input a DiagnosticResult for each Diagnostic expected
- ///
- /// An array of strings to create source documents from to run the analyzers on
- /// DiagnosticResults that should appear after the analyzer is run on the sources
- protected void VerifyCSharpDiagnostic(string[] sources, params DiagnosticResult[] expected)
- {
- this.VerifyDiagnostics(sources, LanguageNames.CSharp, this.GetCSharpDiagnosticAnalyzer(), expected);
- }
-
- ///
- /// General method that gets a collection of actual diagnostics found in the source after the analyzer is run,
- /// then verifies each of them.
- ///
- /// An array of strings to create source documents from to run the analyzers on
- /// The language of the classes represented by the source strings
- /// The analyzer to be run on the source code
- /// DiagnosticResults that should appear after the analyzer is run on the sources
- private void VerifyDiagnostics(string[] sources, string language, DiagnosticAnalyzer analyzer, params DiagnosticResult[] expected)
- {
- var diagnostics = GetSortedDiagnostics(sources, language, analyzer);
- VerifyDiagnosticResults(diagnostics, analyzer, expected);
- }
-
- #endregion
-
- #region Actual comparisons and verifications
- ///
- /// Checks each of the actual Diagnostics found and compares them with the corresponding DiagnosticResult in the array of expected results.
- /// Diagnostics are considered equal only if the DiagnosticResultLocation, Id, Severity, and Message of the DiagnosticResult match the actual diagnostic.
- ///
- /// The Diagnostics found by the compiler after running the analyzer on the source code
- /// The analyzer that was being run on the sources
- /// Diagnostic Results that should have appeared in the code
- private static void VerifyDiagnosticResults(IEnumerable actualResults, DiagnosticAnalyzer analyzer, params DiagnosticResult[] expectedResults)
- {
- int expectedCount = expectedResults.Count();
- int actualCount = actualResults.Count();
-
- if (expectedCount != actualCount)
- {
- string diagnosticsOutput = actualResults.Any() ? FormatDiagnostics(analyzer, actualResults.ToArray()) : " NONE.";
-
- Assert.True(false,
- string.Format("Mismatch between number of diagnostics returned, expected \"{0}\" actual \"{1}\"\r\n\r\nDiagnostics:\r\n{2}\r\n", expectedCount, actualCount, diagnosticsOutput));
- }
-
- for (int i = 0; i < expectedResults.Length; i++)
- {
- var actual = actualResults.ElementAt(i);
- var expected = expectedResults[i];
-
- if (expected.Line == -1 && expected.Column == -1)
- {
- if (actual.Location != Location.None)
- {
- Assert.True(false,
- string.Format("Expected:\nA project diagnostic with No location\nActual:\n{0}",
- FormatDiagnostics(analyzer, actual)));
- }
- }
- else
- {
- VerifyDiagnosticLocation(analyzer, actual, actual.Location, expected.Locations.First());
- var additionalLocations = actual.AdditionalLocations.ToArray();
-
- if (additionalLocations.Length != expected.Locations.Length - 1)
- {
- Assert.True(false,
- string.Format("Expected {0} additional locations but got {1} for Diagnostic:\r\n {2}\r\n",
- expected.Locations.Length - 1, additionalLocations.Length,
- FormatDiagnostics(analyzer, actual)));
- }
-
- for (int j = 0; j < additionalLocations.Length; ++j)
- {
- VerifyDiagnosticLocation(analyzer, actual, additionalLocations[j], expected.Locations[j + 1]);
- }
- }
-
- if (actual.Id != expected.Id)
- {
- Assert.True(false,
- string.Format("Expected diagnostic id to be \"{0}\" was \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Id, actual.Id, FormatDiagnostics(analyzer, actual)));
- }
-
- if (actual.Severity != expected.Severity)
- {
- Assert.True(false,
- string.Format("Expected diagnostic severity to be \"{0}\" was \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Severity, actual.Severity, FormatDiagnostics(analyzer, actual)));
- }
-
- if (actual.GetMessage() != expected.Message)
- {
- Assert.True(false,
- string.Format("Expected diagnostic message to be \"{0}\" was \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Message, actual.GetMessage(), FormatDiagnostics(analyzer, actual)));
- }
- }
- }
-
- ///
- /// Helper method to VerifyDiagnosticResult that checks the location of a diagnostic and compares it with the location in the expected DiagnosticResult.
- ///
- /// The analyzer that was being run on the sources
- /// The diagnostic that was found in the code
- /// The Location of the Diagnostic found in the code
- /// The DiagnosticResultLocation that should have been found
- private static void VerifyDiagnosticLocation(DiagnosticAnalyzer analyzer, Diagnostic diagnostic, Location actual, DiagnosticResultLocation expected)
- {
- var actualSpan = actual.GetLineSpan();
-
- Assert.True(actualSpan.Path == expected.Path || (actualSpan.Path != null && actualSpan.Path.Contains("Test0.") && expected.Path.Contains("Test.")),
- string.Format("Expected diagnostic to be in file \"{0}\" was actually in file \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Path, actualSpan.Path, FormatDiagnostics(analyzer, diagnostic)));
-
- var actualLinePosition = actualSpan.StartLinePosition;
-
- // Only check line position if there is an actual line in the real diagnostic
- if (actualLinePosition.Line > 0)
- {
- if (actualLinePosition.Line + 1 != expected.Line)
- {
- Assert.True(false,
- string.Format("Expected diagnostic to be on line \"{0}\" was actually on line \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Line, actualLinePosition.Line + 1, FormatDiagnostics(analyzer, diagnostic)));
- }
- }
-
- // Only check column position if there is an actual column position in the real diagnostic
- if (actualLinePosition.Character > 0)
- {
- if (actualLinePosition.Character + 1 != expected.Column)
- {
- Assert.True(false,
- string.Format("Expected diagnostic to start at column \"{0}\" was actually at column \"{1}\"\r\n\r\nDiagnostic:\r\n {2}\r\n",
- expected.Column, actualLinePosition.Character + 1, FormatDiagnostics(analyzer, diagnostic)));
- }
- }
- }
- #endregion
-
- #region Formatting Diagnostics
- ///
- /// Helper method to format a Diagnostic into an easily readable string
- ///
- /// The analyzer that this verifier tests
- /// The Diagnostics to be formatted
- /// The Diagnostics formatted as a string
- private static string FormatDiagnostics(DiagnosticAnalyzer analyzer, params Diagnostic[] diagnostics)
- {
- var builder = new StringBuilder();
- for (int i = 0; i < diagnostics.Length; ++i)
- {
- builder.AppendLine("// " + diagnostics[i].ToString());
-
- var analyzerType = analyzer.GetType();
- var rules = analyzer.SupportedDiagnostics;
-
- foreach (var rule in rules)
- {
- if (rule != null && rule.Id == diagnostics[i].Id)
- {
- var location = diagnostics[i].Location;
- if (location == Location.None)
- {
- builder.AppendFormat("GetGlobalResult({0}.{1})", analyzerType.Name, rule.Id);
- }
- else
- {
- Assert.True(location.IsInSource,
- $"Test base does not currently handle diagnostics in metadata locations. Diagnostic in metadata: {diagnostics[i]}\r\n");
-
- string resultMethodName = diagnostics[i].Location.SourceTree.FilePath.EndsWith(".cs") ? "GetCSharpResultAt" : "GetBasicResultAt";
- var linePosition = diagnostics[i].Location.GetLineSpan().StartLinePosition;
-
- builder.AppendFormat("{0}({1}, {2}, {3}.{4})",
- resultMethodName,
- linePosition.Line + 1,
- linePosition.Character + 1,
- analyzerType.Name,
- rule.Id);
- }
-
- if (i != diagnostics.Length - 1)
- {
- builder.Append(',');
- }
-
- builder.AppendLine();
- break;
- }
- }
- }
- return builder.ToString();
- }
- #endregion
- }
-}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/ObjectModelCodeGenerator.csproj b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/ObjectModelCodeGenerator.csproj
index 5e70351aee47..482adec72342 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/ObjectModelCodeGenerator.csproj
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/ObjectModelCodeGenerator.csproj
@@ -3,6 +3,7 @@
Azure Batch object model code generator
Exe
true
+ false
@@ -10,7 +11,7 @@
-
+
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Program.cs b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Program.cs
index 164e02aa053d..40e8afdf3e9f 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Program.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Program.cs
@@ -34,7 +34,7 @@ private static void GenerateModelFiles()
}
seen.Add(type.Name);
- string outputDirectory = "../../../../../../Microsoft.Azure.Batch/src/Generated";
+ string outputDirectory = "../../../../../sdk/batch/Microsoft.Azure.Batch/src/Generated";
string outputFilePath = Path.Combine(outputDirectory, type.Name + ".cs");
string innerClassString;
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AutoUserSpecification.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AutoUserSpecification.json
index 34afedf98986..80dedc3d96b6 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AutoUserSpecification.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AutoUserSpecification.json
@@ -8,8 +8,8 @@
"Key": {
"Type": "Common.AutoUserScope?",
"Name": "Scope",
- "SummaryComment": "The scope for the auto user. If omitted, the default is .",
- "RemarksComment": null,
+ "SummaryComment": "The scope for the auto user. If omitted, the default is .",
+ "RemarksComment": "If the pool is running Windows a value of should be specified if stricter isolation between tasks is required. For example, if the Task mutates the registry in a way which could impact other Tasks, or if Certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by StartTasks.",
"BoundAccess": "read",
"UnboundAccess": "read,write",
"ConstructorArgumentType": "Optional",
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureBlobFileSystemConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureBlobFileSystemConfiguration.json
new file mode 100644
index 000000000000..396bbcaffbfb
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureBlobFileSystemConfiguration.json
@@ -0,0 +1,84 @@
+{
+ "Name": "AzureBlobFileSystemConfiguration",
+ "ProtocolName": "Models.AzureBlobFileSystemConfiguration",
+ "SummaryComment": "Information used to connect to an Azure Storage Container using Blobfuse.",
+ "IsConstructorPublic": false,
+ "Properties": [
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "AccountName",
+ "SummaryComment": "The Azure Storage account name.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "ContainerName",
+ "SummaryComment": "The Azure Blob Storage Container name.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "RelativeMountPath",
+ "SummaryComment": "The relative path on the compute node where the file system will be mounted.",
+ "RemarksComment": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "AccountKey",
+ "SummaryComment": "The Azure Storage Account key. This property is mutually exclusive with .",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "SasKey",
+ "SummaryComment": "The Azure Storage SAS token. This property is mutually exclusive with .",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "BlobfuseOptions",
+ "SummaryComment": "Additional command line options to pass to the mount command.",
+ "RemarksComment": "These are 'net use' options in Windows and 'mount' options in Linux.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ }
+ ]
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureFileShareConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureFileShareConfiguration.json
new file mode 100644
index 000000000000..b440db2edeaa
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/AzureFileShareConfiguration.json
@@ -0,0 +1,71 @@
+{
+ "Name": "AzureFileShareConfiguration",
+ "ProtocolName": "Models.AzureFileShareConfiguration",
+ "SummaryComment": "Information used to connect to an Azure Fileshare.",
+ "Properties": [
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "AccountName",
+ "SummaryComment": "The Azure Storage Account name.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "AzureFileUrl",
+ "SummaryComment": "The Azure Files URL.",
+ "RemarksComment": "This is of the form 'https://myaccount.file.core.windows.net/'.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "RelativeMountPath",
+ "SummaryComment": "The relative path on the compute node where the file system will be mounted.",
+ "RemarksComment": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "AccountKey",
+ "SummaryComment": "The Azure Storage Account key.",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "MountOptions",
+ "SummaryComment": "Additional command line options to pass to the mount command.",
+ "RemarksComment": "These are 'net use' options in Windows and 'mount' options in Linux.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ }
+ ]
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CifsMountConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CifsMountConfiguration.json
new file mode 100644
index 000000000000..3a99024cc0ec
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CifsMountConfiguration.json
@@ -0,0 +1,72 @@
+{
+ "Name": "CifsMountConfiguration",
+ "ProtocolName": "Models.CIFSMountConfiguration",
+ "SummaryComment": "Information used to connect to a CIFS file system.",
+ "Properties": [
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "Username",
+ "SummaryComment": "The user to use for authentication against the CIFS file system.",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "Password",
+ "SummaryComment": "The password to use for authentication against the CIFS file system.",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "Source",
+ "SummaryComment": "The URI of the file system to mount.",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "RelativeMountPath",
+ "SummaryComment": "The relative path on the compute node where the file system will be mounted.",
+ "RemarksComment": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "MountOptions",
+ "SummaryComment": "Additional command line options to pass to the mount command.",
+ "RemarksComment": "These are 'net use' options in Windows and 'mount' options in Linux.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ }
+ ]
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CloudPool.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CloudPool.json
index f1c8c94b3d2b..f017d73818b9 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CloudPool.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/CloudPool.json
@@ -415,6 +415,20 @@
"UnboundAccess": "read,write"
},
"Value": null
+ },
+ {
+ "Key": {
+ "Type": "IList",
+ "Name": "MountConfiguration",
+ "SummaryComment": "A list of file systems to mount on each node in the pool.",
+ "RemarksComment": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write"
+ },
+ "Value": {
+ "Type": "IList",
+ "Name": "MountConfiguration"
+ }
}
]
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/ImageReference.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/ImageReference.json
index 4e45e7426fb1..9045044ef4a3 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/ImageReference.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/ImageReference.json
@@ -34,7 +34,7 @@
"Type": "string",
"Name": "Sku",
"SummaryComment": "The SKU of the Azure Virtual Machines Marketplace Image.",
- "RemarksComment": "For example, 14.04.0-LTS or 2012-R2-Datacenter.",
+ "RemarksComment": "For example, 18.04-LTS or 2019-Datacenter.",
"BoundAccess": "read",
"UnboundAccess": "read,write",
"HideSetter": true
@@ -57,8 +57,8 @@
"Key": {
"Type": "string",
"Name": "VirtualMachineImageId",
- "SummaryComment": "The ARM resource identifier of the Virtual Machine Image. Computes nodes of the pool will be created using this custom image. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}",
- "RemarksComment": "This property is mutually exclusive with other ImageReference properties. The virtual machine image must be in the same region and subscription as the Azure Batch account. For information about the firewall settings for the Batch Node Agent to communicate with Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.",
+ "SummaryComment": "The ARM resource identifier of the Virtual Machine Image or Shared Image Gallery Image. Computes Compute Nodes of the Pool will be created using this Image Id. This is of either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName} for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId} for SIG image.",
+ "RemarksComment": "This property is mutually exclusive with other properties. For Virtual Machine Image it must be in the same region and subscription as the Azure Batch account. For SIG image it must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch Compute Node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.",
"BoundAccess": "read",
"UnboundAccess": "read,write",
"HideSetter": true
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/MountConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/MountConfiguration.json
new file mode 100644
index 000000000000..2cd62c13c9df
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/MountConfiguration.json
@@ -0,0 +1,57 @@
+{
+ "Name": "MountConfiguration",
+ "ProtocolName": "Models.MountConfiguration",
+ "SummaryComment": "The file system to mount on each node.",
+ "IsConstructorPublic": false,
+ "IsUsedInCollections": true,
+ "Properties": [
+ {
+ "Key": {
+ "Type": "AzureBlobFileSystemConfiguration",
+ "Name": "AzureBlobFileSystemConfiguration",
+ "SummaryComment": "The Azure Storage Container to mount using blob FUSE on each node.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "NfsMountConfiguration",
+ "Name": "NfsMountConfiguration",
+ "SummaryComment": "The NFS file system to mount on each node.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "CifsMountConfiguration",
+ "Name": "CifsMountConfiguration",
+ "SummaryComment": "The CIFS/SMB file system to mount on each node.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "AzureFileShareConfiguration",
+ "Name": "AzureFileShareConfiguration",
+ "SummaryComment": "The Azure File Share to mount on each node.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ }
+ ]
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NetworkConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NetworkConfiguration.json
index 70cc3cb5e41f..4a453f17506b 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NetworkConfiguration.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NetworkConfiguration.json
@@ -38,6 +38,20 @@
"Type": "Models.DynamicVNetAssignmentScope?",
"Name": "DynamicVNetAssignmentScope"
}
+ },
+ {
+ "Key": {
+ "Type": "IList",
+ "Name": "PublicIPs",
+ "SummaryComment": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.",
+ "RemarksComment": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write"
+ },
+ "Value": {
+ "Type": "IList",
+ "Name": "PublicIPs"
+ }
}
]
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NfsMountConfiguration.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NfsMountConfiguration.json
new file mode 100644
index 000000000000..75581e1d7626
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/NfsMountConfiguration.json
@@ -0,0 +1,46 @@
+{
+ "Name": "NfsMountConfiguration",
+ "ProtocolName": "Models.NFSMountConfiguration",
+ "SummaryComment": "Information used to connect to an NFS file system.",
+ "Properties": [
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "Source",
+ "SummaryComment": "The URI of the file system to mount.",
+ "RemarksComment": null,
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "RelativeMountPath",
+ "SummaryComment": "The relative path on the compute node where the file system will be mounted.",
+ "RemarksComment": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Required",
+ "HideSetter": true
+ },
+ "Value": null
+ },
+ {
+ "Key": {
+ "Type": "string",
+ "Name": "MountOptions",
+ "SummaryComment": "Additional command line options to pass to the mount command.",
+ "RemarksComment": "These are 'net use' options in Windows and 'mount' options in Linux.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write",
+ "ConstructorArgumentType": "Optional",
+ "HideSetter": true
+ },
+ "Value": null
+ }
+ ]
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/PoolSpecification.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/PoolSpecification.json
index f1b026e8c4f4..4f855601be0b 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/PoolSpecification.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/PoolSpecification.json
@@ -252,6 +252,20 @@
"UnboundAccess": "read,write"
},
"Value": null
+ },
+ {
+ "Key": {
+ "Type": "IList",
+ "Name": "MountConfiguration",
+ "SummaryComment": "A list of file systems to mount on each node in the pool.",
+ "RemarksComment": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.",
+ "BoundAccess": "read",
+ "UnboundAccess": "read,write"
+ },
+ "Value": {
+ "Type": "IList",
+ "Name": "MountConfiguration"
+ }
}
]
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/StartTask.json b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/StartTask.json
index a15c5e2be5a8..5f2f61330686 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/StartTask.json
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/ObjectModelCodeGenerator/Spec/StartTask.json
@@ -71,7 +71,7 @@
"Type": "bool?",
"Name": "WaitForSuccess",
"SummaryComment": "A value indicating whether the Batch service should wait for the start task to complete before scheduling any tasks on the compute node.",
- "RemarksComment": "If this is not specified, the default is false.",
+ "RemarksComment": "If this is not specified, the default is true.",
"BoundAccess": "read,write",
"UnboundAccess": "read,write"
},
diff --git a/sdk/batch/Microsoft.Azure.Batch/Tools/RoslynParser/ProxyLayerParser.csproj b/sdk/batch/Microsoft.Azure.Batch/Tools/RoslynParser/ProxyLayerParser.csproj
index cc87edc615bd..ec4db155bc53 100644
--- a/sdk/batch/Microsoft.Azure.Batch/Tools/RoslynParser/ProxyLayerParser.csproj
+++ b/sdk/batch/Microsoft.Azure.Batch/Tools/RoslynParser/ProxyLayerParser.csproj
@@ -9,9 +9,9 @@
-
-
-
+
+
+
diff --git a/sdk/batch/Microsoft.Azure.Batch/changelog.md b/sdk/batch/Microsoft.Azure.Batch/changelog.md
index 82ab87c7c53f..aa337a899a59 100644
--- a/sdk/batch/Microsoft.Azure.Batch/changelog.md
+++ b/sdk/batch/Microsoft.Azure.Batch/changelog.md
@@ -1,5 +1,20 @@
# Microsoft.Azure.Batch release notes
+## Changes in 12.0.0
+### Features
+- Added ability to specify a collection of public IPs on `NetworkConfiguration` via the new `PublicIPs` property. This guarantees nodes in the Pool will have an
+ IP from the list user provided IPs.
+- Added ability to mount remote file-systems on each node of a pool via the `MountConfiguration` property on `CloudPool`.
+- Shared Image Gallery images can now be specified on the `VirtualMachineImageId` property of `ImageReference` by referencing the image via its ARM ID.
+- **[Breaking]** When not specified, the default value for `WaitForSuccess` on `StartTask` is now `true` (was `false`).
+- **[Breaking]** When not specified, the default value for `Scope` on `AutoUserSpecification` is now always `Pool` (was `Task` on Windows nodes, `Pool` on Linux nodes).
+
+### Bug fixes
+ - Improved various confusing or incomplete documentation.
+
+### REST API version
+This version of the Batch .NET client library targets version 2019-08-01.10.0 of the Azure Batch REST API.
+
## Changes in 11.0.0
### Features
- Added `maxBackoff` parameter to `RetryPolicyProvider.ExponentialRetryProvider`. This option was already available on the `ExponentialRetry` constructor,
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/AddTaskResult.cs b/sdk/batch/Microsoft.Azure.Batch/src/AddTaskResult.cs
index 86316c3029a1..abc2f9295f12 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/AddTaskResult.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/AddTaskResult.cs
@@ -43,13 +43,15 @@ public override string ToString()
{
StringBuilder builder = new StringBuilder();
- builder.AppendFormat("TaskId={0}", this.TaskId);
- builder.AppendFormat(", Status={0}", this.Status);
- builder.AppendFormat(", Error.Code={0}", this.Error?.Code);
- builder.AppendFormat(", Error.Message={0}", this.Error?.Message?.Value);
+ builder.Append($"TaskId={this.TaskId}");
+ builder.Append($", Status={this.Status}");
+ builder.Append($", Error.Code={this.Error?.Code}");
+ builder.Append($", Error.Message={this.Error?.Message?.Value}");
if (this.Error?.Values != null)
{
- builder.AppendFormat(", Error.Values=[{0}]", string.Join(", ", this.Error.Values.Select(value => string.Format("{0}={1}", value.Key, value.Value))));
+ builder.AppendFormat(
+ System.Globalization.CultureInfo.CurrentCulture,
+ ", Error.Values=[{0}]", string.Join(", ", this.Error.Values.Select(value => $"{value.Key}={value.Value}")));
}
return builder.ToString();
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/AddTasksWorkflowManager.cs b/sdk/batch/Microsoft.Azure.Batch/src/AddTasksWorkflowManager.cs
index 023de078aefa..2d275f70b093 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/AddTasksWorkflowManager.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/AddTasksWorkflowManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
+ using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@@ -79,7 +80,8 @@ internal AddTasksWorkflowManager(
//Validation that there is a handler for AddTaskResult
if (this._addTaskResultHandlerCollection.Count == 0)
{
- throw new BatchClientException(string.Format(BatchErrorMessages.GeneralBehaviorMissing, typeof(AddTaskCollectionResultHandler)));
+ throw new BatchClientException(
+ string.Format(CultureInfo.InvariantCulture, BatchErrorMessages.GeneralBehaviorMissing, typeof(AddTaskCollectionResultHandler)));
}
}
@@ -92,7 +94,7 @@ public async System.Threading.Tasks.Task AddTasksAsync(IEnumerable ta
if (original != HasNotRun)
{
- throw new RunOnceException(string.Format(BatchErrorMessages.CanOnlyBeRunOnceFailure, this.GetType().Name));
+ throw new RunOnceException(string.Format(CultureInfo.InvariantCulture, BatchErrorMessages.CanOnlyBeRunOnceFailure, this.GetType().Name));
}
//Determine what time to timeout at
@@ -127,7 +129,7 @@ public async System.Threading.Tasks.Task AddTasksAsync(IEnumerable ta
{
if (cloudTask == null)
{
- throw new ArgumentNullException("tasksToAdd", BatchErrorMessages.CollectionMustNotContainNull);
+ throw new ArgumentNullException(nameof(tasksToAdd), BatchErrorMessages.CollectionMustNotContainNull);
}
if (cloudTask.BindingState == BindingState.Bound)
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/AzureBatch.ruleset b/sdk/batch/Microsoft.Azure.Batch/src/AzureBatch.ruleset
new file mode 100644
index 000000000000..9e02544fb018
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/AzureBatch.ruleset
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/AzureBlobFileSystemConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/AzureBlobFileSystemConfiguration.cs
new file mode 100644
index 000000000000..30e921ffffea
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/AzureBlobFileSystemConfiguration.cs
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+namespace Microsoft.Azure.Batch
+{
+ using System;
+
+ public partial class AzureBlobFileSystemConfiguration
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The Azure Storage account name.
+ /// The Azure Blob Storage Container name.
+ /// The relative path on the compute node where the file system will be mounted.
+ /// The key to use to authenticate with Azure Storage. This can be either a SAS key or a Storage Account Key.
+ /// Additional command line options to pass to the mount command.
+ public AzureBlobFileSystemConfiguration(
+ string accountName,
+ string containerName,
+ string relativeMountPath,
+ AzureStorageAuthenticationKey key,
+ string blobfuseOptions = default(string)) : this(accountName, containerName, relativeMountPath, blobfuseOptions: blobfuseOptions)
+ {
+ SasKey = key.SasKey;
+ AccountKey = key.AccountKey;
+ }
+ }
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/AzureStorageAuthenticationKey.cs b/sdk/batch/Microsoft.Azure.Batch/src/AzureStorageAuthenticationKey.cs
new file mode 100644
index 000000000000..e1b0cefe68ab
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/AzureStorageAuthenticationKey.cs
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+namespace Microsoft.Azure.Batch
+{
+ using System;
+
+ public sealed class AzureStorageAuthenticationKey
+ {
+ ///
+ /// Gets the Azure Storage Account key.
+ ///
+ public string AccountKey { get; }
+
+ ///
+ /// Gets the Azure Storage SAS key.
+ ///
+ public string SasKey { get; }
+
+ private AzureStorageAuthenticationKey(string accountKey = null, string sasKey = null)
+ {
+ AccountKey = accountKey;
+ SasKey = sasKey;
+ }
+
+ ///
+ /// Creates a new referencing an Azure Storage Account key.
+ ///
+ /// The Storage Account key.
+ /// A new referencing the Azure Storage Account key.
+ public static AzureStorageAuthenticationKey FromAccountKey(string key) => new AzureStorageAuthenticationKey(accountKey: key);
+
+ ///
+ /// Creates a new referencing an Azure Storage SAS key.
+ ///
+ /// The Storage SAS key.
+ /// A new referencing the Azure Storage SAS key.
+ public static AzureStorageAuthenticationKey FromSasKey(string key) => new AzureStorageAuthenticationKey(sasKey: key);
+ }
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/BatchClientExceptions.cs b/sdk/batch/Microsoft.Azure.Batch/src/BatchClientExceptions.cs
index 404c7745826a..2332ac0ec252 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/BatchClientExceptions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/BatchClientExceptions.cs
@@ -39,7 +39,7 @@ internal AddTaskCollectionTerminatedException(AddTaskResult result, Exception in
private static string GenerateMessageString(AddTaskResult result)
{
- return string.Format(BatchErrorMessages.AddTaskCollectionTerminated, result);
+ return string.Format(System.Globalization.CultureInfo.InvariantCulture, BatchErrorMessages.AddTaskCollectionTerminated, result);
}
}
@@ -64,13 +64,13 @@ internal ParallelOperationsException(string message, IEnumerable inne
public override string ToString()
{
StringBuilder builder = new StringBuilder();
- builder.AppendFormat("{0}: ", this.GetType()).AppendLine(this.Message);
+ builder.Append($"{this.GetType()}: ").AppendLine(this.Message);
builder.AppendLine(this.StackTrace);
builder.AppendLine();
for (int i = 0; i < this.InnerExceptions.Count; i++)
{
- builder.AppendFormat("Exception #{0}:", i).AppendLine();
+ builder.Append($"Exception #{i}:").AppendLine();
builder.Append(this.InnerExceptions[i]).AppendLine().AppendLine();
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/CertificateOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/CertificateOperations.cs
index 777a222b4865..ac7a810f92fe 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/CertificateOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/CertificateOperations.cs
@@ -5,6 +5,7 @@
{
using System;
using System.Collections.Generic;
+ using System.Globalization;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
@@ -228,7 +229,7 @@ private Models.CertificateAddParameter GetCertificateInfo(byte[] rawData)
private static Models.CertificateAddParameter CreateAddCertificateEntity(byte[] rawData, X509Certificate2 certificate)
{
Models.CertificateAddParameter cert = new Models.CertificateAddParameter();
- cert.Thumbprint = certificate.Thumbprint.ToLower();
+ cert.Thumbprint = certificate.Thumbprint.ToLowerInvariant();
//ThumbprintAlgorithm is always SHA1 since thumbprint is dynamically generated from the cert body
cert.ThumbprintAlgorithm = KnownCertificateAlgorithm;
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Common/BatchException.cs b/sdk/batch/Microsoft.Azure.Batch/src/Common/BatchException.cs
index 60f1b1261211..0b824747be39 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Common/BatchException.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Common/BatchException.cs
@@ -98,22 +98,17 @@ public override string ToString()
if (this.RequestInformation.BatchError != null)
{
- sb.AppendFormat("\n\nError Code = {0},",
- this.RequestInformation.BatchError.Code);
+ sb.Append($"\n\nError Code = {this.RequestInformation.BatchError.Code},");
if (this.RequestInformation.BatchError.Message != null)
{
- sb.AppendFormat(" Lang={0}, Message = {1}\nAdditional Values:\n",
- this.RequestInformation.BatchError.Message.Language,
- this.RequestInformation.BatchError.Message.Value);
+ sb.Append($" Lang={this.RequestInformation.BatchError.Message.Language}, Message = {this.RequestInformation.BatchError.Message.Value}\nAdditional Values:\n");
}
if (this.RequestInformation.BatchError.Values != null)
{
foreach (var item in this.RequestInformation.BatchError.Values)
{
- sb.AppendFormat("Error Details key={0} value={1}\n",
- item.Key,
- item.Value);
+ sb.Append($"Error Details key={item.Key} value={item.Value}\n");
}
}
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/FileStaging/FileStagingUtils.cs b/sdk/batch/Microsoft.Azure.Batch/src/FileStaging/FileStagingUtils.cs
index 7b64201c8160..7a4582996032 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/FileStaging/FileStagingUtils.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/FileStaging/FileStagingUtils.cs
@@ -57,12 +57,12 @@ internal static async Task StageFilesAsync(List filesToSta
{
if (null == allFileStagingArtifacts)
{
- throw new ArgumentNullException("allFileStagingArtifacts");
+ throw new ArgumentNullException(nameof(allFileStagingArtifacts));
}
if (allFileStagingArtifacts.Count > 0)
{
- throw new ArgumentOutOfRangeException("allFileStagingArtifacts.Count");
+ throw new ArgumentOutOfRangeException(nameof(allFileStagingArtifacts));
}
// first we get the buckets. One for each file staging provider that contains only the files for that provider.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/AutoUserSpecification.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AutoUserSpecification.cs
index f11bb38efe80..43f1ff283522 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/AutoUserSpecification.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AutoUserSpecification.cs
@@ -26,7 +26,7 @@ public partial class AutoUserSpecification : ITransportObjectProvider
/// Initializes a new instance of the class.
///
- /// The scope for the auto user. If omitted, the default is .
+ /// The scope for the auto user. If omitted, the default is .
/// The elevation level of the auto user. If omitted, the default is .
public AutoUserSpecification(
Common.AutoUserScope? scope = default(Common.AutoUserScope?),
@@ -52,8 +52,14 @@ internal AutoUserSpecification(Models.AutoUserSpecification protocolObject)
public Common.ElevationLevel? ElevationLevel { get; }
///
- /// Gets the scope for the auto user. If omitted, the default is .
+ /// Gets the scope for the auto user. If omitted, the default is .
///
+ ///
+ /// If the pool is running Windows a value of should be specified if stricter
+ /// isolation between tasks is required. For example, if the Task mutates the registry in a way which could impact
+ /// other Tasks, or if Certificates have been specified on the pool which should not be accessible by normal tasks
+ /// but should be accessible by StartTasks.
+ ///
public Common.AutoUserScope? Scope { get; }
#endregion // AutoUserSpecification
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureBlobFileSystemConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureBlobFileSystemConfiguration.cs
new file mode 100644
index 000000000000..f335af010e26
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureBlobFileSystemConfiguration.cs
@@ -0,0 +1,147 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+//
+// This file was autogenerated by a tool.
+// Do not modify it.
+//
+
+namespace Microsoft.Azure.Batch
+{
+ using Models = Microsoft.Azure.Batch.Protocol.Models;
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to an Azure Storage Container using Blobfuse.
+ ///
+ public partial class AzureBlobFileSystemConfiguration : ITransportObjectProvider, IPropertyMetadata
+ {
+ #region Constructors
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The Azure Storage account name.
+ /// The Azure Blob Storage Container name.
+ /// The relative path on the compute node where the file system will be mounted.
+ /// The Azure Storage Account key. This property is mutually exclusive with .
+ /// The Azure Storage SAS token. This property is mutually exclusive with .
+ /// Additional command line options to pass to the mount command.
+ internal AzureBlobFileSystemConfiguration(
+ string accountName,
+ string containerName,
+ string relativeMountPath,
+ string accountKey = default(string),
+ string sasKey = default(string),
+ string blobfuseOptions = default(string))
+ {
+ this.AccountName = accountName;
+ this.ContainerName = containerName;
+ this.RelativeMountPath = relativeMountPath;
+ this.AccountKey = accountKey;
+ this.SasKey = sasKey;
+ this.BlobfuseOptions = blobfuseOptions;
+ }
+
+ internal AzureBlobFileSystemConfiguration(Models.AzureBlobFileSystemConfiguration protocolObject)
+ {
+ this.AccountKey = protocolObject.AccountKey;
+ this.AccountName = protocolObject.AccountName;
+ this.BlobfuseOptions = protocolObject.BlobfuseOptions;
+ this.ContainerName = protocolObject.ContainerName;
+ this.RelativeMountPath = protocolObject.RelativeMountPath;
+ this.SasKey = protocolObject.SasKey;
+ }
+
+ #endregion Constructors
+
+ #region AzureBlobFileSystemConfiguration
+
+ ///
+ /// Gets the Azure Storage Account key. This property is mutually exclusive with .
+ ///
+ public string AccountKey { get; }
+
+ ///
+ /// Gets the Azure Storage account name.
+ ///
+ public string AccountName { get; }
+
+ ///
+ /// Gets additional command line options to pass to the mount command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in Linux.
+ ///
+ public string BlobfuseOptions { get; }
+
+ ///
+ /// Gets the Azure Blob Storage Container name.
+ ///
+ public string ContainerName { get; }
+
+ ///
+ /// Gets the relative path on the compute node where the file system will be mounted.
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR
+ /// environment variable.
+ ///
+ public string RelativeMountPath { get; }
+
+ ///
+ /// Gets the Azure Storage SAS token. This property is mutually exclusive with .
+ ///
+ public string SasKey { get; }
+
+ #endregion // AzureBlobFileSystemConfiguration
+
+ #region IPropertyMetadata
+
+ bool IModifiable.HasBeenModified
+ {
+ //This class is compile time readonly so it cannot have been modified
+ get { return false; }
+ }
+
+ bool IReadOnly.IsReadOnly
+ {
+ get { return true; }
+ set
+ {
+ // This class is compile time readonly already
+ }
+ }
+
+ #endregion // IPropertyMetadata
+
+ #region Internal/private methods
+
+ ///
+ /// Return a protocol object of the requested type.
+ ///
+ /// The protocol object of the requested type.
+ Models.AzureBlobFileSystemConfiguration ITransportObjectProvider.GetTransportObject()
+ {
+ Models.AzureBlobFileSystemConfiguration result = new Models.AzureBlobFileSystemConfiguration()
+ {
+ AccountKey = this.AccountKey,
+ AccountName = this.AccountName,
+ BlobfuseOptions = this.BlobfuseOptions,
+ ContainerName = this.ContainerName,
+ RelativeMountPath = this.RelativeMountPath,
+ SasKey = this.SasKey,
+ };
+
+ return result;
+ }
+
+
+ #endregion // Internal/private methods
+ }
+}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureFileShareConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureFileShareConfiguration.cs
new file mode 100644
index 000000000000..957a7bdf5287
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/AzureFileShareConfiguration.cs
@@ -0,0 +1,140 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+//
+// This file was autogenerated by a tool.
+// Do not modify it.
+//
+
+namespace Microsoft.Azure.Batch
+{
+ using Models = Microsoft.Azure.Batch.Protocol.Models;
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to an Azure Fileshare.
+ ///
+ public partial class AzureFileShareConfiguration : ITransportObjectProvider, IPropertyMetadata
+ {
+ #region Constructors
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The Azure Storage Account name.
+ /// The Azure Files URL.
+ /// The relative path on the compute node where the file system will be mounted.
+ /// The Azure Storage Account key.
+ /// Additional command line options to pass to the mount command.
+ public AzureFileShareConfiguration(
+ string accountName,
+ string azureFileUrl,
+ string relativeMountPath,
+ string accountKey,
+ string mountOptions = default(string))
+ {
+ this.AccountName = accountName;
+ this.AzureFileUrl = azureFileUrl;
+ this.RelativeMountPath = relativeMountPath;
+ this.AccountKey = accountKey;
+ this.MountOptions = mountOptions;
+ }
+
+ internal AzureFileShareConfiguration(Models.AzureFileShareConfiguration protocolObject)
+ {
+ this.AccountKey = protocolObject.AccountKey;
+ this.AccountName = protocolObject.AccountName;
+ this.AzureFileUrl = protocolObject.AzureFileUrl;
+ this.MountOptions = protocolObject.MountOptions;
+ this.RelativeMountPath = protocolObject.RelativeMountPath;
+ }
+
+ #endregion Constructors
+
+ #region AzureFileShareConfiguration
+
+ ///
+ /// Gets the Azure Storage Account key.
+ ///
+ public string AccountKey { get; }
+
+ ///
+ /// Gets the Azure Storage Account name.
+ ///
+ public string AccountName { get; }
+
+ ///
+ /// Gets the Azure Files URL.
+ ///
+ ///
+ /// This is of the form 'https://myaccount.file.core.windows.net/'.
+ ///
+ public string AzureFileUrl { get; }
+
+ ///
+ /// Gets additional command line options to pass to the mount command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in Linux.
+ ///
+ public string MountOptions { get; }
+
+ ///
+ /// Gets the relative path on the compute node where the file system will be mounted.
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR
+ /// environment variable.
+ ///
+ public string RelativeMountPath { get; }
+
+ #endregion // AzureFileShareConfiguration
+
+ #region IPropertyMetadata
+
+ bool IModifiable.HasBeenModified
+ {
+ //This class is compile time readonly so it cannot have been modified
+ get { return false; }
+ }
+
+ bool IReadOnly.IsReadOnly
+ {
+ get { return true; }
+ set
+ {
+ // This class is compile time readonly already
+ }
+ }
+
+ #endregion // IPropertyMetadata
+
+ #region Internal/private methods
+
+ ///
+ /// Return a protocol object of the requested type.
+ ///
+ /// The protocol object of the requested type.
+ Models.AzureFileShareConfiguration ITransportObjectProvider.GetTransportObject()
+ {
+ Models.AzureFileShareConfiguration result = new Models.AzureFileShareConfiguration()
+ {
+ AccountKey = this.AccountKey,
+ AccountName = this.AccountName,
+ AzureFileUrl = this.AzureFileUrl,
+ MountOptions = this.MountOptions,
+ RelativeMountPath = this.RelativeMountPath,
+ };
+
+ return result;
+ }
+
+
+ #endregion // Internal/private methods
+ }
+}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/CifsMountConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/CifsMountConfiguration.cs
new file mode 100644
index 000000000000..5b5f45283192
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/CifsMountConfiguration.cs
@@ -0,0 +1,137 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+//
+// This file was autogenerated by a tool.
+// Do not modify it.
+//
+
+namespace Microsoft.Azure.Batch
+{
+ using Models = Microsoft.Azure.Batch.Protocol.Models;
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to a CIFS file system.
+ ///
+ public partial class CifsMountConfiguration : ITransportObjectProvider, IPropertyMetadata
+ {
+ #region Constructors
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The user to use for authentication against the CIFS file system.
+ /// The password to use for authentication against the CIFS file system.
+ /// The URI of the file system to mount.
+ /// The relative path on the compute node where the file system will be mounted.
+ /// Additional command line options to pass to the mount command.
+ public CifsMountConfiguration(
+ string username,
+ string password,
+ string source,
+ string relativeMountPath,
+ string mountOptions = default(string))
+ {
+ this.Username = username;
+ this.Password = password;
+ this.Source = source;
+ this.RelativeMountPath = relativeMountPath;
+ this.MountOptions = mountOptions;
+ }
+
+ internal CifsMountConfiguration(Models.CIFSMountConfiguration protocolObject)
+ {
+ this.MountOptions = protocolObject.MountOptions;
+ this.Password = protocolObject.Password;
+ this.RelativeMountPath = protocolObject.RelativeMountPath;
+ this.Source = protocolObject.Source;
+ this.Username = protocolObject.Username;
+ }
+
+ #endregion Constructors
+
+ #region CifsMountConfiguration
+
+ ///
+ /// Gets additional command line options to pass to the mount command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in Linux.
+ ///
+ public string MountOptions { get; }
+
+ ///
+ /// Gets the password to use for authentication against the CIFS file system.
+ ///
+ public string Password { get; }
+
+ ///
+ /// Gets the relative path on the compute node where the file system will be mounted.
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR
+ /// environment variable.
+ ///
+ public string RelativeMountPath { get; }
+
+ ///
+ /// Gets the URI of the file system to mount.
+ ///
+ public string Source { get; }
+
+ ///
+ /// Gets the user to use for authentication against the CIFS file system.
+ ///
+ public string Username { get; }
+
+ #endregion // CifsMountConfiguration
+
+ #region IPropertyMetadata
+
+ bool IModifiable.HasBeenModified
+ {
+ //This class is compile time readonly so it cannot have been modified
+ get { return false; }
+ }
+
+ bool IReadOnly.IsReadOnly
+ {
+ get { return true; }
+ set
+ {
+ // This class is compile time readonly already
+ }
+ }
+
+ #endregion // IPropertyMetadata
+
+ #region Internal/private methods
+
+ ///
+ /// Return a protocol object of the requested type.
+ ///
+ /// The protocol object of the requested type.
+ Models.CIFSMountConfiguration ITransportObjectProvider.GetTransportObject()
+ {
+ Models.CIFSMountConfiguration result = new Models.CIFSMountConfiguration()
+ {
+ MountOptions = this.MountOptions,
+ Password = this.Password,
+ RelativeMountPath = this.RelativeMountPath,
+ Source = this.Source,
+ Username = this.Username,
+ };
+
+ return result;
+ }
+
+
+ #endregion // Internal/private methods
+ }
+}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/CloudPool.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/CloudPool.cs
index de64d4316da6..9e4c9c6bddb4 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/CloudPool.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/CloudPool.cs
@@ -44,6 +44,7 @@ private class PropertyContainer : PropertyCollection
public readonly PropertyAccessor LastModifiedProperty;
public readonly PropertyAccessor MaxTasksPerComputeNodeProperty;
public readonly PropertyAccessor> MetadataProperty;
+ public readonly PropertyAccessor> MountConfigurationProperty;
public readonly PropertyAccessor NetworkConfigurationProperty;
public readonly PropertyAccessor> ResizeErrorsProperty;
public readonly PropertyAccessor ResizeTimeoutProperty;
@@ -81,6 +82,7 @@ public PropertyContainer() : base(BindingState.Unbound)
this.LastModifiedProperty = this.CreatePropertyAccessor(nameof(LastModified), BindingAccess.None);
this.MaxTasksPerComputeNodeProperty = this.CreatePropertyAccessor(nameof(MaxTasksPerComputeNode), BindingAccess.Read | BindingAccess.Write);
this.MetadataProperty = this.CreatePropertyAccessor>(nameof(Metadata), BindingAccess.Read | BindingAccess.Write);
+ this.MountConfigurationProperty = this.CreatePropertyAccessor>(nameof(MountConfiguration), BindingAccess.Read | BindingAccess.Write);
this.NetworkConfigurationProperty = this.CreatePropertyAccessor(nameof(NetworkConfiguration), BindingAccess.Read | BindingAccess.Write);
this.ResizeErrorsProperty = this.CreatePropertyAccessor>(nameof(ResizeErrors), BindingAccess.None);
this.ResizeTimeoutProperty = this.CreatePropertyAccessor(nameof(ResizeTimeout), BindingAccess.Read | BindingAccess.Write);
@@ -179,6 +181,10 @@ public PropertyContainer(Models.CloudPool protocolObject) : base(BindingState.Bo
MetadataItem.ConvertFromProtocolCollection(protocolObject.Metadata),
nameof(Metadata),
BindingAccess.Read | BindingAccess.Write);
+ this.MountConfigurationProperty = this.CreatePropertyAccessor(
+ Batch.MountConfiguration.ConvertFromProtocolCollectionAndFreeze(protocolObject.MountConfiguration),
+ nameof(MountConfiguration),
+ BindingAccess.Read);
this.NetworkConfigurationProperty = this.CreatePropertyAccessor(
UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.NetworkConfiguration, o => new NetworkConfiguration(o).Freeze()),
nameof(NetworkConfiguration),
@@ -508,6 +514,21 @@ public IList Metadata
}
}
+ ///
+ /// Gets or sets a list of file systems to mount on each node in the pool.
+ ///
+ ///
+ /// This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
+ ///
+ public IList MountConfiguration
+ {
+ get { return this.propertyContainer.MountConfigurationProperty.Value; }
+ set
+ {
+ this.propertyContainer.MountConfigurationProperty.Value = ConcurrentChangeTrackedModifiableList.TransformEnumerableToConcurrentModifiableList(value);
+ }
+ }
+
///
/// Gets or sets the network configuration of the pool.
///
@@ -692,6 +713,7 @@ bool IReadOnly.IsReadOnly
EnableInterNodeCommunication = this.InterComputeNodeCommunicationEnabled,
MaxTasksPerNode = this.MaxTasksPerComputeNode,
Metadata = UtilitiesInternal.ConvertToProtocolCollection(this.Metadata),
+ MountConfiguration = UtilitiesInternal.ConvertToProtocolCollection(this.MountConfiguration),
NetworkConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.NetworkConfiguration, (o) => o.GetTransportObject()),
ResizeTimeout = this.ResizeTimeout,
StartTask = UtilitiesInternal.CreateObjectWithNullCheck(this.StartTask, (o) => o.GetTransportObject()),
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/ImageReference.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/ImageReference.cs
index bd40d3037469..96dc04a9e66d 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/ImageReference.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/ImageReference.cs
@@ -58,7 +58,7 @@ internal ImageReference(Models.ImageReference protocolObject)
/// Gets the SKU of the Azure Virtual Machines Marketplace Image.
///
///
- /// For example, 14.04.0-LTS or 2012-R2-Datacenter.
+ /// For example, 18.04-LTS or 2019-Datacenter.
///
public string Sku { get; }
@@ -71,13 +71,16 @@ internal ImageReference(Models.ImageReference protocolObject)
public string Version { get; }
///
- /// Gets the ARM resource identifier of the Virtual Machine Image. Computes nodes of the pool will be created using
- /// this custom image. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}
+ /// Gets the ARM resource identifier of the Virtual Machine Image or Shared Image Gallery Image. Computes Compute
+ /// Nodes of the Pool will be created using this Image Id. This is of either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}
+ /// for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId}
+ /// for SIG image.
///
///
- /// This property is mutually exclusive with other ImageReference properties. The virtual machine image must be in
- /// the same region and subscription as the Azure Batch account. For information about the firewall settings for
- /// the Batch Node Agent to communicate with Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// This property is mutually exclusive with other properties. For Virtual Machine Image
+ /// it must be in the same region and subscription as the Azure Batch account. For SIG image it must have replicas
+ /// in the same region as the Azure Batch account. For information about the firewall settings for the Batch Compute
+ /// Node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
///
public string VirtualMachineImageId { get; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/MountConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/MountConfiguration.cs
new file mode 100644
index 000000000000..796dea345ee0
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/MountConfiguration.cs
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+//
+// This file was autogenerated by a tool.
+// Do not modify it.
+//
+
+namespace Microsoft.Azure.Batch
+{
+ using Models = Microsoft.Azure.Batch.Protocol.Models;
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// The file system to mount on each node.
+ ///
+ public partial class MountConfiguration : ITransportObjectProvider, IPropertyMetadata
+ {
+ #region Constructors
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The Azure Storage Container to mount using blob FUSE on each node.
+ /// The NFS file system to mount on each node.
+ /// The CIFS/SMB file system to mount on each node.
+ /// The Azure File Share to mount on each node.
+ internal MountConfiguration(
+ AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration = default(AzureBlobFileSystemConfiguration),
+ NfsMountConfiguration nfsMountConfiguration = default(NfsMountConfiguration),
+ CifsMountConfiguration cifsMountConfiguration = default(CifsMountConfiguration),
+ AzureFileShareConfiguration azureFileShareConfiguration = default(AzureFileShareConfiguration))
+ {
+ this.AzureBlobFileSystemConfiguration = azureBlobFileSystemConfiguration;
+ this.NfsMountConfiguration = nfsMountConfiguration;
+ this.CifsMountConfiguration = cifsMountConfiguration;
+ this.AzureFileShareConfiguration = azureFileShareConfiguration;
+ }
+
+ internal MountConfiguration(Models.MountConfiguration protocolObject)
+ {
+ this.AzureBlobFileSystemConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.AzureBlobFileSystemConfiguration, o => new AzureBlobFileSystemConfiguration(o).Freeze());
+ this.AzureFileShareConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.AzureFileShareConfiguration, o => new AzureFileShareConfiguration(o).Freeze());
+ this.CifsMountConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.CifsMountConfiguration, o => new CifsMountConfiguration(o).Freeze());
+ this.NfsMountConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.NfsMountConfiguration, o => new NfsMountConfiguration(o).Freeze());
+ }
+
+ #endregion Constructors
+
+ #region MountConfiguration
+
+ ///
+ /// Gets the Azure Storage Container to mount using blob FUSE on each node.
+ ///
+ public AzureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration { get; }
+
+ ///
+ /// Gets the Azure File Share to mount on each node.
+ ///
+ public AzureFileShareConfiguration AzureFileShareConfiguration { get; }
+
+ ///
+ /// Gets the CIFS/SMB file system to mount on each node.
+ ///
+ public CifsMountConfiguration CifsMountConfiguration { get; }
+
+ ///
+ /// Gets the NFS file system to mount on each node.
+ ///
+ public NfsMountConfiguration NfsMountConfiguration { get; }
+
+ #endregion // MountConfiguration
+
+ #region IPropertyMetadata
+
+ bool IModifiable.HasBeenModified
+ {
+ //This class is compile time readonly so it cannot have been modified
+ get { return false; }
+ }
+
+ bool IReadOnly.IsReadOnly
+ {
+ get { return true; }
+ set
+ {
+ // This class is compile time readonly already
+ }
+ }
+
+ #endregion // IPropertyMetadata
+
+ #region Internal/private methods
+
+ ///
+ /// Return a protocol object of the requested type.
+ ///
+ /// The protocol object of the requested type.
+ Models.MountConfiguration ITransportObjectProvider.GetTransportObject()
+ {
+ Models.MountConfiguration result = new Models.MountConfiguration()
+ {
+ AzureBlobFileSystemConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.AzureBlobFileSystemConfiguration, (o) => o.GetTransportObject()),
+ AzureFileShareConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.AzureFileShareConfiguration, (o) => o.GetTransportObject()),
+ CifsMountConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.CifsMountConfiguration, (o) => o.GetTransportObject()),
+ NfsMountConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.NfsMountConfiguration, (o) => o.GetTransportObject()),
+ };
+
+ return result;
+ }
+
+ ///
+ /// Converts a collection of protocol layer objects to object layer collection objects.
+ ///
+ internal static IList ConvertFromProtocolCollection(IEnumerable protoCollection)
+ {
+ ConcurrentChangeTrackedModifiableList converted = UtilitiesInternal.CollectionToThreadSafeCollectionIModifiable(
+ items: protoCollection,
+ objectCreationFunc: o => new MountConfiguration(o));
+
+ return converted;
+ }
+
+ ///
+ /// Converts a collection of protocol layer objects to object layer collection objects, in a frozen state.
+ ///
+ internal static IList ConvertFromProtocolCollectionAndFreeze(IEnumerable protoCollection)
+ {
+ ConcurrentChangeTrackedModifiableList converted = UtilitiesInternal.CollectionToThreadSafeCollectionIModifiable(
+ items: protoCollection,
+ objectCreationFunc: o => new MountConfiguration(o).Freeze());
+
+ converted = UtilitiesInternal.CreateObjectWithNullCheck(converted, o => o.Freeze());
+
+ return converted;
+ }
+
+ ///
+ /// Converts a collection of protocol layer objects to object layer collection objects, with each object marked readonly
+ /// and returned as a readonly collection.
+ ///
+ internal static IReadOnlyList ConvertFromProtocolCollectionReadOnly(IEnumerable protoCollection)
+ {
+ IReadOnlyList converted =
+ UtilitiesInternal.CreateObjectWithNullCheck(
+ UtilitiesInternal.CollectionToNonThreadSafeCollection(
+ items: protoCollection,
+ objectCreationFunc: o => new MountConfiguration(o).Freeze()), o => o.AsReadOnly());
+
+ return converted;
+ }
+
+ #endregion // Internal/private methods
+ }
+}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/NetworkConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/NetworkConfiguration.cs
index 364ad4828958..4598b742310d 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/NetworkConfiguration.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/NetworkConfiguration.cs
@@ -26,12 +26,14 @@ private class PropertyContainer : PropertyCollection
{
public readonly PropertyAccessor DynamicVNetAssignmentScopeProperty;
public readonly PropertyAccessor EndpointConfigurationProperty;
+ public readonly PropertyAccessor> PublicIPsProperty;
public readonly PropertyAccessor SubnetIdProperty;
public PropertyContainer() : base(BindingState.Unbound)
{
this.DynamicVNetAssignmentScopeProperty = this.CreatePropertyAccessor(nameof(DynamicVNetAssignmentScope), BindingAccess.Read | BindingAccess.Write);
this.EndpointConfigurationProperty = this.CreatePropertyAccessor(nameof(EndpointConfiguration), BindingAccess.Read | BindingAccess.Write);
+ this.PublicIPsProperty = this.CreatePropertyAccessor>(nameof(PublicIPs), BindingAccess.Read | BindingAccess.Write);
this.SubnetIdProperty = this.CreatePropertyAccessor(nameof(SubnetId), BindingAccess.Read | BindingAccess.Write);
}
@@ -45,6 +47,10 @@ public PropertyContainer(Models.NetworkConfiguration protocolObject) : base(Bind
UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.EndpointConfiguration, o => new PoolEndpointConfiguration(o).Freeze()),
nameof(EndpointConfiguration),
BindingAccess.Read);
+ this.PublicIPsProperty = this.CreatePropertyAccessor(
+ UtilitiesInternal.CollectionToThreadSafeCollection(protocolObject.PublicIPs, o => o),
+ nameof(PublicIPs),
+ BindingAccess.Read);
this.SubnetIdProperty = this.CreatePropertyAccessor(
protocolObject.SubnetId,
nameof(SubnetId),
@@ -97,6 +103,23 @@ public PoolEndpointConfiguration EndpointConfiguration
set { this.propertyContainer.EndpointConfigurationProperty.Value = value; }
}
+ ///
+ /// Gets or sets the list of public IPs which the Batch service will use when provisioning Compute Nodes.
+ ///
+ ///
+ /// The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority
+ /// nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least
+ /// 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
+ ///
+ public IList PublicIPs
+ {
+ get { return this.propertyContainer.PublicIPsProperty.Value; }
+ set
+ {
+ this.propertyContainer.PublicIPsProperty.Value = ConcurrentChangeTrackedList.TransformEnumerableToConcurrentList(value);
+ }
+ }
+
///
/// Gets or sets the ARM resource identifier of the virtual network subnet which the compute nodes of the pool will
/// join.
@@ -152,6 +175,7 @@ bool IReadOnly.IsReadOnly
{
DynamicVNetAssignmentScope = UtilitiesInternal.MapNullableEnum(this.DynamicVNetAssignmentScope),
EndpointConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.EndpointConfiguration, (o) => o.GetTransportObject()),
+ PublicIPs = this.PublicIPs,
SubnetId = this.SubnetId,
};
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/NfsMountConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/NfsMountConfiguration.cs
new file mode 100644
index 000000000000..6ffb2f8fa9cf
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/NfsMountConfiguration.cs
@@ -0,0 +1,117 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+//
+// This file was autogenerated by a tool.
+// Do not modify it.
+//
+
+namespace Microsoft.Azure.Batch
+{
+ using Models = Microsoft.Azure.Batch.Protocol.Models;
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to an NFS file system.
+ ///
+ public partial class NfsMountConfiguration : ITransportObjectProvider, IPropertyMetadata
+ {
+ #region Constructors
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The URI of the file system to mount.
+ /// The relative path on the compute node where the file system will be mounted.
+ /// Additional command line options to pass to the mount command.
+ public NfsMountConfiguration(
+ string source,
+ string relativeMountPath,
+ string mountOptions = default(string))
+ {
+ this.Source = source;
+ this.RelativeMountPath = relativeMountPath;
+ this.MountOptions = mountOptions;
+ }
+
+ internal NfsMountConfiguration(Models.NFSMountConfiguration protocolObject)
+ {
+ this.MountOptions = protocolObject.MountOptions;
+ this.RelativeMountPath = protocolObject.RelativeMountPath;
+ this.Source = protocolObject.Source;
+ }
+
+ #endregion Constructors
+
+ #region NfsMountConfiguration
+
+ ///
+ /// Gets additional command line options to pass to the mount command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in Linux.
+ ///
+ public string MountOptions { get; }
+
+ ///
+ /// Gets the relative path on the compute node where the file system will be mounted.
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR
+ /// environment variable.
+ ///
+ public string RelativeMountPath { get; }
+
+ ///
+ /// Gets the URI of the file system to mount.
+ ///
+ public string Source { get; }
+
+ #endregion // NfsMountConfiguration
+
+ #region IPropertyMetadata
+
+ bool IModifiable.HasBeenModified
+ {
+ //This class is compile time readonly so it cannot have been modified
+ get { return false; }
+ }
+
+ bool IReadOnly.IsReadOnly
+ {
+ get { return true; }
+ set
+ {
+ // This class is compile time readonly already
+ }
+ }
+
+ #endregion // IPropertyMetadata
+
+ #region Internal/private methods
+
+ ///
+ /// Return a protocol object of the requested type.
+ ///
+ /// The protocol object of the requested type.
+ Models.NFSMountConfiguration ITransportObjectProvider.GetTransportObject()
+ {
+ Models.NFSMountConfiguration result = new Models.NFSMountConfiguration()
+ {
+ MountOptions = this.MountOptions,
+ RelativeMountPath = this.RelativeMountPath,
+ Source = this.Source,
+ };
+
+ return result;
+ }
+
+
+ #endregion // Internal/private methods
+ }
+}
\ No newline at end of file
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/PoolSpecification.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/PoolSpecification.cs
index 82ddbba5a80b..645e2af01f9f 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/PoolSpecification.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/PoolSpecification.cs
@@ -35,6 +35,7 @@ private class PropertyContainer : PropertyCollection
public readonly PropertyAccessor InterComputeNodeCommunicationEnabledProperty;
public readonly PropertyAccessor MaxTasksPerComputeNodeProperty;
public readonly PropertyAccessor> MetadataProperty;
+ public readonly PropertyAccessor> MountConfigurationProperty;
public readonly PropertyAccessor NetworkConfigurationProperty;
public readonly PropertyAccessor ResizeTimeoutProperty;
public readonly PropertyAccessor StartTaskProperty;
@@ -58,6 +59,7 @@ public PropertyContainer() : base(BindingState.Unbound)
this.InterComputeNodeCommunicationEnabledProperty = this.CreatePropertyAccessor(nameof(InterComputeNodeCommunicationEnabled), BindingAccess.Read | BindingAccess.Write);
this.MaxTasksPerComputeNodeProperty = this.CreatePropertyAccessor(nameof(MaxTasksPerComputeNode), BindingAccess.Read | BindingAccess.Write);
this.MetadataProperty = this.CreatePropertyAccessor>(nameof(Metadata), BindingAccess.Read | BindingAccess.Write);
+ this.MountConfigurationProperty = this.CreatePropertyAccessor>(nameof(MountConfiguration), BindingAccess.Read | BindingAccess.Write);
this.NetworkConfigurationProperty = this.CreatePropertyAccessor(nameof(NetworkConfiguration), BindingAccess.Read | BindingAccess.Write);
this.ResizeTimeoutProperty = this.CreatePropertyAccessor(nameof(ResizeTimeout), BindingAccess.Read | BindingAccess.Write);
this.StartTaskProperty = this.CreatePropertyAccessor(nameof(StartTask), BindingAccess.Read | BindingAccess.Write);
@@ -115,6 +117,10 @@ public PropertyContainer(Models.PoolSpecification protocolObject) : base(Binding
MetadataItem.ConvertFromProtocolCollection(protocolObject.Metadata),
nameof(Metadata),
BindingAccess.Read | BindingAccess.Write);
+ this.MountConfigurationProperty = this.CreatePropertyAccessor(
+ Batch.MountConfiguration.ConvertFromProtocolCollectionAndFreeze(protocolObject.MountConfiguration),
+ nameof(MountConfiguration),
+ BindingAccess.Read);
this.NetworkConfigurationProperty = this.CreatePropertyAccessor(
UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.NetworkConfiguration, o => new NetworkConfiguration(o).Freeze()),
nameof(NetworkConfiguration),
@@ -315,6 +321,21 @@ public IList Metadata
}
}
+ ///
+ /// Gets or sets a list of file systems to mount on each node in the pool.
+ ///
+ ///
+ /// This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
+ ///
+ public IList MountConfiguration
+ {
+ get { return this.propertyContainer.MountConfigurationProperty.Value; }
+ set
+ {
+ this.propertyContainer.MountConfigurationProperty.Value = ConcurrentChangeTrackedModifiableList.TransformEnumerableToConcurrentModifiableList(value);
+ }
+ }
+
///
/// Gets or sets the network configuration of the pool.
///
@@ -458,6 +479,7 @@ bool IReadOnly.IsReadOnly
EnableInterNodeCommunication = this.InterComputeNodeCommunicationEnabled,
MaxTasksPerNode = this.MaxTasksPerComputeNode,
Metadata = UtilitiesInternal.ConvertToProtocolCollection(this.Metadata),
+ MountConfiguration = UtilitiesInternal.ConvertToProtocolCollection(this.MountConfiguration),
NetworkConfiguration = UtilitiesInternal.CreateObjectWithNullCheck(this.NetworkConfiguration, (o) => o.GetTransportObject()),
ResizeTimeout = this.ResizeTimeout,
StartTask = UtilitiesInternal.CreateObjectWithNullCheck(this.StartTask, (o) => o.GetTransportObject()),
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/Generated/StartTask.cs b/sdk/batch/Microsoft.Azure.Batch/src/Generated/StartTask.cs
index 0db4b1e1bfad..d8903accc5e5 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/Generated/StartTask.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/Generated/StartTask.cs
@@ -199,7 +199,7 @@ public UserIdentity UserIdentity
/// any tasks on the compute node.
///
///
- /// If this is not specified, the default is false.
+ /// If this is not specified, the default is true.
///
public bool? WaitForSuccess
{
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperations.cs
index f58d1013aa48..50bf6925af6d 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperations.cs
@@ -313,7 +313,7 @@ internal AccountOperations(BatchServiceClient client)
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// Additional parameters for the operation
@@ -800,7 +800,7 @@ internal AccountOperations(BatchServiceClient client)
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperationsExtensions.cs
index 1a29dda81148..e90197352bf1 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/AccountOperationsExtensions.cs
@@ -56,7 +56,7 @@ public static partial class AccountOperationsExtensions
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The operations group for this extension method.
@@ -70,7 +70,7 @@ public static partial class AccountOperationsExtensions
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The operations group for this extension method.
@@ -130,7 +130,7 @@ public static partial class AccountOperationsExtensions
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The operations group for this extension method.
@@ -147,7 +147,7 @@ public static partial class AccountOperationsExtensions
}
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperations.cs
index 6543d5af2f24..ecf6ae0d3787 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperations.cs
@@ -52,14 +52,14 @@ internal ApplicationOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// Additional parameters for the operation
@@ -310,17 +310,17 @@ internal ApplicationOperations(BatchServiceClient client)
}
///
- /// Gets information about the specified application.
+ /// Gets information about the specified Application.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about Applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
- /// The ID of the application.
+ /// The ID of the Application.
///
///
/// Additional parameters for the operation
@@ -567,14 +567,14 @@ internal ApplicationOperations(BatchServiceClient client)
}
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperationsExtensions.cs
index 63d0a14e3aa7..3eb8b8587bb1 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ApplicationOperationsExtensions.cs
@@ -22,14 +22,14 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class ApplicationOperationsExtensions
{
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
@@ -43,14 +43,14 @@ public static partial class ApplicationOperationsExtensions
}
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
@@ -70,20 +70,20 @@ public static partial class ApplicationOperationsExtensions
}
///
- /// Gets information about the specified application.
+ /// Gets information about the specified Application.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about Applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the application.
+ /// The ID of the Application.
///
///
/// Additional parameters for the operation
@@ -94,20 +94,20 @@ public static partial class ApplicationOperationsExtensions
}
///
- /// Gets information about the specified application.
+ /// Gets information about the specified Application.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about Applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the application.
+ /// The ID of the Application.
///
///
/// Additional parameters for the operation
@@ -124,14 +124,14 @@ public static partial class ApplicationOperationsExtensions
}
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
@@ -148,14 +148,14 @@ public static partial class ApplicationOperationsExtensions
}
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are available
- /// for use on compute nodes; that is, that can be used in an application
- /// package reference. For administrator information about applications and
- /// versions that are not yet available to compute nodes, use the Azure portal
- /// or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are available
+ /// for use on Compute Nodes; that is, that can be used in an Package
+ /// reference. For administrator information about applications and versions
+ /// that are not yet available to Compute Nodes, use the Azure portal or the
+ /// Azure Resource Manager API.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/BatchServiceClient.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/BatchServiceClient.cs
index 38f34248d0aa..15a0ce0da5a0 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/BatchServiceClient.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/BatchServiceClient.cs
@@ -256,7 +256,7 @@ private void Initialize()
Task = new TaskOperations(this);
ComputeNode = new ComputeNodeOperations(this);
BaseUri = "{batchUrl}";
- ApiVersion = "2019-06-01.9.0";
+ ApiVersion = "2019-08-01.10.0";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperations.cs
index 5aeb377e3dab..d8d6b304f522 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperations.cs
@@ -52,10 +52,10 @@ internal CertificateOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Adds a certificate to the specified account.
+ /// Adds a Certificate to the specified Account.
///
///
- /// The certificate to be added.
+ /// The Certificate to be added.
///
///
/// Additional parameters for the operation
@@ -286,8 +286,8 @@ internal CertificateOperations(BatchServiceClient client)
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// Additional parameters for the operation
@@ -558,22 +558,22 @@ internal CertificateOperations(BatchServiceClient client)
}
///
- /// Cancels a failed deletion of a certificate from the specified account.
+ /// Cancels a failed deletion of a Certificate from the specified Account.
///
///
- /// If you try to delete a certificate that is being used by a pool or compute
- /// node, the status of the certificate changes to deleteFailed. If you decide
- /// that you want to continue using the certificate, you can use this operation
- /// to set the status of the certificate back to active. If you intend to
- /// delete the certificate, you do not need to run this operation after the
- /// deletion failed. You must make sure that the certificate is not being used
- /// by any resources, and then you can try again to delete the certificate.
+ /// If you try to delete a Certificate that is being used by a Pool or Compute
+ /// Node, the status of the Certificate changes to deleteFailed. If you decide
+ /// that you want to continue using the Certificate, you can use this operation
+ /// to set the status of the Certificate back to active. If you intend to
+ /// delete the Certificate, you do not need to run this operation after the
+ /// deletion failed. You must make sure that the Certificate is not being used
+ /// by any resources, and then you can try again to delete the Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate being deleted.
+ /// The thumbprint of the Certificate being deleted.
///
///
/// Additional parameters for the operation
@@ -805,25 +805,25 @@ internal CertificateOperations(BatchServiceClient client)
}
///
- /// Deletes a certificate from the specified account.
+ /// Deletes a Certificate from the specified Account.
///
///
- /// You cannot delete a certificate if a resource (pool or compute node) is
- /// using it. Before you can delete a certificate, you must therefore make sure
- /// that the certificate is not associated with any existing pools, the
- /// certificate is not installed on any compute nodes (even if you remove a
- /// certificate from a pool, it is not removed from existing compute nodes in
- /// that pool until they restart), and no running tasks depend on the
- /// certificate. If you try to delete a certificate that is in use, the
- /// deletion fails. The certificate status changes to deleteFailed. You can use
- /// Cancel Delete Certificate to set the status back to active if you decide
- /// that you want to continue using the certificate.
+ /// You cannot delete a Certificate if a resource (Pool or Compute Node) is
+ /// using it. Before you can delete a Certificate, you must therefore make sure
+ /// that the Certificate is not associated with any existing Pools, the
+ /// Certificate is not installed on any Nodes (even if you remove a Certificate
+ /// from a Pool, it is not removed from existing Compute Nodes in that Pool
+ /// until they restart), and no running Tasks depend on the Certificate. If you
+ /// try to delete a Certificate that is in use, the deletion fails. The
+ /// Certificate status changes to deleteFailed. You can use Cancel Delete
+ /// Certificate to set the status back to active if you decide that you want to
+ /// continue using the Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to be deleted.
+ /// The thumbprint of the Certificate to be deleted.
///
///
/// Additional parameters for the operation
@@ -1055,13 +1055,13 @@ internal CertificateOperations(BatchServiceClient client)
}
///
- /// Gets information about the specified certificate.
+ /// Gets information about the specified Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to get.
+ /// The thumbprint of the Certificate to get.
///
///
/// Additional parameters for the operation
@@ -1324,8 +1324,8 @@ internal CertificateOperations(BatchServiceClient client)
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperationsExtensions.cs
index a1a2213140fb..32f746f8adca 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/CertificateOperationsExtensions.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class CertificateOperationsExtensions
{
///
- /// Adds a certificate to the specified account.
+ /// Adds a Certificate to the specified Account.
///
///
/// The operations group for this extension method.
///
///
- /// The certificate to be added.
+ /// The Certificate to be added.
///
///
/// Additional parameters for the operation
@@ -39,13 +39,13 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Adds a certificate to the specified account.
+ /// Adds a Certificate to the specified Account.
///
///
/// The operations group for this extension method.
///
///
- /// The certificate to be added.
+ /// The Certificate to be added.
///
///
/// Additional parameters for the operation
@@ -62,8 +62,8 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The operations group for this extension method.
@@ -77,8 +77,8 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The operations group for this extension method.
@@ -98,16 +98,16 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Cancels a failed deletion of a certificate from the specified account.
+ /// Cancels a failed deletion of a Certificate from the specified Account.
///
///
- /// If you try to delete a certificate that is being used by a pool or compute
- /// node, the status of the certificate changes to deleteFailed. If you decide
- /// that you want to continue using the certificate, you can use this operation
- /// to set the status of the certificate back to active. If you intend to
- /// delete the certificate, you do not need to run this operation after the
- /// deletion failed. You must make sure that the certificate is not being used
- /// by any resources, and then you can try again to delete the certificate.
+ /// If you try to delete a Certificate that is being used by a Pool or Compute
+ /// Node, the status of the Certificate changes to deleteFailed. If you decide
+ /// that you want to continue using the Certificate, you can use this operation
+ /// to set the status of the Certificate back to active. If you intend to
+ /// delete the Certificate, you do not need to run this operation after the
+ /// deletion failed. You must make sure that the Certificate is not being used
+ /// by any resources, and then you can try again to delete the Certificate.
///
///
/// The operations group for this extension method.
@@ -116,7 +116,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate being deleted.
+ /// The thumbprint of the Certificate being deleted.
///
///
/// Additional parameters for the operation
@@ -127,16 +127,16 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Cancels a failed deletion of a certificate from the specified account.
+ /// Cancels a failed deletion of a Certificate from the specified Account.
///
///
- /// If you try to delete a certificate that is being used by a pool or compute
- /// node, the status of the certificate changes to deleteFailed. If you decide
- /// that you want to continue using the certificate, you can use this operation
- /// to set the status of the certificate back to active. If you intend to
- /// delete the certificate, you do not need to run this operation after the
- /// deletion failed. You must make sure that the certificate is not being used
- /// by any resources, and then you can try again to delete the certificate.
+ /// If you try to delete a Certificate that is being used by a Pool or Compute
+ /// Node, the status of the Certificate changes to deleteFailed. If you decide
+ /// that you want to continue using the Certificate, you can use this operation
+ /// to set the status of the Certificate back to active. If you intend to
+ /// delete the Certificate, you do not need to run this operation after the
+ /// deletion failed. You must make sure that the Certificate is not being used
+ /// by any resources, and then you can try again to delete the Certificate.
///
///
/// The operations group for this extension method.
@@ -145,7 +145,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate being deleted.
+ /// The thumbprint of the Certificate being deleted.
///
///
/// Additional parameters for the operation
@@ -162,19 +162,19 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Deletes a certificate from the specified account.
+ /// Deletes a Certificate from the specified Account.
///
///
- /// You cannot delete a certificate if a resource (pool or compute node) is
- /// using it. Before you can delete a certificate, you must therefore make sure
- /// that the certificate is not associated with any existing pools, the
- /// certificate is not installed on any compute nodes (even if you remove a
- /// certificate from a pool, it is not removed from existing compute nodes in
- /// that pool until they restart), and no running tasks depend on the
- /// certificate. If you try to delete a certificate that is in use, the
- /// deletion fails. The certificate status changes to deleteFailed. You can use
- /// Cancel Delete Certificate to set the status back to active if you decide
- /// that you want to continue using the certificate.
+ /// You cannot delete a Certificate if a resource (Pool or Compute Node) is
+ /// using it. Before you can delete a Certificate, you must therefore make sure
+ /// that the Certificate is not associated with any existing Pools, the
+ /// Certificate is not installed on any Nodes (even if you remove a Certificate
+ /// from a Pool, it is not removed from existing Compute Nodes in that Pool
+ /// until they restart), and no running Tasks depend on the Certificate. If you
+ /// try to delete a Certificate that is in use, the deletion fails. The
+ /// Certificate status changes to deleteFailed. You can use Cancel Delete
+ /// Certificate to set the status back to active if you decide that you want to
+ /// continue using the Certificate.
///
///
/// The operations group for this extension method.
@@ -183,7 +183,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to be deleted.
+ /// The thumbprint of the Certificate to be deleted.
///
///
/// Additional parameters for the operation
@@ -194,19 +194,19 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Deletes a certificate from the specified account.
+ /// Deletes a Certificate from the specified Account.
///
///
- /// You cannot delete a certificate if a resource (pool or compute node) is
- /// using it. Before you can delete a certificate, you must therefore make sure
- /// that the certificate is not associated with any existing pools, the
- /// certificate is not installed on any compute nodes (even if you remove a
- /// certificate from a pool, it is not removed from existing compute nodes in
- /// that pool until they restart), and no running tasks depend on the
- /// certificate. If you try to delete a certificate that is in use, the
- /// deletion fails. The certificate status changes to deleteFailed. You can use
- /// Cancel Delete Certificate to set the status back to active if you decide
- /// that you want to continue using the certificate.
+ /// You cannot delete a Certificate if a resource (Pool or Compute Node) is
+ /// using it. Before you can delete a Certificate, you must therefore make sure
+ /// that the Certificate is not associated with any existing Pools, the
+ /// Certificate is not installed on any Nodes (even if you remove a Certificate
+ /// from a Pool, it is not removed from existing Compute Nodes in that Pool
+ /// until they restart), and no running Tasks depend on the Certificate. If you
+ /// try to delete a Certificate that is in use, the deletion fails. The
+ /// Certificate status changes to deleteFailed. You can use Cancel Delete
+ /// Certificate to set the status back to active if you decide that you want to
+ /// continue using the Certificate.
///
///
/// The operations group for this extension method.
@@ -215,7 +215,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to be deleted.
+ /// The thumbprint of the Certificate to be deleted.
///
///
/// Additional parameters for the operation
@@ -232,7 +232,7 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Gets information about the specified certificate.
+ /// Gets information about the specified Certificate.
///
///
/// The operations group for this extension method.
@@ -241,7 +241,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to get.
+ /// The thumbprint of the Certificate to get.
///
///
/// Additional parameters for the operation
@@ -252,7 +252,7 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Gets information about the specified certificate.
+ /// Gets information about the specified Certificate.
///
///
/// The operations group for this extension method.
@@ -261,7 +261,7 @@ public static partial class CertificateOperationsExtensions
/// The algorithm used to derive the thumbprint parameter. This must be sha1.
///
///
- /// The thumbprint of the certificate to get.
+ /// The thumbprint of the Certificate to get.
///
///
/// Additional parameters for the operation
@@ -278,8 +278,8 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The operations group for this extension method.
@@ -296,8 +296,8 @@ public static partial class CertificateOperationsExtensions
}
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperations.cs
index d52af0751c92..ea70d1a2951b 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperations.cs
@@ -53,20 +53,20 @@ internal ComputeNodeOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Adds a user account to the specified compute node.
+ /// Adds a user Account to the specified Compute Node.
///
///
- /// You can add a user account to a node only when it is in the idle or running
- /// state.
+ /// You can add a user Account to a Compute Node only when it is in the idle or
+ /// running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to create a user account.
+ /// The ID of the machine on which you want to create a user Account.
///
///
- /// The user account to be created.
+ /// The user Account to be created.
///
///
/// Additional parameters for the operation
@@ -309,20 +309,20 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Deletes a user account from the specified compute node.
+ /// Deletes a user Account from the specified Compute Node.
///
///
- /// You can delete a user account to a node only when it is in the idle or
- /// running state.
+ /// You can delete a user Account to a Compute Node only when it is in the idle
+ /// or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to delete a user account.
+ /// The ID of the machine on which you want to delete a user Account.
///
///
- /// The name of the user account to delete.
+ /// The name of the user Account to delete.
///
///
/// Additional parameters for the operation
@@ -560,23 +560,23 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Updates the password and expiration time of a user account on the specified
- /// compute node.
+ /// Updates the password and expiration time of a user Account on the specified
+ /// Compute Node.
///
///
- /// This operation replaces of all the updatable properties of the account. For
+ /// This operation replaces of all the updatable properties of the Account. For
/// example, if the expiryTime element is not specified, the current value is
/// replaced with the default value, not left unmodified. You can update a user
- /// account on a node only when it is in the idle or running state.
+ /// Account on a Compute Node only when it is in the idle or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to update a user account.
+ /// The ID of the machine on which you want to update a user Account.
///
///
- /// The name of the user account to update.
+ /// The name of the user Account to update.
///
///
/// The parameters for the request.
@@ -828,13 +828,13 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Gets information about the specified compute node.
+ /// Gets information about the specified Compute Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to get information about.
+ /// The ID of the Compute Node that you want to get information about.
///
///
/// Additional parameters for the operation
@@ -1097,20 +1097,20 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Restarts the specified compute node.
+ /// Restarts the specified Compute Node.
///
///
- /// You can restart a node only if it is in an idle or running state.
+ /// You can restart a Compute Node only if it is in an idle or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reboot the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reboot the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -1356,22 +1356,22 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Reinstalls the operating system on the specified compute node.
+ /// Reinstalls the operating system on the specified Compute Node.
///
///
- /// You can reinstall the operating system on a node only if it is in an idle
- /// or running state. This API can be invoked only on pools created with the
- /// cloud service configuration property.
+ /// You can reinstall the operating system on a Compute Node only if it is in
+ /// an idle or running state. This API can be invoked only on Pools created
+ /// with the cloud service configuration property.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reimage the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reimage the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -1617,21 +1617,21 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Disables task scheduling on the specified compute node.
+ /// Disables Task scheduling on the specified Compute Node.
///
///
- /// You can disable task scheduling on a node only if its current scheduling
- /// state is enabled.
+ /// You can disable Task scheduling on a Compute Node only if its current
+ /// scheduling state is enabled.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to disable task scheduling.
+ /// The ID of the Compute Node on which you want to disable Task scheduling.
///
///
- /// What to do with currently running tasks when disabling task scheduling on
- /// the compute node. The default value is requeue. Possible values include:
+ /// What to do with currently running Tasks when disabling Task scheduling on
+ /// the Compute Node. The default value is requeue. Possible values include:
/// 'requeue', 'terminate', 'taskCompletion'
///
///
@@ -1877,17 +1877,17 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Enables task scheduling on the specified compute node.
+ /// Enables Task scheduling on the specified Compute Node.
///
///
- /// You can enable task scheduling on a node only if its current scheduling
- /// state is disabled
+ /// You can enable Task scheduling on a Compute Node only if its current
+ /// scheduling state is disabled
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to enable task scheduling.
+ /// The ID of the Compute Node on which you want to enable Task scheduling.
///
///
/// Additional parameters for the operation
@@ -2119,19 +2119,20 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Gets the settings required for remote login to a compute node.
+ /// Gets the settings required for remote login to a Compute Node.
///
///
- /// Before you can remotely login to a node using the remote login settings,
- /// you must create a user account on the node. This API can be invoked only on
- /// pools created with the virtual machine configuration property. For pools
- /// created with a cloud service configuration, see the GetRemoteDesktop API.
+ /// Before you can remotely login to a Compute Node using the remote login
+ /// settings, you must create a user Account on the Compute Node. This API can
+ /// be invoked only on Pools created with the virtual machine configuration
+ /// property. For Pools created with a cloud service configuration, see the
+ /// GetRemoteDesktop API.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which to obtain the remote login settings.
+ /// The ID of the Compute Node for which to obtain the remote login settings.
///
///
/// Additional parameters for the operation
@@ -2384,19 +2385,19 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Gets the Remote Desktop Protocol file for the specified compute node.
+ /// Gets the Remote Desktop Protocol file for the specified Compute Node.
///
///
- /// Before you can access a node by using the RDP file, you must create a user
- /// account on the node. This API can only be invoked on pools created with a
- /// cloud service configuration. For pools created with a virtual machine
- /// configuration, see the GetRemoteLoginSettings API.
+ /// Before you can access a Compute Node by using the RDP file, you must create
+ /// a user Account on the Compute Node. This API can only be invoked on Pools
+ /// created with a cloud service configuration. For Pools created with a
+ /// virtual machine configuration, see the GetRemoteLoginSettings API.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which you want to get the Remote Desktop
+ /// The ID of the Compute Node for which you want to get the Remote Desktop
/// Protocol file.
///
///
@@ -2637,20 +2638,20 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Upload Azure Batch service log files from the specified compute node to
+ /// Upload Azure Batch service log files from the specified Compute Node to
/// Azure Blob Storage.
///
///
/// This is for gathering Azure Batch service log files in an automated fashion
- /// from nodes if you are experiencing an error and wish to escalate to Azure
- /// support. The Azure Batch service log files should be shared with Azure
- /// support to aid in debugging issues with the Batch service.
+ /// from Compute Nodes if you are experiencing an error and wish to escalate to
+ /// Azure support. The Azure Batch service log files should be shared with
+ /// Azure support to aid in debugging issues with the Batch service.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to upload the Azure Batch
+ /// The ID of the Compute Node from which you want to upload the Azure Batch
/// service log files.
///
///
@@ -2918,10 +2919,10 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
- /// The ID of the pool from which you want to list nodes.
+ /// The ID of the Pool from which you want to list Compute Nodes.
///
///
/// Additional parameters for the operation
@@ -3198,7 +3199,7 @@ internal ComputeNodeOperations(BatchServiceClient client)
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperationsExtensions.cs
index aca1e947096f..41b0e951dcc8 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ComputeNodeOperationsExtensions.cs
@@ -23,23 +23,23 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class ComputeNodeOperationsExtensions
{
///
- /// Adds a user account to the specified compute node.
+ /// Adds a user Account to the specified Compute Node.
///
///
- /// You can add a user account to a node only when it is in the idle or running
- /// state.
+ /// You can add a user Account to a Compute Node only when it is in the idle or
+ /// running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to create a user account.
+ /// The ID of the machine on which you want to create a user Account.
///
///
- /// The user account to be created.
+ /// The user Account to be created.
///
///
/// Additional parameters for the operation
@@ -50,23 +50,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Adds a user account to the specified compute node.
+ /// Adds a user Account to the specified Compute Node.
///
///
- /// You can add a user account to a node only when it is in the idle or running
- /// state.
+ /// You can add a user Account to a Compute Node only when it is in the idle or
+ /// running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to create a user account.
+ /// The ID of the machine on which you want to create a user Account.
///
///
- /// The user account to be created.
+ /// The user Account to be created.
///
///
/// Additional parameters for the operation
@@ -83,23 +83,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Deletes a user account from the specified compute node.
+ /// Deletes a user Account from the specified Compute Node.
///
///
- /// You can delete a user account to a node only when it is in the idle or
- /// running state.
+ /// You can delete a user Account to a Compute Node only when it is in the idle
+ /// or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to delete a user account.
+ /// The ID of the machine on which you want to delete a user Account.
///
///
- /// The name of the user account to delete.
+ /// The name of the user Account to delete.
///
///
/// Additional parameters for the operation
@@ -110,23 +110,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Deletes a user account from the specified compute node.
+ /// Deletes a user Account from the specified Compute Node.
///
///
- /// You can delete a user account to a node only when it is in the idle or
- /// running state.
+ /// You can delete a user Account to a Compute Node only when it is in the idle
+ /// or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to delete a user account.
+ /// The ID of the machine on which you want to delete a user Account.
///
///
- /// The name of the user account to delete.
+ /// The name of the user Account to delete.
///
///
/// Additional parameters for the operation
@@ -143,26 +143,26 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Updates the password and expiration time of a user account on the specified
- /// compute node.
+ /// Updates the password and expiration time of a user Account on the specified
+ /// Compute Node.
///
///
- /// This operation replaces of all the updatable properties of the account. For
+ /// This operation replaces of all the updatable properties of the Account. For
/// example, if the expiryTime element is not specified, the current value is
/// replaced with the default value, not left unmodified. You can update a user
- /// account on a node only when it is in the idle or running state.
+ /// Account on a Compute Node only when it is in the idle or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to update a user account.
+ /// The ID of the machine on which you want to update a user Account.
///
///
- /// The name of the user account to update.
+ /// The name of the user Account to update.
///
///
/// The parameters for the request.
@@ -176,26 +176,26 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Updates the password and expiration time of a user account on the specified
- /// compute node.
+ /// Updates the password and expiration time of a user Account on the specified
+ /// Compute Node.
///
///
- /// This operation replaces of all the updatable properties of the account. For
+ /// This operation replaces of all the updatable properties of the Account. For
/// example, if the expiryTime element is not specified, the current value is
/// replaced with the default value, not left unmodified. You can update a user
- /// account on a node only when it is in the idle or running state.
+ /// Account on a Compute Node only when it is in the idle or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to update a user account.
+ /// The ID of the machine on which you want to update a user Account.
///
///
- /// The name of the user account to update.
+ /// The name of the user Account to update.
///
///
/// The parameters for the request.
@@ -215,16 +215,16 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets information about the specified compute node.
+ /// Gets information about the specified Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to get information about.
+ /// The ID of the Compute Node that you want to get information about.
///
///
/// Additional parameters for the operation
@@ -235,16 +235,16 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets information about the specified compute node.
+ /// Gets information about the specified Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to get information about.
+ /// The ID of the Compute Node that you want to get information about.
///
///
/// Additional parameters for the operation
@@ -261,23 +261,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Restarts the specified compute node.
+ /// Restarts the specified Compute Node.
///
///
- /// You can restart a node only if it is in an idle or running state.
+ /// You can restart a Compute Node only if it is in an idle or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reboot the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reboot the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -289,23 +289,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Restarts the specified compute node.
+ /// Restarts the specified Compute Node.
///
///
- /// You can restart a node only if it is in an idle or running state.
+ /// You can restart a Compute Node only if it is in an idle or running state.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reboot the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reboot the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -323,25 +323,25 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Reinstalls the operating system on the specified compute node.
+ /// Reinstalls the operating system on the specified Compute Node.
///
///
- /// You can reinstall the operating system on a node only if it is in an idle
- /// or running state. This API can be invoked only on pools created with the
- /// cloud service configuration property.
+ /// You can reinstall the operating system on a Compute Node only if it is in
+ /// an idle or running state. This API can be invoked only on Pools created
+ /// with the cloud service configuration property.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reimage the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reimage the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -353,25 +353,25 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Reinstalls the operating system on the specified compute node.
+ /// Reinstalls the operating system on the specified Compute Node.
///
///
- /// You can reinstall the operating system on a node only if it is in an idle
- /// or running state. This API can be invoked only on pools created with the
- /// cloud service configuration property.
+ /// You can reinstall the operating system on a Compute Node only if it is in
+ /// an idle or running state. This API can be invoked only on Pools created
+ /// with the cloud service configuration property.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reimage the compute node and what to do with currently running
- /// tasks. The default value is requeue. Possible values include: 'requeue',
+ /// When to reimage the Compute Node and what to do with currently running
+ /// Tasks. The default value is requeue. Possible values include: 'requeue',
/// 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -389,24 +389,24 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Disables task scheduling on the specified compute node.
+ /// Disables Task scheduling on the specified Compute Node.
///
///
- /// You can disable task scheduling on a node only if its current scheduling
- /// state is enabled.
+ /// You can disable Task scheduling on a Compute Node only if its current
+ /// scheduling state is enabled.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to disable task scheduling.
+ /// The ID of the Compute Node on which you want to disable Task scheduling.
///
///
- /// What to do with currently running tasks when disabling task scheduling on
- /// the compute node. The default value is requeue. Possible values include:
+ /// What to do with currently running Tasks when disabling Task scheduling on
+ /// the Compute Node. The default value is requeue. Possible values include:
/// 'requeue', 'terminate', 'taskCompletion'
///
///
@@ -418,24 +418,24 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Disables task scheduling on the specified compute node.
+ /// Disables Task scheduling on the specified Compute Node.
///
///
- /// You can disable task scheduling on a node only if its current scheduling
- /// state is enabled.
+ /// You can disable Task scheduling on a Compute Node only if its current
+ /// scheduling state is enabled.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to disable task scheduling.
+ /// The ID of the Compute Node on which you want to disable Task scheduling.
///
///
- /// What to do with currently running tasks when disabling task scheduling on
- /// the compute node. The default value is requeue. Possible values include:
+ /// What to do with currently running Tasks when disabling Task scheduling on
+ /// the Compute Node. The default value is requeue. Possible values include:
/// 'requeue', 'terminate', 'taskCompletion'
///
///
@@ -453,20 +453,20 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Enables task scheduling on the specified compute node.
+ /// Enables Task scheduling on the specified Compute Node.
///
///
- /// You can enable task scheduling on a node only if its current scheduling
- /// state is disabled
+ /// You can enable Task scheduling on a Compute Node only if its current
+ /// scheduling state is disabled
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to enable task scheduling.
+ /// The ID of the Compute Node on which you want to enable Task scheduling.
///
///
/// Additional parameters for the operation
@@ -477,20 +477,20 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Enables task scheduling on the specified compute node.
+ /// Enables Task scheduling on the specified Compute Node.
///
///
- /// You can enable task scheduling on a node only if its current scheduling
- /// state is disabled
+ /// You can enable Task scheduling on a Compute Node only if its current
+ /// scheduling state is disabled
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to enable task scheduling.
+ /// The ID of the Compute Node on which you want to enable Task scheduling.
///
///
/// Additional parameters for the operation
@@ -507,22 +507,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets the settings required for remote login to a compute node.
+ /// Gets the settings required for remote login to a Compute Node.
///
///
- /// Before you can remotely login to a node using the remote login settings,
- /// you must create a user account on the node. This API can be invoked only on
- /// pools created with the virtual machine configuration property. For pools
- /// created with a cloud service configuration, see the GetRemoteDesktop API.
+ /// Before you can remotely login to a Compute Node using the remote login
+ /// settings, you must create a user Account on the Compute Node. This API can
+ /// be invoked only on Pools created with the virtual machine configuration
+ /// property. For Pools created with a cloud service configuration, see the
+ /// GetRemoteDesktop API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which to obtain the remote login settings.
+ /// The ID of the Compute Node for which to obtain the remote login settings.
///
///
/// Additional parameters for the operation
@@ -533,22 +534,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets the settings required for remote login to a compute node.
+ /// Gets the settings required for remote login to a Compute Node.
///
///
- /// Before you can remotely login to a node using the remote login settings,
- /// you must create a user account on the node. This API can be invoked only on
- /// pools created with the virtual machine configuration property. For pools
- /// created with a cloud service configuration, see the GetRemoteDesktop API.
+ /// Before you can remotely login to a Compute Node using the remote login
+ /// settings, you must create a user Account on the Compute Node. This API can
+ /// be invoked only on Pools created with the virtual machine configuration
+ /// property. For Pools created with a cloud service configuration, see the
+ /// GetRemoteDesktop API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which to obtain the remote login settings.
+ /// The ID of the Compute Node for which to obtain the remote login settings.
///
///
/// Additional parameters for the operation
@@ -565,22 +567,22 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets the Remote Desktop Protocol file for the specified compute node.
+ /// Gets the Remote Desktop Protocol file for the specified Compute Node.
///
///
- /// Before you can access a node by using the RDP file, you must create a user
- /// account on the node. This API can only be invoked on pools created with a
- /// cloud service configuration. For pools created with a virtual machine
- /// configuration, see the GetRemoteLoginSettings API.
+ /// Before you can access a Compute Node by using the RDP file, you must create
+ /// a user Account on the Compute Node. This API can only be invoked on Pools
+ /// created with a cloud service configuration. For Pools created with a
+ /// virtual machine configuration, see the GetRemoteLoginSettings API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which you want to get the Remote Desktop
+ /// The ID of the Compute Node for which you want to get the Remote Desktop
/// Protocol file.
///
///
@@ -592,22 +594,22 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Gets the Remote Desktop Protocol file for the specified compute node.
+ /// Gets the Remote Desktop Protocol file for the specified Compute Node.
///
///
- /// Before you can access a node by using the RDP file, you must create a user
- /// account on the node. This API can only be invoked on pools created with a
- /// cloud service configuration. For pools created with a virtual machine
- /// configuration, see the GetRemoteLoginSettings API.
+ /// Before you can access a Compute Node by using the RDP file, you must create
+ /// a user Account on the Compute Node. This API can only be invoked on Pools
+ /// created with a cloud service configuration. For Pools created with a
+ /// virtual machine configuration, see the GetRemoteLoginSettings API.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which you want to get the Remote Desktop
+ /// The ID of the Compute Node for which you want to get the Remote Desktop
/// Protocol file.
///
///
@@ -624,23 +626,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Upload Azure Batch service log files from the specified compute node to
+ /// Upload Azure Batch service log files from the specified Compute Node to
/// Azure Blob Storage.
///
///
/// This is for gathering Azure Batch service log files in an automated fashion
- /// from nodes if you are experiencing an error and wish to escalate to Azure
- /// support. The Azure Batch service log files should be shared with Azure
- /// support to aid in debugging issues with the Batch service.
+ /// from Compute Nodes if you are experiencing an error and wish to escalate to
+ /// Azure support. The Azure Batch service log files should be shared with
+ /// Azure support to aid in debugging issues with the Batch service.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to upload the Azure Batch
+ /// The ID of the Compute Node from which you want to upload the Azure Batch
/// service log files.
///
///
@@ -655,23 +657,23 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Upload Azure Batch service log files from the specified compute node to
+ /// Upload Azure Batch service log files from the specified Compute Node to
/// Azure Blob Storage.
///
///
/// This is for gathering Azure Batch service log files in an automated fashion
- /// from nodes if you are experiencing an error and wish to escalate to Azure
- /// support. The Azure Batch service log files should be shared with Azure
- /// support to aid in debugging issues with the Batch service.
+ /// from Compute Nodes if you are experiencing an error and wish to escalate to
+ /// Azure support. The Azure Batch service log files should be shared with
+ /// Azure support to aid in debugging issues with the Batch service.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to upload the Azure Batch
+ /// The ID of the Compute Node from which you want to upload the Azure Batch
/// service log files.
///
///
@@ -692,13 +694,13 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool from which you want to list nodes.
+ /// The ID of the Pool from which you want to list Compute Nodes.
///
///
/// Additional parameters for the operation
@@ -709,13 +711,13 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool from which you want to list nodes.
+ /// The ID of the Pool from which you want to list Compute Nodes.
///
///
/// Additional parameters for the operation
@@ -732,7 +734,7 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The operations group for this extension method.
@@ -749,7 +751,7 @@ public static partial class ComputeNodeOperationsExtensions
}
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperations.cs
index 3552045549f8..78beece1ec20 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperations.cs
@@ -53,16 +53,16 @@ internal FileOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Deletes the specified task file from the compute node where the task ran.
+ /// Deletes the specified Task file from the Compute Node where the Task ran.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to delete.
+ /// The ID of the Task whose file you want to delete.
///
///
- /// The path to the task file or directory that you want to delete.
+ /// The path to the Task file or directory that you want to delete.
///
///
/// Whether to delete children of a directory. If the filePath parameter
@@ -311,16 +311,16 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Returns the content of the specified task file.
+ /// Returns the content of the specified Task file.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to retrieve.
+ /// The ID of the Task whose file you want to retrieve.
///
///
- /// The path to the task file that you want to get the content of.
+ /// The path to the Task file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -608,16 +608,16 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Gets the properties of the specified task file.
+ /// Gets the properties of the specified Task file.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to get the properties of.
+ /// The ID of the Task whose file you want to get the properties of.
///
///
- /// The path to the task file that you want to get the properties of.
+ /// The path to the Task file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -883,13 +883,13 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Deletes the specified file from the compute node.
+ /// Deletes the specified file from the Compute Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to delete the file.
+ /// The ID of the Compute Node from which you want to delete the file.
///
///
/// The path to the file or directory that you want to delete.
@@ -1141,16 +1141,16 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Returns the content of the specified compute node file.
+ /// Returns the content of the specified Compute Node file.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the content of.
+ /// The path to the Compute Node file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -1438,16 +1438,16 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Gets the properties of the specified compute node file.
+ /// Gets the properties of the specified Compute Node file.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the properties of.
+ /// The path to the Compute Node file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -1713,16 +1713,16 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose files you want to list.
+ /// The ID of the Task whose files you want to list.
///
///
- /// Whether to list children of the task directory. This parameter can be used
+ /// Whether to list children of the Task directory. This parameter can be used
/// in combination with the filter parameter to list specific type of files.
///
///
@@ -2001,13 +2001,13 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node whose files you want to list.
+ /// The ID of the Compute Node whose files you want to list.
///
///
/// Whether to list children of a directory.
@@ -2288,7 +2288,7 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -2514,7 +2514,7 @@ internal FileOperations(BatchServiceClient client)
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperationsExtensions.cs
index 4bae083cb92e..910baa413d51 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/FileOperationsExtensions.cs
@@ -23,19 +23,19 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class FileOperationsExtensions
{
///
- /// Deletes the specified task file from the compute node where the task ran.
+ /// Deletes the specified Task file from the Compute Node where the Task ran.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to delete.
+ /// The ID of the Task whose file you want to delete.
///
///
- /// The path to the task file or directory that you want to delete.
+ /// The path to the Task file or directory that you want to delete.
///
///
/// Whether to delete children of a directory. If the filePath parameter
@@ -52,19 +52,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Deletes the specified task file from the compute node where the task ran.
+ /// Deletes the specified Task file from the Compute Node where the Task ran.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to delete.
+ /// The ID of the Task whose file you want to delete.
///
///
- /// The path to the task file or directory that you want to delete.
+ /// The path to the Task file or directory that you want to delete.
///
///
/// Whether to delete children of a directory. If the filePath parameter
@@ -87,19 +87,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Returns the content of the specified task file.
+ /// Returns the content of the specified Task file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to retrieve.
+ /// The ID of the Task whose file you want to retrieve.
///
///
- /// The path to the task file that you want to get the content of.
+ /// The path to the Task file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -110,19 +110,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Returns the content of the specified task file.
+ /// Returns the content of the specified Task file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to retrieve.
+ /// The ID of the Task whose file you want to retrieve.
///
///
- /// The path to the task file that you want to get the content of.
+ /// The path to the Task file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -138,19 +138,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Gets the properties of the specified task file.
+ /// Gets the properties of the specified Task file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to get the properties of.
+ /// The ID of the Task whose file you want to get the properties of.
///
///
- /// The path to the task file that you want to get the properties of.
+ /// The path to the Task file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -161,19 +161,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Gets the properties of the specified task file.
+ /// Gets the properties of the specified Task file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to get the properties of.
+ /// The ID of the Task whose file you want to get the properties of.
///
///
- /// The path to the task file that you want to get the properties of.
+ /// The path to the Task file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -190,16 +190,16 @@ public static partial class FileOperationsExtensions
}
///
- /// Deletes the specified file from the compute node.
+ /// Deletes the specified file from the Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to delete the file.
+ /// The ID of the Compute Node from which you want to delete the file.
///
///
/// The path to the file or directory that you want to delete.
@@ -219,16 +219,16 @@ public static partial class FileOperationsExtensions
}
///
- /// Deletes the specified file from the compute node.
+ /// Deletes the specified file from the Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to delete the file.
+ /// The ID of the Compute Node from which you want to delete the file.
///
///
/// The path to the file or directory that you want to delete.
@@ -254,19 +254,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Returns the content of the specified compute node file.
+ /// Returns the content of the specified Compute Node file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the content of.
+ /// The path to the Compute Node file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -277,19 +277,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Returns the content of the specified compute node file.
+ /// Returns the content of the specified Compute Node file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the content of.
+ /// The path to the Compute Node file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -305,19 +305,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Gets the properties of the specified compute node file.
+ /// Gets the properties of the specified Compute Node file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the properties of.
+ /// The path to the Compute Node file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -328,19 +328,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Gets the properties of the specified compute node file.
+ /// Gets the properties of the specified Compute Node file.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the properties of.
+ /// The path to the Compute Node file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -357,19 +357,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose files you want to list.
+ /// The ID of the Task whose files you want to list.
///
///
- /// Whether to list children of the task directory. This parameter can be used
+ /// Whether to list children of the Task directory. This parameter can be used
/// in combination with the filter parameter to list specific type of files.
///
///
@@ -381,19 +381,19 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose files you want to list.
+ /// The ID of the Task whose files you want to list.
///
///
- /// Whether to list children of the task directory. This parameter can be used
+ /// Whether to list children of the Task directory. This parameter can be used
/// in combination with the filter parameter to list specific type of files.
///
///
@@ -411,16 +411,16 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node whose files you want to list.
+ /// The ID of the Compute Node whose files you want to list.
///
///
/// Whether to list children of a directory.
@@ -434,16 +434,16 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node whose files you want to list.
+ /// The ID of the Compute Node whose files you want to list.
///
///
/// Whether to list children of a directory.
@@ -463,7 +463,7 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The operations group for this extension method.
@@ -480,7 +480,7 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The operations group for this extension method.
@@ -503,7 +503,7 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
/// The operations group for this extension method.
@@ -520,7 +520,7 @@ public static partial class FileOperationsExtensions
}
///
- /// Lists all of the files in task directories on the specified compute node.
+ /// Lists all of the files in Task directories on the specified Compute Node.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IAccountOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IAccountOperations.cs
index 77f0404a9e45..db2c390c71a1 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IAccountOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IAccountOperations.cs
@@ -47,7 +47,7 @@ public partial interface IAccountOperations
///
Task,AccountListSupportedImagesHeaders>> ListSupportedImagesWithHttpMessagesAsync(AccountListSupportedImagesOptions accountListSupportedImagesOptions = default(AccountListSupportedImagesOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// Additional parameters for the operation
@@ -95,7 +95,7 @@ public partial interface IAccountOperations
///
Task,AccountListSupportedImagesHeaders>> ListSupportedImagesNextWithHttpMessagesAsync(string nextPageLink, AccountListSupportedImagesNextOptions accountListSupportedImagesNextOptions = default(AccountListSupportedImagesNextOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the number of nodes in each state, grouped by pool.
+ /// Gets the number of Compute Nodes in each state, grouped by Pool.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IApplicationOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IApplicationOperations.cs
index fae7c099940c..57246bb8a6c0 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IApplicationOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IApplicationOperations.cs
@@ -24,14 +24,14 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IApplicationOperations
{
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are
- /// available for use on compute nodes; that is, that can be used in an
- /// application package reference. For administrator information about
- /// applications and versions that are not yet available to compute
- /// nodes, use the Azure portal or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are
+ /// available for use on Compute Nodes; that is, that can be used in an
+ /// Package reference. For administrator information about applications
+ /// and versions that are not yet available to Compute Nodes, use the
+ /// Azure portal or the Azure Resource Manager API.
///
///
/// Additional parameters for the operation
@@ -53,17 +53,17 @@ public partial interface IApplicationOperations
///
Task,ApplicationListHeaders>> ListWithHttpMessagesAsync(ApplicationListOptions applicationListOptions = default(ApplicationListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified application.
+ /// Gets information about the specified Application.
///
///
- /// This operation returns only applications and versions that are
- /// available for use on compute nodes; that is, that can be used in an
- /// application package reference. For administrator information about
- /// applications and versions that are not yet available to compute
- /// nodes, use the Azure portal or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are
+ /// available for use on Compute Nodes; that is, that can be used in an
+ /// Package reference. For administrator information about Applications
+ /// and versions that are not yet available to Compute Nodes, use the
+ /// Azure portal or the Azure Resource Manager API.
///
///
- /// The ID of the application.
+ /// The ID of the Application.
///
///
/// Additional parameters for the operation
@@ -85,14 +85,14 @@ public partial interface IApplicationOperations
///
Task> GetWithHttpMessagesAsync(string applicationId, ApplicationGetOptions applicationGetOptions = default(ApplicationGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the applications available in the specified account.
+ /// Lists all of the applications available in the specified Account.
///
///
- /// This operation returns only applications and versions that are
- /// available for use on compute nodes; that is, that can be used in an
- /// application package reference. For administrator information about
- /// applications and versions that are not yet available to compute
- /// nodes, use the Azure portal or the Azure Resource Manager API.
+ /// This operation returns only Applications and versions that are
+ /// available for use on Compute Nodes; that is, that can be used in an
+ /// Package reference. For administrator information about applications
+ /// and versions that are not yet available to Compute Nodes, use the
+ /// Azure portal or the Azure Resource Manager API.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ICertificateOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ICertificateOperations.cs
index 2ad7bbce7732..14f0f8b4a2ad 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ICertificateOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ICertificateOperations.cs
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface ICertificateOperations
{
///
- /// Adds a certificate to the specified account.
+ /// Adds a Certificate to the specified Account.
///
///
- /// The certificate to be added.
+ /// The Certificate to be added.
///
///
/// Additional parameters for the operation
@@ -46,8 +46,8 @@ public partial interface ICertificateOperations
///
Task> AddWithHttpMessagesAsync(CertificateAddParameter certificate, CertificateAddOptions certificateAddOptions = default(CertificateAddOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// Additional parameters for the operation
@@ -69,26 +69,26 @@ public partial interface ICertificateOperations
///
Task,CertificateListHeaders>> ListWithHttpMessagesAsync(CertificateListOptions certificateListOptions = default(CertificateListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Cancels a failed deletion of a certificate from the specified
- /// account.
+ /// Cancels a failed deletion of a Certificate from the specified
+ /// Account.
///
///
- /// If you try to delete a certificate that is being used by a pool or
- /// compute node, the status of the certificate changes to
+ /// If you try to delete a Certificate that is being used by a Pool or
+ /// Compute Node, the status of the Certificate changes to
/// deleteFailed. If you decide that you want to continue using the
- /// certificate, you can use this operation to set the status of the
- /// certificate back to active. If you intend to delete the
- /// certificate, you do not need to run this operation after the
- /// deletion failed. You must make sure that the certificate is not
+ /// Certificate, you can use this operation to set the status of the
+ /// Certificate back to active. If you intend to delete the
+ /// Certificate, you do not need to run this operation after the
+ /// deletion failed. You must make sure that the Certificate is not
/// being used by any resources, and then you can try again to delete
- /// the certificate.
+ /// the Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be
/// sha1.
///
///
- /// The thumbprint of the certificate being deleted.
+ /// The thumbprint of the Certificate being deleted.
///
///
/// Additional parameters for the operation
@@ -107,27 +107,27 @@ public partial interface ICertificateOperations
///
Task> CancelDeletionWithHttpMessagesAsync(string thumbprintAlgorithm, string thumbprint, CertificateCancelDeletionOptions certificateCancelDeletionOptions = default(CertificateCancelDeletionOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a certificate from the specified account.
+ /// Deletes a Certificate from the specified Account.
///
///
- /// You cannot delete a certificate if a resource (pool or compute
- /// node) is using it. Before you can delete a certificate, you must
- /// therefore make sure that the certificate is not associated with any
- /// existing pools, the certificate is not installed on any compute
- /// nodes (even if you remove a certificate from a pool, it is not
- /// removed from existing compute nodes in that pool until they
- /// restart), and no running tasks depend on the certificate. If you
- /// try to delete a certificate that is in use, the deletion fails. The
- /// certificate status changes to deleteFailed. You can use Cancel
- /// Delete Certificate to set the status back to active if you decide
- /// that you want to continue using the certificate.
+ /// You cannot delete a Certificate if a resource (Pool or Compute
+ /// Node) is using it. Before you can delete a Certificate, you must
+ /// therefore make sure that the Certificate is not associated with any
+ /// existing Pools, the Certificate is not installed on any Nodes (even
+ /// if you remove a Certificate from a Pool, it is not removed from
+ /// existing Compute Nodes in that Pool until they restart), and no
+ /// running Tasks depend on the Certificate. If you try to delete a
+ /// Certificate that is in use, the deletion fails. The Certificate
+ /// status changes to deleteFailed. You can use Cancel Delete
+ /// Certificate to set the status back to active if you decide that you
+ /// want to continue using the Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be
/// sha1.
///
///
- /// The thumbprint of the certificate to be deleted.
+ /// The thumbprint of the Certificate to be deleted.
///
///
/// Additional parameters for the operation
@@ -146,14 +146,14 @@ public partial interface ICertificateOperations
///
Task> DeleteWithHttpMessagesAsync(string thumbprintAlgorithm, string thumbprint, CertificateDeleteOptions certificateDeleteOptions = default(CertificateDeleteOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified certificate.
+ /// Gets information about the specified Certificate.
///
///
/// The algorithm used to derive the thumbprint parameter. This must be
/// sha1.
///
///
- /// The thumbprint of the certificate to get.
+ /// The thumbprint of the Certificate to get.
///
///
/// Additional parameters for the operation
@@ -175,8 +175,8 @@ public partial interface ICertificateOperations
///
Task> GetWithHttpMessagesAsync(string thumbprintAlgorithm, string thumbprint, CertificateGetOptions certificateGetOptions = default(CertificateGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the certificates that have been added to the specified
- /// account.
+ /// Lists all of the Certificates that have been added to the specified
+ /// Account.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IComputeNodeOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IComputeNodeOperations.cs
index 84cad6409927..f993d0f053cc 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IComputeNodeOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IComputeNodeOperations.cs
@@ -25,20 +25,20 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IComputeNodeOperations
{
///
- /// Adds a user account to the specified compute node.
+ /// Adds a user Account to the specified Compute Node.
///
///
- /// You can add a user account to a node only when it is in the idle or
- /// running state.
+ /// You can add a user Account to a Compute Node only when it is in the
+ /// idle or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to create a user account.
+ /// The ID of the machine on which you want to create a user Account.
///
///
- /// The user account to be created.
+ /// The user Account to be created.
///
///
/// Additional parameters for the operation
@@ -57,20 +57,20 @@ public partial interface IComputeNodeOperations
///
Task> AddUserWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions = default(ComputeNodeAddUserOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a user account from the specified compute node.
+ /// Deletes a user Account from the specified Compute Node.
///
///
- /// You can delete a user account to a node only when it is in the idle
- /// or running state.
+ /// You can delete a user Account to a Compute Node only when it is in
+ /// the idle or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to delete a user account.
+ /// The ID of the machine on which you want to delete a user Account.
///
///
- /// The name of the user account to delete.
+ /// The name of the user Account to delete.
///
///
/// Additional parameters for the operation
@@ -89,24 +89,24 @@ public partial interface IComputeNodeOperations
///
Task> DeleteUserWithHttpMessagesAsync(string poolId, string nodeId, string userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions = default(ComputeNodeDeleteUserOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the password and expiration time of a user account on the
- /// specified compute node.
+ /// Updates the password and expiration time of a user Account on the
+ /// specified Compute Node.
///
///
/// This operation replaces of all the updatable properties of the
- /// account. For example, if the expiryTime element is not specified,
+ /// Account. For example, if the expiryTime element is not specified,
/// the current value is replaced with the default value, not left
- /// unmodified. You can update a user account on a node only when it is
- /// in the idle or running state.
+ /// unmodified. You can update a user Account on a Compute Node only
+ /// when it is in the idle or running state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the machine on which you want to update a user account.
+ /// The ID of the machine on which you want to update a user Account.
///
///
- /// The name of the user account to update.
+ /// The name of the user Account to update.
///
///
/// The parameters for the request.
@@ -128,13 +128,13 @@ public partial interface IComputeNodeOperations
///
Task> UpdateUserWithHttpMessagesAsync(string poolId, string nodeId, string userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions = default(ComputeNodeUpdateUserOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified compute node.
+ /// Gets information about the specified Compute Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to get information about.
+ /// The ID of the Compute Node that you want to get information about.
///
///
/// Additional parameters for the operation
@@ -156,20 +156,21 @@ public partial interface IComputeNodeOperations
///
Task> GetWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeGetOptions computeNodeGetOptions = default(ComputeNodeGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Restarts the specified compute node.
+ /// Restarts the specified Compute Node.
///
///
- /// You can restart a node only if it is in an idle or running state.
+ /// You can restart a Compute Node only if it is in an idle or running
+ /// state.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reboot the compute node and what to do with currently
- /// running tasks. The default value is requeue. Possible values
+ /// When to reboot the Compute Node and what to do with currently
+ /// running Tasks. The default value is requeue. Possible values
/// include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -189,22 +190,22 @@ public partial interface IComputeNodeOperations
///
Task> RebootWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeRebootOption? nodeRebootOption = default(ComputeNodeRebootOption?), ComputeNodeRebootOptions computeNodeRebootOptions = default(ComputeNodeRebootOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Reinstalls the operating system on the specified compute node.
+ /// Reinstalls the operating system on the specified Compute Node.
///
///
- /// You can reinstall the operating system on a node only if it is in
- /// an idle or running state. This API can be invoked only on pools
- /// created with the cloud service configuration property.
+ /// You can reinstall the operating system on a Compute Node only if it
+ /// is in an idle or running state. This API can be invoked only on
+ /// Pools created with the cloud service configuration property.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that you want to restart.
+ /// The ID of the Compute Node that you want to restart.
///
///
- /// When to reimage the compute node and what to do with currently
- /// running tasks. The default value is requeue. Possible values
+ /// When to reimage the Compute Node and what to do with currently
+ /// running Tasks. The default value is requeue. Possible values
/// include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
///
///
@@ -224,22 +225,22 @@ public partial interface IComputeNodeOperations
///
Task> ReimageWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeReimageOption? nodeReimageOption = default(ComputeNodeReimageOption?), ComputeNodeReimageOptions computeNodeReimageOptions = default(ComputeNodeReimageOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Disables task scheduling on the specified compute node.
+ /// Disables Task scheduling on the specified Compute Node.
///
///
- /// You can disable task scheduling on a node only if its current
- /// scheduling state is enabled.
+ /// You can disable Task scheduling on a Compute Node only if its
+ /// current scheduling state is enabled.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to disable task
+ /// The ID of the Compute Node on which you want to disable Task
/// scheduling.
///
///
- /// What to do with currently running tasks when disabling task
- /// scheduling on the compute node. The default value is requeue.
+ /// What to do with currently running Tasks when disabling Task
+ /// scheduling on the Compute Node. The default value is requeue.
/// Possible values include: 'requeue', 'terminate', 'taskCompletion'
///
///
@@ -259,17 +260,17 @@ public partial interface IComputeNodeOperations
///
Task> DisableSchedulingWithHttpMessagesAsync(string poolId, string nodeId, DisableComputeNodeSchedulingOption? nodeDisableSchedulingOption = default(DisableComputeNodeSchedulingOption?), ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions = default(ComputeNodeDisableSchedulingOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Enables task scheduling on the specified compute node.
+ /// Enables Task scheduling on the specified Compute Node.
///
///
- /// You can enable task scheduling on a node only if its current
- /// scheduling state is disabled
+ /// You can enable Task scheduling on a Compute Node only if its
+ /// current scheduling state is disabled
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node on which you want to enable task
+ /// The ID of the Compute Node on which you want to enable Task
/// scheduling.
///
///
@@ -289,20 +290,20 @@ public partial interface IComputeNodeOperations
///
Task> EnableSchedulingWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions = default(ComputeNodeEnableSchedulingOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the settings required for remote login to a compute node.
+ /// Gets the settings required for remote login to a Compute Node.
///
///
- /// Before you can remotely login to a node using the remote login
- /// settings, you must create a user account on the node. This API can
- /// be invoked only on pools created with the virtual machine
- /// configuration property. For pools created with a cloud service
- /// configuration, see the GetRemoteDesktop API.
+ /// Before you can remotely login to a Compute Node using the remote
+ /// login settings, you must create a user Account on the Compute Node.
+ /// This API can be invoked only on Pools created with the virtual
+ /// machine configuration property. For Pools created with a cloud
+ /// service configuration, see the GetRemoteDesktop API.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which to obtain the remote login
+ /// The ID of the Compute Node for which to obtain the remote login
/// settings.
///
///
@@ -325,21 +326,21 @@ public partial interface IComputeNodeOperations
///
Task> GetRemoteLoginSettingsWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions = default(ComputeNodeGetRemoteLoginSettingsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the Remote Desktop Protocol file for the specified compute
- /// node.
+ /// Gets the Remote Desktop Protocol file for the specified Compute
+ /// Node.
///
///
- /// Before you can access a node by using the RDP file, you must create
- /// a user account on the node. This API can only be invoked on pools
- /// created with a cloud service configuration. For pools created with
- /// a virtual machine configuration, see the GetRemoteLoginSettings
- /// API.
+ /// Before you can access a Compute Node by using the RDP file, you
+ /// must create a user Account on the Compute Node. This API can only
+ /// be invoked on Pools created with a cloud service configuration. For
+ /// Pools created with a virtual machine configuration, see the
+ /// GetRemoteLoginSettings API.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node for which you want to get the Remote
+ /// The ID of the Compute Node for which you want to get the Remote
/// Desktop Protocol file.
///
///
@@ -362,21 +363,21 @@ public partial interface IComputeNodeOperations
///
Task> GetRemoteDesktopWithHttpMessagesAsync(string poolId, string nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions = default(ComputeNodeGetRemoteDesktopOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Upload Azure Batch service log files from the specified compute
- /// node to Azure Blob Storage.
+ /// Upload Azure Batch service log files from the specified Compute
+ /// Node to Azure Blob Storage.
///
///
/// This is for gathering Azure Batch service log files in an automated
- /// fashion from nodes if you are experiencing an error and wish to
- /// escalate to Azure support. The Azure Batch service log files should
- /// be shared with Azure support to aid in debugging issues with the
- /// Batch service.
+ /// fashion from Compute Nodes if you are experiencing an error and
+ /// wish to escalate to Azure support. The Azure Batch service log
+ /// files should be shared with Azure support to aid in debugging
+ /// issues with the Batch service.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to upload the Azure
+ /// The ID of the Compute Node from which you want to upload the Azure
/// Batch service log files.
///
///
@@ -402,10 +403,10 @@ public partial interface IComputeNodeOperations
///
Task> UploadBatchServiceLogsWithHttpMessagesAsync(string poolId, string nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions = default(ComputeNodeUploadBatchServiceLogsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
- /// The ID of the pool from which you want to list nodes.
+ /// The ID of the Pool from which you want to list Compute Nodes.
///
///
/// Additional parameters for the operation
@@ -427,7 +428,7 @@ public partial interface IComputeNodeOperations
///
Task,ComputeNodeListHeaders>> ListWithHttpMessagesAsync(string poolId, ComputeNodeListOptions computeNodeListOptions = default(ComputeNodeListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the compute nodes in the specified pool.
+ /// Lists the Compute Nodes in the specified Pool.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IFileOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IFileOperations.cs
index ea04a98879c8..8b51a6648df5 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IFileOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IFileOperations.cs
@@ -25,17 +25,17 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IFileOperations
{
///
- /// Deletes the specified task file from the compute node where the
- /// task ran.
+ /// Deletes the specified Task file from the Compute Node where the
+ /// Task ran.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to delete.
+ /// The ID of the Task whose file you want to delete.
///
///
- /// The path to the task file or directory that you want to delete.
+ /// The path to the Task file or directory that you want to delete.
///
///
/// Whether to delete children of a directory. If the filePath
@@ -61,16 +61,16 @@ public partial interface IFileOperations
///
Task> DeleteFromTaskWithHttpMessagesAsync(string jobId, string taskId, string filePath, bool? recursive = default(bool?), FileDeleteFromTaskOptions fileDeleteFromTaskOptions = default(FileDeleteFromTaskOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Returns the content of the specified task file.
+ /// Returns the content of the specified Task file.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to retrieve.
+ /// The ID of the Task whose file you want to retrieve.
///
///
- /// The path to the task file that you want to get the content of.
+ /// The path to the Task file that you want to get the content of.
///
///
/// Additional parameters for the operation
@@ -92,16 +92,16 @@ public partial interface IFileOperations
///
Task> GetFromTaskWithHttpMessagesAsync(string jobId, string taskId, string filePath, FileGetFromTaskOptions fileGetFromTaskOptions = default(FileGetFromTaskOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the properties of the specified task file.
+ /// Gets the properties of the specified Task file.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose file you want to get the properties of.
+ /// The ID of the Task whose file you want to get the properties of.
///
///
- /// The path to the task file that you want to get the properties of.
+ /// The path to the Task file that you want to get the properties of.
///
///
/// Additional parameters for the operation
@@ -120,13 +120,13 @@ public partial interface IFileOperations
///
Task> GetPropertiesFromTaskWithHttpMessagesAsync(string jobId, string taskId, string filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions = default(FileGetPropertiesFromTaskOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes the specified file from the compute node.
+ /// Deletes the specified file from the Compute Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node from which you want to delete the file.
+ /// The ID of the Compute Node from which you want to delete the file.
///
///
/// The path to the file or directory that you want to delete.
@@ -155,16 +155,16 @@ public partial interface IFileOperations
///
Task> DeleteFromComputeNodeWithHttpMessagesAsync(string poolId, string nodeId, string filePath, bool? recursive = default(bool?), FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions = default(FileDeleteFromComputeNodeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Returns the content of the specified compute node file.
+ /// Returns the content of the specified Compute Node file.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the content
+ /// The path to the Compute Node file that you want to get the content
/// of.
///
///
@@ -187,16 +187,16 @@ public partial interface IFileOperations
///
Task> GetFromComputeNodeWithHttpMessagesAsync(string poolId, string nodeId, string filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions = default(FileGetFromComputeNodeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the properties of the specified compute node file.
+ /// Gets the properties of the specified Compute Node file.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node that contains the file.
+ /// The ID of the Compute Node that contains the file.
///
///
- /// The path to the compute node file that you want to get the
+ /// The path to the Compute Node file that you want to get the
/// properties of.
///
///
@@ -216,16 +216,16 @@ public partial interface IFileOperations
///
Task> GetPropertiesFromComputeNodeWithHttpMessagesAsync(string poolId, string nodeId, string filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions = default(FileGetPropertiesFromComputeNodeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task whose files you want to list.
+ /// The ID of the Task whose files you want to list.
///
///
- /// Whether to list children of the task directory. This parameter can
+ /// Whether to list children of the Task directory. This parameter can
/// be used in combination with the filter parameter to list specific
/// type of files.
///
@@ -249,14 +249,14 @@ public partial interface IFileOperations
///
Task,FileListFromTaskHeaders>> ListFromTaskWithHttpMessagesAsync(string jobId, string taskId, bool? recursive = default(bool?), FileListFromTaskOptions fileListFromTaskOptions = default(FileListFromTaskOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the files in task directories on the specified compute
- /// node.
+ /// Lists all of the files in Task directories on the specified Compute
+ /// Node.
///
///
- /// The ID of the pool that contains the compute node.
+ /// The ID of the Pool that contains the Compute Node.
///
///
- /// The ID of the compute node whose files you want to list.
+ /// The ID of the Compute Node whose files you want to list.
///
///
/// Whether to list children of a directory.
@@ -281,7 +281,7 @@ public partial interface IFileOperations
///
Task,FileListFromComputeNodeHeaders>> ListFromComputeNodeWithHttpMessagesAsync(string poolId, string nodeId, bool? recursive = default(bool?), FileListFromComputeNodeOptions fileListFromComputeNodeOptions = default(FileListFromComputeNodeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the files in a task's directory on its compute node.
+ /// Lists the files in a Task's directory on its Compute Node.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -306,8 +306,8 @@ public partial interface IFileOperations
///
Task,FileListFromTaskHeaders>> ListFromTaskNextWithHttpMessagesAsync(string nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions = default(FileListFromTaskNextOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the files in task directories on the specified compute
- /// node.
+ /// Lists all of the files in Task directories on the specified Compute
+ /// Node.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs
index 7925e2c48619..95fbaa092b53 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobOperations.cs
@@ -24,12 +24,12 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IJobOperations
{
///
- /// Gets lifetime summary statistics for all of the jobs in the
- /// specified account.
+ /// Gets lifetime summary statistics for all of the Jobs in the
+ /// specified Account.
///
///
- /// Statistics are aggregated across all jobs that have ever existed in
- /// the account, from account creation to the last update time of the
+ /// Statistics are aggregated across all Jobs that have ever existed in
+ /// the Account, from Account creation to the last update time of the
/// statistics. The statistics may not be immediately available. The
/// Batch service performs periodic roll-up of statistics. The typical
/// delay is about 30 minutes.
@@ -54,21 +54,21 @@ public partial interface IJobOperations
///
Task> GetAllLifetimeStatisticsWithHttpMessagesAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions = default(JobGetAllLifetimeStatisticsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a job.
+ /// Deletes a Job.
///
///
- /// Deleting a job also deletes all tasks that are part of that job,
- /// and all job statistics. This also overrides the retention period
- /// for task data; that is, if the job contains tasks which are still
- /// retained on compute nodes, the Batch services deletes those tasks'
+ /// Deleting a Job also deletes all Tasks that are part of that Job,
+ /// and all Job statistics. This also overrides the retention period
+ /// for Task data; that is, if the Job contains Tasks which are still
+ /// retained on Compute Nodes, the Batch services deletes those Tasks'
/// working directories and all their contents. When a Delete Job
- /// request is received, the Batch service sets the job to the deleting
- /// state. All update operations on a job that is in deleting state
+ /// request is received, the Batch service sets the Job to the deleting
+ /// state. All update operations on a Job that is in deleting state
/// will fail with status code 409 (Conflict), with additional
- /// information indicating that the job is being deleted.
+ /// information indicating that the Job is being deleted.
///
///
- /// The ID of the job to delete.
+ /// The ID of the Job to delete.
///
///
/// Additional parameters for the operation
@@ -87,10 +87,10 @@ public partial interface IJobOperations
///
Task> DeleteWithHttpMessagesAsync(string jobId, JobDeleteOptions jobDeleteOptions = default(JobDeleteOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified job.
+ /// Gets information about the specified Job.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -112,16 +112,16 @@ public partial interface IJobOperations
///
Task> GetWithHttpMessagesAsync(string jobId, JobGetOptions jobGetOptions = default(JobGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This replaces only the job properties specified in the request. For
- /// example, if the job has constraints, and a request does not specify
- /// the constraints element, then the job keeps the existing
+ /// This replaces only the Job properties specified in the request. For
+ /// example, if the Job has constraints, and a request does not specify
+ /// the constraints element, then the Job keeps the existing
/// constraints.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -143,16 +143,16 @@ public partial interface IJobOperations
///
Task> PatchWithHttpMessagesAsync(string jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions = default(JobPatchOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This fully replaces all the updatable properties of the job. For
- /// example, if the job has constraints associated with it and if
+ /// This fully replaces all the updatable properties of the Job. For
+ /// example, if the Job has constraints associated with it and if
/// constraints is not specified with this request, then the Batch
/// service will remove the existing constraints.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -174,24 +174,24 @@ public partial interface IJobOperations
///
Task> UpdateWithHttpMessagesAsync(string jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions = default(JobUpdateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Disables the specified job, preventing new tasks from running.
+ /// Disables the specified Job, preventing new Tasks from running.
///
///
- /// The Batch Service immediately moves the job to the disabling state.
+ /// The Batch Service immediately moves the Job to the disabling state.
/// Batch then uses the disableTasks parameter to determine what to do
- /// with the currently running tasks of the job. The job remains in the
+ /// with the currently running Tasks of the Job. The Job remains in the
/// disabling state until the disable operation is completed and all
- /// tasks have been dealt with according to the disableTasks option;
- /// the job then moves to the disabled state. No new tasks are started
- /// under the job until it moves back to active state. If you try to
- /// disable a job that is in any state other than active, disabling, or
+ /// Tasks have been dealt with according to the disableTasks option;
+ /// the Job then moves to the disabled state. No new Tasks are started
+ /// under the Job until it moves back to active state. If you try to
+ /// disable a Job that is in any state other than active, disabling, or
/// disabled, the request fails with status code 409.
///
///
- /// The ID of the job to disable.
+ /// The ID of the Job to disable.
///
///
- /// What to do with active tasks associated with the job. Possible
+ /// What to do with active Tasks associated with the Job. Possible
/// values include: 'requeue', 'terminate', 'wait'
///
///
@@ -211,19 +211,19 @@ public partial interface IJobOperations
///
Task> DisableWithHttpMessagesAsync(string jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions = default(JobDisableOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Enables the specified job, allowing new tasks to run.
+ /// Enables the specified Job, allowing new Tasks to run.
///
///
- /// When you call this API, the Batch service sets a disabled job to
- /// the enabling state. After the this operation is completed, the job
- /// moves to the active state, and scheduling of new tasks under the
- /// job resumes. The Batch service does not allow a task to remain in
+ /// When you call this API, the Batch service sets a disabled Job to
+ /// the enabling state. After the this operation is completed, the Job
+ /// moves to the active state, and scheduling of new Tasks under the
+ /// Job resumes. The Batch service does not allow a Task to remain in
/// the active state for more than 180 days. Therefore, if you enable a
- /// job containing active tasks which were added more than 180 days
- /// ago, those tasks will not run.
+ /// Job containing active Tasks which were added more than 180 days
+ /// ago, those Tasks will not run.
///
///
- /// The ID of the job to enable.
+ /// The ID of the Job to enable.
///
///
/// Additional parameters for the operation
@@ -242,23 +242,23 @@ public partial interface IJobOperations
///
Task> EnableWithHttpMessagesAsync(string jobId, JobEnableOptions jobEnableOptions = default(JobEnableOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Terminates the specified job, marking it as completed.
+ /// Terminates the specified Job, marking it as completed.
///
///
/// When a Terminate Job request is received, the Batch service sets
- /// the job to the terminating state. The Batch service then terminates
- /// any running tasks associated with the job and runs any required job
- /// release tasks. Then the job moves into the completed state. If
- /// there are any tasks in the job in the active state, they will
- /// remain in the active state. Once a job is terminated, new tasks
- /// cannot be added and any remaining active tasks will not be
+ /// the Job to the terminating state. The Batch service then terminates
+ /// any running Tasks associated with the Job and runs any required Job
+ /// release Tasks. Then the Job moves into the completed state. If
+ /// there are any Tasks in the Job in the active state, they will
+ /// remain in the active state. Once a Job is terminated, new Tasks
+ /// cannot be added and any remaining active Tasks will not be
/// scheduled.
///
///
- /// The ID of the job to terminate.
+ /// The ID of the Job to terminate.
///
///
- /// The text you want to appear as the job's TerminateReason. The
+ /// The text you want to appear as the Job's TerminateReason. The
/// default is 'UserTerminate'.
///
///
@@ -278,22 +278,22 @@ public partial interface IJobOperations
///
Task> TerminateWithHttpMessagesAsync(string jobId, string terminateReason = default(string), JobTerminateOptions jobTerminateOptions = default(JobTerminateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Adds a job to the specified account.
+ /// Adds a Job to the specified Account.
///
///
/// The Batch service supports two ways to control the work done as
- /// part of a job. In the first approach, the user specifies a Job
- /// Manager task. The Batch service launches this task when it is ready
- /// to start the job. The Job Manager task controls all other tasks
- /// that run under this job, by using the Task APIs. In the second
- /// approach, the user directly controls the execution of tasks under
- /// an active job, by using the Task APIs. Also note: when naming jobs,
+ /// part of a Job. In the first approach, the user specifies a Job
+ /// Manager Task. The Batch service launches this Task when it is ready
+ /// to start the Job. The Job Manager Task controls all other Tasks
+ /// that run under this Job, by using the Task APIs. In the second
+ /// approach, the user directly controls the execution of Tasks under
+ /// an active Job, by using the Task APIs. Also note: when naming Jobs,
/// avoid including sensitive information such as user names or secret
/// project names. This information may appear in telemetry logs
/// accessible to Microsoft Support engineers.
///
///
- /// The job to be added.
+ /// The Job to be added.
///
///
/// Additional parameters for the operation
@@ -312,7 +312,7 @@ public partial interface IJobOperations
///
Task> AddWithHttpMessagesAsync(JobAddParameter job, JobAddOptions jobAddOptions = default(JobAddOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// Additional parameters for the operation
@@ -334,12 +334,12 @@ public partial interface IJobOperations
///
Task,JobListHeaders>> ListWithHttpMessagesAsync(JobListOptions jobListOptions = default(JobListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the jobs that have been created under the specified job
- /// schedule.
+ /// Lists the Jobs that have been created under the specified Job
+ /// Schedule.
///
///
- /// The ID of the job schedule from which you want to get a list of
- /// jobs.
+ /// The ID of the Job Schedule from which you want to get a list of
+ /// Jobs.
///
///
/// Additional parameters for the operation
@@ -362,19 +362,20 @@ public partial interface IJobOperations
Task,JobListFromJobScheduleHeaders>> ListFromJobScheduleWithHttpMessagesAsync(string jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions = default(JobListFromJobScheduleOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists the execution status of the Job Preparation and Job Release
- /// task for the specified job across the compute nodes where the job
+ /// Task for the specified Job across the Compute Nodes where the Job
/// has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on
- /// all compute nodes that have run the Job Preparation or Job Release
- /// task. This includes nodes which have since been removed from the
- /// pool. If this API is invoked on a job which has no Job Preparation
- /// or Job Release task, the Batch service returns HTTP status code 409
- /// (Conflict) with an error code of JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on
+ /// all Compute Nodes that have run the Job Preparation or Job Release
+ /// Task. This includes Compute Nodes which have since been removed
+ /// from the Pool. If this API is invoked on a Job which has no Job
+ /// Preparation or Job Release Task, the Batch service returns HTTP
+ /// status code 409 (Conflict) with an error code of
+ /// JobPreparationTaskNotSpecified.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -396,15 +397,15 @@ public partial interface IJobOperations
///
Task,JobListPreparationAndReleaseTaskStatusHeaders>> ListPreparationAndReleaseTaskStatusWithHttpMessagesAsync(string jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions = default(JobListPreparationAndReleaseTaskStatusOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the task counts for the specified job.
+ /// Gets the Task counts for the specified Job.
///
///
- /// Task counts provide a count of the tasks by active, running or
- /// completed task state, and a count of tasks which succeeded or
+ /// Task counts provide a count of the Tasks by active, running or
+ /// completed Task state, and a count of Tasks which succeeded or
/// failed. Tasks in the preparing state are counted as running.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -426,7 +427,7 @@ public partial interface IJobOperations
///
Task> GetTaskCountsWithHttpMessagesAsync(string jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions = default(JobGetTaskCountsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -451,8 +452,8 @@ public partial interface IJobOperations
///
Task,JobListHeaders>> ListNextWithHttpMessagesAsync(string nextPageLink, JobListNextOptions jobListNextOptions = default(JobListNextOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the jobs that have been created under the specified job
- /// schedule.
+ /// Lists the Jobs that have been created under the specified Job
+ /// Schedule.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -478,16 +479,17 @@ public partial interface IJobOperations
Task,JobListFromJobScheduleHeaders>> ListFromJobScheduleNextWithHttpMessagesAsync(string nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions = default(JobListFromJobScheduleNextOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists the execution status of the Job Preparation and Job Release
- /// task for the specified job across the compute nodes where the job
+ /// Task for the specified Job across the Compute Nodes where the Job
/// has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on
- /// all compute nodes that have run the Job Preparation or Job Release
- /// task. This includes nodes which have since been removed from the
- /// pool. If this API is invoked on a job which has no Job Preparation
- /// or Job Release task, the Batch service returns HTTP status code 409
- /// (Conflict) with an error code of JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on
+ /// all Compute Nodes that have run the Job Preparation or Job Release
+ /// Task. This includes Compute Nodes which have since been removed
+ /// from the Pool. If this API is invoked on a Job which has no Job
+ /// Preparation or Job Release Task, the Batch service returns HTTP
+ /// status code 409 (Conflict) with an error code of
+ /// JobPreparationTaskNotSpecified.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobScheduleOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobScheduleOperations.cs
index e8c9e6b1825b..86dac0523c20 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobScheduleOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IJobScheduleOperations.cs
@@ -24,10 +24,10 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IJobScheduleOperations
{
///
- /// Checks the specified job schedule exists.
+ /// Checks the specified Job Schedule exists.
///
///
- /// The ID of the job schedule which you want to check.
+ /// The ID of the Job Schedule which you want to check.
///
///
/// Additional parameters for the operation
@@ -46,18 +46,18 @@ public partial interface IJobScheduleOperations
///
Task> ExistsWithHttpMessagesAsync(string jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions = default(JobScheduleExistsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a job schedule from the specified account.
+ /// Deletes a Job Schedule from the specified Account.
///
///
- /// When you delete a job schedule, this also deletes all jobs and
- /// tasks under that schedule. When tasks are deleted, all the files in
- /// their working directories on the compute nodes are also deleted
- /// (the retention period is ignored). The job schedule statistics are
- /// no longer accessible once the job schedule is deleted, though they
- /// are still counted towards account lifetime statistics.
+ /// When you delete a Job Schedule, this also deletes all Jobs and
+ /// Tasks under that schedule. When Tasks are deleted, all the files in
+ /// their working directories on the Compute Nodes are also deleted
+ /// (the retention period is ignored). The Job Schedule statistics are
+ /// no longer accessible once the Job Schedule is deleted, though they
+ /// are still counted towards Account lifetime statistics.
///
///
- /// The ID of the job schedule to delete.
+ /// The ID of the Job Schedule to delete.
///
///
/// Additional parameters for the operation
@@ -76,10 +76,10 @@ public partial interface IJobScheduleOperations
///
Task> DeleteWithHttpMessagesAsync(string jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions = default(JobScheduleDeleteOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified job schedule.
+ /// Gets information about the specified Job Schedule.
///
///
- /// The ID of the job schedule to get.
+ /// The ID of the Job Schedule to get.
///
///
/// Additional parameters for the operation
@@ -101,18 +101,18 @@ public partial interface IJobScheduleOperations
///
Task> GetWithHttpMessagesAsync(string jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions = default(JobScheduleGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This replaces only the job schedule properties specified in the
+ /// This replaces only the Job Schedule properties specified in the
/// request. For example, if the schedule property is not specified
/// with this request, then the Batch service will keep the existing
- /// schedule. Changes to a job schedule only impact jobs created by the
- /// schedule after the update has taken place; currently running jobs
+ /// schedule. Changes to a Job Schedule only impact Jobs created by the
+ /// schedule after the update has taken place; currently running Jobs
/// are unaffected.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -134,18 +134,18 @@ public partial interface IJobScheduleOperations
///
Task> PatchWithHttpMessagesAsync(string jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions = default(JobSchedulePatchOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This fully replaces all the updatable properties of the job
- /// schedule. For example, if the schedule property is not specified
+ /// This fully replaces all the updatable properties of the Job
+ /// Schedule. For example, if the schedule property is not specified
/// with this request, then the Batch service will remove the existing
- /// schedule. Changes to a job schedule only impact jobs created by the
- /// schedule after the update has taken place; currently running jobs
+ /// schedule. Changes to a Job Schedule only impact Jobs created by the
+ /// schedule after the update has taken place; currently running Jobs
/// are unaffected.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -167,14 +167,14 @@ public partial interface IJobScheduleOperations
///
Task> UpdateWithHttpMessagesAsync(string jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions = default(JobScheduleUpdateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Disables a job schedule.
+ /// Disables a Job Schedule.
///
///
- /// No new jobs will be created until the job schedule is enabled
+ /// No new Jobs will be created until the Job Schedule is enabled
/// again.
///
///
- /// The ID of the job schedule to disable.
+ /// The ID of the Job Schedule to disable.
///
///
/// Additional parameters for the operation
@@ -193,10 +193,10 @@ public partial interface IJobScheduleOperations
///
Task> DisableWithHttpMessagesAsync(string jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions = default(JobScheduleDisableOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Enables a job schedule.
+ /// Enables a Job Schedule.
///
///
- /// The ID of the job schedule to enable.
+ /// The ID of the Job Schedule to enable.
///
///
/// Additional parameters for the operation
@@ -215,10 +215,10 @@ public partial interface IJobScheduleOperations
///
Task> EnableWithHttpMessagesAsync(string jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions = default(JobScheduleEnableOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Terminates a job schedule.
+ /// Terminates a Job Schedule.
///
///
- /// The ID of the job schedule to terminates.
+ /// The ID of the Job Schedule to terminates.
///
///
/// Additional parameters for the operation
@@ -237,10 +237,10 @@ public partial interface IJobScheduleOperations
///
Task> TerminateWithHttpMessagesAsync(string jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions = default(JobScheduleTerminateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Adds a job schedule to the specified account.
+ /// Adds a Job Schedule to the specified Account.
///
///
- /// The job schedule to be added.
+ /// The Job Schedule to be added.
///
///
/// Additional parameters for the operation
@@ -259,7 +259,7 @@ public partial interface IJobScheduleOperations
///
Task> AddWithHttpMessagesAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions = default(JobScheduleAddOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// Additional parameters for the operation
@@ -281,7 +281,7 @@ public partial interface IJobScheduleOperations
///
Task,JobScheduleListHeaders>> ListWithHttpMessagesAsync(JobScheduleListOptions jobScheduleListOptions = default(JobScheduleListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IPoolOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IPoolOperations.cs
index 7438b4ddc2bf..6f562dfc7adf 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IPoolOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/IPoolOperations.cs
@@ -24,12 +24,12 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface IPoolOperations
{
///
- /// Lists the usage metrics, aggregated by pool across individual time
- /// intervals, for the specified account.
+ /// Lists the usage metrics, aggregated by Pool across individual time
+ /// intervals, for the specified Account.
///
///
/// If you do not specify a $filter clause including a poolId, the
- /// response includes all pools that existed in the account in the time
+ /// response includes all Pools that existed in the Account in the time
/// range of the returned aggregation intervals. If you do not specify
/// a $filter clause including a startTime or endTime these filters
/// default to the start and end times of the last aggregation interval
@@ -56,12 +56,12 @@ public partial interface IPoolOperations
///
Task,PoolListUsageMetricsHeaders>> ListUsageMetricsWithHttpMessagesAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions = default(PoolListUsageMetricsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets lifetime summary statistics for all of the pools in the
- /// specified account.
+ /// Gets lifetime summary statistics for all of the Pools in the
+ /// specified Account.
///
///
- /// Statistics are aggregated across all pools that have ever existed
- /// in the account, from account creation to the last update time of
+ /// Statistics are aggregated across all Pools that have ever existed
+ /// in the Account, from Account creation to the last update time of
/// the statistics. The statistics may not be immediately available.
/// The Batch service performs periodic roll-up of statistics. The
/// typical delay is about 30 minutes.
@@ -86,15 +86,15 @@ public partial interface IPoolOperations
///
Task> GetAllLifetimeStatisticsWithHttpMessagesAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions = default(PoolGetAllLifetimeStatisticsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Adds a pool to the specified account.
+ /// Adds a Pool to the specified Account.
///
///
- /// When naming pools, avoid including sensitive information such as
+ /// When naming Pools, avoid including sensitive information such as
/// user names or secret project names. This information may appear in
/// telemetry logs accessible to Microsoft Support engineers.
///
///
- /// The pool to be added.
+ /// The Pool to be added.
///
///
/// Additional parameters for the operation
@@ -113,7 +113,7 @@ public partial interface IPoolOperations
///
Task> AddWithHttpMessagesAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions = default(PoolAddOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the pools in the specified account.
+ /// Lists all of the Pools in the specified Account.
///
///
/// Additional parameters for the operation
@@ -135,26 +135,26 @@ public partial interface IPoolOperations
///
Task,PoolListHeaders>> ListWithHttpMessagesAsync(PoolListOptions poolListOptions = default(PoolListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a pool from the specified account.
+ /// Deletes a Pool from the specified Account.
///
///
- /// When you request that a pool be deleted, the following actions
- /// occur: the pool state is set to deleting; any ongoing resize
- /// operation on the pool are stopped; the Batch service starts
- /// resizing the pool to zero nodes; any tasks running on existing
- /// nodes are terminated and requeued (as if a resize pool operation
- /// had been requested with the default requeue option); finally, the
- /// pool is removed from the system. Because running tasks are
- /// requeued, the user can rerun these tasks by updating their job to
- /// target a different pool. The tasks can then run on the new pool. If
- /// you want to override the requeue behavior, then you should call
- /// resize pool explicitly to shrink the pool to zero size before
- /// deleting the pool. If you call an Update, Patch or Delete API on a
- /// pool in the deleting state, it will fail with HTTP status code 409
+ /// When you request that a Pool be deleted, the following actions
+ /// occur: the Pool state is set to deleting; any ongoing resize
+ /// operation on the Pool are stopped; the Batch service starts
+ /// resizing the Pool to zero Compute Nodes; any Tasks running on
+ /// existing Compute Nodes are terminated and requeued (as if a resize
+ /// Pool operation had been requested with the default requeue option);
+ /// finally, the Pool is removed from the system. Because running Tasks
+ /// are requeued, the user can rerun these Tasks by updating their Job
+ /// to target a different Pool. The Tasks can then run on the new Pool.
+ /// If you want to override the requeue behavior, then you should call
+ /// resize Pool explicitly to shrink the Pool to zero size before
+ /// deleting the Pool. If you call an Update, Patch or Delete API on a
+ /// Pool in the deleting state, it will fail with HTTP status code 409
/// with error code PoolBeingDeleted.
///
///
- /// The ID of the pool to delete.
+ /// The ID of the Pool to delete.
///
///
/// Additional parameters for the operation
@@ -173,10 +173,10 @@ public partial interface IPoolOperations
///
Task> DeleteWithHttpMessagesAsync(string poolId, PoolDeleteOptions poolDeleteOptions = default(PoolDeleteOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets basic properties of a pool.
+ /// Gets basic properties of a Pool.
///
///
- /// The ID of the pool to get.
+ /// The ID of the Pool to get.
///
///
/// Additional parameters for the operation
@@ -195,10 +195,10 @@ public partial interface IPoolOperations
///
Task> ExistsWithHttpMessagesAsync(string poolId, PoolExistsOptions poolExistsOptions = default(PoolExistsOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified pool.
+ /// Gets information about the specified Pool.
///
///
- /// The ID of the pool to get.
+ /// The ID of the Pool to get.
///
///
/// Additional parameters for the operation
@@ -220,16 +220,16 @@ public partial interface IPoolOperations
///
Task> GetWithHttpMessagesAsync(string poolId, PoolGetOptions poolGetOptions = default(PoolGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified pool.
+ /// Updates the properties of the specified Pool.
///
///
- /// This only replaces the pool properties specified in the request.
- /// For example, if the pool has a start task associated with it, and a
- /// request does not specify a start task element, then the pool keeps
- /// the existing start task.
+ /// This only replaces the Pool properties specified in the request.
+ /// For example, if the Pool has a StartTask associated with it, and a
+ /// request does not specify a StartTask element, then the Pool keeps
+ /// the existing StartTask.
///
///
- /// The ID of the pool to update.
+ /// The ID of the Pool to update.
///
///
/// The parameters for the request.
@@ -251,10 +251,10 @@ public partial interface IPoolOperations
///
Task> PatchWithHttpMessagesAsync(string poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions = default(PoolPatchOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Disables automatic scaling for a pool.
+ /// Disables automatic scaling for a Pool.
///
///
- /// The ID of the pool on which to disable automatic scaling.
+ /// The ID of the Pool on which to disable automatic scaling.
///
///
/// Additional parameters for the operation
@@ -273,19 +273,19 @@ public partial interface IPoolOperations
///
Task> DisableAutoScaleWithHttpMessagesAsync(string poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions = default(PoolDisableAutoScaleOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Enables automatic scaling for a pool.
+ /// Enables automatic scaling for a Pool.
///
///
- /// You cannot enable automatic scaling on a pool if a resize operation
- /// is in progress on the pool. If automatic scaling of the pool is
+ /// You cannot enable automatic scaling on a Pool if a resize operation
+ /// is in progress on the Pool. If automatic scaling of the Pool is
/// currently disabled, you must specify a valid autoscale formula as
- /// part of the request. If automatic scaling of the pool is already
+ /// part of the request. If automatic scaling of the Pool is already
/// enabled, you may specify a new autoscale formula and/or a new
- /// evaluation interval. You cannot call this API for the same pool
+ /// evaluation interval. You cannot call this API for the same Pool
/// more than once every 30 seconds.
///
///
- /// The ID of the pool on which to enable automatic scaling.
+ /// The ID of the Pool on which to enable automatic scaling.
///
///
/// The parameters for the request.
@@ -308,25 +308,25 @@ public partial interface IPoolOperations
Task> EnableAutoScaleWithHttpMessagesAsync(string poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions = default(PoolEnableAutoScaleOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the result of evaluating an automatic scaling formula on the
- /// pool.
+ /// Pool.
///
///
/// This API is primarily for validating an autoscale formula, as it
- /// simply returns the result without applying the formula to the pool.
- /// The pool must have auto scaling enabled in order to evaluate a
+ /// simply returns the result without applying the formula to the Pool.
+ /// The Pool must have auto scaling enabled in order to evaluate a
/// formula.
///
///
- /// The ID of the pool on which to evaluate the automatic scaling
+ /// The ID of the Pool on which to evaluate the automatic scaling
/// formula.
///
///
- /// The formula for the desired number of compute nodes in the pool.
+ /// The formula for the desired number of Compute Nodes in the Pool.
/// The formula is validated and its results calculated, but it is not
- /// applied to the pool. To apply the formula to the pool, 'Enable
- /// automatic scaling on a pool'. For more information about specifying
- /// this formula, see Automatically scale compute nodes in an Azure
- /// Batch pool
+ /// applied to the Pool. To apply the formula to the Pool, 'Enable
+ /// automatic scaling on a Pool'. For more information about specifying
+ /// this formula, see Automatically scale Compute Nodes in an Azure
+ /// Batch Pool
/// (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
///
///
@@ -349,20 +349,21 @@ public partial interface IPoolOperations
///
Task> EvaluateAutoScaleWithHttpMessagesAsync(string poolId, string autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions = default(PoolEvaluateAutoScaleOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Changes the number of compute nodes that are assigned to a pool.
+ /// Changes the number of Compute Nodes that are assigned to a Pool.
///
///
- /// You can only resize a pool when its allocation state is steady. If
- /// the pool is already resizing, the request fails with status code
- /// 409. When you resize a pool, the pool's allocation state changes
- /// from steady to resizing. You cannot resize pools which are
+ /// You can only resize a Pool when its allocation state is steady. If
+ /// the Pool is already resizing, the request fails with status code
+ /// 409. When you resize a Pool, the Pool's allocation state changes
+ /// from steady to resizing. You cannot resize Pools which are
/// configured for automatic scaling. If you try to do this, the Batch
- /// service returns an error 409. If you resize a pool downwards, the
- /// Batch service chooses which nodes to remove. To remove specific
- /// nodes, use the pool remove nodes API instead.
+ /// service returns an error 409. If you resize a Pool downwards, the
+ /// Batch service chooses which Compute Nodes to remove. To remove
+ /// specific Compute Nodes, use the Pool remove Compute Nodes API
+ /// instead.
///
///
- /// The ID of the pool to resize.
+ /// The ID of the Pool to resize.
///
///
/// The parameters for the request.
@@ -384,20 +385,21 @@ public partial interface IPoolOperations
///
Task> ResizeWithHttpMessagesAsync(string poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions = default(PoolResizeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Stops an ongoing resize operation on the pool.
+ /// Stops an ongoing resize operation on the Pool.
///
///
- /// This does not restore the pool to its previous state before the
+ /// This does not restore the Pool to its previous state before the
/// resize operation: it only stops any further changes being made, and
- /// the pool maintains its current state. After stopping, the pool
- /// stabilizes at the number of nodes it was at when the stop operation
- /// was done. During the stop operation, the pool allocation state
- /// changes first to stopping and then to steady. A resize operation
- /// need not be an explicit resize pool request; this API can also be
- /// used to halt the initial sizing of the pool when it is created.
+ /// the Pool maintains its current state. After stopping, the Pool
+ /// stabilizes at the number of Compute Nodes it was at when the stop
+ /// operation was done. During the stop operation, the Pool allocation
+ /// state changes first to stopping and then to steady. A resize
+ /// operation need not be an explicit resize Pool request; this API can
+ /// also be used to halt the initial sizing of the Pool when it is
+ /// created.
///
///
- /// The ID of the pool whose resizing you want to stop.
+ /// The ID of the Pool whose resizing you want to stop.
///
///
/// Additional parameters for the operation
@@ -416,16 +418,16 @@ public partial interface IPoolOperations
///
Task> StopResizeWithHttpMessagesAsync(string poolId, PoolStopResizeOptions poolStopResizeOptions = default(PoolStopResizeOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified pool.
+ /// Updates the properties of the specified Pool.
///
///
- /// This fully replaces all the updatable properties of the pool. For
- /// example, if the pool has a start task associated with it and if
- /// start task is not specified with this request, then the Batch
- /// service will remove the existing start task.
+ /// This fully replaces all the updatable properties of the Pool. For
+ /// example, if the Pool has a StartTask associated with it and if
+ /// StartTask is not specified with this request, then the Batch
+ /// service will remove the existing StartTask.
///
///
- /// The ID of the pool to update.
+ /// The ID of the Pool to update.
///
///
/// The parameters for the request.
@@ -447,15 +449,15 @@ public partial interface IPoolOperations
///
Task> UpdatePropertiesWithHttpMessagesAsync(string poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions = default(PoolUpdatePropertiesOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Removes compute nodes from the specified pool.
+ /// Removes Compute Nodes from the specified Pool.
///
///
- /// This operation can only run when the allocation state of the pool
+ /// This operation can only run when the allocation state of the Pool
/// is steady. When this operation runs, the allocation state changes
/// from steady to resizing.
///
///
- /// The ID of the pool from which you want to remove nodes.
+ /// The ID of the Pool from which you want to remove Compute Nodes.
///
///
/// The parameters for the request.
@@ -477,12 +479,12 @@ public partial interface IPoolOperations
///
Task> RemoveNodesWithHttpMessagesAsync(string poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions = default(PoolRemoveNodesOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists the usage metrics, aggregated by pool across individual time
- /// intervals, for the specified account.
+ /// Lists the usage metrics, aggregated by Pool across individual time
+ /// intervals, for the specified Account.
///
///
/// If you do not specify a $filter clause including a poolId, the
- /// response includes all pools that existed in the account in the time
+ /// response includes all Pools that existed in the Account in the time
/// range of the returned aggregation intervals. If you do not specify
/// a $filter clause including a startTime or endTime these filters
/// default to the start and end times of the last aggregation interval
@@ -512,7 +514,7 @@ public partial interface IPoolOperations
///
Task,PoolListUsageMetricsHeaders>> ListUsageMetricsNextWithHttpMessagesAsync(string nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions = default(PoolListUsageMetricsNextOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the pools in the specified account.
+ /// Lists all of the Pools in the specified Account.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ITaskOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ITaskOperations.cs
index dc1f86870440..92f07fbfc648 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ITaskOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/ITaskOperations.cs
@@ -24,19 +24,19 @@ namespace Microsoft.Azure.Batch.Protocol
public partial interface ITaskOperations
{
///
- /// Adds a task to the specified job.
+ /// Adds a Task to the specified Job.
///
///
- /// The maximum lifetime of a task from addition to completion is 180
- /// days. If a task has not completed within 180 days of being added it
+ /// The maximum lifetime of a Task from addition to completion is 180
+ /// days. If a Task has not completed within 180 days of being added it
/// will be terminated by the Batch service and left in whatever state
/// it was in at that time.
///
///
- /// The ID of the job to which the task is to be added.
+ /// The ID of the Job to which the Task is to be added.
///
///
- /// The task to be added.
+ /// The Task to be added.
///
///
/// Additional parameters for the operation
@@ -55,15 +55,15 @@ public partial interface ITaskOperations
///
Task> AddWithHttpMessagesAsync(string jobId, TaskAddParameter task, TaskAddOptions taskAddOptions = default(TaskAddOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the tasks that are associated with the specified job.
+ /// Lists all of the Tasks that are associated with the specified Job.
///
///
- /// For multi-instance tasks, information such as affinityId,
- /// executionInfo and nodeInfo refer to the primary task. Use the list
+ /// For multi-instance Tasks, information such as affinityId,
+ /// executionInfo and nodeInfo refer to the primary Task. Use the list
/// subtasks API to retrieve information about subtasks.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -85,37 +85,37 @@ public partial interface ITaskOperations
///
Task,TaskListHeaders>> ListWithHttpMessagesAsync(string jobId, TaskListOptions taskListOptions = default(TaskListOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Adds a collection of tasks to the specified job.
+ /// Adds a collection of Tasks to the specified Job.
///
///
- /// Note that each task must have a unique ID. The Batch service may
- /// not return the results for each task in the same order the tasks
+ /// Note that each Task must have a unique ID. The Batch service may
+ /// not return the results for each Task in the same order the Tasks
/// were submitted in this request. If the server times out or the
/// connection is closed during the request, the request may have been
/// partially or fully processed, or not at all. In such cases, the
/// user should re-issue the request. Note that it is up to the user to
/// correctly handle failures when re-issuing a request. For example,
- /// you should use the same task IDs during a retry so that if the
- /// prior operation succeeded, the retry will not create extra tasks
- /// unexpectedly. If the response contains any tasks which failed to
+ /// you should use the same Task IDs during a retry so that if the
+ /// prior operation succeeded, the retry will not create extra Tasks
+ /// unexpectedly. If the response contains any Tasks which failed to
/// add, a client can retry the request. In a retry, it is most
- /// efficient to resubmit only tasks that failed to add, and to omit
- /// tasks that were successfully added on the first attempt. The
- /// maximum lifetime of a task from addition to completion is 180 days.
- /// If a task has not completed within 180 days of being added it will
+ /// efficient to resubmit only Tasks that failed to add, and to omit
+ /// Tasks that were successfully added on the first attempt. The
+ /// maximum lifetime of a Task from addition to completion is 180 days.
+ /// If a Task has not completed within 180 days of being added it will
/// be terminated by the Batch service and left in whatever state it
/// was in at that time.
///
///
- /// The ID of the job to which the task collection is to be added.
+ /// The ID of the Job to which the Task collection is to be added.
///
///
- /// The collection of tasks to add. The maximum count of tasks is 100.
+ /// The collection of Tasks to add. The maximum count of Tasks is 100.
/// The total serialized size of this collection must be less than 1MB.
- /// If it is greater than 1MB (for example if each task has 100's of
+ /// If it is greater than 1MB (for example if each Task has 100's of
/// resource files or environment variables), the request will fail
/// with code 'RequestBodyTooLarge' and should be retried again with
- /// fewer tasks.
+ /// fewer Tasks.
///
///
/// Additional parameters for the operation
@@ -137,20 +137,20 @@ public partial interface ITaskOperations
///
Task> AddCollectionWithHttpMessagesAsync(string jobId, IList value, TaskAddCollectionOptions taskAddCollectionOptions = default(TaskAddCollectionOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Deletes a task from the specified job.
+ /// Deletes a Task from the specified Job.
///
///
- /// When a task is deleted, all of the files in its directory on the
- /// compute node where it ran are also deleted (regardless of the
- /// retention time). For multi-instance tasks, the delete task
+ /// When a Task is deleted, all of the files in its directory on the
+ /// Compute Node where it ran are also deleted (regardless of the
+ /// retention time). For multi-instance Tasks, the delete Task
/// operation applies synchronously to the primary task; subtasks and
/// their files are then deleted asynchronously in the background.
///
///
- /// The ID of the job from which to delete the task.
+ /// The ID of the Job from which to delete the Task.
///
///
- /// The ID of the task to delete.
+ /// The ID of the Task to delete.
///
///
/// Additional parameters for the operation
@@ -169,18 +169,18 @@ public partial interface ITaskOperations
///
Task> DeleteWithHttpMessagesAsync(string jobId, string taskId, TaskDeleteOptions taskDeleteOptions = default(TaskDeleteOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets information about the specified task.
+ /// Gets information about the specified Task.
///
///
- /// For multi-instance tasks, information such as affinityId,
- /// executionInfo and nodeInfo refer to the primary task. Use the list
+ /// For multi-instance Tasks, information such as affinityId,
+ /// executionInfo and nodeInfo refer to the primary Task. Use the list
/// subtasks API to retrieve information about subtasks.
///
///
- /// The ID of the job that contains the task.
+ /// The ID of the Job that contains the Task.
///
///
- /// The ID of the task to get information about.
+ /// The ID of the Task to get information about.
///
///
/// Additional parameters for the operation
@@ -202,18 +202,18 @@ public partial interface ITaskOperations
///
Task> GetWithHttpMessagesAsync(string jobId, string taskId, TaskGetOptions taskGetOptions = default(TaskGetOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the properties of the specified task.
+ /// Updates the properties of the specified Task.
///
///
- /// The ID of the job containing the task.
+ /// The ID of the Job containing the Task.
///
///
- /// The ID of the task to update.
+ /// The ID of the Task to update.
///
///
- /// Constraints that apply to this task. If omitted, the task is given
- /// the default constraints. For multi-instance tasks, updating the
- /// retention time applies only to the primary task and not subtasks.
+ /// Constraints that apply to this Task. If omitted, the Task is given
+ /// the default constraints. For multi-instance Tasks, updating the
+ /// retention time applies only to the primary Task and not subtasks.
///
///
/// Additional parameters for the operation
@@ -233,17 +233,17 @@ public partial interface ITaskOperations
Task> UpdateWithHttpMessagesAsync(string jobId, string taskId, TaskConstraints constraints = default(TaskConstraints), TaskUpdateOptions taskUpdateOptions = default(TaskUpdateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists all of the subtasks that are associated with the specified
- /// multi-instance task.
+ /// multi-instance Task.
///
///
- /// If the task is not a multi-instance task then this returns an empty
+ /// If the Task is not a multi-instance Task then this returns an empty
/// collection.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
- /// The ID of the task.
+ /// The ID of the Task.
///
///
/// Additional parameters for the operation
@@ -265,19 +265,19 @@ public partial interface ITaskOperations
///
Task> ListSubtasksWithHttpMessagesAsync(string jobId, string taskId, TaskListSubtasksOptions taskListSubtasksOptions = default(TaskListSubtasksOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Terminates the specified task.
+ /// Terminates the specified Task.
///
///
- /// When the task has been terminated, it moves to the completed state.
- /// For multi-instance tasks, the terminate task operation applies
+ /// When the Task has been terminated, it moves to the completed state.
+ /// For multi-instance Tasks, the terminate Task operation applies
/// synchronously to the primary task; subtasks are then terminated
/// asynchronously in the background.
///
///
- /// The ID of the job containing the task.
+ /// The ID of the Job containing the Task.
///
///
- /// The ID of the task to terminate.
+ /// The ID of the Task to terminate.
///
///
/// Additional parameters for the operation
@@ -296,25 +296,25 @@ public partial interface ITaskOperations
///
Task> TerminateWithHttpMessagesAsync(string jobId, string taskId, TaskTerminateOptions taskTerminateOptions = default(TaskTerminateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Reactivates a task, allowing it to run again even if its retry
+ /// Reactivates a Task, allowing it to run again even if its retry
/// count has been exhausted.
///
///
- /// Reactivation makes a task eligible to be retried again up to its
- /// maximum retry count. The task's state is changed to active. As the
- /// task is no longer in the completed state, any previous exit code or
+ /// Reactivation makes a Task eligible to be retried again up to its
+ /// maximum retry count. The Task's state is changed to active. As the
+ /// Task is no longer in the completed state, any previous exit code or
/// failure information is no longer available after reactivation. Each
- /// time a task is reactivated, its retry count is reset to 0.
- /// Reactivation will fail for tasks that are not completed or that
+ /// time a Task is reactivated, its retry count is reset to 0.
+ /// Reactivation will fail for Tasks that are not completed or that
/// previously completed successfully (with an exit code of 0).
- /// Additionally, it will fail if the job has completed (or is
+ /// Additionally, it will fail if the Job has completed (or is
/// terminating or deleting).
///
///
- /// The ID of the job containing the task.
+ /// The ID of the Job containing the Task.
///
///
- /// The ID of the task to reactivate.
+ /// The ID of the Task to reactivate.
///
///
/// Additional parameters for the operation
@@ -333,11 +333,11 @@ public partial interface ITaskOperations
///
Task> ReactivateWithHttpMessagesAsync(string jobId, string taskId, TaskReactivateOptions taskReactivateOptions = default(TaskReactivateOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Lists all of the tasks that are associated with the specified job.
+ /// Lists all of the Tasks that are associated with the specified Job.
///
///
- /// For multi-instance tasks, information such as affinityId,
- /// executionInfo and nodeInfo refer to the primary task. Use the list
+ /// For multi-instance Tasks, information such as affinityId,
+ /// executionInfo and nodeInfo refer to the primary Task. Use the list
/// subtasks API to retrieve information about subtasks.
///
///
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperations.cs
index bed743285dea..3d34b6d4769e 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperations.cs
@@ -52,12 +52,12 @@ internal JobOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Gets lifetime summary statistics for all of the jobs in the specified
- /// account.
+ /// Gets lifetime summary statistics for all of the Jobs in the specified
+ /// Account.
///
///
- /// Statistics are aggregated across all jobs that have ever existed in the
- /// account, from account creation to the last update time of the statistics.
+ /// Statistics are aggregated across all Jobs that have ever existed in the
+ /// Account, from Account creation to the last update time of the statistics.
/// The statistics may not be immediately available. The Batch service performs
/// periodic roll-up of statistics. The typical delay is about 30 minutes.
///
@@ -300,20 +300,20 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Deletes a job.
+ /// Deletes a Job.
///
///
- /// Deleting a job also deletes all tasks that are part of that job, and all
- /// job statistics. This also overrides the retention period for task data;
- /// that is, if the job contains tasks which are still retained on compute
- /// nodes, the Batch services deletes those tasks' working directories and all
+ /// Deleting a Job also deletes all Tasks that are part of that Job, and all
+ /// Job statistics. This also overrides the retention period for Task data;
+ /// that is, if the Job contains Tasks which are still retained on Compute
+ /// Nodes, the Batch services deletes those Tasks' working directories and all
/// their contents. When a Delete Job request is received, the Batch service
- /// sets the job to the deleting state. All update operations on a job that is
+ /// sets the Job to the deleting state. All update operations on a Job that is
/// in deleting state will fail with status code 409 (Conflict), with
- /// additional information indicating that the job is being deleted.
+ /// additional information indicating that the Job is being deleted.
///
///
- /// The ID of the job to delete.
+ /// The ID of the Job to delete.
///
///
/// Additional parameters for the operation
@@ -595,10 +595,10 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Gets information about the specified job.
+ /// Gets information about the specified Job.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -921,15 +921,15 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This replaces only the job properties specified in the request. For
- /// example, if the job has constraints, and a request does not specify the
- /// constraints element, then the job keeps the existing constraints.
+ /// This replaces only the Job properties specified in the request. For
+ /// example, if the Job has constraints, and a request does not specify the
+ /// constraints element, then the Job keeps the existing constraints.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -1225,16 +1225,16 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This fully replaces all the updatable properties of the job. For example,
- /// if the job has constraints associated with it and if constraints is not
+ /// This fully replaces all the updatable properties of the Job. For example,
+ /// if the Job has constraints associated with it and if constraints is not
/// specified with this request, then the Batch service will remove the
/// existing constraints.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -1530,23 +1530,23 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Disables the specified job, preventing new tasks from running.
+ /// Disables the specified Job, preventing new Tasks from running.
///
///
- /// The Batch Service immediately moves the job to the disabling state. Batch
+ /// The Batch Service immediately moves the Job to the disabling state. Batch
/// then uses the disableTasks parameter to determine what to do with the
- /// currently running tasks of the job. The job remains in the disabling state
- /// until the disable operation is completed and all tasks have been dealt with
- /// according to the disableTasks option; the job then moves to the disabled
- /// state. No new tasks are started under the job until it moves back to active
- /// state. If you try to disable a job that is in any state other than active,
+ /// currently running Tasks of the Job. The Job remains in the disabling state
+ /// until the disable operation is completed and all Tasks have been dealt with
+ /// according to the disableTasks option; the Job then moves to the disabled
+ /// state. No new Tasks are started under the Job until it moves back to active
+ /// state. If you try to disable a Job that is in any state other than active,
/// disabling, or disabled, the request fails with status code 409.
///
///
- /// The ID of the job to disable.
+ /// The ID of the Job to disable.
///
///
- /// What to do with active tasks associated with the job. Possible values
+ /// What to do with active Tasks associated with the Job. Possible values
/// include: 'requeue', 'terminate', 'wait'
///
///
@@ -1838,18 +1838,18 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Enables the specified job, allowing new tasks to run.
+ /// Enables the specified Job, allowing new Tasks to run.
///
///
- /// When you call this API, the Batch service sets a disabled job to the
- /// enabling state. After the this operation is completed, the job moves to the
- /// active state, and scheduling of new tasks under the job resumes. The Batch
- /// service does not allow a task to remain in the active state for more than
- /// 180 days. Therefore, if you enable a job containing active tasks which were
- /// added more than 180 days ago, those tasks will not run.
+ /// When you call this API, the Batch service sets a disabled Job to the
+ /// enabling state. After the this operation is completed, the Job moves to the
+ /// active state, and scheduling of new Tasks under the Job resumes. The Batch
+ /// service does not allow a Task to remain in the active state for more than
+ /// 180 days. Therefore, if you enable a Job containing active Tasks which were
+ /// added more than 180 days ago, those Tasks will not run.
///
///
- /// The ID of the job to enable.
+ /// The ID of the Job to enable.
///
///
/// Additional parameters for the operation
@@ -2131,22 +2131,22 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Terminates the specified job, marking it as completed.
+ /// Terminates the specified Job, marking it as completed.
///
///
- /// When a Terminate Job request is received, the Batch service sets the job to
- /// the terminating state. The Batch service then terminates any running tasks
- /// associated with the job and runs any required job release tasks. Then the
- /// job moves into the completed state. If there are any tasks in the job in
- /// the active state, they will remain in the active state. Once a job is
- /// terminated, new tasks cannot be added and any remaining active tasks will
+ /// When a Terminate Job request is received, the Batch service sets the Job to
+ /// the terminating state. The Batch service then terminates any running Tasks
+ /// associated with the Job and runs any required Job release Tasks. Then the
+ /// Job moves into the completed state. If there are any Tasks in the Job in
+ /// the active state, they will remain in the active state. Once a Job is
+ /// terminated, new Tasks cannot be added and any remaining active Tasks will
/// not be scheduled.
///
///
- /// The ID of the job to terminate.
+ /// The ID of the Job to terminate.
///
///
- /// The text you want to appear as the job's TerminateReason. The default is
+ /// The text you want to appear as the Job's TerminateReason. The default is
/// 'UserTerminate'.
///
///
@@ -2442,21 +2442,21 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Adds a job to the specified account.
+ /// Adds a Job to the specified Account.
///
///
/// The Batch service supports two ways to control the work done as part of a
- /// job. In the first approach, the user specifies a Job Manager task. The
- /// Batch service launches this task when it is ready to start the job. The Job
- /// Manager task controls all other tasks that run under this job, by using the
+ /// Job. In the first approach, the user specifies a Job Manager Task. The
+ /// Batch service launches this Task when it is ready to start the Job. The Job
+ /// Manager Task controls all other Tasks that run under this Job, by using the
/// Task APIs. In the second approach, the user directly controls the execution
- /// of tasks under an active job, by using the Task APIs. Also note: when
- /// naming jobs, avoid including sensitive information such as user names or
+ /// of Tasks under an active Job, by using the Task APIs. Also note: when
+ /// naming Jobs, avoid including sensitive information such as user names or
/// secret project names. This information may appear in telemetry logs
/// accessible to Microsoft Support engineers.
///
///
- /// The job to be added.
+ /// The Job to be added.
///
///
/// Additional parameters for the operation
@@ -2687,7 +2687,7 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// Additional parameters for the operation
@@ -2968,10 +2968,10 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
- /// The ID of the job schedule from which you want to get a list of jobs.
+ /// The ID of the Job Schedule from which you want to get a list of Jobs.
///
///
/// Additional parameters for the operation
@@ -3258,19 +3258,19 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -3547,15 +3547,15 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Gets the task counts for the specified job.
+ /// Gets the Task counts for the specified Job.
///
///
- /// Task counts provide a count of the tasks by active, running or completed
- /// task state, and a count of tasks which succeeded or failed. Tasks in the
+ /// Task counts provide a count of the Tasks by active, running or completed
+ /// Task state, and a count of Tasks which succeeded or failed. Tasks in the
/// preparing state are counted as running.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -3802,7 +3802,7 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -4028,7 +4028,7 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
/// The NextLink from the previous successful call to List operation.
@@ -4254,16 +4254,16 @@ internal JobOperations(BatchServiceClient client)
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperationsExtensions.cs
index c0ac8f13e40f..b83a2dde0111 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobOperationsExtensions.cs
@@ -22,12 +22,12 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class JobOperationsExtensions
{
///
- /// Gets lifetime summary statistics for all of the jobs in the specified
- /// account.
+ /// Gets lifetime summary statistics for all of the Jobs in the specified
+ /// Account.
///
///
- /// Statistics are aggregated across all jobs that have ever existed in the
- /// account, from account creation to the last update time of the statistics.
+ /// Statistics are aggregated across all Jobs that have ever existed in the
+ /// Account, from Account creation to the last update time of the statistics.
/// The statistics may not be immediately available. The Batch service performs
/// periodic roll-up of statistics. The typical delay is about 30 minutes.
///
@@ -43,12 +43,12 @@ public static partial class JobOperationsExtensions
}
///
- /// Gets lifetime summary statistics for all of the jobs in the specified
- /// account.
+ /// Gets lifetime summary statistics for all of the Jobs in the specified
+ /// Account.
///
///
- /// Statistics are aggregated across all jobs that have ever existed in the
- /// account, from account creation to the last update time of the statistics.
+ /// Statistics are aggregated across all Jobs that have ever existed in the
+ /// Account, from Account creation to the last update time of the statistics.
/// The statistics may not be immediately available. The Batch service performs
/// periodic roll-up of statistics. The typical delay is about 30 minutes.
///
@@ -70,23 +70,23 @@ public static partial class JobOperationsExtensions
}
///
- /// Deletes a job.
+ /// Deletes a Job.
///
///
- /// Deleting a job also deletes all tasks that are part of that job, and all
- /// job statistics. This also overrides the retention period for task data;
- /// that is, if the job contains tasks which are still retained on compute
- /// nodes, the Batch services deletes those tasks' working directories and all
+ /// Deleting a Job also deletes all Tasks that are part of that Job, and all
+ /// Job statistics. This also overrides the retention period for Task data;
+ /// that is, if the Job contains Tasks which are still retained on Compute
+ /// Nodes, the Batch services deletes those Tasks' working directories and all
/// their contents. When a Delete Job request is received, the Batch service
- /// sets the job to the deleting state. All update operations on a job that is
+ /// sets the Job to the deleting state. All update operations on a Job that is
/// in deleting state will fail with status code 409 (Conflict), with
- /// additional information indicating that the job is being deleted.
+ /// additional information indicating that the Job is being deleted.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to delete.
+ /// The ID of the Job to delete.
///
///
/// Additional parameters for the operation
@@ -97,23 +97,23 @@ public static partial class JobOperationsExtensions
}
///
- /// Deletes a job.
+ /// Deletes a Job.
///
///
- /// Deleting a job also deletes all tasks that are part of that job, and all
- /// job statistics. This also overrides the retention period for task data;
- /// that is, if the job contains tasks which are still retained on compute
- /// nodes, the Batch services deletes those tasks' working directories and all
+ /// Deleting a Job also deletes all Tasks that are part of that Job, and all
+ /// Job statistics. This also overrides the retention period for Task data;
+ /// that is, if the Job contains Tasks which are still retained on Compute
+ /// Nodes, the Batch services deletes those Tasks' working directories and all
/// their contents. When a Delete Job request is received, the Batch service
- /// sets the job to the deleting state. All update operations on a job that is
+ /// sets the Job to the deleting state. All update operations on a Job that is
/// in deleting state will fail with status code 409 (Conflict), with
- /// additional information indicating that the job is being deleted.
+ /// additional information indicating that the Job is being deleted.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to delete.
+ /// The ID of the Job to delete.
///
///
/// Additional parameters for the operation
@@ -130,13 +130,13 @@ public static partial class JobOperationsExtensions
}
///
- /// Gets information about the specified job.
+ /// Gets information about the specified Job.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -147,13 +147,13 @@ public static partial class JobOperationsExtensions
}
///
- /// Gets information about the specified job.
+ /// Gets information about the specified Job.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -170,18 +170,18 @@ public static partial class JobOperationsExtensions
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This replaces only the job properties specified in the request. For
- /// example, if the job has constraints, and a request does not specify the
- /// constraints element, then the job keeps the existing constraints.
+ /// This replaces only the Job properties specified in the request. For
+ /// example, if the Job has constraints, and a request does not specify the
+ /// constraints element, then the Job keeps the existing constraints.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -195,18 +195,18 @@ public static partial class JobOperationsExtensions
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This replaces only the job properties specified in the request. For
- /// example, if the job has constraints, and a request does not specify the
- /// constraints element, then the job keeps the existing constraints.
+ /// This replaces only the Job properties specified in the request. For
+ /// example, if the Job has constraints, and a request does not specify the
+ /// constraints element, then the Job keeps the existing constraints.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -226,11 +226,11 @@ public static partial class JobOperationsExtensions
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This fully replaces all the updatable properties of the job. For example,
- /// if the job has constraints associated with it and if constraints is not
+ /// This fully replaces all the updatable properties of the Job. For example,
+ /// if the Job has constraints associated with it and if constraints is not
/// specified with this request, then the Batch service will remove the
/// existing constraints.
///
@@ -238,7 +238,7 @@ public static partial class JobOperationsExtensions
/// The operations group for this extension method.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -252,11 +252,11 @@ public static partial class JobOperationsExtensions
}
///
- /// Updates the properties of the specified job.
+ /// Updates the properties of the specified Job.
///
///
- /// This fully replaces all the updatable properties of the job. For example,
- /// if the job has constraints associated with it and if constraints is not
+ /// This fully replaces all the updatable properties of the Job. For example,
+ /// if the Job has constraints associated with it and if constraints is not
/// specified with this request, then the Batch service will remove the
/// existing constraints.
///
@@ -264,7 +264,7 @@ public static partial class JobOperationsExtensions
/// The operations group for this extension method.
///
///
- /// The ID of the job whose properties you want to update.
+ /// The ID of the Job whose properties you want to update.
///
///
/// The parameters for the request.
@@ -284,26 +284,26 @@ public static partial class JobOperationsExtensions
}
///
- /// Disables the specified job, preventing new tasks from running.
+ /// Disables the specified Job, preventing new Tasks from running.
///
///
- /// The Batch Service immediately moves the job to the disabling state. Batch
+ /// The Batch Service immediately moves the Job to the disabling state. Batch
/// then uses the disableTasks parameter to determine what to do with the
- /// currently running tasks of the job. The job remains in the disabling state
- /// until the disable operation is completed and all tasks have been dealt with
- /// according to the disableTasks option; the job then moves to the disabled
- /// state. No new tasks are started under the job until it moves back to active
- /// state. If you try to disable a job that is in any state other than active,
+ /// currently running Tasks of the Job. The Job remains in the disabling state
+ /// until the disable operation is completed and all Tasks have been dealt with
+ /// according to the disableTasks option; the Job then moves to the disabled
+ /// state. No new Tasks are started under the Job until it moves back to active
+ /// state. If you try to disable a Job that is in any state other than active,
/// disabling, or disabled, the request fails with status code 409.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to disable.
+ /// The ID of the Job to disable.
///
///
- /// What to do with active tasks associated with the job. Possible values
+ /// What to do with active Tasks associated with the Job. Possible values
/// include: 'requeue', 'terminate', 'wait'
///
///
@@ -315,26 +315,26 @@ public static partial class JobOperationsExtensions
}
///
- /// Disables the specified job, preventing new tasks from running.
+ /// Disables the specified Job, preventing new Tasks from running.
///
///
- /// The Batch Service immediately moves the job to the disabling state. Batch
+ /// The Batch Service immediately moves the Job to the disabling state. Batch
/// then uses the disableTasks parameter to determine what to do with the
- /// currently running tasks of the job. The job remains in the disabling state
- /// until the disable operation is completed and all tasks have been dealt with
- /// according to the disableTasks option; the job then moves to the disabled
- /// state. No new tasks are started under the job until it moves back to active
- /// state. If you try to disable a job that is in any state other than active,
+ /// currently running Tasks of the Job. The Job remains in the disabling state
+ /// until the disable operation is completed and all Tasks have been dealt with
+ /// according to the disableTasks option; the Job then moves to the disabled
+ /// state. No new Tasks are started under the Job until it moves back to active
+ /// state. If you try to disable a Job that is in any state other than active,
/// disabling, or disabled, the request fails with status code 409.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to disable.
+ /// The ID of the Job to disable.
///
///
- /// What to do with active tasks associated with the job. Possible values
+ /// What to do with active Tasks associated with the Job. Possible values
/// include: 'requeue', 'terminate', 'wait'
///
///
@@ -352,21 +352,21 @@ public static partial class JobOperationsExtensions
}
///
- /// Enables the specified job, allowing new tasks to run.
+ /// Enables the specified Job, allowing new Tasks to run.
///
///
- /// When you call this API, the Batch service sets a disabled job to the
- /// enabling state. After the this operation is completed, the job moves to the
- /// active state, and scheduling of new tasks under the job resumes. The Batch
- /// service does not allow a task to remain in the active state for more than
- /// 180 days. Therefore, if you enable a job containing active tasks which were
- /// added more than 180 days ago, those tasks will not run.
+ /// When you call this API, the Batch service sets a disabled Job to the
+ /// enabling state. After the this operation is completed, the Job moves to the
+ /// active state, and scheduling of new Tasks under the Job resumes. The Batch
+ /// service does not allow a Task to remain in the active state for more than
+ /// 180 days. Therefore, if you enable a Job containing active Tasks which were
+ /// added more than 180 days ago, those Tasks will not run.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to enable.
+ /// The ID of the Job to enable.
///
///
/// Additional parameters for the operation
@@ -377,21 +377,21 @@ public static partial class JobOperationsExtensions
}
///
- /// Enables the specified job, allowing new tasks to run.
+ /// Enables the specified Job, allowing new Tasks to run.
///
///
- /// When you call this API, the Batch service sets a disabled job to the
- /// enabling state. After the this operation is completed, the job moves to the
- /// active state, and scheduling of new tasks under the job resumes. The Batch
- /// service does not allow a task to remain in the active state for more than
- /// 180 days. Therefore, if you enable a job containing active tasks which were
- /// added more than 180 days ago, those tasks will not run.
+ /// When you call this API, the Batch service sets a disabled Job to the
+ /// enabling state. After the this operation is completed, the Job moves to the
+ /// active state, and scheduling of new Tasks under the Job resumes. The Batch
+ /// service does not allow a Task to remain in the active state for more than
+ /// 180 days. Therefore, if you enable a Job containing active Tasks which were
+ /// added more than 180 days ago, those Tasks will not run.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to enable.
+ /// The ID of the Job to enable.
///
///
/// Additional parameters for the operation
@@ -408,25 +408,25 @@ public static partial class JobOperationsExtensions
}
///
- /// Terminates the specified job, marking it as completed.
+ /// Terminates the specified Job, marking it as completed.
///
///
- /// When a Terminate Job request is received, the Batch service sets the job to
- /// the terminating state. The Batch service then terminates any running tasks
- /// associated with the job and runs any required job release tasks. Then the
- /// job moves into the completed state. If there are any tasks in the job in
- /// the active state, they will remain in the active state. Once a job is
- /// terminated, new tasks cannot be added and any remaining active tasks will
+ /// When a Terminate Job request is received, the Batch service sets the Job to
+ /// the terminating state. The Batch service then terminates any running Tasks
+ /// associated with the Job and runs any required Job release Tasks. Then the
+ /// Job moves into the completed state. If there are any Tasks in the Job in
+ /// the active state, they will remain in the active state. Once a Job is
+ /// terminated, new Tasks cannot be added and any remaining active Tasks will
/// not be scheduled.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to terminate.
+ /// The ID of the Job to terminate.
///
///
- /// The text you want to appear as the job's TerminateReason. The default is
+ /// The text you want to appear as the Job's TerminateReason. The default is
/// 'UserTerminate'.
///
///
@@ -438,25 +438,25 @@ public static partial class JobOperationsExtensions
}
///
- /// Terminates the specified job, marking it as completed.
+ /// Terminates the specified Job, marking it as completed.
///
///
- /// When a Terminate Job request is received, the Batch service sets the job to
- /// the terminating state. The Batch service then terminates any running tasks
- /// associated with the job and runs any required job release tasks. Then the
- /// job moves into the completed state. If there are any tasks in the job in
- /// the active state, they will remain in the active state. Once a job is
- /// terminated, new tasks cannot be added and any remaining active tasks will
+ /// When a Terminate Job request is received, the Batch service sets the Job to
+ /// the terminating state. The Batch service then terminates any running Tasks
+ /// associated with the Job and runs any required Job release Tasks. Then the
+ /// Job moves into the completed state. If there are any Tasks in the Job in
+ /// the active state, they will remain in the active state. Once a Job is
+ /// terminated, new Tasks cannot be added and any remaining active Tasks will
/// not be scheduled.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job to terminate.
+ /// The ID of the Job to terminate.
///
///
- /// The text you want to appear as the job's TerminateReason. The default is
+ /// The text you want to appear as the Job's TerminateReason. The default is
/// 'UserTerminate'.
///
///
@@ -474,16 +474,16 @@ public static partial class JobOperationsExtensions
}
///
- /// Adds a job to the specified account.
+ /// Adds a Job to the specified Account.
///
///
/// The Batch service supports two ways to control the work done as part of a
- /// job. In the first approach, the user specifies a Job Manager task. The
- /// Batch service launches this task when it is ready to start the job. The Job
- /// Manager task controls all other tasks that run under this job, by using the
+ /// Job. In the first approach, the user specifies a Job Manager Task. The
+ /// Batch service launches this Task when it is ready to start the Job. The Job
+ /// Manager Task controls all other Tasks that run under this Job, by using the
/// Task APIs. In the second approach, the user directly controls the execution
- /// of tasks under an active job, by using the Task APIs. Also note: when
- /// naming jobs, avoid including sensitive information such as user names or
+ /// of Tasks under an active Job, by using the Task APIs. Also note: when
+ /// naming Jobs, avoid including sensitive information such as user names or
/// secret project names. This information may appear in telemetry logs
/// accessible to Microsoft Support engineers.
///
@@ -491,7 +491,7 @@ public static partial class JobOperationsExtensions
/// The operations group for this extension method.
///
///
- /// The job to be added.
+ /// The Job to be added.
///
///
/// Additional parameters for the operation
@@ -502,16 +502,16 @@ public static partial class JobOperationsExtensions
}
///
- /// Adds a job to the specified account.
+ /// Adds a Job to the specified Account.
///
///
/// The Batch service supports two ways to control the work done as part of a
- /// job. In the first approach, the user specifies a Job Manager task. The
- /// Batch service launches this task when it is ready to start the job. The Job
- /// Manager task controls all other tasks that run under this job, by using the
+ /// Job. In the first approach, the user specifies a Job Manager Task. The
+ /// Batch service launches this Task when it is ready to start the Job. The Job
+ /// Manager Task controls all other Tasks that run under this Job, by using the
/// Task APIs. In the second approach, the user directly controls the execution
- /// of tasks under an active job, by using the Task APIs. Also note: when
- /// naming jobs, avoid including sensitive information such as user names or
+ /// of Tasks under an active Job, by using the Task APIs. Also note: when
+ /// naming Jobs, avoid including sensitive information such as user names or
/// secret project names. This information may appear in telemetry logs
/// accessible to Microsoft Support engineers.
///
@@ -519,7 +519,7 @@ public static partial class JobOperationsExtensions
/// The operations group for this extension method.
///
///
- /// The job to be added.
+ /// The Job to be added.
///
///
/// Additional parameters for the operation
@@ -536,7 +536,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The operations group for this extension method.
@@ -550,7 +550,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The operations group for this extension method.
@@ -570,13 +570,13 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule from which you want to get a list of jobs.
+ /// The ID of the Job Schedule from which you want to get a list of Jobs.
///
///
/// Additional parameters for the operation
@@ -587,13 +587,13 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule from which you want to get a list of jobs.
+ /// The ID of the Job Schedule from which you want to get a list of Jobs.
///
///
/// Additional parameters for the operation
@@ -610,22 +610,22 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -636,22 +636,22 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -668,18 +668,18 @@ public static partial class JobOperationsExtensions
}
///
- /// Gets the task counts for the specified job.
+ /// Gets the Task counts for the specified Job.
///
///
- /// Task counts provide a count of the tasks by active, running or completed
- /// task state, and a count of tasks which succeeded or failed. Tasks in the
+ /// Task counts provide a count of the Tasks by active, running or completed
+ /// Task state, and a count of Tasks which succeeded or failed. Tasks in the
/// preparing state are counted as running.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -690,18 +690,18 @@ public static partial class JobOperationsExtensions
}
///
- /// Gets the task counts for the specified job.
+ /// Gets the Task counts for the specified Job.
///
///
- /// Task counts provide a count of the tasks by active, running or completed
- /// task state, and a count of tasks which succeeded or failed. Tasks in the
+ /// Task counts provide a count of the Tasks by active, running or completed
+ /// Task state, and a count of Tasks which succeeded or failed. Tasks in the
/// preparing state are counted as running.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job.
+ /// The ID of the Job.
///
///
/// Additional parameters for the operation
@@ -718,7 +718,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The operations group for this extension method.
@@ -735,7 +735,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists all of the jobs in the specified account.
+ /// Lists all of the Jobs in the specified Account.
///
///
/// The operations group for this extension method.
@@ -758,7 +758,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
/// The operations group for this extension method.
@@ -775,7 +775,7 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the jobs that have been created under the specified job schedule.
+ /// Lists the Jobs that have been created under the specified Job Schedule.
///
///
/// The operations group for this extension method.
@@ -798,16 +798,16 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
/// The operations group for this extension method.
@@ -824,16 +824,16 @@ public static partial class JobOperationsExtensions
}
///
- /// Lists the execution status of the Job Preparation and Job Release task for
- /// the specified job across the compute nodes where the job has run.
+ /// Lists the execution status of the Job Preparation and Job Release Task for
+ /// the specified Job across the Compute Nodes where the Job has run.
///
///
- /// This API returns the Job Preparation and Job Release task status on all
- /// compute nodes that have run the Job Preparation or Job Release task. This
- /// includes nodes which have since been removed from the pool. If this API is
- /// invoked on a job which has no Job Preparation or Job Release task, the
- /// Batch service returns HTTP status code 409 (Conflict) with an error code of
- /// JobPreparationTaskNotSpecified.
+ /// This API returns the Job Preparation and Job Release Task status on all
+ /// Compute Nodes that have run the Job Preparation or Job Release Task. This
+ /// includes Compute Nodes which have since been removed from the Pool. If this
+ /// API is invoked on a Job which has no Job Preparation or Job Release Task,
+ /// the Batch service returns HTTP status code 409 (Conflict) with an error
+ /// code of JobPreparationTaskNotSpecified.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperations.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperations.cs
index 12543f3b3e92..2b9f7691de56 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperations.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperations.cs
@@ -52,10 +52,10 @@ internal JobScheduleOperations(BatchServiceClient client)
public BatchServiceClient Client { get; private set; }
///
- /// Checks the specified job schedule exists.
+ /// Checks the specified Job Schedule exists.
///
///
- /// The ID of the job schedule which you want to check.
+ /// The ID of the Job Schedule which you want to check.
///
///
/// Additional parameters for the operation
@@ -338,18 +338,18 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Deletes a job schedule from the specified account.
+ /// Deletes a Job Schedule from the specified Account.
///
///
- /// When you delete a job schedule, this also deletes all jobs and tasks under
- /// that schedule. When tasks are deleted, all the files in their working
- /// directories on the compute nodes are also deleted (the retention period is
- /// ignored). The job schedule statistics are no longer accessible once the job
- /// schedule is deleted, though they are still counted towards account lifetime
+ /// When you delete a Job Schedule, this also deletes all Jobs and Tasks under
+ /// that schedule. When Tasks are deleted, all the files in their working
+ /// directories on the Compute Nodes are also deleted (the retention period is
+ /// ignored). The Job Schedule statistics are no longer accessible once the Job
+ /// Schedule is deleted, though they are still counted towards Account lifetime
/// statistics.
///
///
- /// The ID of the job schedule to delete.
+ /// The ID of the Job Schedule to delete.
///
///
/// Additional parameters for the operation
@@ -631,10 +631,10 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Gets information about the specified job schedule.
+ /// Gets information about the specified Job Schedule.
///
///
- /// The ID of the job schedule to get.
+ /// The ID of the Job Schedule to get.
///
///
/// Additional parameters for the operation
@@ -957,17 +957,17 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This replaces only the job schedule properties specified in the request.
+ /// This replaces only the Job Schedule properties specified in the request.
/// For example, if the schedule property is not specified with this request,
- /// then the Batch service will keep the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// then the Batch service will keep the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -1263,17 +1263,17 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This fully replaces all the updatable properties of the job schedule. For
+ /// This fully replaces all the updatable properties of the Job Schedule. For
/// example, if the schedule property is not specified with this request, then
- /// the Batch service will remove the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// the Batch service will remove the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -1569,13 +1569,13 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Disables a job schedule.
+ /// Disables a Job Schedule.
///
///
- /// No new jobs will be created until the job schedule is enabled again.
+ /// No new Jobs will be created until the Job Schedule is enabled again.
///
///
- /// The ID of the job schedule to disable.
+ /// The ID of the Job Schedule to disable.
///
///
/// Additional parameters for the operation
@@ -1857,10 +1857,10 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Enables a job schedule.
+ /// Enables a Job Schedule.
///
///
- /// The ID of the job schedule to enable.
+ /// The ID of the Job Schedule to enable.
///
///
/// Additional parameters for the operation
@@ -2142,10 +2142,10 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Terminates a job schedule.
+ /// Terminates a Job Schedule.
///
///
- /// The ID of the job schedule to terminates.
+ /// The ID of the Job Schedule to terminates.
///
///
/// Additional parameters for the operation
@@ -2427,10 +2427,10 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Adds a job schedule to the specified account.
+ /// Adds a Job Schedule to the specified Account.
///
///
- /// The job schedule to be added.
+ /// The Job Schedule to be added.
///
///
/// Additional parameters for the operation
@@ -2661,7 +2661,7 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// Additional parameters for the operation
@@ -2942,7 +2942,7 @@ internal JobScheduleOperations(BatchServiceClient client)
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperationsExtensions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperationsExtensions.cs
index ee9d0904b513..276f573013cb 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperationsExtensions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/JobScheduleOperationsExtensions.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol
public static partial class JobScheduleOperationsExtensions
{
///
- /// Checks the specified job schedule exists.
+ /// Checks the specified Job Schedule exists.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule which you want to check.
+ /// The ID of the Job Schedule which you want to check.
///
///
/// Additional parameters for the operation
@@ -39,13 +39,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Checks the specified job schedule exists.
+ /// Checks the specified Job Schedule exists.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule which you want to check.
+ /// The ID of the Job Schedule which you want to check.
///
///
/// Additional parameters for the operation
@@ -62,21 +62,21 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Deletes a job schedule from the specified account.
+ /// Deletes a Job Schedule from the specified Account.
///
///
- /// When you delete a job schedule, this also deletes all jobs and tasks under
- /// that schedule. When tasks are deleted, all the files in their working
- /// directories on the compute nodes are also deleted (the retention period is
- /// ignored). The job schedule statistics are no longer accessible once the job
- /// schedule is deleted, though they are still counted towards account lifetime
+ /// When you delete a Job Schedule, this also deletes all Jobs and Tasks under
+ /// that schedule. When Tasks are deleted, all the files in their working
+ /// directories on the Compute Nodes are also deleted (the retention period is
+ /// ignored). The Job Schedule statistics are no longer accessible once the Job
+ /// Schedule is deleted, though they are still counted towards Account lifetime
/// statistics.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to delete.
+ /// The ID of the Job Schedule to delete.
///
///
/// Additional parameters for the operation
@@ -87,21 +87,21 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Deletes a job schedule from the specified account.
+ /// Deletes a Job Schedule from the specified Account.
///
///
- /// When you delete a job schedule, this also deletes all jobs and tasks under
- /// that schedule. When tasks are deleted, all the files in their working
- /// directories on the compute nodes are also deleted (the retention period is
- /// ignored). The job schedule statistics are no longer accessible once the job
- /// schedule is deleted, though they are still counted towards account lifetime
+ /// When you delete a Job Schedule, this also deletes all Jobs and Tasks under
+ /// that schedule. When Tasks are deleted, all the files in their working
+ /// directories on the Compute Nodes are also deleted (the retention period is
+ /// ignored). The Job Schedule statistics are no longer accessible once the Job
+ /// Schedule is deleted, though they are still counted towards Account lifetime
/// statistics.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to delete.
+ /// The ID of the Job Schedule to delete.
///
///
/// Additional parameters for the operation
@@ -118,13 +118,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Gets information about the specified job schedule.
+ /// Gets information about the specified Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to get.
+ /// The ID of the Job Schedule to get.
///
///
/// Additional parameters for the operation
@@ -135,13 +135,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Gets information about the specified job schedule.
+ /// Gets information about the specified Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to get.
+ /// The ID of the Job Schedule to get.
///
///
/// Additional parameters for the operation
@@ -158,20 +158,20 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This replaces only the job schedule properties specified in the request.
+ /// This replaces only the Job Schedule properties specified in the request.
/// For example, if the schedule property is not specified with this request,
- /// then the Batch service will keep the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// then the Batch service will keep the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -185,20 +185,20 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This replaces only the job schedule properties specified in the request.
+ /// This replaces only the Job Schedule properties specified in the request.
/// For example, if the schedule property is not specified with this request,
- /// then the Batch service will keep the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// then the Batch service will keep the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -218,20 +218,20 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This fully replaces all the updatable properties of the job schedule. For
+ /// This fully replaces all the updatable properties of the Job Schedule. For
/// example, if the schedule property is not specified with this request, then
- /// the Batch service will remove the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// the Batch service will remove the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -245,20 +245,20 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Updates the properties of the specified job schedule.
+ /// Updates the properties of the specified Job Schedule.
///
///
- /// This fully replaces all the updatable properties of the job schedule. For
+ /// This fully replaces all the updatable properties of the Job Schedule. For
/// example, if the schedule property is not specified with this request, then
- /// the Batch service will remove the existing schedule. Changes to a job
- /// schedule only impact jobs created by the schedule after the update has
- /// taken place; currently running jobs are unaffected.
+ /// the Batch service will remove the existing schedule. Changes to a Job
+ /// Schedule only impact Jobs created by the schedule after the update has
+ /// taken place; currently running Jobs are unaffected.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to update.
+ /// The ID of the Job Schedule to update.
///
///
/// The parameters for the request.
@@ -278,16 +278,16 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Disables a job schedule.
+ /// Disables a Job Schedule.
///
///
- /// No new jobs will be created until the job schedule is enabled again.
+ /// No new Jobs will be created until the Job Schedule is enabled again.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to disable.
+ /// The ID of the Job Schedule to disable.
///
///
/// Additional parameters for the operation
@@ -298,16 +298,16 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Disables a job schedule.
+ /// Disables a Job Schedule.
///
///
- /// No new jobs will be created until the job schedule is enabled again.
+ /// No new Jobs will be created until the Job Schedule is enabled again.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to disable.
+ /// The ID of the Job Schedule to disable.
///
///
/// Additional parameters for the operation
@@ -324,13 +324,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Enables a job schedule.
+ /// Enables a Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to enable.
+ /// The ID of the Job Schedule to enable.
///
///
/// Additional parameters for the operation
@@ -341,13 +341,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Enables a job schedule.
+ /// Enables a Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to enable.
+ /// The ID of the Job Schedule to enable.
///
///
/// Additional parameters for the operation
@@ -364,13 +364,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Terminates a job schedule.
+ /// Terminates a Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to terminates.
+ /// The ID of the Job Schedule to terminates.
///
///
/// Additional parameters for the operation
@@ -381,13 +381,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Terminates a job schedule.
+ /// Terminates a Job Schedule.
///
///
/// The operations group for this extension method.
///
///
- /// The ID of the job schedule to terminates.
+ /// The ID of the Job Schedule to terminates.
///
///
/// Additional parameters for the operation
@@ -404,13 +404,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Adds a job schedule to the specified account.
+ /// Adds a Job Schedule to the specified Account.
///
///
/// The operations group for this extension method.
///
///
- /// The job schedule to be added.
+ /// The Job Schedule to be added.
///
///
/// Additional parameters for the operation
@@ -421,13 +421,13 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Adds a job schedule to the specified account.
+ /// Adds a Job Schedule to the specified Account.
///
///
/// The operations group for this extension method.
///
///
- /// The job schedule to be added.
+ /// The Job Schedule to be added.
///
///
/// Additional parameters for the operation
@@ -444,7 +444,7 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The operations group for this extension method.
@@ -458,7 +458,7 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The operations group for this extension method.
@@ -478,7 +478,7 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The operations group for this extension method.
@@ -495,7 +495,7 @@ public static partial class JobScheduleOperationsExtensions
}
///
- /// Lists all of the job schedules in the specified account.
+ /// Lists all of the Job Schedules in the specified Account.
///
///
/// The operations group for this extension method.
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccessScope.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccessScope.cs
index 04a7a82f2c64..dc4e65dbf692 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccessScope.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccessScope.cs
@@ -22,8 +22,8 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum AccessScope
{
///
- /// Grants access to perform all operations on the job containing the
- /// task.
+ /// Grants access to perform all operations on the Job containing the
+ /// Task.
///
[EnumMember(Value = "job")]
Job
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListPoolNodeCountsHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListPoolNodeCountsHeaders.cs
index e844db92a650..e2f0a189a085 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListPoolNodeCountsHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListPoolNodeCountsHeaders.cs
@@ -39,8 +39,8 @@ public AccountListPoolNodeCountsHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
public AccountListPoolNodeCountsHeaders(System.Guid? clientRequestId = default(System.Guid?), System.Guid? requestId = default(System.Guid?))
{
ClientRequestId = clientRequestId;
@@ -67,8 +67,8 @@ public AccountListPoolNodeCountsHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListSupportedImagesHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListSupportedImagesHeaders.cs
index 7765970a7ca6..b02ca414e187 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListSupportedImagesHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AccountListSupportedImagesHeaders.cs
@@ -41,8 +41,8 @@ public AccountListSupportedImagesHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -78,8 +78,8 @@ public AccountListSupportedImagesHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AffinityInformation.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AffinityInformation.cs
index 32ee4f5e0f60..e28d72c5649f 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AffinityInformation.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AffinityInformation.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
///
/// A locality hint that can be used by the Batch service to select a
- /// compute node on which to start a task.
+ /// Compute Node on which to start a Task.
///
public partial class AffinityInformation
{
@@ -31,7 +31,7 @@ public AffinityInformation()
/// Initializes a new instance of the AffinityInformation class.
///
/// An opaque string representing the location
- /// of a compute node or a task that has run previously.
+ /// of a Compute Node or a Task that has run previously.
public AffinityInformation(string affinityId)
{
AffinityId = affinityId;
@@ -45,13 +45,13 @@ public AffinityInformation(string affinityId)
///
/// Gets or sets an opaque string representing the location of a
- /// compute node or a task that has run previously.
+ /// Compute Node or a Task that has run previously.
///
///
- /// You can pass the affinityId of a compute node to indicate that this
- /// task needs to run on that compute node. Note that this is just a
- /// soft affinity. If the target node is busy or unavailable at the
- /// time the task is scheduled, then the task will be scheduled
+ /// You can pass the affinityId of a Node to indicate that this Task
+ /// needs to run on that Compute Node. Note that this is just a soft
+ /// affinity. If the target Compute Node is busy or unavailable at the
+ /// time the Task is scheduled, then the Task will be scheduled
/// elsewhere.
///
[JsonProperty(PropertyName = "affinityId")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AllocationState.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AllocationState.cs
index e8b67e438eb2..1d899440d490 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AllocationState.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AllocationState.cs
@@ -22,21 +22,21 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum AllocationState
{
///
- /// The pool is not resizing. There are no changes to the number of
- /// nodes in the pool in progress. A pool enters this state when it is
- /// created and when no operations are being performed on the pool to
- /// change the number of nodes.
+ /// The Pool is not resizing. There are no changes to the number of
+ /// Compute Nodes in the Pool in progress. A Pool enters this state
+ /// when it is created and when no operations are being performed on
+ /// the Pool to change the number of Compute Nodes.
///
[EnumMember(Value = "steady")]
Steady,
///
- /// The pool is resizing; that is, compute nodes are being added to or
- /// removed from the pool.
+ /// The Pool is resizing; that is, Compute Nodes are being added to or
+ /// removed from the Pool.
///
[EnumMember(Value = "resizing")]
Resizing,
///
- /// The pool was resizing, but the user has requested that the resize
+ /// The Pool was resizing, but the user has requested that the resize
/// be stopped, but the stop request has not yet been completed.
///
[EnumMember(Value = "stopping")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationGetHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationGetHeaders.cs
index c6792de8aa0b..b42dd9d27608 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationGetHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationGetHeaders.cs
@@ -39,8 +39,8 @@ public ApplicationGetHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public ApplicationGetHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationListHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationListHeaders.cs
index 99a4c9cab292..397ba2cbb5f4 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationListHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationListHeaders.cs
@@ -39,8 +39,8 @@ public ApplicationListHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public ApplicationListHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationPackageReference.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationPackageReference.cs
index 48c9f4d0d47e..0c9f7f527768 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationPackageReference.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationPackageReference.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A reference to an application package to be deployed to compute nodes.
+ /// A reference to an Package to be deployed to Compute Nodes.
///
public partial class ApplicationPackageReference
{
@@ -58,11 +58,11 @@ public ApplicationPackageReference()
/// the default version is deployed.
///
///
- /// If this is omitted on a pool, and no default version is specified
+ /// If this is omitted on a Pool, and no default version is specified
/// for this application, the request fails with the error code
/// InvalidApplicationPackageReferences and HTTP status code 409. If
- /// this is omitted on a task, and no default version is specified for
- /// this application, the task fails with a pre-processing error.
+ /// this is omitted on a Task, and no default version is specified for
+ /// this application, the Task fails with a pre-processing error.
///
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationSummary.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationSummary.cs
index dc78c951c064..ebfa7effa346 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationSummary.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ApplicationSummary.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// Contains information about an application in an Azure Batch account.
+ /// Contains information about an application in an Azure Batch Account.
///
public partial class ApplicationSummary
{
@@ -32,7 +32,7 @@ public ApplicationSummary()
/// Initializes a new instance of the ApplicationSummary class.
///
/// A string that uniquely identifies the application
- /// within the account.
+ /// within the Account.
/// The display name for the
/// application.
/// The list of available versions of the
@@ -52,7 +52,7 @@ public ApplicationSummary(string id, string displayName, IList versions)
///
/// Gets or sets a string that uniquely identifies the application
- /// within the account.
+ /// within the Account.
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AuthenticationTokenSettings.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AuthenticationTokenSettings.cs
index 40f34a18e6ed..55ff372f68c9 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AuthenticationTokenSettings.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AuthenticationTokenSettings.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The settings for an authentication token that the task can use to
+ /// The settings for an authentication token that the Task can use to
/// perform Batch service operations.
///
public partial class AuthenticationTokenSettings
@@ -54,7 +54,7 @@ public AuthenticationTokenSettings()
/// The authentication token grants access to a limited set of Batch
/// service operations. Currently the only supported value for the
/// access property is 'job', which grants access to all operations
- /// related to the job which contains the task.
+ /// related to the Job which contains the Task.
///
[JsonProperty(PropertyName = "access")]
public IList Access { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoPoolSpecification.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoPoolSpecification.cs
index 87635588e7d8..ec54d25f15fa 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoPoolSpecification.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoPoolSpecification.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
///
/// Specifies characteristics for a temporary 'auto pool'. The Batch
- /// service will create this auto pool when the job is submitted.
+ /// service will create this auto Pool when the Job is submitted.
///
public partial class AutoPoolSpecification
{
@@ -31,14 +31,14 @@ public AutoPoolSpecification()
/// Initializes a new instance of the AutoPoolSpecification class.
///
/// The minimum lifetime of created
- /// auto pools, and how multiple jobs on a schedule are assigned to
- /// pools.
+ /// auto Pools, and how multiple Jobs on a schedule are assigned to
+ /// Pools.
/// A prefix to be added to the unique
- /// identifier when a pool is automatically created.
- /// Whether to keep an auto pool alive after
+ /// identifier when a Pool is automatically created.
+ /// Whether to keep an auto Pool alive after
/// its lifetime expires.
- /// The pool specification for the auto
- /// pool.
+ /// The Pool specification for the auto
+ /// Pool.
public AutoPoolSpecification(PoolLifetimeOption poolLifetimeOption, string autoPoolIdPrefix = default(string), bool? keepAlive = default(bool?), PoolSpecification pool = default(PoolSpecification))
{
AutoPoolIdPrefix = autoPoolIdPrefix;
@@ -55,11 +55,11 @@ public AutoPoolSpecification()
///
/// Gets or sets a prefix to be added to the unique identifier when a
- /// pool is automatically created.
+ /// Pool is automatically created.
///
///
- /// The Batch service assigns each auto pool a unique identifier on
- /// creation. To distinguish between pools created for different
+ /// The Batch service assigns each auto Pool a unique identifier on
+ /// creation. To distinguish between Pools created for different
/// purposes, you can specify this element to add a prefix to the ID
/// that is assigned. The prefix can be up to 20 characters long.
///
@@ -67,8 +67,8 @@ public AutoPoolSpecification()
public string AutoPoolIdPrefix { get; set; }
///
- /// Gets or sets the minimum lifetime of created auto pools, and how
- /// multiple jobs on a schedule are assigned to pools.
+ /// Gets or sets the minimum lifetime of created auto Pools, and how
+ /// multiple Jobs on a schedule are assigned to Pools.
///
///
/// Possible values include: 'jobSchedule', 'job'
@@ -77,21 +77,21 @@ public AutoPoolSpecification()
public PoolLifetimeOption PoolLifetimeOption { get; set; }
///
- /// Gets or sets whether to keep an auto pool alive after its lifetime
+ /// Gets or sets whether to keep an auto Pool alive after its lifetime
/// expires.
///
///
- /// If false, the Batch service deletes the pool once its lifetime (as
+ /// If false, the Batch service deletes the Pool once its lifetime (as
/// determined by the poolLifetimeOption setting) expires; that is,
- /// when the job or job schedule completes. If true, the Batch service
- /// does not delete the pool automatically. It is up to the user to
- /// delete auto pools created with this option.
+ /// when the Job or Job Schedule completes. If true, the Batch service
+ /// does not delete the Pool automatically. It is up to the user to
+ /// delete auto Pools created with this option.
///
[JsonProperty(PropertyName = "keepAlive")]
public bool? KeepAlive { get; set; }
///
- /// Gets or sets the pool specification for the auto pool.
+ /// Gets or sets the Pool specification for the auto Pool.
///
[JsonProperty(PropertyName = "pool")]
public PoolSpecification Pool { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRun.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRun.cs
index 1648c10ad5e9..32ffd1745df3 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRun.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRun.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The results and errors from an execution of a pool autoscale formula.
+ /// The results and errors from an execution of a Pool autoscale formula.
///
public partial class AutoScaleRun
{
@@ -34,7 +34,7 @@ public AutoScaleRun()
/// The final values of all variables used in the
/// evaluation of the autoscale formula.
/// Details of the error encountered evaluating the
- /// autoscale formula on the pool, if the evaluation was
+ /// autoscale formula on the Pool, if the evaluation was
/// unsuccessful.
public AutoScaleRun(System.DateTime timestamp, string results = default(string), AutoScaleRunError error = default(AutoScaleRunError))
{
@@ -69,7 +69,7 @@ public AutoScaleRun()
///
/// Gets or sets details of the error encountered evaluating the
- /// autoscale formula on the pool, if the evaluation was unsuccessful.
+ /// autoscale formula on the Pool, if the evaluation was unsuccessful.
///
[JsonProperty(PropertyName = "error")]
public AutoScaleRunError Error { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRunError.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRunError.cs
index 85a4d658d17d..fe60451de532 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRunError.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoScaleRunError.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An error that occurred when executing or evaluating a pool autoscale
+ /// An error that occurred when executing or evaluating a Pool autoscale
/// formula.
///
public partial class AutoScaleRunError
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserScope.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserScope.cs
index cac6212328a0..986a1b8bc931 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserScope.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserScope.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum AutoUserScope
{
///
- /// Specifies that the service should create a new user for the task.
+ /// Specifies that the service should create a new user for the Task.
///
[EnumMember(Value = "task")]
Task,
///
- /// Specifies that the task runs as the common auto user account which
- /// is created on every node in a pool.
+ /// Specifies that the Task runs as the common auto user Account which
+ /// is created on every Compute Node in a Pool.
///
[EnumMember(Value = "pool")]
Pool
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserSpecification.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserSpecification.cs
index e4bd45c308c7..b8aa34227532 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserSpecification.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AutoUserSpecification.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// Specifies the parameters for the auto user that runs a task on the
+ /// Specifies the parameters for the auto user that runs a Task on the
/// Batch service.
///
public partial class AutoUserSpecification
@@ -49,7 +49,13 @@ public AutoUserSpecification()
/// Gets or sets the scope for the auto user
///
///
- /// The default value is task. Possible values include: 'task', 'pool'
+ /// The default value is pool. If the pool is running Windows a value
+ /// of Task should be specified if stricter isolation between tasks is
+ /// required. For example, if the task mutates the registry in a way
+ /// which could impact other tasks, or if certificates have been
+ /// specified on the pool which should not be accessible by normal
+ /// tasks but should be accessible by StartTasks. Possible values
+ /// include: 'task', 'pool'
///
[JsonProperty(PropertyName = "scope")]
public AutoUserScope? Scope { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureBlobFileSystemConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureBlobFileSystemConfiguration.cs
new file mode 100644
index 000000000000..b3cb8432f58e
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureBlobFileSystemConfiguration.cs
@@ -0,0 +1,116 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Batch.Protocol.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to an Azure Storage Container using
+ /// Blobfuse.
+ ///
+ public partial class AzureBlobFileSystemConfiguration
+ {
+ ///
+ /// Initializes a new instance of the AzureBlobFileSystemConfiguration
+ /// class.
+ ///
+ public AzureBlobFileSystemConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureBlobFileSystemConfiguration
+ /// class.
+ ///
+ /// The Azure Storage Account name.
+ /// The Azure Blob Storage Container
+ /// name.
+ /// The relative path on the compute
+ /// node where the file system will be mounted
+ /// The Azure Storage Account key.
+ /// The Azure Storage SAS token.
+ /// Additional command line options to
+ /// pass to the mount command.
+ public AzureBlobFileSystemConfiguration(string accountName, string containerName, string relativeMountPath, string accountKey = default(string), string sasKey = default(string), string blobfuseOptions = default(string))
+ {
+ AccountName = accountName;
+ ContainerName = containerName;
+ AccountKey = accountKey;
+ SasKey = sasKey;
+ BlobfuseOptions = blobfuseOptions;
+ RelativeMountPath = relativeMountPath;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the Azure Storage Account name.
+ ///
+ [JsonProperty(PropertyName = "accountName")]
+ public string AccountName { get; set; }
+
+ ///
+ /// Gets or sets the Azure Blob Storage Container name.
+ ///
+ [JsonProperty(PropertyName = "containerName")]
+ public string ContainerName { get; set; }
+
+ ///
+ /// Gets or sets the Azure Storage Account key.
+ ///
+ ///
+ /// This property is mutually exclusive with sasKey and one must be
+ /// specified.
+ ///
+ [JsonProperty(PropertyName = "accountKey")]
+ public string AccountKey { get; set; }
+
+ ///
+ /// Gets or sets the Azure Storage SAS token.
+ ///
+ ///
+ /// This property is mutually exclusive with accountKey and one must be
+ /// specified.
+ ///
+ [JsonProperty(PropertyName = "sasKey")]
+ public string SasKey { get; set; }
+
+ ///
+ /// Gets or sets additional command line options to pass to the mount
+ /// command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in
+ /// Linux.
+ ///
+ [JsonProperty(PropertyName = "blobfuseOptions")]
+ public string BlobfuseOptions { get; set; }
+
+ ///
+ /// Gets or sets the relative path on the compute node where the file
+ /// system will be mounted
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts
+ /// directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment
+ /// variable.
+ ///
+ [JsonProperty(PropertyName = "relativeMountPath")]
+ public string RelativeMountPath { get; set; }
+
+ }
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureFileShareConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureFileShareConfiguration.cs
new file mode 100644
index 000000000000..e2b309cea991
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/AzureFileShareConfiguration.cs
@@ -0,0 +1,101 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Batch.Protocol.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to an Azure Fileshare.
+ ///
+ public partial class AzureFileShareConfiguration
+ {
+ ///
+ /// Initializes a new instance of the AzureFileShareConfiguration
+ /// class.
+ ///
+ public AzureFileShareConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureFileShareConfiguration
+ /// class.
+ ///
+ /// The Azure Storage account name.
+ /// The Azure Files URL.
+ /// The Azure Storage account key.
+ /// The relative path on the compute
+ /// node where the file system will be mounted
+ /// Additional command line options to pass
+ /// to the mount command.
+ public AzureFileShareConfiguration(string accountName, string azureFileUrl, string accountKey, string relativeMountPath, string mountOptions = default(string))
+ {
+ AccountName = accountName;
+ AzureFileUrl = azureFileUrl;
+ AccountKey = accountKey;
+ RelativeMountPath = relativeMountPath;
+ MountOptions = mountOptions;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the Azure Storage account name.
+ ///
+ [JsonProperty(PropertyName = "accountName")]
+ public string AccountName { get; set; }
+
+ ///
+ /// Gets or sets the Azure Files URL.
+ ///
+ ///
+ /// This is of the form 'https://{account}.file.core.windows.net/'.
+ ///
+ [JsonProperty(PropertyName = "azureFileUrl")]
+ public string AzureFileUrl { get; set; }
+
+ ///
+ /// Gets or sets the Azure Storage account key.
+ ///
+ [JsonProperty(PropertyName = "accountKey")]
+ public string AccountKey { get; set; }
+
+ ///
+ /// Gets or sets the relative path on the compute node where the file
+ /// system will be mounted
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts
+ /// directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment
+ /// variable.
+ ///
+ [JsonProperty(PropertyName = "relativeMountPath")]
+ public string RelativeMountPath { get; set; }
+
+ ///
+ /// Gets or sets additional command line options to pass to the mount
+ /// command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in
+ /// Linux.
+ ///
+ [JsonProperty(PropertyName = "mountOptions")]
+ public string MountOptions { get; set; }
+
+ }
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CIFSMountConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CIFSMountConfiguration.cs
new file mode 100644
index 000000000000..648ea20f47da
--- /dev/null
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CIFSMountConfiguration.cs
@@ -0,0 +1,100 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Batch.Protocol.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Information used to connect to a CIFS file system.
+ ///
+ public partial class CIFSMountConfiguration
+ {
+ ///
+ /// Initializes a new instance of the CIFSMountConfiguration class.
+ ///
+ public CIFSMountConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the CIFSMountConfiguration class.
+ ///
+ /// The user to use for authentication against
+ /// the CIFS file system.
+ /// The URI of the file system to mount.
+ /// The relative path on the compute
+ /// node where the file system will be mounted
+ /// The password to use for authentication
+ /// against the CIFS file system.
+ /// Additional command line options to pass
+ /// to the mount command.
+ public CIFSMountConfiguration(string username, string source, string relativeMountPath, string password, string mountOptions = default(string))
+ {
+ Username = username;
+ Source = source;
+ RelativeMountPath = relativeMountPath;
+ MountOptions = mountOptions;
+ Password = password;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the user to use for authentication against the CIFS
+ /// file system.
+ ///
+ [JsonProperty(PropertyName = "username")]
+ public string Username { get; set; }
+
+ ///
+ /// Gets or sets the URI of the file system to mount.
+ ///
+ [JsonProperty(PropertyName = "source")]
+ public string Source { get; set; }
+
+ ///
+ /// Gets or sets the relative path on the compute node where the file
+ /// system will be mounted
+ ///
+ ///
+ /// All file systems are mounted relative to the Batch mounts
+ /// directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment
+ /// variable.
+ ///
+ [JsonProperty(PropertyName = "relativeMountPath")]
+ public string RelativeMountPath { get; set; }
+
+ ///
+ /// Gets or sets additional command line options to pass to the mount
+ /// command.
+ ///
+ ///
+ /// These are 'net use' options in Windows and 'mount' options in
+ /// Linux.
+ ///
+ [JsonProperty(PropertyName = "mountOptions")]
+ public string MountOptions { get; set; }
+
+ ///
+ /// Gets or sets the password to use for authentication against the
+ /// CIFS file system.
+ ///
+ [JsonProperty(PropertyName = "password")]
+ public string Password { get; set; }
+
+ }
+}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/Certificate.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/Certificate.cs
index b64fe7f0710b..dc9e50f0cd05 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/Certificate.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/Certificate.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A certificate that can be installed on compute nodes and can be used to
+ /// A Certificate that can be installed on Compute Nodes and can be used to
/// authenticate operations on the machine.
///
public partial class Certificate
@@ -30,22 +30,22 @@ public Certificate()
///
/// Initializes a new instance of the Certificate class.
///
- /// The X.509 thumbprint of the certificate.
+ /// The X.509 thumbprint of the Certificate.
/// This is a sequence of up to 40 hex digits.
/// The algorithm used to derive the
/// thumbprint.
- /// The URL of the certificate.
- /// The current state of the certificate.
- /// The time at which the certificate
+ /// The URL of the Certificate.
+ /// The current state of the Certificate.
+ /// The time at which the Certificate
/// entered its current state.
/// The previous state of the
- /// certificate.
+ /// Certificate.
/// The time at which the
- /// certificate entered its previous state.
- /// The public part of the certificate as a
+ /// Certificate entered its previous state.
+ /// The public part of the Certificate as a
/// base-64 encoded .cer file.
/// The error that occurred on the
- /// last attempt to delete this certificate.
+ /// last attempt to delete this Certificate.
public Certificate(string thumbprint = default(string), string thumbprintAlgorithm = default(string), string url = default(string), CertificateState? state = default(CertificateState?), System.DateTime? stateTransitionTime = default(System.DateTime?), CertificateState? previousState = default(CertificateState?), System.DateTime? previousStateTransitionTime = default(System.DateTime?), string publicData = default(string), DeleteCertificateError deleteCertificateError = default(DeleteCertificateError))
{
Thumbprint = thumbprint;
@@ -66,7 +66,7 @@ public Certificate()
partial void CustomInit();
///
- /// Gets or sets the X.509 thumbprint of the certificate. This is a
+ /// Gets or sets the X.509 thumbprint of the Certificate. This is a
/// sequence of up to 40 hex digits.
///
[JsonProperty(PropertyName = "thumbprint")]
@@ -79,13 +79,13 @@ public Certificate()
public string ThumbprintAlgorithm { get; set; }
///
- /// Gets or sets the URL of the certificate.
+ /// Gets or sets the URL of the Certificate.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the current state of the certificate.
+ /// Gets or sets the current state of the Certificate.
///
///
/// Possible values include: 'active', 'deleting', 'deleteFailed'
@@ -94,17 +94,17 @@ public Certificate()
public CertificateState? State { get; set; }
///
- /// Gets or sets the time at which the certificate entered its current
+ /// Gets or sets the time at which the Certificate entered its current
/// state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets the previous state of the certificate.
+ /// Gets or sets the previous state of the Certificate.
///
///
- /// This property is not set if the certificate is in its initial
+ /// This property is not set if the Certificate is in its initial
/// active state. Possible values include: 'active', 'deleting',
/// 'deleteFailed'
///
@@ -112,18 +112,18 @@ public Certificate()
public CertificateState? PreviousState { get; set; }
///
- /// Gets or sets the time at which the certificate entered its previous
+ /// Gets or sets the time at which the Certificate entered its previous
/// state.
///
///
- /// This property is not set if the certificate is in its initial
+ /// This property is not set if the Certificate is in its initial
/// Active state.
///
[JsonProperty(PropertyName = "previousStateTransitionTime")]
public System.DateTime? PreviousStateTransitionTime { get; set; }
///
- /// Gets or sets the public part of the certificate as a base-64
+ /// Gets or sets the public part of the Certificate as a base-64
/// encoded .cer file.
///
[JsonProperty(PropertyName = "publicData")]
@@ -131,10 +131,10 @@ public Certificate()
///
/// Gets or sets the error that occurred on the last attempt to delete
- /// this certificate.
+ /// this Certificate.
///
///
- /// This property is set only if the certificate is in the DeleteFailed
+ /// This property is set only if the Certificate is in the DeleteFailed
/// state.
///
[JsonProperty(PropertyName = "deleteCertificateError")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddHeaders.cs
index f13deaf0c6f4..0b49a98b2841 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddHeaders.cs
@@ -39,8 +39,8 @@ public CertificateAddHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -79,8 +79,8 @@ public CertificateAddHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddParameter.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddParameter.cs
index 396e0031af9e..9acb8cf12675 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddParameter.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateAddParameter.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A certificate that can be installed on compute nodes and can be used to
+ /// A Certificate that can be installed on Compute Nodes and can be used to
/// authenticate operations on the machine.
///
public partial class CertificateAddParameter
@@ -30,16 +30,16 @@ public CertificateAddParameter()
///
/// Initializes a new instance of the CertificateAddParameter class.
///
- /// The X.509 thumbprint of the certificate.
+ /// The X.509 thumbprint of the Certificate.
/// This is a sequence of up to 40 hex digits (it may include spaces
/// but these are removed).
/// The algorithm used to derive the
/// thumbprint. This must be sha1.
- /// The base64-encoded contents of the certificate.
+ /// The base64-encoded contents of the Certificate.
/// The maximum size is 10KB.
- /// The format of the certificate
+ /// The format of the Certificate
/// data.
- /// The password to access the certificate's
+ /// The password to access the Certificate's
/// private key.
public CertificateAddParameter(string thumbprint, string thumbprintAlgorithm, string data, CertificateFormat? certificateFormat = default(CertificateFormat?), string password = default(string))
{
@@ -57,7 +57,7 @@ public CertificateAddParameter()
partial void CustomInit();
///
- /// Gets or sets the X.509 thumbprint of the certificate. This is a
+ /// Gets or sets the X.509 thumbprint of the Certificate. This is a
/// sequence of up to 40 hex digits (it may include spaces but these
/// are removed).
///
@@ -72,14 +72,14 @@ public CertificateAddParameter()
public string ThumbprintAlgorithm { get; set; }
///
- /// Gets or sets the base64-encoded contents of the certificate. The
+ /// Gets or sets the base64-encoded contents of the Certificate. The
/// maximum size is 10KB.
///
[JsonProperty(PropertyName = "data")]
public string Data { get; set; }
///
- /// Gets or sets the format of the certificate data.
+ /// Gets or sets the format of the Certificate data.
///
///
/// Possible values include: 'pfx', 'cer'
@@ -88,11 +88,11 @@ public CertificateAddParameter()
public CertificateFormat? CertificateFormat { get; set; }
///
- /// Gets or sets the password to access the certificate's private key.
+ /// Gets or sets the password to access the Certificate's private key.
///
///
- /// This is required if the certificate format is pfx. It should be
- /// omitted if the certificate format is cer.
+ /// This is required if the Certificate format is pfx. It should be
+ /// omitted if the Certificate format is cer.
///
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateCancelDeletionHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateCancelDeletionHeaders.cs
index 03d5194430b3..21e812cf068a 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateCancelDeletionHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateCancelDeletionHeaders.cs
@@ -41,8 +41,8 @@ public CertificateCancelDeletionHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -81,8 +81,8 @@ public CertificateCancelDeletionHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateDeleteHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateDeleteHeaders.cs
index e2ad5becb5eb..a34745e60f52 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateDeleteHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateDeleteHeaders.cs
@@ -39,8 +39,8 @@ public CertificateDeleteHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public CertificateDeleteHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateFormat.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateFormat.cs
index 884c026f83ea..ea311997861e 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateFormat.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateFormat.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum CertificateFormat
{
///
- /// The certificate is a PFX (PKCS#12) formatted certificate or
- /// certificate chain.
+ /// The Certificate is a PFX (PKCS#12) formatted Certificate or
+ /// Certificate chain.
///
[EnumMember(Value = "pfx")]
Pfx,
///
- /// The certificate is a base64-encoded X.509 certificate.
+ /// The Certificate is a base64-encoded X.509 Certificate.
///
[EnumMember(Value = "cer")]
Cer
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateGetHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateGetHeaders.cs
index 747c8147c20e..cef26715e840 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateGetHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateGetHeaders.cs
@@ -39,8 +39,8 @@ public CertificateGetHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public CertificateGetHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListHeaders.cs
index ccf1bfc94651..67ce3ca310d3 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListHeaders.cs
@@ -39,8 +39,8 @@ public CertificateListHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public CertificateListHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListOptions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListOptions.cs
index f0c978fb8a4b..059e00fa0b85 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListOptions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateListOptions.cs
@@ -36,7 +36,7 @@ public CertificateListOptions()
/// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
/// An OData $select clause.
/// The maximum number of items to return in
- /// the response. A maximum of 1000 certificates can be
+ /// the response. A maximum of 1000 Certificates can be
/// returned.
/// The maximum time that the server can spend
/// processing the request, in seconds. The default is 30
@@ -82,7 +82,7 @@ public CertificateListOptions()
///
/// Gets or sets the maximum number of items to return in the response.
- /// A maximum of 1000 certificates can be returned.
+ /// A maximum of 1000 Certificates can be returned.
///
[Newtonsoft.Json.JsonIgnore]
public int? MaxResults { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateReference.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateReference.cs
index 63a6635ab4c2..bee63c30e13e 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateReference.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateReference.cs
@@ -16,8 +16,8 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A reference to a certificate to be installed on compute nodes in a
- /// pool.
+ /// A reference to a Certificate to be installed on Compute Nodes in a
+ /// Pool.
///
public partial class CertificateReference
{
@@ -32,15 +32,15 @@ public CertificateReference()
///
/// Initializes a new instance of the CertificateReference class.
///
- /// The thumbprint of the certificate.
+ /// The thumbprint of the Certificate.
/// The algorithm with which the
/// thumbprint is associated. This must be sha1.
- /// The location of the certificate store
- /// on the compute node into which to install the certificate.
- /// The name of the certificate store on the
- /// compute node into which to install the certificate.
- /// Which user accounts on the compute node
- /// should have access to the private data of the certificate.
+ /// The location of the Certificate store
+ /// on the Compute Node into which to install the Certificate.
+ /// The name of the Certificate store on the
+ /// Compute Node into which to install the Certificate.
+ /// Which user Accounts on the Compute Node
+ /// should have access to the private data of the Certificate.
public CertificateReference(string thumbprint, string thumbprintAlgorithm, CertificateStoreLocation? storeLocation = default(CertificateStoreLocation?), string storeName = default(string), IList visibility = default(IList))
{
Thumbprint = thumbprint;
@@ -57,7 +57,7 @@ public CertificateReference()
partial void CustomInit();
///
- /// Gets or sets the thumbprint of the certificate.
+ /// Gets or sets the thumbprint of the Certificate.
///
[JsonProperty(PropertyName = "thumbprint")]
public string Thumbprint { get; set; }
@@ -70,33 +70,33 @@ public CertificateReference()
public string ThumbprintAlgorithm { get; set; }
///
- /// Gets or sets the location of the certificate store on the compute
- /// node into which to install the certificate.
+ /// Gets or sets the location of the Certificate store on the Compute
+ /// Node into which to install the Certificate.
///
///
/// The default value is currentuser. This property is applicable only
- /// for pools configured with Windows nodes (that is, created with
- /// cloudServiceConfiguration, or with virtualMachineConfiguration
- /// using a Windows image reference). For Linux compute nodes, the
- /// certificates are stored in a directory inside the task working
+ /// for Pools configured with Windows Compute Nodes (that is, created
+ /// with cloudServiceConfiguration, or with virtualMachineConfiguration
+ /// using a Windows Image reference). For Linux Compute Nodes, the
+ /// Certificates are stored in a directory inside the Task working
/// directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is
- /// supplied to the task to query for this location. For certificates
+ /// supplied to the Task to query for this location. For Certificates
/// with visibility of 'remoteUser', a 'certs' directory is created in
/// the user's home directory (e.g., /home/{user-name}/certs) and
- /// certificates are placed in that directory. Possible values include:
+ /// Certificates are placed in that directory. Possible values include:
/// 'currentUser', 'localMachine'
///
[JsonProperty(PropertyName = "storeLocation")]
public CertificateStoreLocation? StoreLocation { get; set; }
///
- /// Gets or sets the name of the certificate store on the compute node
- /// into which to install the certificate.
+ /// Gets or sets the name of the Certificate store on the Compute Node
+ /// into which to install the Certificate.
///
///
- /// This property is applicable only for pools configured with Windows
- /// nodes (that is, created with cloudServiceConfiguration, or with
- /// virtualMachineConfiguration using a Windows image reference).
+ /// This property is applicable only for Pools configured with Windows
+ /// Compute Nodes (that is, created with cloudServiceConfiguration, or
+ /// with virtualMachineConfiguration using a Windows Image reference).
/// Common store names include: My, Root, CA, Trust, Disallowed,
/// TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any
/// custom store name can also be used. The default value is My.
@@ -105,12 +105,12 @@ public CertificateReference()
public string StoreName { get; set; }
///
- /// Gets or sets which user accounts on the compute node should have
- /// access to the private data of the certificate.
+ /// Gets or sets which user Accounts on the Compute Node should have
+ /// access to the private data of the Certificate.
///
///
/// You can specify more than one visibility in this collection. The
- /// default is all accounts.
+ /// default is all Accounts.
///
[JsonProperty(PropertyName = "visibility")]
public IList Visibility { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateState.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateState.cs
index 9fe2ef997094..d28487d80816 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateState.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateState.cs
@@ -22,26 +22,26 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum CertificateState
{
///
- /// The certificate is available for use in pools.
+ /// The Certificate is available for use in Pools.
///
[EnumMember(Value = "active")]
Active,
///
- /// The user has requested that the certificate be deleted, but the
+ /// The user has requested that the Certificate be deleted, but the
/// delete operation has not yet completed. You may not reference the
- /// certificate when creating or updating pools.
+ /// Certificate when creating or updating Pools.
///
[EnumMember(Value = "deleting")]
Deleting,
///
- /// The user requested that the certificate be deleted, but there are
- /// pools that still have references to the certificate, or it is still
- /// installed on one or more compute nodes. (The latter can occur if
- /// the certificate has been removed from the pool, but the node has
- /// not yet restarted. Nodes refresh their certificates only when they
- /// restart.) You may use the cancel certificate delete operation to
- /// cancel the delete, or the delete certificate operation to retry the
- /// delete.
+ /// The user requested that the Certificate be deleted, but there are
+ /// Pools that still have references to the Certificate, or it is still
+ /// installed on one or more Nodes. (The latter can occur if the
+ /// Certificate has been removed from the Pool, but the Compute Node
+ /// has not yet restarted. Compute Nodes refresh their Certificates
+ /// only when they restart.) You may use the cancel Certificate delete
+ /// operation to cancel the delete, or the delete Certificate operation
+ /// to retry the delete.
///
[EnumMember(Value = "deletefailed")]
DeleteFailed
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateStoreLocation.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateStoreLocation.cs
index 65a925db7971..c7cc95073272 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateStoreLocation.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateStoreLocation.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum CertificateStoreLocation
{
///
- /// Certificates should be installed to the CurrentUser certificate
+ /// Certificates should be installed to the CurrentUser Certificate
/// store.
///
[EnumMember(Value = "currentuser")]
CurrentUser,
///
- /// Certificates should be installed to the LocalMachine certificate
+ /// Certificates should be installed to the LocalMachine Certificate
/// store.
///
[EnumMember(Value = "localmachine")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateVisibility.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateVisibility.cs
index 0a161f01798c..2600e5293789 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateVisibility.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CertificateVisibility.cs
@@ -22,20 +22,22 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum CertificateVisibility
{
///
- /// The certificate should be visible to the user account under which
- /// the start task is run.
+ /// The Certificate should be visible to the user account under which
+ /// the StartTask is run. Note that if AutoUser Scope is Pool for both
+ /// the StartTask and a Task, this certificate will be visible to the
+ /// Task as well.
///
[EnumMember(Value = "starttask")]
StartTask,
///
- /// The certificate should be visible to the user accounts under which
- /// job tasks are run.
+ /// The Certificate should be visible to the user accounts under which
+ /// Job Tasks are run.
///
[EnumMember(Value = "task")]
Task,
///
- /// The certificate should be visible to the user accounts under which
- /// users remotely access the node.
+ /// The Certificate should be visible to the user accounts under which
+ /// users remotely access the Compute Node.
///
[EnumMember(Value = "remoteuser")]
RemoteUser
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJob.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJob.cs
index 6b45ae56972b..350c67da94d6 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJob.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJob.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An Azure Batch job.
+ /// An Azure Batch Job.
///
public partial class CloudJob
{
@@ -31,48 +31,48 @@ public CloudJob()
///
/// Initializes a new instance of the CloudJob class.
///
- /// A string that uniquely identifies the job within
- /// the account.
- /// The display name for the job.
- /// Whether tasks in the job can
+ /// A string that uniquely identifies the Job within
+ /// the Account.
+ /// The display name for the Job.
+ /// Whether Tasks in the Job can
/// define dependencies on each other. The default is false.
- /// The URL of the job.
- /// The ETag of the job.
+ /// The URL of the Job.
+ /// The ETag of the Job.
/// The last modified time of the
- /// job.
- /// The creation time of the job.
- /// The current state of the job.
- /// The time at which the job entered
+ /// Job.
+ /// The creation time of the Job.
+ /// The current state of the Job.
+ /// The time at which the Job entered
/// its current state.
- /// The previous state of the job.
- /// The time at which the job
+ /// The previous state of the Job.
+ /// The time at which the Job
/// entered its previous state.
- /// The priority of the job.
+ /// The priority of the Job.
/// The execution constraints for the
- /// job.
- /// Details of a Job Manager task to be
- /// launched when the job is started.
- /// The Job Preparation task.
- /// The Job Release task.
+ /// Job.
+ /// Details of a Job Manager Task to be
+ /// launched when the Job is started.
+ /// The Job Preparation Task.
+ /// The Job Release Task.
/// The list of common
/// environment variable settings. These environment variables are set
- /// for all tasks in the job (including the Job Manager, Job
- /// Preparation and Job Release tasks).
- /// The pool settings associated with the
- /// job.
+ /// for all Tasks in the Job (including the Job Manager, Job
+ /// Preparation and Job Release Tasks).
+ /// The Pool settings associated with the
+ /// Job.
/// The action the Batch service
- /// should take when all tasks in the job are in the completed
+ /// should take when all Tasks in the Job are in the completed
/// state.
/// The action the Batch service should
- /// take when any task in the job fails.
+ /// take when any Task in the Job fails.
/// The network configuration for
- /// the job.
+ /// the Job.
/// A list of name-value pairs associated with
- /// the job as metadata.
+ /// the Job as metadata.
/// The execution information for the
- /// job.
+ /// Job.
/// Resource usage statistics for the entire
- /// lifetime of the job.
+ /// lifetime of the Job.
public CloudJob(string id = default(string), string displayName = default(string), bool? usesTaskDependencies = default(bool?), string url = default(string), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), JobState? state = default(JobState?), System.DateTime? stateTransitionTime = default(System.DateTime?), JobState? previousState = default(JobState?), System.DateTime? previousStateTransitionTime = default(System.DateTime?), int? priority = default(int?), JobConstraints constraints = default(JobConstraints), JobManagerTask jobManagerTask = default(JobManagerTask), JobPreparationTask jobPreparationTask = default(JobPreparationTask), JobReleaseTask jobReleaseTask = default(JobReleaseTask), IList commonEnvironmentSettings = default(IList), PoolInformation poolInfo = default(PoolInformation), OnAllTasksComplete? onAllTasksComplete = default(OnAllTasksComplete?), OnTaskFailure? onTaskFailure = default(OnTaskFailure?), JobNetworkConfiguration networkConfiguration = default(JobNetworkConfiguration), IList metadata = default(IList), JobExecutionInformation executionInfo = default(JobExecutionInformation), JobStatistics stats = default(JobStatistics))
{
Id = id;
@@ -108,66 +108,66 @@ public CloudJob()
partial void CustomInit();
///
- /// Gets or sets a string that uniquely identifies the job within the
- /// account.
+ /// Gets or sets a string that uniquely identifies the Job within the
+ /// Account.
///
///
/// The ID is case-preserving and case-insensitive (that is, you may
- /// not have two IDs within an account that differ only by case).
+ /// not have two IDs within an Account that differ only by case).
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
///
- /// Gets or sets the display name for the job.
+ /// Gets or sets the display name for the Job.
///
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
///
- /// Gets or sets whether tasks in the job can define dependencies on
+ /// Gets or sets whether Tasks in the Job can define dependencies on
/// each other. The default is false.
///
[JsonProperty(PropertyName = "usesTaskDependencies")]
public bool? UsesTaskDependencies { get; set; }
///
- /// Gets or sets the URL of the job.
+ /// Gets or sets the URL of the Job.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the ETag of the job.
+ /// Gets or sets the ETag of the Job.
///
///
- /// This is an opaque string. You can use it to detect whether the job
+ /// This is an opaque string. You can use it to detect whether the Job
/// has changed between requests. In particular, you can be pass the
- /// ETag when updating a job to specify that your changes should take
- /// effect only if nobody else has modified the job in the meantime.
+ /// ETag when updating a Job to specify that your changes should take
+ /// effect only if nobody else has modified the Job in the meantime.
///
[JsonProperty(PropertyName = "eTag")]
public string ETag { get; set; }
///
- /// Gets or sets the last modified time of the job.
+ /// Gets or sets the last modified time of the Job.
///
///
- /// This is the last time at which the job level data, such as the job
+ /// This is the last time at which the Job level data, such as the Job
/// state or priority, changed. It does not factor in task-level
- /// changes such as adding new tasks or tasks changing state.
+ /// changes such as adding new Tasks or Tasks changing state.
///
[JsonProperty(PropertyName = "lastModified")]
public System.DateTime? LastModified { get; set; }
///
- /// Gets or sets the creation time of the job.
+ /// Gets or sets the creation time of the Job.
///
[JsonProperty(PropertyName = "creationTime")]
public System.DateTime? CreationTime { get; set; }
///
- /// Gets or sets the current state of the job.
+ /// Gets or sets the current state of the Job.
///
///
/// Possible values include: 'active', 'disabling', 'disabled',
@@ -177,16 +177,16 @@ public CloudJob()
public JobState? State { get; set; }
///
- /// Gets or sets the time at which the job entered its current state.
+ /// Gets or sets the time at which the Job entered its current state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets the previous state of the job.
+ /// Gets or sets the previous state of the Job.
///
///
- /// This property is not set if the job is in its initial Active state.
+ /// This property is not set if the Job is in its initial Active state.
/// Possible values include: 'active', 'disabling', 'disabled',
/// 'enabling', 'terminating', 'completed', 'deleting'
///
@@ -194,16 +194,16 @@ public CloudJob()
public JobState? PreviousState { get; set; }
///
- /// Gets or sets the time at which the job entered its previous state.
+ /// Gets or sets the time at which the Job entered its previous state.
///
///
- /// This property is not set if the job is in its initial Active state.
+ /// This property is not set if the Job is in its initial Active state.
///
[JsonProperty(PropertyName = "previousStateTransitionTime")]
public System.DateTime? PreviousStateTransitionTime { get; set; }
///
- /// Gets or sets the priority of the job.
+ /// Gets or sets the priority of the Job.
///
///
/// Priority values can range from -1000 to 1000, with -1000 being the
@@ -214,59 +214,59 @@ public CloudJob()
public int? Priority { get; set; }
///
- /// Gets or sets the execution constraints for the job.
+ /// Gets or sets the execution constraints for the Job.
///
[JsonProperty(PropertyName = "constraints")]
public JobConstraints Constraints { get; set; }
///
- /// Gets or sets details of a Job Manager task to be launched when the
- /// job is started.
+ /// Gets or sets details of a Job Manager Task to be launched when the
+ /// Job is started.
///
[JsonProperty(PropertyName = "jobManagerTask")]
public JobManagerTask JobManagerTask { get; set; }
///
- /// Gets or sets the Job Preparation task.
+ /// Gets or sets the Job Preparation Task.
///
///
- /// The Job Preparation task is a special task run on each node before
- /// any other task of the job.
+ /// The Job Preparation Task is a special Task run on each Compute Node
+ /// before any other Task of the Job.
///
[JsonProperty(PropertyName = "jobPreparationTask")]
public JobPreparationTask JobPreparationTask { get; set; }
///
- /// Gets or sets the Job Release task.
+ /// Gets or sets the Job Release Task.
///
///
- /// The Job Release task is a special task run at the end of the job on
- /// each node that has run any other task of the job.
+ /// The Job Release Task is a special Task run at the end of the Job on
+ /// each Compute Node that has run any other Task of the Job.
///
[JsonProperty(PropertyName = "jobReleaseTask")]
public JobReleaseTask JobReleaseTask { get; set; }
///
/// Gets or sets the list of common environment variable settings.
- /// These environment variables are set for all tasks in the job
- /// (including the Job Manager, Job Preparation and Job Release tasks).
+ /// These environment variables are set for all Tasks in the Job
+ /// (including the Job Manager, Job Preparation and Job Release Tasks).
///
///
- /// Individual tasks can override an environment setting specified here
+ /// Individual Tasks can override an environment setting specified here
/// by specifying the same setting name with a different value.
///
[JsonProperty(PropertyName = "commonEnvironmentSettings")]
public IList CommonEnvironmentSettings { get; set; }
///
- /// Gets or sets the pool settings associated with the job.
+ /// Gets or sets the Pool settings associated with the Job.
///
[JsonProperty(PropertyName = "poolInfo")]
public PoolInformation PoolInfo { get; set; }
///
/// Gets or sets the action the Batch service should take when all
- /// tasks in the job are in the completed state.
+ /// Tasks in the Job are in the completed state.
///
///
/// The default is noaction. Possible values include: 'noAction',
@@ -276,14 +276,14 @@ public CloudJob()
public OnAllTasksComplete? OnAllTasksComplete { get; set; }
///
- /// Gets or sets the action the Batch service should take when any task
- /// in the job fails.
+ /// Gets or sets the action the Batch service should take when any Task
+ /// in the Job fails.
///
///
- /// A task is considered to have failed if has a failureInfo. A
- /// failureInfo is set if the task completes with a non-zero exit code
+ /// A Task is considered to have failed if has a failureInfo. A
+ /// failureInfo is set if the Task completes with a non-zero exit code
/// after exhausting its retry count, or if there was an error starting
- /// the task, for example due to a resource file download error. The
+ /// the Task, for example due to a resource file download error. The
/// default is noaction. Possible values include: 'noAction',
/// 'performExitOptionsJobAction'
///
@@ -291,13 +291,13 @@ public CloudJob()
public OnTaskFailure? OnTaskFailure { get; set; }
///
- /// Gets or sets the network configuration for the job.
+ /// Gets or sets the network configuration for the Job.
///
[JsonProperty(PropertyName = "networkConfiguration")]
public JobNetworkConfiguration NetworkConfiguration { get; set; }
///
- /// Gets or sets a list of name-value pairs associated with the job as
+ /// Gets or sets a list of name-value pairs associated with the Job as
/// metadata.
///
///
@@ -308,14 +308,14 @@ public CloudJob()
public IList Metadata { get; set; }
///
- /// Gets or sets the execution information for the job.
+ /// Gets or sets the execution information for the Job.
///
[JsonProperty(PropertyName = "executionInfo")]
public JobExecutionInformation ExecutionInfo { get; set; }
///
/// Gets or sets resource usage statistics for the entire lifetime of
- /// the job.
+ /// the Job.
///
///
/// This property is populated only if the CloudJob was retrieved with
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJobSchedule.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJobSchedule.cs
index d7c6f9c12209..39db9a24bf79 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJobSchedule.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudJobSchedule.cs
@@ -16,8 +16,8 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A job schedule that allows recurring jobs by specifying when to run
- /// jobs and a specification used to create each job.
+ /// A Job Schedule that allows recurring Jobs by specifying when to run
+ /// Jobs and a specification used to create each Job.
///
public partial class CloudJobSchedule
{
@@ -33,32 +33,32 @@ public CloudJobSchedule()
/// Initializes a new instance of the CloudJobSchedule class.
///
/// A string that uniquely identifies the schedule
- /// within the account.
+ /// within the Account.
/// The display name for the
/// schedule.
- /// The URL of the job schedule.
- /// The ETag of the job schedule.
- /// The last modified time of the job
- /// schedule.
- /// The creation time of the job
- /// schedule.
- /// The current state of the job schedule.
- /// The time at which the job
- /// schedule entered the current state.
- /// The previous state of the job
- /// schedule.
- /// The time at which the job
- /// schedule entered its previous state.
- /// The schedule according to which jobs will be
+ /// The URL of the Job Schedule.
+ /// The ETag of the Job Schedule.
+ /// The last modified time of the Job
+ /// Schedule.
+ /// The creation time of the Job
+ /// Schedule.
+ /// The current state of the Job Schedule.
+ /// The time at which the Job
+ /// Schedule entered the current state.
+ /// The previous state of the Job
+ /// Schedule.
+ /// The time at which the Job
+ /// Schedule entered its previous state.
+ /// The schedule according to which Jobs will be
/// created.
- /// The details of the jobs to be
+ /// The details of the Jobs to be
/// created on this schedule.
- /// Information about jobs that have been
+ /// Information about Jobs that have been
/// and will be run under this schedule.
/// A list of name-value pairs associated with
/// the schedule as metadata.
/// The lifetime resource usage statistics for the
- /// job schedule. The statistics may not be immediately available. The
+ /// Job Schedule. The statistics may not be immediately available. The
/// Batch service performs periodic roll-up of statistics. The typical
/// delay is about 30 minutes.
public CloudJobSchedule(string id = default(string), string displayName = default(string), string url = default(string), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), JobScheduleState? state = default(JobScheduleState?), System.DateTime? stateTransitionTime = default(System.DateTime?), JobScheduleState? previousState = default(JobScheduleState?), System.DateTime? previousStateTransitionTime = default(System.DateTime?), Schedule schedule = default(Schedule), JobSpecification jobSpecification = default(JobSpecification), JobScheduleExecutionInformation executionInfo = default(JobScheduleExecutionInformation), IList metadata = default(IList), JobScheduleStatistics stats = default(JobScheduleStatistics))
@@ -88,7 +88,7 @@ public CloudJobSchedule()
///
/// Gets or sets a string that uniquely identifies the schedule within
- /// the account.
+ /// the Account.
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
@@ -100,17 +100,17 @@ public CloudJobSchedule()
public string DisplayName { get; set; }
///
- /// Gets or sets the URL of the job schedule.
+ /// Gets or sets the URL of the Job Schedule.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the ETag of the job schedule.
+ /// Gets or sets the ETag of the Job Schedule.
///
///
- /// This is an opaque string. You can use it to detect whether the job
- /// schedule has changed between requests. In particular, you can be
+ /// This is an opaque string. You can use it to detect whether the Job
+ /// Schedule has changed between requests. In particular, you can be
/// pass the ETag with an Update Job Schedule request to specify that
/// your changes should take effect only if nobody else has modified
/// the schedule in the meantime.
@@ -119,25 +119,25 @@ public CloudJobSchedule()
public string ETag { get; set; }
///
- /// Gets or sets the last modified time of the job schedule.
+ /// Gets or sets the last modified time of the Job Schedule.
///
///
/// This is the last time at which the schedule level data, such as the
- /// job specification or recurrence information, changed. It does not
- /// factor in job-level changes such as new jobs being created or jobs
+ /// Job specification or recurrence information, changed. It does not
+ /// factor in job-level changes such as new Jobs being created or Jobs
/// changing state.
///
[JsonProperty(PropertyName = "lastModified")]
public System.DateTime? LastModified { get; set; }
///
- /// Gets or sets the creation time of the job schedule.
+ /// Gets or sets the creation time of the Job Schedule.
///
[JsonProperty(PropertyName = "creationTime")]
public System.DateTime? CreationTime { get; set; }
///
- /// Gets or sets the current state of the job schedule.
+ /// Gets or sets the current state of the Job Schedule.
///
///
/// Possible values include: 'active', 'completed', 'disabled',
@@ -147,17 +147,17 @@ public CloudJobSchedule()
public JobScheduleState? State { get; set; }
///
- /// Gets or sets the time at which the job schedule entered the current
+ /// Gets or sets the time at which the Job Schedule entered the current
/// state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets the previous state of the job schedule.
+ /// Gets or sets the previous state of the Job Schedule.
///
///
- /// This property is not present if the job schedule is in its initial
+ /// This property is not present if the Job Schedule is in its initial
/// active state. Possible values include: 'active', 'completed',
/// 'disabled', 'terminating', 'deleting'
///
@@ -165,31 +165,31 @@ public CloudJobSchedule()
public JobScheduleState? PreviousState { get; set; }
///
- /// Gets or sets the time at which the job schedule entered its
+ /// Gets or sets the time at which the Job Schedule entered its
/// previous state.
///
///
- /// This property is not present if the job schedule is in its initial
+ /// This property is not present if the Job Schedule is in its initial
/// active state.
///
[JsonProperty(PropertyName = "previousStateTransitionTime")]
public System.DateTime? PreviousStateTransitionTime { get; set; }
///
- /// Gets or sets the schedule according to which jobs will be created.
+ /// Gets or sets the schedule according to which Jobs will be created.
///
[JsonProperty(PropertyName = "schedule")]
public Schedule Schedule { get; set; }
///
- /// Gets or sets the details of the jobs to be created on this
+ /// Gets or sets the details of the Jobs to be created on this
/// schedule.
///
[JsonProperty(PropertyName = "jobSpecification")]
public JobSpecification JobSpecification { get; set; }
///
- /// Gets or sets information about jobs that have been and will be run
+ /// Gets or sets information about Jobs that have been and will be run
/// under this schedule.
///
[JsonProperty(PropertyName = "executionInfo")]
@@ -207,8 +207,8 @@ public CloudJobSchedule()
public IList Metadata { get; set; }
///
- /// Gets or sets the lifetime resource usage statistics for the job
- /// schedule. The statistics may not be immediately available. The
+ /// Gets or sets the lifetime resource usage statistics for the Job
+ /// Schedule. The statistics may not be immediately available. The
/// Batch service performs periodic roll-up of statistics. The typical
/// delay is about 30 minutes.
///
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudPool.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudPool.cs
index 7f55a51903fb..56ecdf4c18c2 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudPool.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudPool.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A pool in the Azure Batch service.
+ /// A Pool in the Azure Batch service.
///
public partial class CloudPool
{
@@ -31,71 +31,73 @@ public CloudPool()
///
/// Initializes a new instance of the CloudPool class.
///
- /// A string that uniquely identifies the pool within
- /// the account.
- /// The display name for the pool.
- /// The URL of the pool.
- /// The ETag of the pool.
+ /// A string that uniquely identifies the Pool within
+ /// the Account.
+ /// The display name for the Pool.
+ /// The URL of the Pool.
+ /// The ETag of the Pool.
/// The last modified time of the
- /// pool.
- /// The creation time of the pool.
- /// The current state of the pool.
- /// The time at which the pool
+ /// Pool.
+ /// The creation time of the Pool.
+ /// The current state of the Pool.
+ /// The time at which the Pool
/// entered its current state.
- /// Whether the pool is resizing.
+ /// Whether the Pool is resizing.
/// The time at which the
- /// pool entered its current allocation state.
- /// The size of virtual machines in the pool. All
- /// virtual machines in a pool are the same size.
+ /// Pool entered its current allocation state.
+ /// The size of virtual machines in the Pool. All
+ /// virtual machines in a Pool are the same size.
/// The cloud service
- /// configuration for the pool.
+ /// configuration for the Pool.
/// The virtual machine
- /// configuration for the pool.
- /// The timeout for allocation of compute
- /// nodes to the pool.
+ /// configuration for the Pool.
+ /// The timeout for allocation of Compute
+ /// Nodes to the Pool.
/// A list of errors encountered while
- /// performing the last resize on the pool.
- /// The number of dedicated compute
- /// nodes currently in the pool.
+ /// performing the last resize on the Pool.
+ /// The number of dedicated Compute
+ /// Nodes currently in the Pool.
/// The number of low-priority
- /// compute nodes currently in the pool.
+ /// Compute Nodes currently in the Pool.
/// The desired number of dedicated
- /// compute nodes in the pool.
+ /// Compute Nodes in the Pool.
/// The desired number of
- /// low-priority compute nodes in the pool.
- /// Whether the pool size should
+ /// low-priority Compute Nodes in the Pool.
+ /// Whether the Pool size should
/// automatically adjust over time.
/// A formula for the desired number of
- /// compute nodes in the pool.
+ /// Compute Nodes in the Pool.
/// The time interval at
- /// which to automatically adjust the pool size according to the
+ /// which to automatically adjust the Pool size according to the
/// autoscale formula.
/// The results and errors from the last
/// execution of the autoscale formula.
- /// Whether the pool permits
- /// direct communication between nodes.
+ /// Whether the Pool permits
+ /// direct communication between Compute Nodes.
/// The network configuration for
- /// the pool.
- /// A task specified to run on each compute
- /// node as it joins the pool.
- /// The list of certificates to be
- /// installed on each compute node in the pool.
- /// The list of application
- /// packages to be installed on each compute node in the pool.
+ /// the Pool.
+ /// A Task specified to run on each Compute
+ /// Node as it joins the Pool.
+ /// The list of Certificates to be
+ /// installed on each Compute Node in the Pool.
+ /// The list of Packages to
+ /// be installed on each Compute Node in the Pool.
/// The list of application licenses
- /// the Batch service will make available on each compute node in the
- /// pool.
- /// The maximum number of tasks that can
- /// run concurrently on a single compute node in the pool.
- /// How tasks are distributed across
- /// compute nodes in a pool.
- /// The list of user accounts to be created
- /// on each node in the pool.
+ /// the Batch service will make available on each Compute Node in the
+ /// Pool.
+ /// The maximum number of Tasks that can
+ /// run concurrently on a single Compute Node in the Pool.
+ /// How Tasks are distributed across
+ /// Compute Nodes in a Pool.
+ /// The list of user Accounts to be created
+ /// on each Compute Node in the Pool.
/// A list of name-value pairs associated with
- /// the pool as metadata.
+ /// the Pool as metadata.
/// Utilization and resource usage statistics for
- /// the entire lifetime of the pool.
- public CloudPool(string id = default(string), string displayName = default(string), string url = default(string), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolState? state = default(PoolState?), System.DateTime? stateTransitionTime = default(System.DateTime?), AllocationState? allocationState = default(AllocationState?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), CloudServiceConfiguration cloudServiceConfiguration = default(CloudServiceConfiguration), VirtualMachineConfiguration virtualMachineConfiguration = default(VirtualMachineConfiguration), System.TimeSpan? resizeTimeout = default(System.TimeSpan?), IList resizeErrors = default(IList), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), int? targetDedicatedNodes = default(int?), int? targetLowPriorityNodes = default(int?), bool? enableAutoScale = default(bool?), string autoScaleFormula = default(string), System.TimeSpan? autoScaleEvaluationInterval = default(System.TimeSpan?), AutoScaleRun autoScaleRun = default(AutoScaleRun), bool? enableInterNodeCommunication = default(bool?), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), StartTask startTask = default(StartTask), IList certificateReferences = default(IList), IList applicationPackageReferences = default(IList), IList applicationLicenses = default(IList), int? maxTasksPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), IList userAccounts = default(IList), IList metadata = default(IList), PoolStatistics stats = default(PoolStatistics))
+ /// the entire lifetime of the Pool.
+ /// A list of file systems to mount on
+ /// each node in the pool.
+ public CloudPool(string id = default(string), string displayName = default(string), string url = default(string), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), PoolState? state = default(PoolState?), System.DateTime? stateTransitionTime = default(System.DateTime?), AllocationState? allocationState = default(AllocationState?), System.DateTime? allocationStateTransitionTime = default(System.DateTime?), string vmSize = default(string), CloudServiceConfiguration cloudServiceConfiguration = default(CloudServiceConfiguration), VirtualMachineConfiguration virtualMachineConfiguration = default(VirtualMachineConfiguration), System.TimeSpan? resizeTimeout = default(System.TimeSpan?), IList resizeErrors = default(IList), int? currentDedicatedNodes = default(int?), int? currentLowPriorityNodes = default(int?), int? targetDedicatedNodes = default(int?), int? targetLowPriorityNodes = default(int?), bool? enableAutoScale = default(bool?), string autoScaleFormula = default(string), System.TimeSpan? autoScaleEvaluationInterval = default(System.TimeSpan?), AutoScaleRun autoScaleRun = default(AutoScaleRun), bool? enableInterNodeCommunication = default(bool?), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), StartTask startTask = default(StartTask), IList certificateReferences = default(IList), IList applicationPackageReferences = default(IList), IList applicationLicenses = default(IList), int? maxTasksPerNode = default(int?), TaskSchedulingPolicy taskSchedulingPolicy = default(TaskSchedulingPolicy), IList userAccounts = default(IList), IList metadata = default(IList), PoolStatistics stats = default(PoolStatistics), IList mountConfiguration = default(IList))
{
Id = id;
DisplayName = displayName;
@@ -131,6 +133,7 @@ public CloudPool()
UserAccounts = userAccounts;
Metadata = metadata;
Stats = stats;
+ MountConfiguration = mountConfiguration;
CustomInit();
}
@@ -140,21 +143,21 @@ public CloudPool()
partial void CustomInit();
///
- /// Gets or sets a string that uniquely identifies the pool within the
- /// account.
+ /// Gets or sets a string that uniquely identifies the Pool within the
+ /// Account.
///
///
/// The ID can contain any combination of alphanumeric characters
/// including hyphens and underscores, and cannot contain more than 64
/// characters. The ID is case-preserving and case-insensitive (that
- /// is, you may not have two IDs within an account that differ only by
+ /// is, you may not have two IDs within an Account that differ only by
/// case).
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
///
- /// Gets or sets the display name for the pool.
+ /// Gets or sets the display name for the Pool.
///
///
/// The display name need not be unique and can contain any Unicode
@@ -164,43 +167,43 @@ public CloudPool()
public string DisplayName { get; set; }
///
- /// Gets or sets the URL of the pool.
+ /// Gets or sets the URL of the Pool.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the ETag of the pool.
+ /// Gets or sets the ETag of the Pool.
///
///
- /// This is an opaque string. You can use it to detect whether the pool
+ /// This is an opaque string. You can use it to detect whether the Pool
/// has changed between requests. In particular, you can be pass the
- /// ETag when updating a pool to specify that your changes should take
- /// effect only if nobody else has modified the pool in the meantime.
+ /// ETag when updating a Pool to specify that your changes should take
+ /// effect only if nobody else has modified the Pool in the meantime.
///
[JsonProperty(PropertyName = "eTag")]
public string ETag { get; set; }
///
- /// Gets or sets the last modified time of the pool.
+ /// Gets or sets the last modified time of the Pool.
///
///
- /// This is the last time at which the pool level data, such as the
+ /// This is the last time at which the Pool level data, such as the
/// targetDedicatedNodes or enableAutoscale settings, changed. It does
- /// not factor in node-level changes such as a compute node changing
+ /// not factor in node-level changes such as a Compute Node changing
/// state.
///
[JsonProperty(PropertyName = "lastModified")]
public System.DateTime? LastModified { get; set; }
///
- /// Gets or sets the creation time of the pool.
+ /// Gets or sets the creation time of the Pool.
///
[JsonProperty(PropertyName = "creationTime")]
public System.DateTime? CreationTime { get; set; }
///
- /// Gets or sets the current state of the pool.
+ /// Gets or sets the current state of the Pool.
///
///
/// Possible values include: 'active', 'deleting'
@@ -209,13 +212,13 @@ public CloudPool()
public PoolState? State { get; set; }
///
- /// Gets or sets the time at which the pool entered its current state.
+ /// Gets or sets the time at which the Pool entered its current state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets whether the pool is resizing.
+ /// Gets or sets whether the Pool is resizing.
///
///
/// Possible values include: 'steady', 'resizing', 'stopping'
@@ -224,38 +227,38 @@ public CloudPool()
public AllocationState? AllocationState { get; set; }
///
- /// Gets or sets the time at which the pool entered its current
+ /// Gets or sets the time at which the Pool entered its current
/// allocation state.
///
[JsonProperty(PropertyName = "allocationStateTransitionTime")]
public System.DateTime? AllocationStateTransitionTime { get; set; }
///
- /// Gets or sets the size of virtual machines in the pool. All virtual
- /// machines in a pool are the same size.
+ /// Gets or sets the size of virtual machines in the Pool. All virtual
+ /// machines in a Pool are the same size.
///
///
- /// For information about available sizes of virtual machines in pools,
- /// see Choose a VM size for compute nodes in an Azure Batch pool
+ /// For information about available sizes of virtual machines in Pools,
+ /// see Choose a VM size for Compute Nodes in an Azure Batch Pool
/// (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
///
[JsonProperty(PropertyName = "vmSize")]
public string VmSize { get; set; }
///
- /// Gets or sets the cloud service configuration for the pool.
+ /// Gets or sets the cloud service configuration for the Pool.
///
///
/// This property and virtualMachineConfiguration are mutually
/// exclusive and one of the properties must be specified. This
- /// property cannot be specified if the Batch account was created with
+ /// property cannot be specified if the Batch Account was created with
/// its poolAllocationMode property set to 'UserSubscription'.
///
[JsonProperty(PropertyName = "cloudServiceConfiguration")]
public CloudServiceConfiguration CloudServiceConfiguration { get; set; }
///
- /// Gets or sets the virtual machine configuration for the pool.
+ /// Gets or sets the virtual machine configuration for the Pool.
///
///
/// This property and cloudServiceConfiguration are mutually exclusive
@@ -265,12 +268,12 @@ public CloudPool()
public VirtualMachineConfiguration VirtualMachineConfiguration { get; set; }
///
- /// Gets or sets the timeout for allocation of compute nodes to the
- /// pool.
+ /// Gets or sets the timeout for allocation of Compute Nodes to the
+ /// Pool.
///
///
/// This is the timeout for the most recent resize operation. (The
- /// initial sizing when the pool is created counts as a resize.) The
+ /// initial sizing when the Pool is created counts as a resize.) The
/// default value is 15 minutes.
///
[JsonProperty(PropertyName = "resizeTimeout")]
@@ -278,66 +281,66 @@ public CloudPool()
///
/// Gets or sets a list of errors encountered while performing the last
- /// resize on the pool.
+ /// resize on the Pool.
///
///
/// This property is set only if one or more errors occurred during the
- /// last pool resize, and only when the pool allocationState is Steady.
+ /// last Pool resize, and only when the Pool allocationState is Steady.
///
[JsonProperty(PropertyName = "resizeErrors")]
public IList ResizeErrors { get; set; }
///
- /// Gets or sets the number of dedicated compute nodes currently in the
- /// pool.
+ /// Gets or sets the number of dedicated Compute Nodes currently in the
+ /// Pool.
///
[JsonProperty(PropertyName = "currentDedicatedNodes")]
public int? CurrentDedicatedNodes { get; set; }
///
- /// Gets or sets the number of low-priority compute nodes currently in
- /// the pool.
+ /// Gets or sets the number of low-priority Compute Nodes currently in
+ /// the Pool.
///
///
- /// Low-priority compute nodes which have been preempted are included
+ /// Low-priority Compute Nodes which have been preempted are included
/// in this count.
///
[JsonProperty(PropertyName = "currentLowPriorityNodes")]
public int? CurrentLowPriorityNodes { get; set; }
///
- /// Gets or sets the desired number of dedicated compute nodes in the
- /// pool.
+ /// Gets or sets the desired number of dedicated Compute Nodes in the
+ /// Pool.
///
[JsonProperty(PropertyName = "targetDedicatedNodes")]
public int? TargetDedicatedNodes { get; set; }
///
- /// Gets or sets the desired number of low-priority compute nodes in
- /// the pool.
+ /// Gets or sets the desired number of low-priority Compute Nodes in
+ /// the Pool.
///
[JsonProperty(PropertyName = "targetLowPriorityNodes")]
public int? TargetLowPriorityNodes { get; set; }
///
- /// Gets or sets whether the pool size should automatically adjust over
+ /// Gets or sets whether the Pool size should automatically adjust over
/// time.
///
///
/// If false, at least one of targetDedicateNodes and
/// targetLowPriorityNodes must be specified. If true, the
- /// autoScaleFormula property is required and the pool automatically
+ /// autoScaleFormula property is required and the Pool automatically
/// resizes according to the formula. The default value is false.
///
[JsonProperty(PropertyName = "enableAutoScale")]
public bool? EnableAutoScale { get; set; }
///
- /// Gets or sets a formula for the desired number of compute nodes in
- /// the pool.
+ /// Gets or sets a formula for the desired number of Compute Nodes in
+ /// the Pool.
///
///
- /// This property is set only if the pool automatically scales, i.e.
+ /// This property is set only if the Pool automatically scales, i.e.
/// enableAutoScale is true.
///
[JsonProperty(PropertyName = "autoScaleFormula")]
@@ -345,10 +348,10 @@ public CloudPool()
///
/// Gets or sets the time interval at which to automatically adjust the
- /// pool size according to the autoscale formula.
+ /// Pool size according to the autoscale formula.
///
///
- /// This property is set only if the pool automatically scales, i.e.
+ /// This property is set only if the Pool automatically scales, i.e.
/// enableAutoScale is true.
///
[JsonProperty(PropertyName = "autoScaleEvaluationInterval")]
@@ -359,107 +362,110 @@ public CloudPool()
/// autoscale formula.
///
///
- /// This property is set only if the pool automatically scales, i.e.
+ /// This property is set only if the Pool automatically scales, i.e.
/// enableAutoScale is true.
///
[JsonProperty(PropertyName = "autoScaleRun")]
public AutoScaleRun AutoScaleRun { get; set; }
///
- /// Gets or sets whether the pool permits direct communication between
- /// nodes.
+ /// Gets or sets whether the Pool permits direct communication between
+ /// Compute Nodes.
///
///
- /// This imposes restrictions on which nodes can be assigned to the
- /// pool. Specifying this value can reduce the chance of the requested
- /// number of nodes to be allocated in the pool.
+ /// This imposes restrictions on which Compute Nodes can be assigned to
+ /// the Pool. Specifying this value can reduce the chance of the
+ /// requested number of Compute Nodes to be allocated in the Pool.
///
[JsonProperty(PropertyName = "enableInterNodeCommunication")]
public bool? EnableInterNodeCommunication { get; set; }
///
- /// Gets or sets the network configuration for the pool.
+ /// Gets or sets the network configuration for the Pool.
///
[JsonProperty(PropertyName = "networkConfiguration")]
public NetworkConfiguration NetworkConfiguration { get; set; }
///
- /// Gets or sets a task specified to run on each compute node as it
- /// joins the pool.
+ /// Gets or sets a Task specified to run on each Compute Node as it
+ /// joins the Pool.
///
[JsonProperty(PropertyName = "startTask")]
public StartTask StartTask { get; set; }
///
- /// Gets or sets the list of certificates to be installed on each
- /// compute node in the pool.
+ /// Gets or sets the list of Certificates to be installed on each
+ /// Compute Node in the Pool.
///
///
- /// For Windows compute nodes, the Batch service installs the
- /// certificates to the specified certificate store and location. For
- /// Linux compute nodes, the certificates are stored in a directory
- /// inside the task working directory and an environment variable
- /// AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this
- /// location. For certificates with visibility of 'remoteUser', a
+ /// For Windows Nodes, the Batch service installs the Certificates to
+ /// the specified Certificate store and location. For Linux Compute
+ /// Nodes, the Certificates are stored in a directory inside the Task
+ /// working directory and an environment variable
+ /// AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this
+ /// location. For Certificates with visibility of 'remoteUser', a
/// 'certs' directory is created in the user's home directory (e.g.,
- /// /home/{user-name}/certs) and certificates are placed in that
+ /// /home/{user-name}/certs) and Certificates are placed in that
/// directory.
///
[JsonProperty(PropertyName = "certificateReferences")]
public IList CertificateReferences { get; set; }
///
- /// Gets or sets the list of application packages to be installed on
- /// each compute node in the pool.
+ /// Gets or sets the list of Packages to be installed on each Compute
+ /// Node in the Pool.
///
///
- /// Changes to application package references affect all new compute
- /// nodes joining the pool, but do not affect compute nodes that are
- /// already in the pool until they are rebooted or reimaged. There is a
- /// maximum of 10 application package references on any given pool.
+ /// Changes to Package references affect all new Nodes joining the
+ /// Pool, but do not affect Compute Nodes that are already in the Pool
+ /// until they are rebooted or reimaged. There is a maximum of 10
+ /// Package references on any given Pool.
///
[JsonProperty(PropertyName = "applicationPackageReferences")]
public IList ApplicationPackageReferences { get; set; }
///
/// Gets or sets the list of application licenses the Batch service
- /// will make available on each compute node in the pool.
+ /// will make available on each Compute Node in the Pool.
///
///
/// The list of application licenses must be a subset of available
/// Batch service application licenses. If a license is requested which
- /// is not supported, pool creation will fail.
+ /// is not supported, Pool creation will fail.
///
[JsonProperty(PropertyName = "applicationLicenses")]
public IList ApplicationLicenses { get; set; }
///
- /// Gets or sets the maximum number of tasks that can run concurrently
- /// on a single compute node in the pool.
+ /// Gets or sets the maximum number of Tasks that can run concurrently
+ /// on a single Compute Node in the Pool.
///
///
/// The default value is 1. The maximum value is the smaller of 4 times
- /// the number of cores of the vmSize of the pool or 256.
+ /// the number of cores of the vmSize of the Pool or 256.
///
[JsonProperty(PropertyName = "maxTasksPerNode")]
public int? MaxTasksPerNode { get; set; }
///
- /// Gets or sets how tasks are distributed across compute nodes in a
- /// pool.
+ /// Gets or sets how Tasks are distributed across Compute Nodes in a
+ /// Pool.
///
+ ///
+ /// If not specified, the default is spread.
+ ///
[JsonProperty(PropertyName = "taskSchedulingPolicy")]
public TaskSchedulingPolicy TaskSchedulingPolicy { get; set; }
///
- /// Gets or sets the list of user accounts to be created on each node
- /// in the pool.
+ /// Gets or sets the list of user Accounts to be created on each
+ /// Compute Node in the Pool.
///
[JsonProperty(PropertyName = "userAccounts")]
public IList UserAccounts { get; set; }
///
- /// Gets or sets a list of name-value pairs associated with the pool as
+ /// Gets or sets a list of name-value pairs associated with the Pool as
/// metadata.
///
[JsonProperty(PropertyName = "metadata")]
@@ -467,7 +473,7 @@ public CloudPool()
///
/// Gets or sets utilization and resource usage statistics for the
- /// entire lifetime of the pool.
+ /// entire lifetime of the Pool.
///
///
/// This property is populated only if the CloudPool was retrieved with
@@ -479,5 +485,15 @@ public CloudPool()
[JsonProperty(PropertyName = "stats")]
public PoolStatistics Stats { get; set; }
+ ///
+ /// Gets or sets a list of file systems to mount on each node in the
+ /// pool.
+ ///
+ ///
+ /// This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
+ ///
+ [JsonProperty(PropertyName = "mountConfiguration")]
+ public IList MountConfiguration { get; set; }
+
}
}
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs
index 657923f5e50a..5cb44e39547a 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs
@@ -14,8 +14,8 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The configuration for nodes in a pool based on the Azure Cloud Services
- /// platform.
+ /// The configuration for Compute Nodes in a Pool based on the Azure Cloud
+ /// Services platform.
///
public partial class CloudServiceConfiguration
{
@@ -31,9 +31,9 @@ public CloudServiceConfiguration()
/// Initializes a new instance of the CloudServiceConfiguration class.
///
/// The Azure Guest OS family to be installed on
- /// the virtual machines in the pool.
+ /// the virtual machines in the Pool.
/// The Azure Guest OS version to be installed
- /// on the virtual machines in the pool.
+ /// on the virtual machines in the Pool.
public CloudServiceConfiguration(string osFamily, string osVersion = default(string))
{
OsFamily = osFamily;
@@ -48,7 +48,7 @@ public CloudServiceConfiguration()
///
/// Gets or sets the Azure Guest OS family to be installed on the
- /// virtual machines in the pool.
+ /// virtual machines in the Pool.
///
///
/// Possible values are:
@@ -65,7 +65,7 @@ public CloudServiceConfiguration()
///
/// Gets or sets the Azure Guest OS version to be installed on the
- /// virtual machines in the pool.
+ /// virtual machines in the Pool.
///
///
/// The default value is * which specifies the latest operating system
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTask.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTask.cs
index 5f1d3b28730a..6ca95e1d17de 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTask.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTask.cs
@@ -16,20 +16,19 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An Azure Batch task.
+ /// An Azure Batch Task.
///
///
- /// Batch will retry tasks when a recovery operation is triggered on a
- /// compute node. Examples of recovery operations include (but are not
- /// limited to) when an unhealthy compute node is rebooted or a compute
- /// node disappeared due to host failure. Retries due to recovery
- /// operations are independent of and are not counted against the
- /// maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal
- /// retry due to a recovery operation may occur. Because of this, all tasks
- /// should be idempotent. This means tasks need to tolerate being
- /// interrupted and restarted without causing any corruption or duplicate
- /// data. The best practice for long running tasks is to use some form of
- /// checkpointing.
+ /// Batch will retry Tasks when a recovery operation is triggered on a
+ /// Node. Examples of recovery operations include (but are not limited to)
+ /// when an unhealthy Node is rebooted or a Compute Node disappeared due to
+ /// host failure. Retries due to recovery operations are independent of and
+ /// are not counted against the maxTaskRetryCount. Even if the
+ /// maxTaskRetryCount is 0, an internal retry due to a recovery operation
+ /// may occur. Because of this, all Tasks should be idempotent. This means
+ /// Tasks need to tolerate being interrupted and restarted without causing
+ /// any corruption or duplicate data. The best practice for long running
+ /// Tasks is to use some form of checkpointing.
///
public partial class CloudTask
{
@@ -44,55 +43,55 @@ public CloudTask()
///
/// Initializes a new instance of the CloudTask class.
///
- /// A string that uniquely identifies the task within
- /// the job.
- /// A display name for the task.
- /// The URL of the task.
- /// The ETag of the task.
+ /// A string that uniquely identifies the Task within
+ /// the Job.
+ /// A display name for the Task.
+ /// The URL of the Task.
+ /// The ETag of the Task.
/// The last modified time of the
- /// task.
- /// The creation time of the task.
+ /// Task.
+ /// The creation time of the Task.
/// How the Batch service should respond
- /// when the task completes.
- /// The current state of the task.
- /// The time at which the task
+ /// when the Task completes.
+ /// The current state of the Task.
+ /// The time at which the Task
/// entered its current state.
- /// The previous state of the task.
+ /// The previous state of the Task.
/// The time at which the
- /// task entered its previous state.
- /// The command line of the task.
+ /// Task entered its previous state.
+ /// The command line of the Task.
/// The settings for the container
- /// under which the task runs.
+ /// under which the Task runs.
/// A list of files that the Batch service
- /// will download to the compute node before running the command
+ /// will download to the Compute Node before running the command
/// line.
/// A list of files that the Batch service
- /// will upload from the compute node after running the command
+ /// will upload from the Compute Node after running the command
/// line.
/// A list of environment variable
- /// settings for the task.
+ /// settings for the Task.
/// A locality hint that can be used by the
- /// Batch service to select a compute node on which to start the new
- /// task.
+ /// Batch service to select a Compute Node on which to start the new
+ /// Task.
/// The execution constraints that apply to
- /// this task.
- /// The user identity under which the task
+ /// this Task.
+ /// The user identity under which the Task
/// runs.
/// Information about the execution of the
- /// task.
- /// Information about the compute node on which
- /// the task ran.
+ /// Task.
+ /// Information about the Compute Node on which
+ /// the Task ran.
/// An object that indicates that
- /// the task is a multi-instance task, and contains information about
- /// how to run the multi-instance task.
- /// Resource usage statistics for the task.
- /// The tasks that this task depends
+ /// the Task is a multi-instance Task, and contains information about
+ /// how to run the multi-instance Task.
+ /// Resource usage statistics for the Task.
+ /// The Tasks that this Task depends
/// on.
- /// A list of application
- /// packages that the Batch service will deploy to the compute node
- /// before running the command line.
+ /// A list of Packages that
+ /// the Batch service will deploy to the Compute Node before running
+ /// the command line.
/// The settings for an
- /// authentication token that the task can use to perform Batch service
+ /// authentication token that the Task can use to perform Batch service
/// operations.
public CloudTask(string id = default(string), string displayName = default(string), string url = default(string), string eTag = default(string), System.DateTime? lastModified = default(System.DateTime?), System.DateTime? creationTime = default(System.DateTime?), ExitConditions exitConditions = default(ExitConditions), TaskState? state = default(TaskState?), System.DateTime? stateTransitionTime = default(System.DateTime?), TaskState? previousState = default(TaskState?), System.DateTime? previousStateTransitionTime = default(System.DateTime?), string commandLine = default(string), TaskContainerSettings containerSettings = default(TaskContainerSettings), IList resourceFiles = default(IList), IList outputFiles = default(IList), IList environmentSettings = default(IList), AffinityInformation affinityInfo = default(AffinityInformation), TaskConstraints constraints = default(TaskConstraints), UserIdentity userIdentity = default(UserIdentity), TaskExecutionInformation executionInfo = default(TaskExecutionInformation), ComputeNodeInformation nodeInfo = default(ComputeNodeInformation), MultiInstanceSettings multiInstanceSettings = default(MultiInstanceSettings), TaskStatistics stats = default(TaskStatistics), TaskDependencies dependsOn = default(TaskDependencies), IList applicationPackageReferences = default(IList), AuthenticationTokenSettings authenticationTokenSettings = default(AuthenticationTokenSettings))
{
@@ -131,8 +130,8 @@ public CloudTask()
partial void CustomInit();
///
- /// Gets or sets a string that uniquely identifies the task within the
- /// job.
+ /// Gets or sets a string that uniquely identifies the Task within the
+ /// Job.
///
///
/// The ID can contain any combination of alphanumeric characters
@@ -143,7 +142,7 @@ public CloudTask()
public string Id { get; set; }
///
- /// Gets or sets a display name for the task.
+ /// Gets or sets a display name for the Task.
///
///
/// The display name need not be unique and can contain any Unicode
@@ -153,44 +152,44 @@ public CloudTask()
public string DisplayName { get; set; }
///
- /// Gets or sets the URL of the task.
+ /// Gets or sets the URL of the Task.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the ETag of the task.
+ /// Gets or sets the ETag of the Task.
///
///
- /// This is an opaque string. You can use it to detect whether the task
+ /// This is an opaque string. You can use it to detect whether the Task
/// has changed between requests. In particular, you can be pass the
- /// ETag when updating a task to specify that your changes should take
- /// effect only if nobody else has modified the task in the meantime.
+ /// ETag when updating a Task to specify that your changes should take
+ /// effect only if nobody else has modified the Task in the meantime.
///
[JsonProperty(PropertyName = "eTag")]
public string ETag { get; set; }
///
- /// Gets or sets the last modified time of the task.
+ /// Gets or sets the last modified time of the Task.
///
[JsonProperty(PropertyName = "lastModified")]
public System.DateTime? LastModified { get; set; }
///
- /// Gets or sets the creation time of the task.
+ /// Gets or sets the creation time of the Task.
///
[JsonProperty(PropertyName = "creationTime")]
public System.DateTime? CreationTime { get; set; }
///
- /// Gets or sets how the Batch service should respond when the task
+ /// Gets or sets how the Batch service should respond when the Task
/// completes.
///
[JsonProperty(PropertyName = "exitConditions")]
public ExitConditions ExitConditions { get; set; }
///
- /// Gets or sets the current state of the task.
+ /// Gets or sets the current state of the Task.
///
///
/// Possible values include: 'active', 'preparing', 'running',
@@ -200,16 +199,16 @@ public CloudTask()
public TaskState? State { get; set; }
///
- /// Gets or sets the time at which the task entered its current state.
+ /// Gets or sets the time at which the Task entered its current state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets the previous state of the task.
+ /// Gets or sets the previous state of the Task.
///
///
- /// This property is not set if the task is in its initial Active
+ /// This property is not set if the Task is in its initial Active
/// state. Possible values include: 'active', 'preparing', 'running',
/// 'completed'
///
@@ -217,28 +216,28 @@ public CloudTask()
public TaskState? PreviousState { get; set; }
///
- /// Gets or sets the time at which the task entered its previous state.
+ /// Gets or sets the time at which the Task entered its previous state.
///
///
- /// This property is not set if the task is in its initial Active
+ /// This property is not set if the Task is in its initial Active
/// state.
///
[JsonProperty(PropertyName = "previousStateTransitionTime")]
public System.DateTime? PreviousStateTransitionTime { get; set; }
///
- /// Gets or sets the command line of the task.
+ /// Gets or sets the command line of the Task.
///
///
- /// For multi-instance tasks, the command line is executed as the
- /// primary task, after the primary task and all subtasks have finished
+ /// For multi-instance Tasks, the command line is executed as the
+ /// primary Task, after the primary Task and all subtasks have finished
/// executing the coordination command line. The command line does not
/// run under a shell, and therefore cannot take advantage of shell
/// features such as environment variable expansion. If you want to
/// take advantage of such features, you should invoke the shell in the
/// command line, for example using "cmd /c MyCommand" in Windows or
/// "/bin/sh -c MyCommand" in Linux. If the command line refers to file
- /// paths, it should use a relative path (relative to the task working
+ /// paths, it should use a relative path (relative to the Task working
/// directory), or use the Batch provided environment variable
/// (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
///
@@ -246,17 +245,17 @@ public CloudTask()
public string CommandLine { get; set; }
///
- /// Gets or sets the settings for the container under which the task
+ /// Gets or sets the settings for the container under which the Task
/// runs.
///
///
- /// If the pool that will run this task has containerConfiguration set,
- /// this must be set as well. If the pool that will run this task
+ /// If the Pool that will run this Task has containerConfiguration set,
+ /// this must be set as well. If the Pool that will run this Task
/// doesn't have containerConfiguration set, this must not be set. When
/// this is specified, all directories recursively below the
/// AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the
- /// node) are mapped into the container, all task environment variables
- /// are mapped into the container, and the task command line is
+ /// node) are mapped into the container, all Task environment variables
+ /// are mapped into the container, and the Task command line is
/// executed in the container. Files produced in the container outside
/// of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk,
/// meaning that Batch file APIs will not be able to access those
@@ -267,11 +266,11 @@ public CloudTask()
///
/// Gets or sets a list of files that the Batch service will download
- /// to the compute node before running the command line.
+ /// to the Compute Node before running the command line.
///
///
- /// For multi-instance tasks, the resource files will only be
- /// downloaded to the compute node on which the primary task is
+ /// For multi-instance Tasks, the resource files will only be
+ /// downloaded to the Compute Node on which the primary Task is
/// executed. There is a maximum size for the list of resource files.
/// When the max size is exceeded, the request will fail and the
/// response error code will be RequestEntityTooLarge. If this occurs,
@@ -284,111 +283,111 @@ public CloudTask()
///
/// Gets or sets a list of files that the Batch service will upload
- /// from the compute node after running the command line.
+ /// from the Compute Node after running the command line.
///
///
- /// For multi-instance tasks, the files will only be uploaded from the
- /// compute node on which the primary task is executed.
+ /// For multi-instance Tasks, the files will only be uploaded from the
+ /// Compute Node on which the primary Task is executed.
///
[JsonProperty(PropertyName = "outputFiles")]
public IList OutputFiles { get; set; }
///
- /// Gets or sets a list of environment variable settings for the task.
+ /// Gets or sets a list of environment variable settings for the Task.
///
[JsonProperty(PropertyName = "environmentSettings")]
public IList EnvironmentSettings { get; set; }
///
/// Gets or sets a locality hint that can be used by the Batch service
- /// to select a compute node on which to start the new task.
+ /// to select a Compute Node on which to start the new Task.
///
[JsonProperty(PropertyName = "affinityInfo")]
public AffinityInformation AffinityInfo { get; set; }
///
- /// Gets or sets the execution constraints that apply to this task.
+ /// Gets or sets the execution constraints that apply to this Task.
///
[JsonProperty(PropertyName = "constraints")]
public TaskConstraints Constraints { get; set; }
///
- /// Gets or sets the user identity under which the task runs.
+ /// Gets or sets the user identity under which the Task runs.
///
///
- /// If omitted, the task runs as a non-administrative user unique to
- /// the task.
+ /// If omitted, the Task runs as a non-administrative user unique to
+ /// the Task.
///
[JsonProperty(PropertyName = "userIdentity")]
public UserIdentity UserIdentity { get; set; }
///
- /// Gets or sets information about the execution of the task.
+ /// Gets or sets information about the execution of the Task.
///
[JsonProperty(PropertyName = "executionInfo")]
public TaskExecutionInformation ExecutionInfo { get; set; }
///
- /// Gets or sets information about the compute node on which the task
+ /// Gets or sets information about the Compute Node on which the Task
/// ran.
///
[JsonProperty(PropertyName = "nodeInfo")]
public ComputeNodeInformation NodeInfo { get; set; }
///
- /// Gets or sets an object that indicates that the task is a
- /// multi-instance task, and contains information about how to run the
- /// multi-instance task.
+ /// Gets or sets an object that indicates that the Task is a
+ /// multi-instance Task, and contains information about how to run the
+ /// multi-instance Task.
///
[JsonProperty(PropertyName = "multiInstanceSettings")]
public MultiInstanceSettings MultiInstanceSettings { get; set; }
///
- /// Gets or sets resource usage statistics for the task.
+ /// Gets or sets resource usage statistics for the Task.
///
[JsonProperty(PropertyName = "stats")]
public TaskStatistics Stats { get; set; }
///
- /// Gets or sets the tasks that this task depends on.
+ /// Gets or sets the Tasks that this Task depends on.
///
///
- /// This task will not be scheduled until all tasks that it depends on
- /// have completed successfully. If any of those tasks fail and exhaust
- /// their retry counts, this task will never be scheduled.
+ /// This Task will not be scheduled until all Tasks that it depends on
+ /// have completed successfully. If any of those Tasks fail and exhaust
+ /// their retry counts, this Task will never be scheduled.
///
[JsonProperty(PropertyName = "dependsOn")]
public TaskDependencies DependsOn { get; set; }
///
- /// Gets or sets a list of application packages that the Batch service
- /// will deploy to the compute node before running the command line.
+ /// Gets or sets a list of Packages that the Batch service will deploy
+ /// to the Compute Node before running the command line.
///
///
/// Application packages are downloaded and deployed to a shared
- /// directory, not the task working directory. Therefore, if a
- /// referenced package is already on the compute node, and is up to
- /// date, then it is not re-downloaded; the existing copy on the
- /// compute node is used. If a referenced application package cannot be
- /// installed, for example because the package has been deleted or
- /// because download failed, the task fails.
+ /// directory, not the Task working directory. Therefore, if a
+ /// referenced package is already on the Node, and is up to date, then
+ /// it is not re-downloaded; the existing copy on the Compute Node is
+ /// used. If a referenced Package cannot be installed, for example
+ /// because the package has been deleted or because download failed,
+ /// the Task fails.
///
[JsonProperty(PropertyName = "applicationPackageReferences")]
public IList ApplicationPackageReferences { get; set; }
///
- /// Gets or sets the settings for an authentication token that the task
+ /// Gets or sets the settings for an authentication token that the Task
/// can use to perform Batch service operations.
///
///
- /// If this property is set, the Batch service provides the task with
+ /// If this property is set, the Batch service provides the Task with
/// an authentication token which can be used to authenticate Batch
- /// service operations without requiring an account access key. The
+ /// service operations without requiring an Account access key. The
/// token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment
- /// variable. The operations that the task can carry out using the
- /// token depend on the settings. For example, a task can request job
- /// permissions in order to add other tasks to the job, or check the
- /// status of the job or of other tasks under the job.
+ /// variable. The operations that the Task can carry out using the
+ /// token depend on the settings. For example, a Task can request Job
+ /// permissions in order to add other Tasks to the Job, or check the
+ /// status of the Job or of other Tasks under the Job.
///
[JsonProperty(PropertyName = "authenticationTokenSettings")]
public AuthenticationTokenSettings AuthenticationTokenSettings { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTaskListSubtasksResult.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTaskListSubtasksResult.cs
index ea5481da6b5f..435cca10f70a 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTaskListSubtasksResult.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudTaskListSubtasksResult.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The result of listing the subtasks of a task.
+ /// The result of listing the subtasks of a Task.
///
public partial class CloudTaskListSubtasksResult
{
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNode.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNode.cs
index 3f7d92b6df7d..dee210b4799f 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNode.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNode.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A compute node in the Batch service.
+ /// A Compute Node in the Batch service.
///
public partial class ComputeNode
{
@@ -31,51 +31,53 @@ public ComputeNode()
///
/// Initializes a new instance of the ComputeNode class.
///
- /// The ID of the compute node.
- /// The URL of the compute node.
- /// The current state of the compute node.
- /// Whether the compute node is available
- /// for task scheduling.
- /// The time at which the compute
- /// node entered its current state.
- /// The last time at which the compute node
+ /// The ID of the Compute Node.
+ /// The URL of the Compute Node.
+ /// The current state of the Compute Node.
+ /// Whether the Compute Node is available
+ /// for Task scheduling.
+ /// The time at which the Compute
+ /// Node entered its current state.
+ /// The last time at which the Compute Node
/// was started.
- /// The time at which this compute node
- /// was allocated to the pool.
- /// The IP address that other compute nodes can
- /// use to communicate with this compute node.
+ /// The time at which this Compute Node
+ /// was allocated to the Pool.
+ /// The IP address that other Nodes can use to
+ /// communicate with this Compute Node.
/// An identifier which can be passed when
- /// adding a task to request that the task be scheduled on this
- /// node.
+ /// adding a Task to request that the Task be scheduled on this Compute
+ /// Node.
/// The size of the virtual machine hosting the
- /// compute node.
- /// The total number of job tasks completed
- /// on the compute node. This includes Job Manager tasks and normal
- /// tasks, but not Job Preparation, Job Release or Start tasks.
+ /// Compute Node.
+ /// The total number of Job Tasks completed
+ /// on the Compute Node. This includes Job Manager Tasks and normal
+ /// Tasks, but not Job Preparation, Job Release or Start Tasks.
/// The total number of currently
- /// running job tasks on the compute node. This includes Job Manager
- /// tasks and normal tasks, but not Job Preparation, Job Release or
- /// Start tasks.
- /// The total number of job tasks
- /// which completed successfully (with exitCode 0) on the compute node.
- /// This includes Job Manager tasks and normal tasks, but not Job
- /// Preparation, Job Release or Start tasks.
- /// A list of tasks whose state has recently
+ /// running Job Tasks on the Compute Node. This includes Job Manager
+ /// Tasks and normal Tasks, but not Job Preparation, Job Release or
+ /// Start Tasks.
+ /// The total number of Job Tasks
+ /// which completed successfully (with exitCode 0) on the Compute Node.
+ /// This includes Job Manager Tasks and normal Tasks, but not Job
+ /// Preparation, Job Release or Start Tasks.
+ /// A list of Tasks whose state has recently
/// changed.
- /// The task specified to run on the compute
- /// node as it joins the pool.
+ /// The Task specified to run on the Compute
+ /// Node as it joins the Pool.
/// Runtime information about the execution
- /// of the start task on the compute node.
- /// The list of certificates
- /// installed on the compute node.
+ /// of the StartTask on the Compute Node.
+ /// The list of Certificates
+ /// installed on the Compute Node.
/// The list of errors that are currently being
- /// encountered by the compute node.
- /// Whether this compute node is a dedicated
- /// node. If false, the node is a low-priority node.
+ /// encountered by the Compute Node.
+ /// Whether this Compute Node is a dedicated
+ /// Compute Node. If false, the Compute Node is a low-priority Compute
+ /// Node.
/// The endpoint configuration for
- /// the compute node.
- /// Information about the node agent
- /// version and the time the node upgraded to a new version.
+ /// the Compute Node.
+ /// Information about the Compute Node
+ /// agent version and the time the Compute Node upgraded to a new
+ /// version.
public ComputeNode(string id = default(string), string url = default(string), ComputeNodeState? state = default(ComputeNodeState?), SchedulingState? schedulingState = default(SchedulingState?), System.DateTime? stateTransitionTime = default(System.DateTime?), System.DateTime? lastBootTime = default(System.DateTime?), System.DateTime? allocationTime = default(System.DateTime?), string ipAddress = default(string), string affinityId = default(string), string vmSize = default(string), int? totalTasksRun = default(int?), int? runningTasksCount = default(int?), int? totalTasksSucceeded = default(int?), IList recentTasks = default(IList), StartTask startTask = default(StartTask), StartTaskInformation startTaskInfo = default(StartTaskInformation), IList certificateReferences = default(IList), IList errors = default(IList), bool? isDedicated = default(bool?), ComputeNodeEndpointConfiguration endpointConfiguration = default(ComputeNodeEndpointConfiguration), NodeAgentInformation nodeAgentInfo = default(NodeAgentInformation))
{
Id = id;
@@ -108,38 +110,39 @@ public ComputeNode()
partial void CustomInit();
///
- /// Gets or sets the ID of the compute node.
+ /// Gets or sets the ID of the Compute Node.
///
///
- /// 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.
+ /// Every Compute Node that is added to a Pool is assigned a unique ID.
+ /// Whenever a Compute Node is removed from a Pool, all of its local
+ /// files are deleted, and the ID is reclaimed and could be reused for
+ /// new Compute Nodes.
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
///
- /// Gets or sets the URL of the compute node.
+ /// Gets or sets the URL of the Compute Node.
///
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
///
- /// Gets or sets the current state of the compute node.
+ /// Gets or sets the current state of the Compute Node.
///
///
- /// 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'
+ /// The low-priority Compute Node has been preempted. Tasks which were
+ /// running on the Compute Node when it was preempted will be
+ /// rescheduled when another Compute Node becomes available. Possible
+ /// values include: 'idle', 'rebooting', 'reimaging', 'running',
+ /// 'unusable', 'creating', 'starting', 'waitingForStartTask',
+ /// 'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted'
///
[JsonProperty(PropertyName = "state")]
public ComputeNodeState? State { get; set; }
///
- /// Gets or sets whether the compute node is available for task
+ /// Gets or sets whether the Compute Node is available for Task
/// scheduling.
///
///
@@ -149,132 +152,133 @@ public ComputeNode()
public SchedulingState? SchedulingState { get; set; }
///
- /// Gets or sets the time at which the compute node entered its current
+ /// Gets or sets the time at which the Compute Node entered its current
/// state.
///
[JsonProperty(PropertyName = "stateTransitionTime")]
public System.DateTime? StateTransitionTime { get; set; }
///
- /// Gets or sets the last time at which the compute node was started.
+ /// Gets or sets the last time at which the Compute Node was started.
///
///
- /// This property may not be present if the node state is unusable.
+ /// This property may not be present if the Compute Node state is
+ /// unusable.
///
[JsonProperty(PropertyName = "lastBootTime")]
public System.DateTime? LastBootTime { get; set; }
///
- /// Gets or sets the time at which this compute node was allocated to
- /// the pool.
+ /// Gets or sets the time at which this Compute Node was allocated to
+ /// the Pool.
///
///
- /// This is the time when the node was initially allocated and doesn't
- /// change once set. It is not updated when the node is service healed
- /// or preempted.
+ /// This is the time when the Compute Node was initially allocated and
+ /// doesn't change once set. It is not updated when the Compute Node is
+ /// service healed or preempted.
///
[JsonProperty(PropertyName = "allocationTime")]
public System.DateTime? AllocationTime { get; set; }
///
- /// Gets or sets the IP address that other compute nodes can use to
- /// communicate with this compute node.
+ /// Gets or sets the IP address that other Nodes can use to communicate
+ /// with this Compute Node.
///
///
- /// Every node that is added to a pool is assigned a unique IP address.
- /// Whenever a node is removed from a pool, all of its local files are
- /// deleted, and the IP address is reclaimed and could be reused for
- /// new nodes.
+ /// Every Compute Node that is added to a Pool is assigned a unique IP
+ /// address. Whenever a Compute Node is removed from a Pool, all of its
+ /// local files are deleted, and the IP address is reclaimed and could
+ /// be reused for new Compute Nodes.
///
[JsonProperty(PropertyName = "ipAddress")]
public string IpAddress { get; set; }
///
- /// Gets or sets an identifier which can be passed when adding a task
- /// to request that the task be scheduled on this node.
+ /// Gets or sets an identifier which can be passed when adding a Task
+ /// to request that the Task be scheduled on this Compute Node.
///
///
- /// Note that this is just a soft affinity. If the target node is busy
- /// or unavailable at the time the task is scheduled, then the task
- /// will be scheduled elsewhere.
+ /// Note that this is just a soft affinity. If the target Compute Node
+ /// is busy or unavailable at the time the Task is scheduled, then the
+ /// Task will be scheduled elsewhere.
///
[JsonProperty(PropertyName = "affinityId")]
public string AffinityId { get; set; }
///
- /// Gets or sets the size of the virtual machine hosting the compute
- /// node.
+ /// Gets or sets the size of the virtual machine hosting the Compute
+ /// Node.
///
///
- /// For information about available sizes of virtual machines in pools,
- /// see Choose a VM size for compute nodes in an Azure Batch pool
+ /// For information about available sizes of virtual machines in Pools,
+ /// see Choose a VM size for Compute Nodes in an Azure Batch Pool
/// (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
///
[JsonProperty(PropertyName = "vmSize")]
public string VmSize { get; set; }
///
- /// Gets or sets the total number of job tasks completed on the compute
- /// node. This includes Job Manager tasks and normal tasks, but not Job
- /// Preparation, Job Release or Start tasks.
+ /// Gets or sets the total number of Job Tasks completed on the Compute
+ /// Node. This includes Job Manager Tasks and normal Tasks, but not Job
+ /// Preparation, Job Release or Start Tasks.
///
[JsonProperty(PropertyName = "totalTasksRun")]
public int? TotalTasksRun { get; set; }
///
- /// Gets or sets the total number of currently running job tasks on the
- /// compute node. This includes Job Manager tasks and normal tasks, but
- /// not Job Preparation, Job Release or Start tasks.
+ /// Gets or sets the total number of currently running Job Tasks on the
+ /// Compute Node. This includes Job Manager Tasks and normal Tasks, but
+ /// not Job Preparation, Job Release or Start Tasks.
///
[JsonProperty(PropertyName = "runningTasksCount")]
public int? RunningTasksCount { get; set; }
///
- /// Gets or sets the total number of job tasks which completed
- /// successfully (with exitCode 0) on the compute node. This includes
- /// Job Manager tasks and normal tasks, but not Job Preparation, Job
- /// Release or Start tasks.
+ /// Gets or sets the total number of Job Tasks which completed
+ /// successfully (with exitCode 0) on the Compute Node. This includes
+ /// Job Manager Tasks and normal Tasks, but not Job Preparation, Job
+ /// Release or Start Tasks.
///
[JsonProperty(PropertyName = "totalTasksSucceeded")]
public int? TotalTasksSucceeded { get; set; }
///
- /// Gets or sets a list of tasks whose state has recently changed.
+ /// Gets or sets a list of Tasks whose state has recently changed.
///
///
- /// This property is present only if at least one task has run on this
- /// node since it was assigned to the pool.
+ /// This property is present only if at least one Task has run on this
+ /// Compute Node since it was assigned to the Pool.
///
[JsonProperty(PropertyName = "recentTasks")]
public IList RecentTasks { get; set; }
///
- /// Gets or sets the task specified to run on the compute node as it
- /// joins the pool.
+ /// Gets or sets the Task specified to run on the Compute Node as it
+ /// joins the Pool.
///
[JsonProperty(PropertyName = "startTask")]
public StartTask StartTask { get; set; }
///
- /// Gets or sets runtime information about the execution of the start
- /// task on the compute node.
+ /// Gets or sets runtime information about the execution of the
+ /// StartTask on the Compute Node.
///
[JsonProperty(PropertyName = "startTaskInfo")]
public StartTaskInformation StartTaskInfo { get; set; }
///
- /// Gets or sets the list of certificates installed on the compute
- /// node.
+ /// Gets or sets the list of Certificates installed on the Compute
+ /// Node.
///
///
- /// For Windows compute nodes, the Batch service installs the
- /// certificates to the specified certificate store and location. For
- /// Linux compute nodes, the certificates are stored in a directory
- /// inside the task working directory and an environment variable
- /// AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this
- /// location. For certificates with visibility of 'remoteUser', a
+ /// For Windows Nodes, the Batch service installs the Certificates to
+ /// the specified Certificate store and location. For Linux Compute
+ /// Nodes, the Certificates are stored in a directory inside the Task
+ /// working directory and an environment variable
+ /// AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this
+ /// location. For Certificates with visibility of 'remoteUser', a
/// 'certs' directory is created in the user's home directory (e.g.,
- /// /home/{user-name}/certs) and certificates are placed in that
+ /// /home/{user-name}/certs) and Certificates are placed in that
/// directory.
///
[JsonProperty(PropertyName = "certificateReferences")]
@@ -282,27 +286,27 @@ public ComputeNode()
///
/// Gets or sets the list of errors that are currently being
- /// encountered by the compute node.
+ /// encountered by the Compute Node.
///
[JsonProperty(PropertyName = "errors")]
public IList Errors { get; set; }
///
- /// Gets or sets whether this compute node is a dedicated node. If
- /// false, the node is a low-priority node.
+ /// Gets or sets whether this Compute Node is a dedicated Compute Node.
+ /// If false, the Compute Node is a low-priority Compute Node.
///
[JsonProperty(PropertyName = "isDedicated")]
public bool? IsDedicated { get; set; }
///
- /// Gets or sets the endpoint configuration for the compute node.
+ /// Gets or sets the endpoint configuration for the Compute Node.
///
[JsonProperty(PropertyName = "endpointConfiguration")]
public ComputeNodeEndpointConfiguration EndpointConfiguration { get; set; }
///
- /// Gets or sets information about the node agent version and the time
- /// the node upgraded to a new version.
+ /// Gets or sets information about the Compute Node agent version and
+ /// the time the Compute Node upgraded to a new version.
///
[JsonProperty(PropertyName = "nodeAgentInfo")]
public NodeAgentInformation NodeAgentInfo { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeAddUserHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeAddUserHeaders.cs
index 4cbc70bdf7d8..b909ca915c12 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeAddUserHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeAddUserHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeAddUserHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -79,8 +79,8 @@ public ComputeNodeAddUserHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeallocationOption.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeallocationOption.cs
index 77afa4647b9e..2cd2bdacc757 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeallocationOption.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeallocationOption.cs
@@ -22,29 +22,30 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ComputeNodeDeallocationOption
{
///
- /// Terminate running task processes and requeue the tasks. The tasks
- /// will run again when a node is available. Remove nodes as soon as
- /// tasks have been terminated.
+ /// Terminate running Task processes and requeue the Tasks. The Tasks
+ /// will run again when a Compute Node is available. Remove Compute
+ /// Nodes as soon as Tasks have been terminated.
///
[EnumMember(Value = "requeue")]
Requeue,
///
- /// Terminate running tasks. The tasks will be completed with
+ /// Terminate running Tasks. The Tasks will be completed with
/// failureInfo indicating that they were terminated, and will not run
- /// again. Remove nodes as soon as tasks have been terminated.
+ /// again. Remove Compute Nodes as soon as Tasks have been terminated.
///
[EnumMember(Value = "terminate")]
Terminate,
///
- /// Allow currently running tasks to complete. Schedule no new tasks
- /// while waiting. Remove nodes when all tasks have completed.
+ /// Allow currently running Tasks to complete. Schedule no new Tasks
+ /// while waiting. Remove Compute Nodes when all Tasks have completed.
///
[EnumMember(Value = "taskcompletion")]
TaskCompletion,
///
- /// Allow currently running tasks to complete, then wait for all task
- /// data retention periods to expire. Schedule no new tasks while
- /// waiting. Remove nodes when all task retention periods have expired.
+ /// Allow currently running Tasks to complete, then wait for all Task
+ /// data retention periods to expire. Schedule no new Tasks while
+ /// waiting. Remove Compute Nodes when all Task retention periods have
+ /// expired.
///
[EnumMember(Value = "retaineddata")]
RetainedData
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeleteUserHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeleteUserHeaders.cs
index 3b907e653be8..e1b619312c56 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeleteUserHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDeleteUserHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeDeleteUserHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
public ComputeNodeDeleteUserHeaders(string clientRequestId = default(string), string requestId = default(string))
{
ClientRequestId = clientRequestId;
@@ -67,8 +67,8 @@ public ComputeNodeDeleteUserHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public string RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDisableSchedulingHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDisableSchedulingHeaders.cs
index bc90e39dac49..c1bfaffd1d3b 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDisableSchedulingHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeDisableSchedulingHeaders.cs
@@ -41,8 +41,8 @@ public ComputeNodeDisableSchedulingHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -81,8 +81,8 @@ public ComputeNodeDisableSchedulingHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEnableSchedulingHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEnableSchedulingHeaders.cs
index e42adce58f16..3d6569a49b52 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEnableSchedulingHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEnableSchedulingHeaders.cs
@@ -41,8 +41,8 @@ public ComputeNodeEnableSchedulingHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -81,8 +81,8 @@ public ComputeNodeEnableSchedulingHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEndpointConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEndpointConfiguration.cs
index 8ac2a0f381ea..fb4ddd9a7dae 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEndpointConfiguration.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeEndpointConfiguration.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The endpoint configuration for the compute node.
+ /// The endpoint configuration for the Compute Node.
///
public partial class ComputeNodeEndpointConfiguration
{
@@ -34,7 +34,7 @@ public ComputeNodeEndpointConfiguration()
/// class.
///
/// The list of inbound endpoints that
- /// are accessible on the compute node.
+ /// are accessible on the Compute Node.
public ComputeNodeEndpointConfiguration(IList inboundEndpoints)
{
InboundEndpoints = inboundEndpoints;
@@ -48,7 +48,7 @@ public ComputeNodeEndpointConfiguration(IList inboundEndpoints)
///
/// Gets or sets the list of inbound endpoints that are accessible on
- /// the compute node.
+ /// the Compute Node.
///
[JsonProperty(PropertyName = "inboundEndpoints")]
public IList InboundEndpoints { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeError.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeError.cs
index 1cd2943f50d7..83f43069b7cd 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeError.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeError.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An error encountered by a compute node.
+ /// An error encountered by a Compute Node.
///
public partial class ComputeNodeError
{
@@ -31,13 +31,13 @@ public ComputeNodeError()
///
/// Initializes a new instance of the ComputeNodeError class.
///
- /// An identifier for the compute node error. Codes
+ /// An identifier for the Compute Node error. Codes
/// are invariant and are intended to be consumed
/// programmatically.
- /// A message describing the compute node error,
+ /// A message describing the Compute Node error,
/// intended to be suitable for display in a user interface.
/// The list of additional error details
- /// related to the compute node error.
+ /// related to the Compute Node error.
public ComputeNodeError(string code = default(string), string message = default(string), IList errorDetails = default(IList))
{
Code = code;
@@ -52,14 +52,14 @@ public ComputeNodeError()
partial void CustomInit();
///
- /// Gets or sets an identifier for the compute node error. Codes are
+ /// Gets or sets an identifier for the Compute Node error. Codes are
/// invariant and are intended to be consumed programmatically.
///
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
///
- /// Gets or sets a message describing the compute node error, intended
+ /// Gets or sets a message describing the Compute Node error, intended
/// to be suitable for display in a user interface.
///
[JsonProperty(PropertyName = "message")]
@@ -67,7 +67,7 @@ public ComputeNodeError()
///
/// Gets or sets the list of additional error details related to the
- /// compute node error.
+ /// Compute Node error.
///
[JsonProperty(PropertyName = "errorDetails")]
public IList ErrorDetails { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeFillType.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeFillType.cs
index ca1fc3c70083..9bebb8852446 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeFillType.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeFillType.cs
@@ -22,14 +22,15 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ComputeNodeFillType
{
///
- /// Tasks should be assigned evenly across all nodes in the pool.
+ /// Tasks should be assigned evenly across all Compute Nodes in the
+ /// Pool.
///
[EnumMember(Value = "spread")]
Spread,
///
- /// As many tasks as possible (maxTasksPerNode) should be assigned to
- /// each node in the pool before any tasks are assigned to the next
- /// node in the pool.
+ /// As many Tasks as possible (maxTasksPerNode) should be assigned to
+ /// each Compute Node in the Pool before any Tasks are assigned to the
+ /// next Compute Node in the Pool.
///
[EnumMember(Value = "pack")]
Pack
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetHeaders.cs
index 9a67a76055bf..cac0707fd6bb 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeGetHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public ComputeNodeGetHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteDesktopHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteDesktopHeaders.cs
index 85e94f161e03..efcf7f4ad969 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteDesktopHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteDesktopHeaders.cs
@@ -41,8 +41,8 @@ public ComputeNodeGetRemoteDesktopHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -78,8 +78,8 @@ public ComputeNodeGetRemoteDesktopHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsHeaders.cs
index 7bfd4cc15af6..4fa7710cbbe7 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsHeaders.cs
@@ -41,8 +41,8 @@ public ComputeNodeGetRemoteLoginSettingsHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -78,8 +78,8 @@ public ComputeNodeGetRemoteLoginSettingsHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsResult.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsResult.cs
index 51d384131d70..e5385aa71e61 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsResult.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeGetRemoteLoginSettingsResult.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The remote login settings for a compute node.
+ /// The remote login settings for a Compute Node.
///
public partial class ComputeNodeGetRemoteLoginSettingsResult
{
@@ -32,9 +32,9 @@ public ComputeNodeGetRemoteLoginSettingsResult()
/// ComputeNodeGetRemoteLoginSettingsResult class.
///
/// The IP address used for remote
- /// login to the compute node.
+ /// login to the Compute Node.
/// The port used for remote login to the
- /// compute node.
+ /// Compute Node.
public ComputeNodeGetRemoteLoginSettingsResult(string remoteLoginIPAddress, int remoteLoginPort)
{
RemoteLoginIPAddress = remoteLoginIPAddress;
@@ -48,14 +48,14 @@ public ComputeNodeGetRemoteLoginSettingsResult(string remoteLoginIPAddress, int
partial void CustomInit();
///
- /// Gets or sets the IP address used for remote login to the compute
- /// node.
+ /// Gets or sets the IP address used for remote login to the Compute
+ /// Node.
///
[JsonProperty(PropertyName = "remoteLoginIPAddress")]
public string RemoteLoginIPAddress { get; set; }
///
- /// Gets or sets the port used for remote login to the compute node.
+ /// Gets or sets the port used for remote login to the Compute Node.
///
[JsonProperty(PropertyName = "remoteLoginPort")]
public int RemoteLoginPort { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeInformation.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeInformation.cs
index 1fec2c7e64c3..ca2594beb647 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeInformation.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeInformation.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// Information about the compute node on which a task ran.
+ /// Information about the Compute Node on which a Task ran.
///
public partial class ComputeNodeInformation
{
@@ -29,19 +29,19 @@ public ComputeNodeInformation()
///
/// Initializes a new instance of the ComputeNodeInformation class.
///
- /// An identifier for the compute node on
- /// which the task ran, which can be passed when adding a task to
- /// request that the task be scheduled on this compute node.
- /// The URL of the node on which the task ran.
- ///
- /// The ID of the pool on which the task
+ /// An identifier for the Node on which the
+ /// Task ran, which can be passed when adding a Task to request that
+ /// the Task be scheduled on this Compute Node.
+ /// The URL of the Compute Node on which the Task
+ /// ran.
+ /// The ID of the Pool on which the Task
/// ran.
- /// The ID of the node on which the task
+ /// The ID of the Compute Node on which the Task
/// ran.
- /// The root directory of the task on
- /// the compute node.
+ /// The root directory of the Task on
+ /// the Compute Node.
/// The URL to the root directory of
- /// the task on the compute node.
+ /// the Task on the Compute Node.
public ComputeNodeInformation(string affinityId = default(string), string nodeUrl = default(string), string poolId = default(string), string nodeId = default(string), string taskRootDirectory = default(string), string taskRootDirectoryUrl = default(string))
{
AffinityId = affinityId;
@@ -59,40 +59,40 @@ public ComputeNodeInformation()
partial void CustomInit();
///
- /// Gets or sets an identifier for the compute node on which the task
- /// ran, which can be passed when adding a task to request that the
- /// task be scheduled on this compute node.
+ /// Gets or sets an identifier for the Node on which the Task ran,
+ /// which can be passed when adding a Task to request that the Task be
+ /// scheduled on this Compute Node.
///
[JsonProperty(PropertyName = "affinityId")]
public string AffinityId { get; set; }
///
- /// Gets or sets the URL of the node on which the task ran.
+ /// Gets or sets the URL of the Compute Node on which the Task ran.
///
[JsonProperty(PropertyName = "nodeUrl")]
public string NodeUrl { get; set; }
///
- /// Gets or sets the ID of the pool on which the task ran.
+ /// Gets or sets the ID of the Pool on which the Task ran.
///
[JsonProperty(PropertyName = "poolId")]
public string PoolId { get; set; }
///
- /// Gets or sets the ID of the node on which the task ran.
+ /// Gets or sets the ID of the Compute Node on which the Task ran.
///
[JsonProperty(PropertyName = "nodeId")]
public string NodeId { get; set; }
///
- /// Gets or sets the root directory of the task on the compute node.
+ /// Gets or sets the root directory of the Task on the Compute Node.
///
[JsonProperty(PropertyName = "taskRootDirectory")]
public string TaskRootDirectory { get; set; }
///
- /// Gets or sets the URL to the root directory of the task on the
- /// compute node.
+ /// Gets or sets the URL to the root directory of the Task on the
+ /// Compute Node.
///
[JsonProperty(PropertyName = "taskRootDirectoryUrl")]
public string TaskRootDirectoryUrl { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListHeaders.cs
index 843986ddfa2c..55d8d8cf55b1 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeListHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -76,8 +76,8 @@ public ComputeNodeListHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListOptions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListOptions.cs
index cc1ec97cbe71..120f5985099d 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListOptions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeListOptions.cs
@@ -36,7 +36,8 @@ public ComputeNodeListOptions()
/// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
/// An OData $select clause.
/// The maximum number of items to return in
- /// the response. A maximum of 1000 nodes can be returned.
+ /// the response. A maximum of 1000 Compute Nodes can be
+ /// returned.
/// The maximum time that the server can spend
/// processing the request, in seconds. The default is 30
/// seconds.
@@ -81,7 +82,7 @@ public ComputeNodeListOptions()
///
/// Gets or sets the maximum number of items to return in the response.
- /// A maximum of 1000 nodes can be returned.
+ /// A maximum of 1000 Compute Nodes can be returned.
///
[Newtonsoft.Json.JsonIgnore]
public int? MaxResults { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootHeaders.cs
index ea277f952995..849aba089c00 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeRebootHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -79,8 +79,8 @@ public ComputeNodeRebootHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootOption.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootOption.cs
index 894b0d028da9..da557c4e857f 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootOption.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeRebootOption.cs
@@ -22,30 +22,32 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ComputeNodeRebootOption
{
///
- /// Terminate running task processes and requeue the tasks. The tasks
- /// will run again when a node is available. Restart the node as soon
- /// as tasks have been terminated.
+ /// Terminate running Task processes and requeue the Tasks. The Tasks
+ /// will run again when a Compute Node is available. Restart the
+ /// Compute Node as soon as Tasks have been terminated.
///
[EnumMember(Value = "requeue")]
Requeue,
///
- /// Terminate running tasks. The tasks will be completed with
+ /// Terminate running Tasks. The Tasks will be completed with
/// failureInfo indicating that they were terminated, and will not run
- /// again. Restart the node as soon as tasks have been terminated.
+ /// again. Restart the Compute Node as soon as Tasks have been
+ /// terminated.
///
[EnumMember(Value = "terminate")]
Terminate,
///
- /// Allow currently running tasks to complete. Schedule no new tasks
- /// while waiting. Restart the node when all tasks have completed.
+ /// Allow currently running Tasks to complete. Schedule no new Tasks
+ /// while waiting. Restart the Compute Node when all Tasks have
+ /// completed.
///
[EnumMember(Value = "taskcompletion")]
TaskCompletion,
///
- /// Allow currently running tasks to complete, then wait for all task
- /// data retention periods to expire. Schedule no new tasks while
- /// waiting. Restart the node when all task retention periods have
- /// expired.
+ /// Allow currently running Tasks to complete, then wait for all Task
+ /// data retention periods to expire. Schedule no new Tasks while
+ /// waiting. Restart the Compute Node when all Task retention periods
+ /// have expired.
///
[EnumMember(Value = "retaineddata")]
RetainedData
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageHeaders.cs
index dc9a69f858d2..cbe986f6dc41 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeReimageHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -79,8 +79,8 @@ public ComputeNodeReimageHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageOption.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageOption.cs
index 930e8505a91a..86b40b869009 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageOption.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeReimageOption.cs
@@ -22,30 +22,32 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ComputeNodeReimageOption
{
///
- /// Terminate running task processes and requeue the tasks. The tasks
- /// will run again when a node is available. Reimage the node as soon
- /// as tasks have been terminated.
+ /// Terminate running Task processes and requeue the Tasks. The Tasks
+ /// will run again when a Compute Node is available. Reimage the
+ /// Compute Node as soon as Tasks have been terminated.
///
[EnumMember(Value = "requeue")]
Requeue,
///
- /// Terminate running tasks. The tasks will be completed with
+ /// Terminate running Tasks. The Tasks will be completed with
/// failureInfo indicating that they were terminated, and will not run
- /// again. Reimage the node as soon as tasks have been terminated.
+ /// again. Reimage the Compute Node as soon as Tasks have been
+ /// terminated.
///
[EnumMember(Value = "terminate")]
Terminate,
///
- /// Allow currently running tasks to complete. Schedule no new tasks
- /// while waiting. Reimage the node when all tasks have completed.
+ /// Allow currently running Tasks to complete. Schedule no new Tasks
+ /// while waiting. Reimage the Compute Node when all Tasks have
+ /// completed.
///
[EnumMember(Value = "taskcompletion")]
TaskCompletion,
///
- /// Allow currently running tasks to complete, then wait for all task
- /// data retention periods to expire. Schedule no new tasks while
- /// waiting. Reimage the node when all task retention periods have
- /// expired.
+ /// Allow currently running Tasks to complete, then wait for all Task
+ /// data retention periods to expire. Schedule no new Tasks while
+ /// waiting. Reimage the Compute Node when all Task retention periods
+ /// have expired.
///
[EnumMember(Value = "retaineddata")]
RetainedData
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeState.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeState.cs
index 41cf4dc2fa33..8193ecbcf0fa 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeState.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeState.cs
@@ -22,33 +22,34 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ComputeNodeState
{
///
- /// The node is not currently running a task.
+ /// The Compute Node is not currently running a Task.
///
[EnumMember(Value = "idle")]
Idle,
///
- /// The node is rebooting.
+ /// The Compute Node is rebooting.
///
[EnumMember(Value = "rebooting")]
Rebooting,
///
- /// The node is reimaging.
+ /// The Compute Node is reimaging.
///
[EnumMember(Value = "reimaging")]
Reimaging,
///
- /// The node is running one or more tasks (other than a start task).
+ /// The Compute Node is running one or more Tasks (other than a
+ /// StartTask).
///
[EnumMember(Value = "running")]
Running,
///
- /// The node cannot be used for task execution due to errors.
+ /// The Compute Node cannot be used for Task execution due to errors.
///
[EnumMember(Value = "unusable")]
Unusable,
///
/// The Batch service has obtained the underlying virtual machine from
- /// Azure Compute, but it has not yet started to join the pool.
+ /// Azure Compute, but it has not yet started to join the Pool.
///
[EnumMember(Value = "creating")]
Creating,
@@ -58,40 +59,41 @@ public enum ComputeNodeState
[EnumMember(Value = "starting")]
Starting,
///
- /// The start task has started running on the compute node, but
- /// waitForSuccess is set and the start task has not yet completed.
+ /// The StartTask has started running on the Compute Node, but
+ /// waitForSuccess is set and the StartTask has not yet completed.
///
[EnumMember(Value = "waitingforstarttask")]
WaitingForStartTask,
///
- /// The start task has failed on the compute node (and exhausted all
- /// retries), and waitForSuccess is set. The node is not usable for
- /// running tasks.
+ /// The StartTask has failed on the Compute Node (and exhausted all
+ /// retries), and waitForSuccess is set. The Compute Node is not usable
+ /// for running Tasks.
///
[EnumMember(Value = "starttaskfailed")]
StartTaskFailed,
///
- /// The Batch service has lost contact with the node, and does not know
- /// its true state.
+ /// The Batch service has lost contact with the Compute Node, and does
+ /// not know its true state.
///
[EnumMember(Value = "unknown")]
Unknown,
///
- /// The node is leaving the pool, either because the user explicitly
- /// removed it or because the pool is resizing or autoscaling down.
+ /// The Compute Node is leaving the Pool, either because the user
+ /// explicitly removed it or because the Pool is resizing or
+ /// autoscaling down.
///
[EnumMember(Value = "leavingpool")]
LeavingPool,
///
- /// The node is not currently running a task, and scheduling of new
- /// tasks to the node is disabled.
+ /// The Compute Node is not currently running a Task, and scheduling of
+ /// new Tasks to the Compute Node is disabled.
///
[EnumMember(Value = "offline")]
Offline,
///
- /// 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.
+ /// The low-priority Compute Node has been preempted. Tasks which were
+ /// running on the Compute Node when it was preempted will be
+ /// rescheduled when another Compute Node becomes available.
///
[EnumMember(Value = "preempted")]
Preempted
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUpdateUserHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUpdateUserHeaders.cs
index 05e04e11f37f..d14f2ac84522 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUpdateUserHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUpdateUserHeaders.cs
@@ -41,8 +41,8 @@ public ComputeNodeUpdateUserHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
/// The ETag HTTP response header. This is an opaque
/// string. You can use it to detect whether the resource has changed
/// between requests. In particular, you can pass the ETag to one of
@@ -81,8 +81,8 @@ public ComputeNodeUpdateUserHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUploadBatchServiceLogsHeaders.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUploadBatchServiceLogsHeaders.cs
index 0f0bd8044ecb..4e300311cab8 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUploadBatchServiceLogsHeaders.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUploadBatchServiceLogsHeaders.cs
@@ -39,8 +39,8 @@ public ComputeNodeUploadBatchServiceLogsHeaders()
/// and you have verified that the request is properly formulated, you
/// may use this value to report the error to Microsoft. In your
/// report, include the value of this request ID, the approximate time
- /// that the request was made, the Batch account against which the
- /// request was made, and the region that account resides in.
+ /// that the request was made, the Batch Account against which the
+ /// request was made, and the region that Account resides in.
public ComputeNodeUploadBatchServiceLogsHeaders(System.Guid? clientRequestId = default(System.Guid?), System.Guid? requestId = default(System.Guid?))
{
ClientRequestId = clientRequestId;
@@ -67,8 +67,8 @@ public ComputeNodeUploadBatchServiceLogsHeaders()
/// have verified that the request is properly formulated, you may use
/// this value to report the error to Microsoft. In your report,
/// include the value of this request ID, the approximate time that the
- /// request was made, the Batch account against which the request was
- /// made, and the region that account resides in.
+ /// request was made, the Batch Account against which the request was
+ /// made, and the region that Account resides in.
///
[JsonProperty(PropertyName = "request-id")]
public System.Guid? RequestId { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUser.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUser.cs
index 7538545a2cbd..9baa10e54b85 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUser.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ComputeNodeUser.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// A user account for RDP or SSH access on a compute node.
+ /// A user Account for RDP or SSH access on a Compute Node.
///
public partial class ComputeNodeUser
{
@@ -29,14 +29,14 @@ public ComputeNodeUser()
///
/// Initializes a new instance of the ComputeNodeUser class.
///
- /// The user name of the account.
- /// Whether the account should be an
- /// administrator on the compute node.
- /// The time at which the account should
+ /// The user name of the Account.
+ /// Whether the Account should be an
+ /// administrator on the Compute Node.
+ /// The time at which the Account should
/// expire.
- /// The password of the account.
+ /// The password of the Account.
/// The SSH public key that can be used for
- /// remote login to the compute node.
+ /// remote login to the Compute Node.
public ComputeNodeUser(string name, bool? isAdmin = default(bool?), System.DateTime? expiryTime = default(System.DateTime?), string password = default(string), string sshPublicKey = default(string))
{
Name = name;
@@ -53,14 +53,14 @@ public ComputeNodeUser()
partial void CustomInit();
///
- /// Gets or sets the user name of the account.
+ /// Gets or sets the user name of the Account.
///
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
- /// Gets or sets whether the account should be an administrator on the
- /// compute node.
+ /// Gets or sets whether the Account should be an administrator on the
+ /// Compute Node.
///
///
/// The default value is false.
@@ -69,23 +69,23 @@ public ComputeNodeUser()
public bool? IsAdmin { get; set; }
///
- /// Gets or sets the time at which the account should expire.
+ /// Gets or sets the time at which the Account should expire.
///
///
/// If omitted, the default is 1 day from the current time. For Linux
- /// compute nodes, the expiryTime has a precision up to a day.
+ /// Compute Nodes, the expiryTime has a precision up to a day.
///
[JsonProperty(PropertyName = "expiryTime")]
public System.DateTime? ExpiryTime { get; set; }
///
- /// Gets or sets the password of the account.
+ /// Gets or sets the password of the Account.
///
///
- /// The password is required for Windows nodes (those created with
- /// 'cloudServiceConfiguration', or created with
- /// 'virtualMachineConfiguration' using a Windows image reference). For
- /// Linux compute nodes, the password can optionally be specified along
+ /// The password is required for Windows Compute Nodes (those created
+ /// with 'cloudServiceConfiguration', or created with
+ /// 'virtualMachineConfiguration' using a Windows Image reference). For
+ /// Linux Compute Nodes, the password can optionally be specified along
/// with the sshPublicKey property.
///
[JsonProperty(PropertyName = "password")]
@@ -93,14 +93,15 @@ public ComputeNodeUser()
///
/// Gets or sets the SSH public key that can be used for remote login
- /// to the compute node.
+ /// to the Compute Node.
///
///
/// The public key should be compatible with OpenSSH encoding and
/// should be base 64 encoded. This property can be specified only for
- /// Linux nodes. If this is specified for a Windows node, then the
- /// Batch service rejects the request; if you are calling the REST API
- /// directly, the HTTP status code is 400 (Bad Request).
+ /// Linux Compute Nodes. If this is specified for a Windows Compute
+ /// Node, then the Batch service rejects the request; if you are
+ /// calling the REST API directly, the HTTP status code is 400 (Bad
+ /// Request).
///
[JsonProperty(PropertyName = "sshPublicKey")]
public string SshPublicKey { get; set; }
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerConfiguration.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerConfiguration.cs
index 77ecd196147c..43dcd1280e13 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerConfiguration.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerConfiguration.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// The configuration for container-enabled pools.
+ /// The configuration for container-enabled Pools.
///
public partial class ContainerConfiguration
{
@@ -31,7 +31,7 @@ public ContainerConfiguration()
///
/// Initializes a new instance of the ContainerConfiguration class.
///
- /// The collection of container image
+ /// The collection of container Image
/// names.
/// Additional private registries
/// from which containers can be pulled.
@@ -55,12 +55,12 @@ static ContainerConfiguration()
partial void CustomInit();
///
- /// Gets or sets the collection of container image names.
+ /// Gets or sets the collection of container Image names.
///
///
- /// This is the full image reference, as would be specified to "docker
- /// pull". An image will be sourced from the default Docker registry
- /// unless the image is fully qualified with an alternative registry.
+ /// This is the full Image reference, as would be specified to "docker
+ /// pull". An Image will be sourced from the default Docker registry
+ /// unless the Image is fully qualified with an alternative registry.
///
[JsonProperty(PropertyName = "containerImageNames")]
public IList ContainerImageNames { get; set; }
@@ -70,7 +70,7 @@ static ContainerConfiguration()
/// can be pulled.
///
///
- /// If any images must be downloaded from a private registry which
+ /// If any Images must be downloaded from a private registry which
/// requires credentials, then those credentials must be provided here.
///
[JsonProperty(PropertyName = "containerRegistries")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerWorkingDirectory.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerWorkingDirectory.cs
index 0444dbbc2d2b..d54f0132aa72 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerWorkingDirectory.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ContainerWorkingDirectory.cs
@@ -22,13 +22,13 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum ContainerWorkingDirectory
{
///
- /// Use the standard Batch service task working directory, which will
+ /// Use the standard Batch service Task working directory, which will
/// contain the Task Resource Files populated by Batch.
///
[EnumMember(Value = "taskWorkingDirectory")]
TaskWorkingDirectory,
///
- /// Use the working directory defined in the container image. Beware
+ /// Use the working directory defined in the container Image. Beware
/// that this directory will not contain the Resource Files downloaded
/// by Batch.
///
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DataDisk.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DataDisk.cs
index 0ac8b8d7b2fe..aba77f5f43c8 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DataDisk.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DataDisk.cs
@@ -14,8 +14,9 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// Settings which will be used by the data disks associated to compute
- /// nodes in the pool.
+ /// Settings which will be used by the data disks associated to Compute
+ /// Nodes in the Pool. When using attached data disks, you need to mount
+ /// and format the disks from within a VM to use them.
///
public partial class DataDisk
{
@@ -35,7 +36,7 @@ public DataDisk()
/// gigabytes.
/// The type of caching to be enabled for the
/// data disks.
- /// The storage account type to be
+ /// The storage Account type to be
/// used for the data disk.
public DataDisk(int lun, int diskSizeGB, CachingType? caching = default(CachingType?), StorageAccountType? storageAccountType = default(StorageAccountType?))
{
@@ -80,7 +81,7 @@ public DataDisk()
public int DiskSizeGB { get; set; }
///
- /// Gets or sets the storage account type to be used for the data disk.
+ /// Gets or sets the storage Account type to be used for the data disk.
///
///
/// If omitted, the default is "standard_lrs". Possible values include:
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DeleteCertificateError.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DeleteCertificateError.cs
index befcfcb6c0dc..2173ae101713 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DeleteCertificateError.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DeleteCertificateError.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An error encountered by the Batch service when deleting a certificate.
+ /// An error encountered by the Batch service when deleting a Certificate.
///
public partial class DeleteCertificateError
{
@@ -31,14 +31,14 @@ public DeleteCertificateError()
///
/// Initializes a new instance of the DeleteCertificateError class.
///
- /// An identifier for the certificate deletion
+ /// An identifier for the Certificate deletion
/// error. Codes are invariant and are intended to be consumed
/// programmatically.
- /// A message describing the certificate deletion
+ /// A message describing the Certificate deletion
/// error, intended to be suitable for display in a user
/// interface.
/// A list of additional error details related to
- /// the certificate deletion error.
+ /// the Certificate deletion error.
public DeleteCertificateError(string code = default(string), string message = default(string), IList values = default(IList))
{
Code = code;
@@ -53,7 +53,7 @@ public DeleteCertificateError()
partial void CustomInit();
///
- /// Gets or sets an identifier for the certificate deletion error.
+ /// Gets or sets an identifier for the Certificate deletion error.
/// Codes are invariant and are intended to be consumed
/// programmatically.
///
@@ -61,7 +61,7 @@ public DeleteCertificateError()
public string Code { get; set; }
///
- /// Gets or sets a message describing the certificate deletion error,
+ /// Gets or sets a message describing the Certificate deletion error,
/// intended to be suitable for display in a user interface.
///
[JsonProperty(PropertyName = "message")]
@@ -69,12 +69,12 @@ public DeleteCertificateError()
///
/// Gets or sets a list of additional error details related to the
- /// certificate deletion error.
+ /// Certificate deletion error.
///
///
- /// This list includes details such as the active pools and nodes
- /// referencing this certificate. However, if a large number of
- /// resources reference the certificate, the list contains only about
+ /// This list includes details such as the active Pools and Compute
+ /// Nodes referencing this Certificate. However, if a large number of
+ /// resources reference the Certificate, the list contains only about
/// the first hundred.
///
[JsonProperty(PropertyName = "values")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DependencyAction.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DependencyAction.cs
index 0f54828c7d0a..3132b9eec38c 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DependencyAction.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DependencyAction.cs
@@ -22,12 +22,14 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum DependencyAction
{
///
- /// Satisfy the task's dependencies.
+ /// Satisfy tasks waiting on this task; once all dependencies are
+ /// satisfied, the task will be scheduled to run.
///
[EnumMember(Value = "satisfy")]
Satisfy,
///
- /// Block the task's dependencies.
+ /// Blocks tasks waiting on this task, preventing them from being
+ /// scheduled.
///
[EnumMember(Value = "block")]
Block
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableComputeNodeSchedulingOption.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableComputeNodeSchedulingOption.cs
index 0b022d7f1dad..aeb18a566d32 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableComputeNodeSchedulingOption.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableComputeNodeSchedulingOption.cs
@@ -22,23 +22,23 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum DisableComputeNodeSchedulingOption
{
///
- /// Terminate running task processes and requeue the tasks. The tasks
- /// may run again on other compute nodes, or when task scheduling is
- /// re-enabled on this node. Enter offline state as soon as tasks have
- /// been terminated.
+ /// Terminate running Task processes and requeue the Tasks. The Tasks
+ /// may run again on other Compute Nodes, or when Task scheduling is
+ /// re-enabled on this Compute Node. Enter offline state as soon as
+ /// Tasks have been terminated.
///
[EnumMember(Value = "requeue")]
Requeue,
///
- /// Terminate running tasks. The tasks will be completed with
+ /// Terminate running Tasks. The Tasks will be completed with
/// failureInfo indicating that they were terminated, and will not run
- /// again. Enter offline state as soon as tasks have been terminated.
+ /// again. Enter offline state as soon as Tasks have been terminated.
///
[EnumMember(Value = "terminate")]
Terminate,
///
- /// Allow currently running tasks to complete. Schedule no new tasks
- /// while waiting. Enter offline state when all tasks have completed.
+ /// Allow currently running Tasks to complete. Schedule no new Tasks
+ /// while waiting. Enter offline state when all Tasks have completed.
///
[EnumMember(Value = "taskcompletion")]
TaskCompletion
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableJobOption.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableJobOption.cs
index c135f263eac1..252f3b2648ff 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableJobOption.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/DisableJobOption.cs
@@ -22,20 +22,20 @@ namespace Microsoft.Azure.Batch.Protocol.Models
public enum DisableJobOption
{
///
- /// Terminate running tasks and requeue them. The tasks will run again
- /// when the job is enabled.
+ /// Terminate running Tasks and requeue them. The Tasks will run again
+ /// when the Job is enabled.
///
[EnumMember(Value = "requeue")]
Requeue,
///
- /// Terminate running tasks. The tasks will be completed with
+ /// Terminate running Tasks. The Tasks will be completed with
/// failureInfo indicating that they were terminated, and will not run
/// again.
///
[EnumMember(Value = "terminate")]
Terminate,
///
- /// Allow currently running tasks to complete.
+ /// Allow currently running Tasks to complete.
///
[EnumMember(Value = "wait")]
Wait
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/EnvironmentSetting.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/EnvironmentSetting.cs
index e8a492669a2c..2eedd58c65d0 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/EnvironmentSetting.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/EnvironmentSetting.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// An environment variable to be set on a task process.
+ /// An environment variable to be set on a Task process.
///
public partial class EnvironmentSetting
{
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeMapping.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeMapping.cs
index 7ee4246562fe..c1781afeaa6b 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeMapping.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeMapping.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// How the Batch service should respond if a task exits with a particular
+ /// How the Batch service should respond if a Task exits with a particular
/// exit code.
///
public partial class ExitCodeMapping
@@ -32,7 +32,7 @@ public ExitCodeMapping()
///
/// A process exit code.
/// How the Batch service should respond if
- /// the task exits with this exit code.
+ /// the Task exits with this exit code.
public ExitCodeMapping(int code, ExitOptions exitOptions)
{
Code = code;
@@ -52,7 +52,7 @@ public ExitCodeMapping(int code, ExitOptions exitOptions)
public int Code { get; set; }
///
- /// Gets or sets how the Batch service should respond if the task exits
+ /// Gets or sets how the Batch service should respond if the Task exits
/// with this exit code.
///
[JsonProperty(PropertyName = "exitOptions")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeRangeMapping.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeRangeMapping.cs
index 8dad55872e15..ff19b09a7104 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeRangeMapping.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitCodeRangeMapping.cs
@@ -33,7 +33,7 @@ public ExitCodeRangeMapping()
/// The first exit code in the range.
/// The last exit code in the range.
/// How the Batch service should respond if
- /// the task exits with an exit code in the range start to end
+ /// the Task exits with an exit code in the range start to end
/// (inclusive).
public ExitCodeRangeMapping(int start, int end, ExitOptions exitOptions)
{
@@ -61,7 +61,7 @@ public ExitCodeRangeMapping(int start, int end, ExitOptions exitOptions)
public int End { get; set; }
///
- /// Gets or sets how the Batch service should respond if the task exits
+ /// Gets or sets how the Batch service should respond if the Task exits
/// with an exit code in the range start to end (inclusive).
///
[JsonProperty(PropertyName = "exitOptions")]
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitConditions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitConditions.cs
index 29e1d5261a3b..f35fbe752c15 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitConditions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitConditions.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Batch.Protocol.Models
using System.Linq;
///
- /// Specifies how the Batch service should respond when the task completes.
+ /// Specifies how the Batch service should respond when the Task completes.
///
public partial class ExitConditions
{
@@ -31,16 +31,16 @@ public ExitConditions()
///
/// Initializes a new instance of the ExitConditions class.
///
- /// A list of individual task exit codes and
+ /// A list of individual Task exit codes and
/// how the Batch service should respond to them.
- /// A list of task exit code ranges and
+ /// A list of Task exit code ranges and
/// how the Batch service should respond to them.
/// How the Batch service should
- /// respond if the task fails to start due to an error.
+ /// respond if the Task fails to start due to an error.
/// How the Batch service should respond
/// if a file upload error occurs.
/// How the Batch service should respond
- /// if the task fails with an exit condition not covered by any of the
+ /// if the Task fails with an exit condition not covered by any of the
/// other properties.
public ExitConditions(IList exitCodes = default(IList), IList exitCodeRanges = default(IList), ExitOptions preProcessingError = default(ExitOptions), ExitOptions fileUploadError = default(ExitOptions), ExitOptions defaultProperty = default(ExitOptions))
{
@@ -58,21 +58,21 @@ public ExitConditions()
partial void CustomInit();
///
- /// Gets or sets a list of individual task exit codes and how the Batch
+ /// Gets or sets a list of individual Task exit codes and how the Batch
/// service should respond to them.
///
[JsonProperty(PropertyName = "exitCodes")]
public IList ExitCodes { get; set; }
///
- /// Gets or sets a list of task exit code ranges and how the Batch
+ /// Gets or sets a list of Task exit code ranges and how the Batch
/// service should respond to them.
///
[JsonProperty(PropertyName = "exitCodeRanges")]
public IList ExitCodeRanges { get; set; }
///
- /// Gets or sets how the Batch service should respond if the task fails
+ /// Gets or sets how the Batch service should respond if the Task fails
/// to start due to an error.
///
[JsonProperty(PropertyName = "preProcessingError")]
@@ -83,7 +83,7 @@ public ExitConditions()
/// error occurs.
///
///
- /// If the task exited with an exit code that was specified via
+ /// If the Task exited with an exit code that was specified via
/// exitCodes or exitCodeRanges, and then encountered a file upload
/// error, then the action specified by the exit code takes precedence.
///
@@ -91,11 +91,11 @@ public ExitConditions()
public ExitOptions FileUploadError { get; set; }
///
- /// Gets or sets how the Batch service should respond if the task fails
+ /// Gets or sets how the Batch service should respond if the Task fails
/// with an exit condition not covered by any of the other properties.
///
///
- /// This value is used if the task exits with any nonzero exit code not
+ /// This value is used if the Task exits with any nonzero exit code not
/// listed in the exitCodes or exitCodeRanges collection, with a
/// pre-processing error if the preProcessingError property is not
/// present, or with a file upload error if the fileUploadError
diff --git a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitOptions.cs b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitOptions.cs
index 0184422e799e..8a9ee3c50cec 100644
--- a/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitOptions.cs
+++ b/sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/ExitOptions.cs
@@ -30,12 +30,12 @@ public ExitOptions()
///
/// Initializes a new instance of the ExitOptions class.
///
- /// An action to take on the job containing the
- /// task, if the task completes with the given exit condition and the
- /// job's onTaskFailed property is
+ /// An action to take on the Job containing the
+ /// Task, if the Task completes with the given exit condition and the
+ /// Job's onTaskFailed property is
/// 'performExitOptionsJobAction'.
/// An action that the Batch service
- /// performs on tasks that depend on this task.
+ /// performs on Tasks that depend on this Task.
public ExitOptions(JobAction? jobAction = default(JobAction?), DependencyAction? dependencyAction = default(DependencyAction?))
{
JobAction = jobAction;
@@ -49,14 +49,14 @@ public ExitOptions()
partial void CustomInit();
///
- /// Gets or sets an action to take on the job containing the task, if
- /// the task completes with the given exit condition and the job's
+ /// Gets or sets an action to take on the Job containing the Task, if
+ /// the Task completes with the given exit condition and the Job's
/// onTaskFailed property is 'performExitOptionsJobAction'.
///
///
/// The default is none for exit code 0 and terminate for all other
- /// exit conditions. If the job's onTaskFailed property is noaction,
- /// then specifying this property returns an error and the add task
+ /// exit conditions. If the Job's onTaskFailed property is noaction,
+ /// then specifying this property returns an error and the add Task
/// request fails with an invalid property value error; if you are
/// calling the REST API directly, the HTTP status code is 400 (Bad
/// Request). Possible values include: 'none', 'disable', 'terminate'
@@ -65,17 +65,14 @@ public ExitOptions()
public JobAction? JobAction { get; set; }
///