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.

C#
public static Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerCollection GetConfidentialLedgers(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);

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

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

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
C#
public static Azure.Pageable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource> GetConfidentialLedgers(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);

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

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview