1. Packages
  2. Azure Native
  3. API Docs
  4. iotfirmwaredefense
  5. Firmware
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.iotfirmwaredefense.Firmware

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

    Firmware definition Azure REST API version: 2023-02-08-preview.

    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 = "Pending",
            StatusMessages = new[]
            {
                
                {
                    { "message", "ulvhmhokezathzzauiitu" },
                },
            },
            Vendor = "vycmdhgtmepcptyoubztiuudpkcpd",
            Version = "s",
            WorkspaceName = "A7",
        });
    
    });
    
    package main
    
    import (
    	"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("Pending"),
    			StatusMessages: pulumi.AnyArray{
    				pulumi.Any{
    					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="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: "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 (
    	"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

    new Firmware(name: string, args: FirmwareArgs, opts?: CustomResourceOptions);
    @overload
    def Firmware(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 file_name: Optional[str] = None,
                 file_size: Optional[float] = None,
                 firmware_id: Optional[str] = None,
                 model: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 status: Optional[Union[str, Status]] = None,
                 status_messages: Optional[Sequence[Any]] = None,
                 vendor: Optional[str] = None,
                 version: Optional[str] = None,
                 workspace_name: Optional[str] = None)
    @overload
    def Firmware(resource_name: str,
                 args: FirmwareArgs,
                 opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    ResourceGroupName string

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

    WorkspaceName string

    The name of the firmware analysis workspace.

    Description string

    User-specified description of the firmware.

    FileName string

    File name for a firmware that user uploaded.

    FileSize double

    File size of the uploaded firmware image.

    FirmwareId string

    The id of the firmware.

    Model string

    Firmware model.

    Status string | Pulumi.AzureNative.IoTFirmwareDefense.Status

    The status of firmware scan.

    StatusMessages List<object>

    A list of errors or other messages generated during firmware analysis

    Vendor string

    Firmware vendor.

    Version string

    Firmware version.

    ResourceGroupName string

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

    WorkspaceName string

    The name of the firmware analysis workspace.

    Description string

    User-specified description of the firmware.

    FileName string

    File name for a firmware that user uploaded.

    FileSize float64

    File size of the uploaded firmware image.

    FirmwareId string

    The id of the firmware.

    Model string

    Firmware model.

    Status string | Status

    The status of firmware scan.

    StatusMessages []interface{}

    A list of errors or other messages generated during firmware analysis

    Vendor string

    Firmware vendor.

    Version string

    Firmware version.

    resourceGroupName String

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

    workspaceName String

    The name of the firmware analysis workspace.

    description String

    User-specified description of the firmware.

    fileName String

    File name for a firmware that user uploaded.

    fileSize Double

    File size of the uploaded firmware image.

    firmwareId String

    The id of the firmware.

    model String

    Firmware model.

    status String | Status

    The status of firmware scan.

    statusMessages List<Object>

    A list of errors or other messages generated during firmware analysis

    vendor String

    Firmware vendor.

    version String

    Firmware version.

    resourceGroupName string

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

    workspaceName string

    The name of the firmware analysis workspace.

    description string

    User-specified description of the firmware.

    fileName string

    File name for a firmware that user uploaded.

    fileSize number

    File size of the uploaded firmware image.

    firmwareId string

    The id of the firmware.

    model string

    Firmware model.

    status string | Status

    The status of firmware scan.

    statusMessages any[]

    A list of errors or other messages generated during firmware analysis

    vendor string

    Firmware vendor.

    version string

    Firmware version.

    resource_group_name str

    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.

    resourceGroupName String

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

    workspaceName String

    The name of the firmware analysis workspace.

    description String

    User-specified description of the firmware.

    fileName String

    File name for a firmware that user uploaded.

    fileSize Number

    File size of the uploaded firmware image.

    firmwareId String

    The id of the firmware.

    model String

    Firmware model.

    status String | "Pending" | "Extracting" | "Analyzing" | "Ready" | "Error"

    The status of firmware scan.

    statusMessages 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

    ProvisioningState string

    Provisioning state of the resource.

    SystemData Pulumi.AzureNative.IoTFirmwareDefense.Outputs.SystemDataResponse

    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

    ProvisioningState string

    Provisioning state of the resource.

    SystemData SystemDataResponse

    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

    provisioningState String

    Provisioning state of the resource.

    systemData SystemDataResponse

    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

    provisioningState string

    Provisioning state of the resource.

    systemData SystemDataResponse

    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 SystemDataResponse

    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

    provisioningState String

    Provisioning state of the resource.

    systemData 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
    StatusPending
    Pending
    StatusExtracting
    Extracting
    StatusAnalyzing
    Analyzing
    StatusReady
    Ready
    StatusError
    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

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    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_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi