共用方式為


ConfidentialLedgerExtensions.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 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.

Applies to