Share via


ConfidentialLedgerResource.Backup 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult> Backup (Azure.WaitUntil waitUntil, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Backup : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult>
override this.Backup : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult>
Public Overridable Function Backup (waitUntil As WaitUntil, content As ConfidentialLedgerBackupContent, Optional cancellationToken As CancellationToken = Nothing) As 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