Share via


BatchClient.GetAccount(String, String) Method

Definition

Get details about the Batch account

public virtual Microsoft.Azure.Commands.Batch.BatchAccountContext GetAccount (string resourceGroupName, string accountName);
abstract member GetAccount : string * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
override this.GetAccount : string * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
Public Overridable Function GetAccount (resourceGroupName As String, accountName As String) As BatchAccountContext

Parameters

resourceGroupName
String

The name of the resource group the account is under. If unspecified, it will be looked up.

accountName
String

The account name

Returns

A BatchAccountContext object representing the account

Applies to