KeyVaultClientExtensions.UpdateStorageAccountAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Updates die angegebenen Attribute, die dem angegebenen Speicherkonto zugeordnet sind. Für diesen Vorgang ist die Berechtigung storage/set/update erforderlich.
public static System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.StorageBundle> UpdateStorageAccountAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, 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.Threading.CancellationToken cancellationToken = default);
static member UpdateStorageAccountAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * string * Nullable<bool> * string * Microsoft.Azure.KeyVault.Models.StorageAccountAttributes * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.KeyVault.Models.StorageBundle>
<Extension()>
Public Function UpdateStorageAccountAsync (operations As IKeyVaultClient, 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 cancellationToken As CancellationToken = Nothing) As Task(Of StorageBundle)
Parameter
- operations
- IKeyVaultClient
Die Vorgangsgruppe für diese Erweiterungsmethode.
- vaultBaseUrl
- String
Der Tresorname, z. B https://myvault.vault.azure.net. .
- storageAccountName
- String
Der Name des Speicherkontos.
- activeKeyName
- String
Der aktuelle Name des aktiven Speicherkontoschlüssels.
gibt an, ob keyvault das Speicherkonto für den Benutzer verwalten soll.
- regenerationPeriod
- String
Die Dauer der Schlüsselregeneration, die im ISO-8601-Format angegeben ist.
- storageAccountAttributes
- StorageAccountAttributes
Die Attribute des Speicherkontos.
- tags
- IDictionary<String,String>
Anwendungsspezifische Metadaten in Form von Schlüssel-Wert-Paaren.
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET