共用方式為


StorageAccountOperationsExtensions.RegenerateKeys Method

Definition

The Regenerate Keys operation regenerates the primary or secondary access key for the specified storage account. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460795.aspx for more information)

public static Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysResponse RegenerateKeys (this Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations operations, Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParameters parameters);
static member RegenerateKeys : Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations * Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParameters -> Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysResponse
<Extension()>
Public Function RegenerateKeys (operations As IStorageAccountOperations, parameters As StorageAccountRegenerateKeysParameters) As StorageAccountRegenerateKeysResponse

Parameters

operations
IStorageAccountOperations

Reference to the Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.

parameters
StorageAccountRegenerateKeysParameters

Required. Parameters supplied to the Regenerate Keys operation.

Returns

The primary and secondary access keys for a storage account.

Applies to