Share via


FirmwareResource.GenerateDownloadUrlAsync(CancellationToken) Method

Definition

The operation to a url for file download.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateDownloadUrl
  • Operation Id: Firmware_GenerateDownloadUrl
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.Models.UriToken>> GenerateDownloadUrlAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateDownloadUrlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.Models.UriToken>>
override this.GenerateDownloadUrlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.Models.UriToken>>
Public Overridable Function GenerateDownloadUrlAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of UriToken))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to