MockableConfidentialLedgerSubscriptionResource.GetConfidentialLedgersAsync Method

Definition

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 virtual Azure.AsyncPageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource> GetConfidentialLedgersAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfidentialLedgersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>
override this.GetConfidentialLedgersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>
Public Overridable Function GetConfidentialLedgersAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfidentialLedgerResource)

Parameters

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.

Applies to