Dela via


EncryptionScopeCollection.GetAll Method

Definition

Lists all the encryption scopes available under the specified storage account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  • Operation Id: EncryptionScopes_List
  • Default Api Version: 2023-05-01
  • Resource: EncryptionScopeResource
public virtual Azure.Pageable<Azure.ResourceManager.Storage.EncryptionScopeResource> GetAll (int? maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
override this.GetAll : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.EncryptionScopesIncludeType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.EncryptionScopeResource>
Public Overridable Function GetAll (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 Pageable(Of EncryptionScopeResource)

Parameters

maxpagesize
Nullable<Int32>

Optional, specifies the maximum number of encryption scopes that will be included in the list response.

filter
String

Optional. When specified, only encryption scope names starting with the filter will be listed.

include
Nullable<EncryptionScopesIncludeType>

Optional, when specified, will list encryption scopes with the specific state. Defaults to All.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of EncryptionScopeResource that may take multiple service requests to iterate over.

Applies to