Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The workspaces/firmwares resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.IoTFirmwareDefense/workspaces/firmwares resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.IoTFirmwareDefense/workspaces/firmwares@2026-06-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
description: 'string'
fileName: 'string'
fileSize: int
model: 'string'
status: 'string'
statusMessages: [
{
errorCode: int
message: 'string'
}
]
vendor: 'string'
version: 'string'
}
}
Property Values
Microsoft.IoTFirmwareDefense/workspaces/firmwares
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: workspaces |
| properties | The resource-specific properties for this resource. | FirmwareProperties |
FirmwareProperties
| Name | Description | Value |
|---|---|---|
| description | User-specified description of the firmware. | string |
| fileName | File name for a firmware that user uploaded. | string |
| fileSize | File size of the uploaded firmware image. | int |
| model | Firmware model. | string |
| status | The status of firmware scan. | 'Analyzing' 'Error' 'Extracting' 'Pending' 'Ready' |
| statusMessages | A list of errors or other messages generated during firmware analysis | StatusMessage[] |
| vendor | Firmware vendor. | string |
| version | Firmware version. | string |
StatusMessage
| Name | Description | Value |
|---|---|---|
| errorCode | The error code | int |
| message | The error or status message | string |
ARM template resource definition
The workspaces/firmwares resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.IoTFirmwareDefense/workspaces/firmwares resource, add the following JSON to your template.
{
"type": "Microsoft.IoTFirmwareDefense/workspaces/firmwares",
"apiVersion": "2026-06-01-preview",
"name": "string",
"properties": {
"description": "string",
"fileName": "string",
"fileSize": "int",
"model": "string",
"status": "string",
"statusMessages": [
{
"errorCode": "int",
"message": "string"
}
],
"vendor": "string",
"version": "string"
}
}
Property Values
Microsoft.IoTFirmwareDefense/workspaces/firmwares
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-06-01-preview' |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| properties | The resource-specific properties for this resource. | FirmwareProperties |
| type | The resource type | 'Microsoft.IoTFirmwareDefense/workspaces/firmwares' |
FirmwareProperties
| Name | Description | Value |
|---|---|---|
| description | User-specified description of the firmware. | string |
| fileName | File name for a firmware that user uploaded. | string |
| fileSize | File size of the uploaded firmware image. | int |
| model | Firmware model. | string |
| status | The status of firmware scan. | 'Analyzing' 'Error' 'Extracting' 'Pending' 'Ready' |
| statusMessages | A list of errors or other messages generated during firmware analysis | StatusMessage[] |
| vendor | Firmware vendor. | string |
| version | Firmware version. | string |
StatusMessage
| Name | Description | Value |
|---|---|---|
| errorCode | The error code | int |
| message | The error or status message | string |
Terraform (AzAPI provider) resource definition
The workspaces/firmwares resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.IoTFirmwareDefense/workspaces/firmwares resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.IoTFirmwareDefense/workspaces/firmwares@2026-06-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
description = "string"
fileName = "string"
fileSize = int
model = "string"
status = "string"
statusMessages = [
{
errorCode = int
message = "string"
}
]
vendor = "string"
version = "string"
}
}
}
Property Values
Microsoft.IoTFirmwareDefense/workspaces/firmwares
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: workspaces |
| properties | The resource-specific properties for this resource. | FirmwareProperties |
| type | The resource type | "Microsoft.IoTFirmwareDefense/workspaces/firmwares@2026-06-01-preview" |
FirmwareProperties
| Name | Description | Value |
|---|---|---|
| description | User-specified description of the firmware. | string |
| fileName | File name for a firmware that user uploaded. | string |
| fileSize | File size of the uploaded firmware image. | int |
| model | Firmware model. | string |
| status | The status of firmware scan. | 'Analyzing' 'Error' 'Extracting' 'Pending' 'Ready' |
| statusMessages | A list of errors or other messages generated during firmware analysis | StatusMessage[] |
| vendor | Firmware vendor. | string |
| version | Firmware version. | string |
StatusMessage
| Name | Description | Value |
|---|---|---|
| errorCode | The error code | int |
| message | The error or status message | string |