Partilhar via


BatchClient.GetKeys(String, String) Method

Definition

Gets the keys associated with the Batch account

public virtual Microsoft.Azure.Commands.Batch.BatchAccountContext GetKeys (string resourceGroupName, string accountName);
abstract member GetKeys : string * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
override this.GetKeys : string * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
Public Overridable Function GetKeys (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 with the account keys

Applies to