azure-native.iotfirmwaredefense.Firmware
Explore with Pulumi AI
Firmware definition Azure REST API version: 2023-02-08-preview.
Other available API versions: 2024-01-10.
Example Usage
Firmware_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var firmware = new AzureNative.IoTFirmwareDefense.Firmware("firmware", new()
{
Description = "uz",
FileName = "wresexxulcdsdd",
FileSize = 17,
FirmwareId = "umrkdttp",
Model = "f",
ResourceGroupName = "rgworkspaces-firmwares",
Status = AzureNative.IoTFirmwareDefense.Status.Pending,
StatusMessages = new[]
{
new Dictionary<string, object?>
{
["message"] = "ulvhmhokezathzzauiitu",
},
},
Vendor = "vycmdhgtmepcptyoubztiuudpkcpd",
Version = "s",
WorkspaceName = "A7",
});
});
package main
import (
iotfirmwaredefense "github.com/pulumi/pulumi-azure-native-sdk/iotfirmwaredefense/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotfirmwaredefense.NewFirmware(ctx, "firmware", &iotfirmwaredefense.FirmwareArgs{
Description: pulumi.String("uz"),
FileName: pulumi.String("wresexxulcdsdd"),
FileSize: pulumi.Float64(17),
FirmwareId: pulumi.String("umrkdttp"),
Model: pulumi.String("f"),
ResourceGroupName: pulumi.String("rgworkspaces-firmwares"),
Status: pulumi.String(iotfirmwaredefense.StatusPending),
StatusMessages: pulumi.Array{
pulumi.Any(map[string]interface{}{
"message": "ulvhmhokezathzzauiitu",
}),
},
Vendor: pulumi.String("vycmdhgtmepcptyoubztiuudpkcpd"),
Version: pulumi.String("s"),
WorkspaceName: pulumi.String("A7"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotfirmwaredefense.Firmware;
import com.pulumi.azurenative.iotfirmwaredefense.FirmwareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var firmware = new Firmware("firmware", FirmwareArgs.builder()
.description("uz")
.fileName("wresexxulcdsdd")
.fileSize(17)
.firmwareId("umrkdttp")
.model("f")
.resourceGroupName("rgworkspaces-firmwares")
.status("Pending")
.statusMessages(Map.of("message", "ulvhmhokezathzzauiitu"))
.vendor("vycmdhgtmepcptyoubztiuudpkcpd")
.version("s")
.workspaceName("A7")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
firmware = azure_native.iotfirmwaredefense.Firmware("firmware",
description="uz",
file_name="wresexxulcdsdd",
file_size=17,
firmware_id="umrkdttp",
model="f",
resource_group_name="rgworkspaces-firmwares",
status=azure_native.iotfirmwaredefense.Status.PENDING,
status_messages=[{
"message": "ulvhmhokezathzzauiitu",
}],
vendor="vycmdhgtmepcptyoubztiuudpkcpd",
version="s",
workspace_name="A7")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const firmware = new azure_native.iotfirmwaredefense.Firmware("firmware", {
description: "uz",
fileName: "wresexxulcdsdd",
fileSize: 17,
firmwareId: "umrkdttp",
model: "f",
resourceGroupName: "rgworkspaces-firmwares",
status: azure_native.iotfirmwaredefense.Status.Pending,
statusMessages: [{
message: "ulvhmhokezathzzauiitu",
}],
vendor: "vycmdhgtmepcptyoubztiuudpkcpd",
version: "s",
workspaceName: "A7",
});
resources:
firmware:
type: azure-native:iotfirmwaredefense:Firmware
properties:
description: uz
fileName: wresexxulcdsdd
fileSize: 17
firmwareId: umrkdttp
model: f
resourceGroupName: rgworkspaces-firmwares
status: Pending
statusMessages:
- message: ulvhmhokezathzzauiitu
vendor: vycmdhgtmepcptyoubztiuudpkcpd
version: s
workspaceName: A7
Firmware_Create_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var firmware = new AzureNative.IoTFirmwareDefense.Firmware("firmware", new()
{
FirmwareId = "umrkdttp",
ResourceGroupName = "rgworkspaces-firmwares",
WorkspaceName = "A7",
});
});
package main
import (
iotfirmwaredefense "github.com/pulumi/pulumi-azure-native-sdk/iotfirmwaredefense/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotfirmwaredefense.NewFirmware(ctx, "firmware", &iotfirmwaredefense.FirmwareArgs{
FirmwareId: pulumi.String("umrkdttp"),
ResourceGroupName: pulumi.String("rgworkspaces-firmwares"),
WorkspaceName: pulumi.String("A7"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotfirmwaredefense.Firmware;
import com.pulumi.azurenative.iotfirmwaredefense.FirmwareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var firmware = new Firmware("firmware", FirmwareArgs.builder()
.firmwareId("umrkdttp")
.resourceGroupName("rgworkspaces-firmwares")
.workspaceName("A7")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
firmware = azure_native.iotfirmwaredefense.Firmware("firmware",
firmware_id="umrkdttp",
resource_group_name="rgworkspaces-firmwares",
workspace_name="A7")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const firmware = new azure_native.iotfirmwaredefense.Firmware("firmware", {
firmwareId: "umrkdttp",
resourceGroupName: "rgworkspaces-firmwares",
workspaceName: "A7",
});
resources:
firmware:
type: azure-native:iotfirmwaredefense:Firmware
properties:
firmwareId: umrkdttp
resourceGroupName: rgworkspaces-firmwares
workspaceName: A7
Create Firmware Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Firmware(name: string, args: FirmwareArgs, opts?: CustomResourceOptions);
@overload
def Firmware(resource_name: str,
args: FirmwareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Firmware(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
description: Optional[str] = None,
file_name: Optional[str] = None,
file_size: Optional[float] = None,
firmware_id: Optional[str] = None,
model: Optional[str] = None,
status: Optional[Union[str, Status]] = None,
status_messages: Optional[Sequence[Any]] = None,
vendor: Optional[str] = None,
version: Optional[str] = None)
func NewFirmware(ctx *Context, name string, args FirmwareArgs, opts ...ResourceOption) (*Firmware, error)
public Firmware(string name, FirmwareArgs args, CustomResourceOptions? opts = null)
public Firmware(String name, FirmwareArgs args)
public Firmware(String name, FirmwareArgs args, CustomResourceOptions options)
type: azure-native:iotfirmwaredefense:Firmware
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FirmwareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FirmwareArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FirmwareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirmwareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirmwareArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var firmwareResource = new AzureNative.IoTFirmwareDefense.Firmware("firmwareResource", new()
{
ResourceGroupName = "string",
WorkspaceName = "string",
Description = "string",
FileName = "string",
FileSize = 0,
FirmwareId = "string",
Model = "string",
Status = "string",
StatusMessages = new[]
{
"any",
},
Vendor = "string",
Version = "string",
});
example, err := iotfirmwaredefense.NewFirmware(ctx, "firmwareResource", &iotfirmwaredefense.FirmwareArgs{
ResourceGroupName: pulumi.String("string"),
WorkspaceName: pulumi.String("string"),
Description: pulumi.String("string"),
FileName: pulumi.String("string"),
FileSize: pulumi.Float64(0),
FirmwareId: pulumi.String("string"),
Model: pulumi.String("string"),
Status: pulumi.String("string"),
StatusMessages: pulumi.Array{
pulumi.Any("any"),
},
Vendor: pulumi.String("string"),
Version: pulumi.String("string"),
})
var firmwareResource = new Firmware("firmwareResource", FirmwareArgs.builder()
.resourceGroupName("string")
.workspaceName("string")
.description("string")
.fileName("string")
.fileSize(0)
.firmwareId("string")
.model("string")
.status("string")
.statusMessages("any")
.vendor("string")
.version("string")
.build());
firmware_resource = azure_native.iotfirmwaredefense.Firmware("firmwareResource",
resource_group_name="string",
workspace_name="string",
description="string",
file_name="string",
file_size=0,
firmware_id="string",
model="string",
status="string",
status_messages=["any"],
vendor="string",
version="string")
const firmwareResource = new azure_native.iotfirmwaredefense.Firmware("firmwareResource", {
resourceGroupName: "string",
workspaceName: "string",
description: "string",
fileName: "string",
fileSize: 0,
firmwareId: "string",
model: "string",
status: "string",
statusMessages: ["any"],
vendor: "string",
version: "string",
});
type: azure-native:iotfirmwaredefense:Firmware
properties:
description: string
fileName: string
fileSize: 0
firmwareId: string
model: string
resourceGroupName: string
status: string
statusMessages:
- any
vendor: string
version: string
workspaceName: string
Firmware Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Firmware resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the firmware analysis workspace.
- Description string
- User-specified description of the firmware.
- File
Name string - File name for a firmware that user uploaded.
- File
Size double - File size of the uploaded firmware image.
- Firmware
Id string - The id of the firmware.
- Model string
- Firmware model.
- Status
string | Pulumi.
Azure Native. Io TFirmware Defense. Status - The status of firmware scan.
- Status
Messages List<object> - A list of errors or other messages generated during firmware analysis
- Vendor string
- Firmware vendor.
- Version string
- Firmware version.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the firmware analysis workspace.
- Description string
- User-specified description of the firmware.
- File
Name string - File name for a firmware that user uploaded.
- File
Size float64 - File size of the uploaded firmware image.
- Firmware
Id string - The id of the firmware.
- Model string
- Firmware model.
- Status string | Status
- The status of firmware scan.
- Status
Messages []interface{} - A list of errors or other messages generated during firmware analysis
- Vendor string
- Firmware vendor.
- Version string
- Firmware version.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the firmware analysis workspace.
- description String
- User-specified description of the firmware.
- file
Name String - File name for a firmware that user uploaded.
- file
Size Double - File size of the uploaded firmware image.
- firmware
Id String - The id of the firmware.
- model String
- Firmware model.
- status String | Status
- The status of firmware scan.
- status
Messages List<Object> - A list of errors or other messages generated during firmware analysis
- vendor String
- Firmware vendor.
- version String
- Firmware version.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the firmware analysis workspace.
- description string
- User-specified description of the firmware.
- file
Name string - File name for a firmware that user uploaded.
- file
Size number - File size of the uploaded firmware image.
- firmware
Id string - The id of the firmware.
- model string
- Firmware model.
- status string | Status
- The status of firmware scan.
- status
Messages any[] - A list of errors or other messages generated during firmware analysis
- vendor string
- Firmware vendor.
- version string
- Firmware version.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the firmware analysis workspace.
- description str
- User-specified description of the firmware.
- file_
name str - File name for a firmware that user uploaded.
- file_
size float - File size of the uploaded firmware image.
- firmware_
id str - The id of the firmware.
- model str
- Firmware model.
- status str | Status
- The status of firmware scan.
- status_
messages Sequence[Any] - A list of errors or other messages generated during firmware analysis
- vendor str
- Firmware vendor.
- version str
- Firmware version.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the firmware analysis workspace.
- description String
- User-specified description of the firmware.
- file
Name String - File name for a firmware that user uploaded.
- file
Size Number - File size of the uploaded firmware image.
- firmware
Id String - The id of the firmware.
- model String
- Firmware model.
- status String | "Pending" | "Extracting" | "Analyzing" | "Ready" | "Error"
- The status of firmware scan.
- status
Messages List<Any> - A list of errors or other messages generated during firmware analysis
- vendor String
- Firmware vendor.
- version String
- Firmware version.
Outputs
All input properties are implicitly available as output properties. Additionally, the Firmware resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data Pulumi.Azure Native. Io TFirmware Defense. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
Status, StatusArgs
- Pending
- Pending
- Extracting
- Extracting
- Analyzing
- Analyzing
- Ready
- Ready
- Error
- Error
- Status
Pending - Pending
- Status
Extracting - Extracting
- Status
Analyzing - Analyzing
- Status
Ready - Ready
- Status
Error - Error
- Pending
- Pending
- Extracting
- Extracting
- Analyzing
- Analyzing
- Ready
- Ready
- Error
- Error
- Pending
- Pending
- Extracting
- Extracting
- Analyzing
- Analyzing
- Ready
- Ready
- Error
- Error
- PENDING
- Pending
- EXTRACTING
- Extracting
- ANALYZING
- Analyzing
- READY
- Ready
- ERROR
- Error
- "Pending"
- Pending
- "Extracting"
- Extracting
- "Analyzing"
- Analyzing
- "Ready"
- Ready
- "Error"
- Error
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotfirmwaredefense:Firmware brmvnojpmxsgckdviynhxhftvcvbw /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0