Поделиться через


MigrationAssessmentResource.DownloadUrlAsync Method

Definition

Get the URL for downloading the assessment in a report format.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/downloadUrl
  • Operation Id: AssessmentsOperations_DownloadUrl
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Migration.Assessment.Models.AssessmentReportDownloadUri>> DownloadUrlAsync(Azure.WaitUntil waitUntil, BinaryData body, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadUrlAsync : Azure.WaitUntil * BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Migration.Assessment.Models.AssessmentReportDownloadUri>>
override this.DownloadUrlAsync : Azure.WaitUntil * BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Migration.Assessment.Models.AssessmentReportDownloadUri>>
Public Overridable Function DownloadUrlAsync (waitUntil As WaitUntil, body As BinaryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AssessmentReportDownloadUri))

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.

body
BinaryData

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to