ConfidentialLedgerExtensions.GetConfidentialLedgersAsync 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.
Retrieves the properties of all Confidential Ledgers.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/ledgers
- Operation Id: Ledger_ListBySubscription
- Default Api Version: 2023-06-28-preview
- Resource: ConfidentialLedgerResource
public static Azure.AsyncPageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource> GetConfidentialLedgersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetConfidentialLedgersAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>
<Extension()>
Public Function GetConfidentialLedgersAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfidentialLedgerResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- filter
- String
The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public'.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ConfidentialLedgerResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.