Firmwares interface

Interface representing a Firmwares.

Methods

create(string, string, string, Firmware, FirmwaresCreateOptionalParams)

The operation to create a firmware.

delete(string, string, string, FirmwaresDeleteOptionalParams)

The operation to delete a firmware.

generateDownloadUrl(string, string, string, FirmwaresGenerateDownloadUrlOptionalParams)

The operation to a url for file download.

generateFilesystemDownloadUrl(string, string, string, FirmwaresGenerateFilesystemDownloadUrlOptionalParams)

The operation to a url for tar file download.

get(string, string, string, FirmwaresGetOptionalParams)

Get firmware.

listByWorkspace(string, string, FirmwaresListByWorkspaceOptionalParams)

Lists all of firmwares inside a workspace.

update(string, string, string, FirmwareUpdateDefinition, FirmwaresUpdateOptionalParams)

The operation to update firmware.

Method Details

create(string, string, string, Firmware, FirmwaresCreateOptionalParams)

The operation to create a firmware.

function create(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: Firmware, options?: FirmwaresCreateOptionalParams): Promise<Firmware>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

firmware
Firmware

Details of the firmware being created or updated.

options
FirmwaresCreateOptionalParams

The options parameters.

Returns

Promise<Firmware>

delete(string, string, string, FirmwaresDeleteOptionalParams)

The operation to delete a firmware.

function delete(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

options
FirmwaresDeleteOptionalParams

The options parameters.

Returns

Promise<void>

generateDownloadUrl(string, string, string, FirmwaresGenerateDownloadUrlOptionalParams)

The operation to a url for file download.

function generateDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGenerateDownloadUrlOptionalParams): Promise<UrlToken>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

options
FirmwaresGenerateDownloadUrlOptionalParams

The options parameters.

Returns

Promise<UrlToken>

generateFilesystemDownloadUrl(string, string, string, FirmwaresGenerateFilesystemDownloadUrlOptionalParams)

The operation to a url for tar file download.

function generateFilesystemDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGenerateFilesystemDownloadUrlOptionalParams): Promise<UrlToken>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

Returns

Promise<UrlToken>

get(string, string, string, FirmwaresGetOptionalParams)

Get firmware.

function get(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwaresGetOptionalParams): Promise<Firmware>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

options
FirmwaresGetOptionalParams

The options parameters.

Returns

Promise<Firmware>

listByWorkspace(string, string, FirmwaresListByWorkspaceOptionalParams)

Lists all of firmwares inside a workspace.

function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FirmwaresListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Firmware, Firmware[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

options
FirmwaresListByWorkspaceOptionalParams

The options parameters.

Returns

update(string, string, string, FirmwareUpdateDefinition, FirmwaresUpdateOptionalParams)

The operation to update firmware.

function update(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: FirmwareUpdateDefinition, options?: FirmwaresUpdateOptionalParams): Promise<Firmware>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the firmware analysis workspace.

firmwareId

string

The id of the firmware.

firmware
FirmwareUpdateDefinition

Details of the firmware being created or updated.

options
FirmwaresUpdateOptionalParams

The options parameters.

Returns

Promise<Firmware>