@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get firmware.
*
* Uses Azure REST API version 2024-01-10.
*
* Other available API versions: 2023-02-08-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native iotfirmwaredefense [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFirmware(args: GetFirmwareArgs, opts?: pulumi.InvokeOptions): Promise<GetFirmwareResult>;
export interface GetFirmwareArgs {
/**
* The id of the firmware.
*/
firmwareId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the firmware analysis workspace.
*/
workspaceName: string;
}
/**
* Firmware definition
*/
export interface GetFirmwareResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* User-specified description of the firmware.
*/
readonly description?: string;
/**
* File name for a firmware that user uploaded.
*/
readonly fileName?: string;
/**
* File size of the uploaded firmware image.
*/
readonly fileSize?: number;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Firmware model.
*/
readonly model?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* The status of firmware scan.
*/
readonly status?: string;
/**
* A list of errors or other messages generated during firmware analysis
*/
readonly statusMessages?: outputs.iotfirmwaredefense.StatusMessageResponse[];
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.iotfirmwaredefense.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Firmware vendor.
*/
readonly vendor?: string;
/**
* Firmware version.
*/
readonly version?: string;
}
/**
* Get firmware.
*
* Uses Azure REST API version 2024-01-10.
*
* Other available API versions: 2023-02-08-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native iotfirmwaredefense [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFirmwareOutput(args: GetFirmwareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirmwareResult>;
export interface GetFirmwareOutputArgs {
/**
* The id of the firmware.
*/
firmwareId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the firmware analysis workspace.
*/
workspaceName: pulumi.Input<string>;
}