Udostępnij za pośrednictwem


ConfidentialLedgerExtensions.GetConfidentialLedgers Method

Definition

Overloads

GetConfidentialLedgers(ResourceGroupResource)

Gets a collection of ConfidentialLedgerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetConfidentialLedgers() instead.

GetConfidentialLedgers(SubscriptionResource, String, CancellationToken)

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

GetConfidentialLedgers(ResourceGroupResource)

Source:
ConfidentialLedgerExtensions.cs
Source:
ConfidentialLedgerExtensions.cs

Gets a collection of ConfidentialLedgerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetConfidentialLedgers() instead.

public static Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerCollection GetConfidentialLedgers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetConfidentialLedgers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerCollection
<Extension()>
Public Function GetConfidentialLedgers (resourceGroupResource As ResourceGroupResource) As ConfidentialLedgerCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ConfidentialLedgerResources and their operations over a ConfidentialLedgerResource.

Exceptions

resourceGroupResource is null.

Applies to

GetConfidentialLedgers(SubscriptionResource, String, CancellationToken)

Source:
ConfidentialLedgerExtensions.cs
Source:
ConfidentialLedgerExtensions.cs

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

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

Exceptions

subscriptionResource is null.

Applies to