Share via


ManagedCcfResource.RestoreAsync Method

Definition

Restores a Managed CCF Resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}/restore
  • Operation Id: ManagedCCF_Restore
  • Default Api Version: 2023-06-28-preview
  • Resource: ManagedCcfResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreResult>> RestoreAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RestoreAsync : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreResult>>
override this.RestoreAsync : Azure.WaitUntil * Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreResult>>
Public Overridable Function RestoreAsync (waitUntil As WaitUntil, content As ManagedCcfRestoreContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ManagedCcfRestoreResult))

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
ManagedCcfRestoreContent

Managed CCF Restore Request Body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to