EncryptionScopeCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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)
Parameters
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
An async collection of EncryptionScopeResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET