KeyVaultClientExtensions.GetStorageAccountsAsync Methode

Definition

Auflisten von Speicherkonten, die vom angegebenen Schlüsseltresor verwaltet werden. Für diesen Vorgang ist die Speicher-/Listenberechtigung erforderlich.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.StorageAccountItem>> GetStorageAccountsAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageAccountsAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.KeyVault.Models.StorageAccountItem>>
<Extension()>
Public Function GetStorageAccountsAsync (operations As IKeyVaultClient, vaultBaseUrl As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of StorageAccountItem))

Parameter

operations
IKeyVaultClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultBaseUrl
String

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

maxresults
Nullable<Int32>

Maximale Anzahl von Ergebnissen, die auf einer Seite zurückgegeben werden sollen. Wenn nicht angegeben, gibt der Dienst bis zu 25 Ergebnisse zurück.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: