Freigeben über


SnapshotResource.DownloadAsync Methode

Definition

Laden Sie Complianceanforderungen von Momentaufnahme herunter, z. B. Compliancebericht, Ressourcenliste.

  • Anforderungspfad/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download
  • Vorgangs-IdSnapshot_Download
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.DownloadResponse>> DownloadAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppComplianceAutomation.Models.SnapshotDownloadContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.SnapshotDownloadContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.DownloadResponse>>
override this.DownloadAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.SnapshotDownloadContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.DownloadResponse>>
Public Overridable Function DownloadAsync (waitUntil As WaitUntil, content As SnapshotDownloadContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of DownloadResponse))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

content
SnapshotDownloadContent

Parameter für den Abfragevorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: