Freigeben über


IKeyVaultClient.UpdateStorageAccountWithHttpMessagesAsync Methode

Definition

Updates die angegebenen Attribute, die dem angegebenen Speicherkonto zugeordnet sind. Für diesen Vorgang ist die Berechtigung storage/set/update erforderlich.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.StorageBundle>> UpdateStorageAccountWithHttpMessagesAsync (string vaultBaseUrl, string storageAccountName, string activeKeyName = default, bool? autoRegenerateKey = default, string regenerationPeriod = default, Microsoft.Azure.KeyVault.Models.StorageAccountAttributes storageAccountAttributes = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStorageAccountWithHttpMessagesAsync : string * string * string * Nullable<bool> * string * Microsoft.Azure.KeyVault.Models.StorageAccountAttributes * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.StorageBundle>>
Public Function UpdateStorageAccountWithHttpMessagesAsync (vaultBaseUrl As String, storageAccountName As String, Optional activeKeyName As String = Nothing, Optional autoRegenerateKey As Nullable(Of Boolean) = Nothing, Optional regenerationPeriod As String = Nothing, Optional storageAccountAttributes As StorageAccountAttributes = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of StorageBundle))

Parameter

vaultBaseUrl
String

Der Tresorname, z. B https://myvault.vault.azure.net. .

storageAccountName
String

Der Name des Speicherkontos.

activeKeyName
String

Der name des aktuellen aktiven Speicherkontoschlüssels.

autoRegenerateKey
Nullable<Boolean>

gibt an, ob keyvault das Speicherkonto für den Benutzer verwalten soll.

regenerationPeriod
String

Die im ISO-8601-Format angegebene Dauer der Schlüsselregeneration.

storageAccountAttributes
StorageAccountAttributes

Die Attribute des Speicherkontos.

tags
IDictionary<String,String>

Anwendungsspezifische Metadaten in Form von Schlüssel-Wert-Paaren.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: