你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EncryptionScopeCollection.GetAllAsync 方法

定义

重载

GetAllAsync(CancellationToken)

列出指定存储帐户下可用的所有加密范围。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  • 操作IdEncryptionScopes_List
GetAllAsync(Nullable<Int32>, String, Nullable<EncryptionScopesIncludeType>, CancellationToken)

列出指定存储帐户下可用的所有加密范围。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  • 操作IdEncryptionScopes_List

GetAllAsync(CancellationToken)

列出指定存储帐户下可用的所有加密范围。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  • 操作IdEncryptionScopes_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource> GetAllAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
Public Overridable Function GetAllAsync (cancellationToken As CancellationToken) As AsyncPageable(Of EncryptionScopeResource)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 EncryptionScopeResource ,可能需要循环访问多个服务请求。

适用于

GetAllAsync(Nullable<Int32>, String, Nullable<EncryptionScopesIncludeType>, CancellationToken)

列出指定存储帐户下可用的所有加密范围。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  • 操作IdEncryptionScopes_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource> GetAllAsync (int? maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
override this.GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
Public Overridable Function GetAllAsync (Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional include As Nullable(Of EncryptionScopesIncludeType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EncryptionScopeResource)

参数

maxpagesize
Nullable<Int32>

可选,指定将包含在列表响应中的加密范围的最大数目。

filter
String

可选。 指定后,将仅列出以筛选器开头的加密范围名称。

include
Nullable<EncryptionScopesIncludeType>

可选,如果指定,将列出具有特定状态的加密范围。 默认为“全部”。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 EncryptionScopeResource ,可能需要循环访问多个服务请求。

适用于