Share via


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

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

Applies to