Share via


ConfidentialLedgerResource.BackupAsync Method

Definition

Backs up a Confidential Ledger Resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}/backup
  • Operation Id: Ledger_Backup
  • Default Api Version: 2023-06-28-preview
  • Resource: ConfidentialLedgerResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult>> BackupAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member BackupAsync : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult>>
override this.BackupAsync : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult>>
Public Overridable Function BackupAsync (waitUntil As WaitUntil, content As ConfidentialLedgerBackupContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ConfidentialLedgerBackupResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ConfidentialLedgerBackupContent

Confidential Ledger Backup Request Body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to