KeyVaultClient.SetStorageAccountWithHttpMessagesAsync Methode

Definition

Erstellt oder aktualisiert ein neues Speicherkonto. Für diesen Vorgang ist die Speicher-/Set-Berechtigung erforderlich.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.KeyVault.Models.StorageBundle>> SetStorageAccountWithHttpMessagesAsync (string vaultBaseUrl, string storageAccountName, string resourceId, string activeKeyName, bool autoRegenerateKey, 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 SetStorageAccountWithHttpMessagesAsync : string * string * string * string * 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>>
override this.SetStorageAccountWithHttpMessagesAsync : string * string * string * string * 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 SetStorageAccountWithHttpMessagesAsync (vaultBaseUrl As String, storageAccountName As String, resourceId As String, activeKeyName As String, autoRegenerateKey As Boolean, 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.

resourceId
String

Ressourcen-ID des Speicherkontos.

activeKeyName
String

Aktueller Name des aktiven Speicherkontoschlüssels.

autoRegenerateKey
Boolean

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.

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Implementiert

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: