Freigeben über


ArmBatchModelFactory.BatchAccountKeys(String, String, String) Method

Definition

Initializes a new instance of BatchAccountKeys.

public static Azure.ResourceManager.Batch.Models.BatchAccountKeys BatchAccountKeys (string accountName = default, string primary = default, string secondary = default);
static member BatchAccountKeys : string * string * string -> Azure.ResourceManager.Batch.Models.BatchAccountKeys
Public Shared Function BatchAccountKeys (Optional accountName As String = Nothing, Optional primary As String = Nothing, Optional secondary As String = Nothing) As BatchAccountKeys

Parameters

accountName
String

The Batch account name.

primary
String

The primary key associated with the account.

secondary
String

The secondary key associated with the account.

Returns

A new BatchAccountKeys instance for mocking.

Applies to