Microsoft.Azure.Commands.Batch.Models.BatchClient.BatchClient C# (CSharp) Method

BatchClient() public method

Creates new BatchClient
public BatchClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context AzureContext Context with subscription containing a batch account to manipulate
return Microsoft.Azure.Commands.Common.Authentication
        public BatchClient(AzureContext context)
            : this(AzureSession.ClientFactory.CreateArmClient<BatchManagementClient>(context, AzureEnvironment.Endpoint.ResourceManager),
            AzureSession.ClientFactory.CreateClient<ResourceManagementClient>(context, AzureEnvironment.Endpoint.ResourceManager))
        {
        }

Same methods

BatchClient::BatchClient ( ) : Microsoft.Azure.Commands.Common.Authentication
BatchClient::BatchClient ( IBatchManagementClient batchManagementClient, IResourceManagementClient resourceManagementClient ) : Microsoft.Azure.Commands.Common.Authentication
BatchClient