BatchClient.RegenerateKeys(String, String, AccountKeyType) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates new key for the Batch account
C#
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
- 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
The BatchAccountContext object with the regenerated keys
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |
Azure RM - PowerShell Commands | Latest |