Udostępnij za pośrednictwem


ConfidentialLedgerCollection Class

Definition

A class representing a collection of ConfidentialLedgerResource and their operations. Each ConfidentialLedgerResource in the collection will belong to the same instance of ResourceGroupResource. To get a ConfidentialLedgerCollection instance call the GetConfidentialLedgers method from an instance of ResourceGroupResource.

public class ConfidentialLedgerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerResource>
type ConfidentialLedgerCollection = class
    inherit ArmCollection
    interface seq<ConfidentialLedgerResource>
    interface IEnumerable
    interface IAsyncEnumerable<ConfidentialLedgerResource>
Public Class ConfidentialLedgerCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ConfidentialLedgerResource), IEnumerable(Of ConfidentialLedgerResource)
Inheritance
ConfidentialLedgerCollection
Implements

Constructors

ConfidentialLedgerCollection()

Initializes a new instance of the ConfidentialLedgerCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ConfidentialLedgerData, CancellationToken)

Creates a Confidential Ledger with the specified ledger parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Create
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
CreateOrUpdateAsync(WaitUntil, String, ConfidentialLedgerData, CancellationToken)

Creates a Confidential Ledger with the specified ledger parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Create
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
Get(String, CancellationToken)

Retrieves the properties of a Confidential Ledger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
GetAll(String, CancellationToken)

Retrieves the properties of all Confidential Ledgers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers
  • Operation Id: Ledger_ListByResourceGroup
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
GetAllAsync(String, CancellationToken)

Retrieves the properties of all Confidential Ledgers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers
  • Operation Id: Ledger_ListByResourceGroup
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
GetAsync(String, CancellationToken)

Retrieves the properties of a Confidential Ledger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}
  • Operation Id: Ledger_Get
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ConfidentialLedgerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConfidentialLedgerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to