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.
Overloads
GetAllAsync(CancellationToken) |
Lists all the encryption scopes available under the specified storage account.
|
GetAllAsync(Nullable<Int32>, String, Nullable<EncryptionScopesIncludeType>, CancellationToken) |
Lists all the encryption scopes available under the specified storage account.
|
GetAllAsync(CancellationToken)
- Source:
- EncryptionScopeCollection.cs
- Source:
- EncryptionScopeCollection.cs
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
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)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of EncryptionScopeResource that may take multiple service requests to iterate over.
Applies to
GetAllAsync(Nullable<Int32>, String, Nullable<EncryptionScopesIncludeType>, CancellationToken)
- Source:
- EncryptionScopeCollection.cs
- Source:
- EncryptionScopeCollection.cs
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: 2022-09-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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for