diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/BatchAIManagementClient.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/BatchAIManagementClient.cs index a36c9449c770..d10071633c9b 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/BatchAIManagementClient.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/BatchAIManagementClient.cs @@ -57,19 +57,20 @@ public partial class BatchAIManagementClient : ServiceClient - /// Gets or sets the preferred language for the response. + /// The preferred language for the response. /// public string AcceptLanguage { get; set; } /// - /// Gets or sets the retry timeout in seconds for Long Running Operations. - /// Default value is 30. + /// The retry timeout in seconds for Long Running Operations. Default value is + /// 30. /// public int? LongRunningOperationRetryTimeout { get; set; } /// - /// When set to true a unique x-ms-client-request-id value is generated and - /// included in each request. Default is true. + /// Whether a unique x-ms-client-request-id should be generated. When set to + /// true a unique x-ms-client-request-id value is generated and included in + /// each request. Default is true. /// public bool? GenerateClientRequestId { get; set; } @@ -108,6 +109,19 @@ public partial class BatchAIManagementClient : ServiceClient public virtual IClustersOperations Clusters { get; private set; } + /// + /// Initializes a new instance of the BatchAIManagementClient class. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling BatchAIManagementClient.Dispose(). False: will not dispose provided httpClient + protected BatchAIManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } + /// /// Initializes a new instance of the BatchAIManagementClient class. /// @@ -203,6 +217,33 @@ public BatchAIManagementClient(ServiceClientCredentials credentials, params Dele } } + /// + /// Initializes a new instance of the BatchAIManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling BatchAIManagementClient.Dispose(). False: will not dispose provided httpClient + /// + /// Thrown when a required parameter is null + /// + public BatchAIManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + /// /// Initializes a new instance of the BatchAIManagementClient class. /// diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/IBatchAIManagementClient.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/IBatchAIManagementClient.cs index 66b8a10425d5..d022b72c3dcc 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/IBatchAIManagementClient.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/IBatchAIManagementClient.cs @@ -51,19 +51,20 @@ public partial interface IBatchAIManagementClient : System.IDisposable string ApiVersion { get; } /// - /// Gets or sets the preferred language for the response. + /// The preferred language for the response. /// string AcceptLanguage { get; set; } /// - /// Gets or sets the retry timeout in seconds for Long Running - /// Operations. Default value is 30. + /// The retry timeout in seconds for Long Running Operations. Default + /// value is 30. /// int? LongRunningOperationRetryTimeout { get; set; } /// - /// When set to true a unique x-ms-client-request-id value is generated - /// and included in each request. Default is true. + /// Whether a unique x-ms-client-request-id should be generated. When + /// set to true a unique x-ms-client-request-id value is generated and + /// included in each request. Default is true. /// bool? GenerateClientRequestId { get; set; } diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/Job.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/Job.cs index 811c099bf65b..97c138d250cd 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/Job.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/Job.cs @@ -148,7 +148,7 @@ public Job() /// /// /// Collection of mount volumes available to the job during execution. - /// These volumes are mounted before the job execution and unmouted + /// These volumes are mounted before the job execution and unmounted /// after the job completion. The volumes are mounted at location /// specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. /// @@ -181,9 +181,9 @@ public Job() /// /// /// Possible values are: cntk, tensorflow, caffe, caffe2, chainer, - /// pytorch, custom, mpi, horovod. Possible values include: 'cntk', - /// 'tensorflow', 'caffe', 'caffe2', 'chainer', 'horovod', 'mpi', - /// 'custom' + /// pytorch, custom, custommpi, horovod. Possible values include: + /// 'cntk', 'tensorflow', 'caffe', 'caffe2', 'chainer', 'horovod', + /// 'custommpi', 'custom' /// [JsonProperty(PropertyName = "properties.toolType")] public string ToolType { get; set; } diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/JobCreateParameters.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/JobCreateParameters.cs index 08fb6c98c5ce..e56f265ba510 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/JobCreateParameters.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/JobCreateParameters.cs @@ -112,8 +112,8 @@ public JobCreateParameters() /// /// /// Information on mount volumes to be used by the job. These volumes - /// will be mounted before the job execution and will be unmouted after - /// the job completion. The volumes will be mounted at location + /// will be mounted before the job execution and will be unmounted + /// after the job completion. The volumes will be mounted at location /// specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. /// [JsonProperty(PropertyName = "properties.mountVolumes")] diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/KeyVaultSecretReference.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/KeyVaultSecretReference.cs index 995dea969c3d..b37c10189f8b 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/KeyVaultSecretReference.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/KeyVaultSecretReference.cs @@ -48,7 +48,7 @@ public KeyVaultSecretReference(ResourceId sourceVault, string secretUrl) /// Gets or sets key Vault resource identifier. /// /// - /// Fully qualified resource indentifier of the Key Vault. + /// Fully qualified resource identifier of the Key Vault. /// [JsonProperty(PropertyName = "sourceVault")] public ResourceId SourceVault { get; set; } diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/OutputDirectory.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/OutputDirectory.cs index a23ee0a6d3ea..dcb2816ddaaf 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/OutputDirectory.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/OutputDirectory.cs @@ -51,7 +51,7 @@ public OutputDirectory() /// /// /// The ID of the output directory. The job can use - /// AZ_BATCHAI_OUTPUT_ environment variale to find the directory + /// AZ_BATCHAI_OUTPUT_ environment variable to find the directory /// path, where is the value of id attribute. /// [JsonProperty(PropertyName = "id")] diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/ToolType.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/ToolType.cs index 91c00fe1a45e..2127ce53e3e8 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/ToolType.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/ToolType.cs @@ -22,7 +22,7 @@ public static class ToolType public const string Caffe2 = "caffe2"; public const string Chainer = "chainer"; public const string Horovod = "horovod"; - public const string Mpi = "mpi"; + public const string Custommpi = "custommpi"; public const string Custom = "custom"; } } diff --git a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/UnmanagedFileSystemReference.cs b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/UnmanagedFileSystemReference.cs index 7137752f590a..ee71f6ea8199 100644 --- a/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/UnmanagedFileSystemReference.cs +++ b/sdk/batchai/Microsoft.Azure.Management.BatchAI/src/Generated/Models/UnmanagedFileSystemReference.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.Management.BatchAI.Models using System.Linq; /// - /// Unmananged file system mounting configuration. + /// Unmanaged file system mounting configuration. /// public partial class UnmanagedFileSystemReference {