StorageAccount.regenerateKeyAsync Method

Definition

Overloads

regenerateKeyAsync(String keyName)

Regenerates the access keys for this storage account asynchronously.

regenerateKeyAsync(String keyName, ServiceCallback<List<StorageAccountKey>> callback)

Regenerates the access keys for this storage account asynchronously.

regenerateKeyAsync(String keyName)

Regenerates the access keys for this storage account asynchronously.

public Observable<List<StorageAccountKey>> regenerateKeyAsync(String keyName)
Parameters
keyName
String

if the key name

Returns
Observable<List<StorageAccountKey>>

a representation of the deferred computation of this call, returning the regenerated access key

regenerateKeyAsync(String keyName, ServiceCallback<List<StorageAccountKey>> callback)

Regenerates the access keys for this storage account asynchronously.

public ServiceFuture<List<StorageAccountKey>> regenerateKeyAsync(String keyName, ServiceCallback<List<StorageAccountKey>> callback)
Parameters
keyName
String

if the key name

callback
ServiceCallback<List<StorageAccountKey>>

the callback to call on success or failure, with access keys as parameter.

Returns
ServiceFuture<List<StorageAccountKey>>

a handle to cancel the request

Applies to