Share via


LedgerDigestUploadCollection Class

Definition

A class representing a collection of LedgerDigestUploadResource and their operations. Each LedgerDigestUploadResource in the collection will belong to the same instance of SqlDatabaseResource. To get a LedgerDigestUploadCollection instance call the GetLedgerDigestUploads method from an instance of SqlDatabaseResource.

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

Constructors

LedgerDigestUploadCollection()

Initializes a new instance of the LedgerDigestUploadCollection 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, LedgerDigestUploadsName, LedgerDigestUploadData, CancellationToken)

Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_CreateOrUpdate
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
CreateOrUpdateAsync(WaitUntil, LedgerDigestUploadsName, LedgerDigestUploadData, CancellationToken)

Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_CreateOrUpdate
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
Exists(LedgerDigestUploadsName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
ExistsAsync(LedgerDigestUploadsName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
Get(LedgerDigestUploadsName, CancellationToken)

Gets the current ledger digest upload configuration for a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
GetAll(CancellationToken)

Gets all ledger digest upload settings on a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads
  • Operation Id: LedgerDigestUploads_ListByDatabase
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
GetAllAsync(CancellationToken)

Gets all ledger digest upload settings on a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads
  • Operation Id: LedgerDigestUploads_ListByDatabase
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
GetAsync(LedgerDigestUploadsName, CancellationToken)

Gets the current ledger digest upload configuration for a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
GetIfExists(LedgerDigestUploadsName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
GetIfExistsAsync(LedgerDigestUploadsName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • Operation Id: LedgerDigestUploads_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: LedgerDigestUploadResource
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<LedgerDigestUploadResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<LedgerDigestUploadResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to