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.String

    The name of the resource group that contains the Batch account.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse<BatchAccountRegenerateKeyResult>>

See Also

IAccountOperations Interface
Microsoft.Azure.Management.Batch Namespace

Return to top