IAccountOperations.RegenerateKeyWithHttpMessagesAsync Method (String, String, BatchAccountRegenerateKeyParameters, Dictionary<String, List<String>>, CancellationToken)
Regenerates the specified account key for the specified Batch account.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
Task<AzureOperationResponse<BatchAccountRegenerateKeyResult>> RegenerateKeyWithHttpMessagesAsync(
string resourceGroupName,
string accountName,
BatchAccountRegenerateKeyParameters parameters,
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = null
)
Task<AzureOperationResponse<BatchAccountRegenerateKeyResult^>^>^ RegenerateKeyWithHttpMessagesAsync(
String^ resourceGroupName,
String^ accountName,
BatchAccountRegenerateKeyParameters^ parameters,
Dictionary<String^, List<String^>^>^ customHeaders = null,
CancellationToken cancellationToken = null
)
abstract RegenerateKeyWithHttpMessagesAsync :
resourceGroupName:string *
accountName:string *
parameters:BatchAccountRegenerateKeyParameters *
customHeaders:Dictionary<string, List<string>> = null *
cancellationToken:CancellationToken = null -> Task<AzureOperationResponse<BatchAccountRegenerateKeyResult>>
Function RegenerateKeyWithHttpMessagesAsync (
resourceGroupName As String,
accountName As String,
parameters As BatchAccountRegenerateKeyParameters,
customHeaders As Dictionary(Of String, List(Of String)),
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse(Of BatchAccountRegenerateKeyResult))
Parameters
resourceGroupName
Type: System.StringThe name of the resource group that contains the Batch account.
accountName
Type: System.StringThe name of the account.
parameters
Type: Microsoft.Azure.Management.Batch.Models.BatchAccountRegenerateKeyParametersThe type of key to regenerate.
customHeaders
Type: System.Collections.Generic.Dictionary<String, List<String>>The headers that will be added to the request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse<BatchAccountRegenerateKeyResult>>
See Also
IAccountOperations Interface
Microsoft.Azure.Management.Batch Namespace
Return to top