你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BatchClient() | |
BatchClient(IAzureContext) |
Creates new BatchClient |
BatchClient(IBatchManagementClient, IResourceManagementClient) |
Creates new BatchClient instance |
BatchClient()
public BatchClient ();
Public Sub New ()
Applies to
BatchClient(IAzureContext)
Creates new BatchClient
public BatchClient (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.Batch.Models.BatchClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Batch.Models.BatchClient
Public Sub New (context As IAzureContext)
Parameters
- context
- IAzureContext
Context with subscription containing a batch account to manipulate
Applies to
BatchClient(IBatchManagementClient, IResourceManagementClient)
Creates new BatchClient instance
public BatchClient (Microsoft.Azure.Management.Batch.IBatchManagementClient batchManagementClient, Microsoft.Azure.Management.Internal.Resources.IResourceManagementClient resourceManagementClient);
new Microsoft.Azure.Commands.Batch.Models.BatchClient : Microsoft.Azure.Management.Batch.IBatchManagementClient * Microsoft.Azure.Management.Internal.Resources.IResourceManagementClient -> Microsoft.Azure.Commands.Batch.Models.BatchClient
Public Sub New (batchManagementClient As IBatchManagementClient, resourceManagementClient As IResourceManagementClient)
Parameters
- batchManagementClient
- IBatchManagementClient
The IBatchManagementClient instance
- resourceManagementClient
- IResourceManagementClient
The IResourceManagementClient instance