FirmwareResource.GenerateDownloadUrlAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.