你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchClient.RegenerateKeys(String, String, AccountKeyType) Method

Definition

Generates new key for the Batch account

public virtual Microsoft.Azure.Commands.Batch.BatchAccountContext RegenerateKeys (string resourceGroupName, string accountName, Microsoft.Azure.Management.Batch.Models.AccountKeyType keyType);
abstract member RegenerateKeys : string * string * Microsoft.Azure.Management.Batch.Models.AccountKeyType -> Microsoft.Azure.Commands.Batch.BatchAccountContext
override this.RegenerateKeys : string * string * Microsoft.Azure.Management.Batch.Models.AccountKeyType -> Microsoft.Azure.Commands.Batch.BatchAccountContext
Public Overridable Function RegenerateKeys (resourceGroupName As String, accountName As String, keyType As AccountKeyType) 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

keyType
AccountKeyType

The type of key to regenerate

Returns

The BatchAccountContext object with the regenerated keys

Applies to